Home
last modified time | relevance | path

Searched refs:HType (Results 1 – 23 of 23) sorted by relevance

/external/v8/test/cctest/
Dtest-hydrogen-types.cc12 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 …]
Dtest-types.cc1940 HType htype1 = HType::FromType<Type>(type1); in HTypeFromType()
1941 HType htype2 = HType::FromType<Type>(type2); in HTypeFromType()
/external/v8/src/
Dhydrogen-types.cc16 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 …]
Dhydrogen-types.h37 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 …]
Dhydrogen-instructions.h556 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 …]
Dhydrogen-instructions.cc536 !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 …]
Dcode-stubs-hydrogen.cc141 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()
Dhydrogen.cc710 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 …]
Dhydrogen.h1386 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/
Dlithium-mips.cc943 HType type = value->type(); in DoBranch()
Dlithium-codegen-mips.cc2130 HType type = instr->hydrogen()->value()->type(); in DoBranch()
/external/v8/src/mips64/
Dlithium-mips64.cc943 HType type = value->type(); in DoBranch()
Dlithium-codegen-mips64.cc2098 HType type = instr->hydrogen()->value()->type(); in DoBranch()
/external/v8/src/x64/
Dlithium-x64.cc961 HType type = value->type(); in DoBranch()
Dlithium-codegen-x64.cc2121 HType type = instr->hydrogen()->value()->type(); in DoBranch()
/external/v8/src/arm/
Dlithium-arm.cc933 HType type = value->type(); in DoBranch()
Dlithium-codegen-arm.cc2232 HType type = instr->hydrogen()->value()->type(); in DoBranch()
/external/v8/src/arm64/
Dlithium-arm64.cc985 HType type = value->type(); in DoBranch()
Dlithium-codegen-arm64.cc1865 HType type = instr->hydrogen()->value()->type(); in DoBranch()
/external/v8/src/x87/
Dlithium-x87.cc990 HType type = value->type(); in DoBranch()
Dlithium-codegen-x87.cc2374 HType type = instr->hydrogen()->value()->type(); in DoBranch()
/external/v8/src/ia32/
Dlithium-ia32.cc973 HType type = value->type(); in DoBranch()
Dlithium-codegen-ia32.cc2083 HType type = instr->hydrogen()->value()->type(); in DoBranch()