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

/external/chromium_org/v8/src/
H A Dhydrogen-types.cc16 HType HType::FromType(typename T::TypeHandle type) {
17 if (T::Any()->Is(type)) return HType::Any();
18 if (type->Is(T::None())) return HType::None();
19 if (type->Is(T::SignedSmall())) return HType::Smi();
20 if (type->Is(T::Number())) return HType::TaggedNumber();
21 if (type->Is(T::Null())) return HType::Null();
22 if (type->Is(T::String())) return HType::String();
23 if (type->Is(T::Boolean())) return HType::Boolean();
24 if (type->Is(T::Undefined())) return HType
[all...]
H A 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 {
46 return HType(static_cast<Kind>(kind_ & other.kind_));
49 bool Equals(HType other) const WARN_UNUSED_RESULT {
53 bool IsSubtypeOf(HType other) const WARN_UNUSED_RESULT {
59 return IsSubtypeOf(HType::Name()); \
65 static HType FromTyp
[all...]
H A Dhydrogen-instructions.h556 explicit HValue(HType type = HType::Tagged())
604 HType t = type();
613 HType type() const { return type_; }
614 void set_type(HType new_type) {
781 // specify statically known types, once HType can convey more information
782 // it should be based on the HType.
789 virtual HType CalculateInferredType();
916 HType type_;
1210 explicit HInstruction(HType typ argument
1243 HTemplateInstruction(HType type = HType::Tagged()) argument
1604 HUnaryOperation(HValue* value, HType type = HType::Tagged()) argument
2713 HLoadRoot(Heap::RootListIndex index, HType type = HType::Tagged()) argument
3772 HBinaryOperation(HValue* context, HValue* left, HValue* right, HType type = HType::Tagged()) argument
4142 HBitwiseBinaryOperation(HValue* context, HValue* left, HValue* right, HType type = HType::TaggedNumber()) argument
[all...]
H A Dhydrogen-instructions.cc536 !t.value->type().Equals(HType::Tagged()))
570 HType type = CalculateInferredType();
1752 set_type(HType::Smi());
2662 : HTemplateInstruction<0>(HType::FromValue(object)),
2703 HType type,
2747 set_type(is_smi ? HType::Smi() : HType::TaggedNumber());
2773 set_type(is_smi ? HType::Smi() : HType::TaggedNumber());
2779 : HTemplateInstruction<0>(HType
[all...]
H A Dcode-stubs-hydrogen.cc141 param->set_type(HType::Smi());
437 HInstruction* object = Add<HAllocate>(size_in_bytes, HType::JSObject(),
469 HInstruction* object = Add<HAllocate>(size, HType::JSObject(), TENURED,
1460 HInstruction* js_function = Add<HAllocate>(size, HType::JSObject(),
1517 HType::HeapObject(), NOT_TENURED, FIXED_ARRAY_TYPE);
H A Dhydrogen.cc710 DEFINE_GET_CONSTANT(Undefined, undefined, undefined, HType::Undefined(), false)
711 DEFINE_GET_CONSTANT(True, true, boolean, HType::Boolean(), true)
712 DEFINE_GET_CONSTANT(False, false, boolean, HType::Boolean(), false)
713 DEFINE_GET_CONSTANT(Hole, the_hole, the_hole, HType::None(), false)
714 DEFINE_GET_CONSTANT(Null, null, null, HType::Null(), false)
1821 Add<HConstant>(JSRegExpResult::kSize), HType::JSArray(),
1899 mask->set_type(HType::Smi());
2025 HType type,
2077 HType::String(), CONS_STRING_TYPE,
2285 size, HType
[all...]
H A Dhydrogen.h1386 HType type,
2431 field_type_(HType::Tagged()),
2481 HType field_type() const { return field_type_; }
2539 HType field_type_;
/external/chromium_org/v8/test/cctest/
H A Dtest-hydrogen-types.cc12 static const HType kTypes[] = {
13 #define DECLARE_TYPE(Name, mask) HType::Name(),
48 HType ti = kTypes[i];
49 HType tj = kTypes[j];
50 HType tk = kTypes[k];
60 HType ti = kTypes[i];
61 HType tj = kTypes[j];
62 HType tk = kTypes[k];
74 HType ti = kTypes[i];
75 HType t
[all...]
H A Dtest-types.cc1940 HType htype1 = HType::FromType<Type>(type1);
1941 HType htype2 = HType::FromType<Type>(type2);
/external/chromium_org/v8/src/arm/
H A Dlithium-arm.cc933 HType type = value->type();
H A Dlithium-codegen-arm.cc2232 HType type = instr->hydrogen()->value()->type();
/external/chromium_org/v8/src/arm64/
H A Dlithium-arm64.cc985 HType type = value->type();
H A Dlithium-codegen-arm64.cc1865 HType type = instr->hydrogen()->value()->type();
/external/chromium_org/v8/src/ia32/
H A Dlithium-ia32.cc973 HType type = value->type();
H A Dlithium-codegen-ia32.cc2083 HType type = instr->hydrogen()->value()->type();
/external/chromium_org/v8/src/mips/
H A Dlithium-mips.cc943 HType type = value->type();
H A Dlithium-codegen-mips.cc2130 HType type = instr->hydrogen()->value()->type();
/external/chromium_org/v8/src/mips64/
H A Dlithium-mips64.cc943 HType type = value->type();
H A Dlithium-codegen-mips64.cc2098 HType type = instr->hydrogen()->value()->type();
/external/chromium_org/v8/src/x64/
H A Dlithium-x64.cc961 HType type = value->type();
H A Dlithium-codegen-x64.cc2121 HType type = instr->hydrogen()->value()->type();
/external/chromium_org/v8/src/x87/
H A Dlithium-x87.cc990 HType type = value->type();
H A Dlithium-codegen-x87.cc2374 HType type = instr->hydrogen()->value()->type();

Completed in 5387 milliseconds