/external/v8/test/cctest/ |
D | test-hydrogen-types.cc | 12 static const HType kTypes[] = { 13 #define DECLARE_TYPE(Name, mask) HType::Name(), 48 HType ti = kTypes[i]; in TEST() 49 HType tj = kTypes[j]; in TEST() 50 HType tk = kTypes[k]; in TEST() 60 HType ti = kTypes[i]; in TEST() 61 HType tj = kTypes[j]; in TEST() 62 HType tk = kTypes[k]; in TEST() 74 HType ti = kTypes[i]; in TEST() 75 HType tj = kTypes[j]; in TEST() [all …]
|
D | test-types.cc | 1940 HType htype1 = HType::FromType<Type>(type1); in HTypeFromType() 1941 HType htype2 = HType::FromType<Type>(type2); in HTypeFromType()
|
/external/v8/src/ |
D | hydrogen-types.cc | 16 HType HType::FromType(typename T::TypeHandle type) { in FromType() 17 if (T::Any()->Is(type)) return HType::Any(); in FromType() 18 if (type->Is(T::None())) return HType::None(); in FromType() 19 if (type->Is(T::SignedSmall())) return HType::Smi(); in FromType() 20 if (type->Is(T::Number())) return HType::TaggedNumber(); in FromType() 21 if (type->Is(T::Null())) return HType::Null(); in FromType() 22 if (type->Is(T::String())) return HType::String(); in FromType() 23 if (type->Is(T::Boolean())) return HType::Boolean(); in FromType() 24 if (type->Is(T::Undefined())) return HType::Undefined(); in FromType() 25 if (type->Is(T::Array())) return HType::JSArray(); in FromType() [all …]
|
D | hydrogen-types.h | 37 class HType FINAL { 40 static HType Name() WARN_UNUSED_RESULT { return HType(k##Name); } 45 HType Combine(HType other) const WARN_UNUSED_RESULT { in HTYPE_LIST() 46 return HType(static_cast<Kind>(kind_ & other.kind_)); in HTYPE_LIST() 49 bool Equals(HType other) const WARN_UNUSED_RESULT { in Equals() 53 bool IsSubtypeOf(HType other) const WARN_UNUSED_RESULT { in IsSubtypeOf() 59 return IsSubtypeOf(HType::Name()); \ 65 static HType FromType(typename T::TypeHandle type) WARN_UNUSED_RESULT; 66 static HType FromValue(Handle<Object> value) WARN_UNUSED_RESULT; 68 friend OStream& operator<<(OStream& os, const HType& t); [all …]
|
D | hydrogen-instructions.h | 556 explicit HValue(HType type = HType::Tagged()) 604 HType t = type(); in KnownOptimalRepresentation() 613 HType type() const { return type_; } in type() 614 void set_type(HType new_type) { in set_type() 789 virtual HType CalculateInferredType(); 916 HType type_; 1210 explicit HInstruction(HType type = HType::Tagged()) in DECLARE_ABSTRACT_INSTRUCTION() 1243 explicit HTemplateInstruction(HType type = HType::Tagged()) 1337 : HTemplateInstruction<1>(HType::Smi()) { in HDummyUse() 1604 explicit HUnaryOperation(HValue* value, HType type = HType::Tagged()) [all …]
|
D | hydrogen-instructions.cc | 536 !t.value->type().Equals(HType::Tagged())) in operator <<() 570 HType type = CalculateInferredType(); in UpdateInferredType() 1752 set_type(HType::Smi()); in InferRange() 2662 : HTemplateInstruction<0>(HType::FromValue(object)), in HConstant() 2703 HType type, in HConstant() 2747 set_type(is_smi ? HType::Smi() : HType::TaggedNumber()); in HConstant() 2773 set_type(is_smi ? HType::Smi() : HType::TaggedNumber()); in HConstant() 2779 : HTemplateInstruction<0>(HType::Any()), in HConstant() 3644 HType HValue::CalculateInferredType() { in CalculateInferredType() 3649 HType HPhi::CalculateInferredType() { in CalculateInferredType() [all …]
|
D | code-stubs-hydrogen.cc | 141 param->set_type(HType::Smi()); in BuildGraph() 437 HInstruction* object = Add<HAllocate>(size_in_bytes, HType::JSObject(), in BuildCodeStub() 469 HInstruction* object = Add<HAllocate>(size, HType::JSObject(), TENURED, in BuildCodeStub() 1460 HInstruction* js_function = Add<HAllocate>(size, HType::JSObject(), in BuildCodeStub() 1517 HType::HeapObject(), NOT_TENURED, FIXED_ARRAY_TYPE); in BuildCodeStub()
|
D | hydrogen.cc | 710 DEFINE_GET_CONSTANT(Undefined, undefined, undefined, HType::Undefined(), false) in DEFINE_GET_CONSTANT() 711 DEFINE_GET_CONSTANT(True, true, boolean, HType::Boolean(), true) in DEFINE_GET_CONSTANT() 712 DEFINE_GET_CONSTANT(False, false, boolean, HType::Boolean(), false) in DEFINE_GET_CONSTANT() 713 DEFINE_GET_CONSTANT(Hole, the_hole, the_hole, HType::None(), false) in DEFINE_GET_CONSTANT() 714 DEFINE_GET_CONSTANT(Null, null, null, HType::Null(), false) in DEFINE_GET_CONSTANT() 1821 Add<HConstant>(JSRegExpResult::kSize), HType::JSArray(), in BuildRegExpConstructResult() 1899 mask->set_type(HType::Smi()); in BuildNumberToString() 2025 HType type, in BuildAllocate() 2077 HType::String(), CONS_STRING_TYPE, in BuildCreateConsString() 2285 size, HType::String(), STRING_TYPE, allocation_mode); in BuildUncheckedStringAdd() [all …]
|
D | hydrogen.h | 1386 HType type, 2431 field_type_(HType::Tagged()), in PropertyAccessInfo() 2481 HType field_type() const { return field_type_; } in field_type() 2539 HType field_type_;
|
/external/v8/src/mips/ |
D | lithium-mips.cc | 943 HType type = value->type(); in DoBranch()
|
D | lithium-codegen-mips.cc | 2130 HType type = instr->hydrogen()->value()->type(); in DoBranch()
|
/external/v8/src/mips64/ |
D | lithium-mips64.cc | 943 HType type = value->type(); in DoBranch()
|
D | lithium-codegen-mips64.cc | 2098 HType type = instr->hydrogen()->value()->type(); in DoBranch()
|
/external/v8/src/x64/ |
D | lithium-x64.cc | 961 HType type = value->type(); in DoBranch()
|
D | lithium-codegen-x64.cc | 2121 HType type = instr->hydrogen()->value()->type(); in DoBranch()
|
/external/v8/src/arm/ |
D | lithium-arm.cc | 933 HType type = value->type(); in DoBranch()
|
D | lithium-codegen-arm.cc | 2232 HType type = instr->hydrogen()->value()->type(); in DoBranch()
|
/external/v8/src/arm64/ |
D | lithium-arm64.cc | 985 HType type = value->type(); in DoBranch()
|
D | lithium-codegen-arm64.cc | 1865 HType type = instr->hydrogen()->value()->type(); in DoBranch()
|
/external/v8/src/x87/ |
D | lithium-x87.cc | 990 HType type = value->type(); in DoBranch()
|
D | lithium-codegen-x87.cc | 2374 HType type = instr->hydrogen()->value()->type(); in DoBranch()
|
/external/v8/src/ia32/ |
D | lithium-ia32.cc | 973 HType type = value->type(); in DoBranch()
|
D | lithium-codegen-ia32.cc | 2083 HType type = instr->hydrogen()->value()->type(); in DoBranch()
|