/external/v8/test/cctest/ |
D | test-representation.cc | 36 void TestPairPositive(Representation more_general, in TestPairPositive() 37 Representation less_general) { in TestPairPositive() 42 void TestPairNegative(Representation more_general, in TestPairNegative() 43 Representation less_general) { in TestPairNegative() 49 TestPairNegative(Representation::None(), Representation::None()); in TEST() 50 TestPairPositive(Representation::Integer8(), Representation::None()); in TEST() 51 TestPairPositive(Representation::UInteger8(), Representation::None()); in TEST() 52 TestPairPositive(Representation::Integer16(), Representation::None()); in TEST() 53 TestPairPositive(Representation::UInteger16(), Representation::None()); in TEST() 54 TestPairPositive(Representation::Smi(), Representation::None()); in TEST() [all …]
|
D | test-macro-assembler-x87.cc | 71 __ Store(ebx, Operand(esp, 0 * kPointerSize), Representation::UInteger8()); in TEST() 76 __ Load(ebx, Operand(esp, 0 * kPointerSize), Representation::UInteger8()); in TEST() 85 __ Store(ebx, Operand(esp, 0 * kPointerSize), Representation::Integer8()); in TEST() 90 __ Load(ebx, Operand(esp, 0 * kPointerSize), Representation::Integer8()); in TEST() 99 __ Store(ebx, Operand(esp, 0 * kPointerSize), Representation::Integer16()); in TEST() 104 __ Load(edx, Operand(esp, 0 * kPointerSize), Representation::Integer16()); in TEST() 113 __ Store(ebx, Operand(esp, 0 * kPointerSize), Representation::UInteger16()); in TEST() 118 __ Load(edx, Operand(esp, 0 * kPointerSize), Representation::UInteger16()); in TEST()
|
D | test-macro-assembler-ia32.cc | 71 __ Store(ebx, Operand(esp, 0 * kPointerSize), Representation::UInteger8()); in TEST() 76 __ Load(ebx, Operand(esp, 0 * kPointerSize), Representation::UInteger8()); in TEST() 85 __ Store(ebx, Operand(esp, 0 * kPointerSize), Representation::Integer8()); in TEST() 90 __ Load(ebx, Operand(esp, 0 * kPointerSize), Representation::Integer8()); in TEST() 99 __ Store(ebx, Operand(esp, 0 * kPointerSize), Representation::Integer16()); in TEST() 104 __ Load(edx, Operand(esp, 0 * kPointerSize), Representation::Integer16()); in TEST() 113 __ Store(ebx, Operand(esp, 0 * kPointerSize), Representation::UInteger16()); in TEST() 118 __ Load(edx, Operand(esp, 0 * kPointerSize), Representation::UInteger16()); in TEST()
|
D | test-macro-assembler-arm.cc | 157 __ Store(r2, MemOperand(sp, 0 * kPointerSize), Representation::UInteger8()); in TEST() 163 __ Load(r3, MemOperand(sp, 0 * kPointerSize), Representation::UInteger8()); in TEST() 172 __ Store(r2, MemOperand(sp, 0 * kPointerSize), Representation::Integer8()); in TEST() 178 __ Load(r3, MemOperand(sp, 0 * kPointerSize), Representation::Integer8()); in TEST() 187 __ Store(r2, MemOperand(sp, 0 * kPointerSize), Representation::UInteger16()); in TEST() 193 __ Load(r3, MemOperand(sp, 0 * kPointerSize), Representation::UInteger16()); in TEST() 202 __ Store(r2, MemOperand(sp, 0 * kPointerSize), Representation::Integer16()); in TEST() 208 __ Load(r3, MemOperand(sp, 0 * kPointerSize), Representation::Integer16()); in TEST()
|
/external/v8/src/ |
D | property-details.h | 57 class Representation { 74 Representation() : kind_(kNone) { } in Representation() function 76 static Representation None() { return Representation(kNone); } in None() 77 static Representation Tagged() { return Representation(kTagged); } in Tagged() 78 static Representation Integer8() { return Representation(kInteger8); } in Integer8() 79 static Representation UInteger8() { return Representation(kUInteger8); } in UInteger8() 80 static Representation Integer16() { return Representation(kInteger16); } in Integer16() 81 static Representation UInteger16() { return Representation(kUInteger16); } in UInteger16() 82 static Representation Smi() { return Representation(kSmi); } in Smi() 83 static Representation Integer32() { return Representation(kInteger32); } in Integer32() [all …]
|
D | hydrogen-instructions.h | 279 bool AddAndCheckOverflow(const Representation& r, Range* other); 280 bool SubAndCheckOverflow(const Representation& r, Range* other); 281 bool MulAndCheckOverflow(const Representation& r, Range* other); 588 Representation representation() const { return representation_; } in representation() 589 void ChangeRepresentation(Representation r) { in ChangeRepresentation() 599 virtual void AssumeRepresentation(Representation r); 601 virtual Representation KnownOptimalRepresentation() { in KnownOptimalRepresentation() 602 Representation r = representation(); in KnownOptimalRepresentation() 605 if (t.IsSmi()) return Representation::Smi(); in KnownOptimalRepresentation() 606 if (t.IsHeapNumber()) return Representation::Double(); in KnownOptimalRepresentation() [all …]
|
D | property-details-inl.h | 16 Representation Representation::FromType(Type* type) { in FromType() 18 if (type->Is(Type::None())) return Representation::None(); in FromType() 19 if (type->Is(Type::SignedSmall())) return Representation::Smi(); in FromType() 20 if (type->Is(Type::Signed32())) return Representation::Integer32(); in FromType() 21 if (type->Is(Type::Number())) return Representation::Double(); in FromType() 22 return Representation::Tagged(); in FromType()
|
D | interface-descriptors.cc | 14 Representation* register_param_representations, in Initialize() 33 NewArray<Representation>(register_parameter_count)); in Initialize() 38 register_param_representations[i].Equals(Representation::Tagged())); in Initialize() 114 Representation representations[] = { in Initialize() 115 Representation::Tagged(), Representation::Tagged(), in Initialize() 116 Representation::Tagged(), Representation::Smi(), in Initialize() 117 Representation::Tagged()}; in Initialize() 124 Representation representations[] = {Representation::Tagged(), in Initialize() 125 Representation::External()}; in Initialize()
|
D | hydrogen-instructions.cc | 50 void HValue::AssumeRepresentation(Representation r) { in AssumeRepresentation() 62 Representation new_rep = RepresentationFromInputs(); in InferRepresentation() 68 Representation::Integer32(), h_infer, "use requirements"); in InferRepresentation() 73 Representation HValue::RepresentationFromUses() { in RepresentationFromUses() 74 if (HasNoUses()) return Representation::None(); in RepresentationFromUses() 77 int use_count[Representation::kNumRepresentations] = { 0 }; in RepresentationFromUses() 81 Representation rep = use->observed_input_representation(it.index()); in RepresentationFromUses() 91 int tagged_count = use_count[Representation::kTagged]; in RepresentationFromUses() 92 int double_count = use_count[Representation::kDouble]; in RepresentationFromUses() 93 int int32_count = use_count[Representation::kInteger32]; in RepresentationFromUses() [all …]
|
D | property.h | 62 Representation representation, 81 Representation representation) in FieldDescriptor() 88 Representation representation) in FieldDescriptor() 110 Representation::Tagged()) {} in CallbacksDescriptor() 122 details_(NONE, NORMAL, Representation::None()) { in LookupResult() 151 details_ = PropertyDetails(NONE, NORMAL, Representation::None()); in NotFound() 156 Representation representation() const { in representation()
|
D | interface-descriptors.h | 69 Representation* param_representations, 77 Representation register_param_representation(int index) const { in register_param_representation() 80 Representation* register_param_representations() const { in register_param_representations() 99 SmartArrayPointer<Representation> register_param_representations_; 135 Representation GetParameterRepresentation(int index) const { in GetParameterRepresentation() 138 return Representation::Tagged(); in GetParameterRepresentation() 154 Representation GetEnvironmentParameterRepresentation(int index) const { in GetEnvironmentParameterRepresentation()
|
D | hydrogen-representation-changes.cc | 11 HValue* value, HValue* use_value, int use_index, Representation to) { in InsertRepresentationChangeForUse() 55 Representation from_rep = change->from(); in IsNonDeoptingIntToSmiChange() 56 Representation to_rep = change->to(); in IsNonDeoptingIntToSmiChange() 65 Representation r = value->representation(); in InsertRepresentationChangesForValue() 75 Representation req = use_value->RequiredInputRepresentation(use_index); in InsertRepresentationChangesForValue()
|
/external/v8/src/ia32/ |
D | interface-descriptors-ia32.cc | 84 Representation representations[] = { in Initialize() 85 Representation::Tagged(), Representation::Tagged(), Representation::Smi(), in Initialize() 86 Representation::Tagged()}; in Initialize() 121 Representation representations[] = {Representation::Tagged(), in Initialize() 122 Representation::Tagged(), in Initialize() 123 Representation::Smi()}; in Initialize() 169 Representation representations[] = { in Initialize() 170 Representation::Tagged(), Representation::Tagged(), in Initialize() 171 Representation::Tagged(), Representation::Integer32()}; in Initialize() 190 Representation representations[] = {Representation::Tagged(), in Initialize() [all …]
|
/external/v8/src/mips/ |
D | interface-descriptors-mips.cc | 81 Representation representations[] = { in Initialize() 82 Representation::Tagged(), Representation::Tagged(), Representation::Smi(), in Initialize() 83 Representation::Tagged()}; in Initialize() 118 Representation representations[] = {Representation::Tagged(), in Initialize() 119 Representation::Tagged(), in Initialize() 120 Representation::Smi()}; in Initialize() 167 Representation representations[] = { in Initialize() 168 Representation::Tagged(), Representation::Tagged(), in Initialize() 169 Representation::Tagged(), Representation::Integer32()}; in Initialize() 189 Representation representations[] = {Representation::Tagged(), in Initialize() [all …]
|
D | lithium-gap-resolver-mips.cc | 231 Representation r = cgen_->IsSmi(constant_source) in EmitMove() 232 ? Representation::Smi() : Representation::Integer32(); in EmitMove() 245 Representation r = cgen_->IsSmi(constant_source) in EmitMove() 246 ? Representation::Smi() : Representation::Integer32(); in EmitMove()
|
/external/v8/src/arm64/ |
D | interface-descriptors-arm64.cc | 99 Representation representations[] = { in Initialize() 100 Representation::Tagged(), Representation::Tagged(), Representation::Smi(), in Initialize() 101 Representation::Tagged()}; in Initialize() 145 Representation representations[] = {Representation::Tagged(), in Initialize() 146 Representation::Tagged(), in Initialize() 147 Representation::Smi()}; in Initialize() 199 Representation representations[] = { in Initialize() 200 Representation::Tagged(), Representation::Tagged(), in Initialize() 201 Representation::Tagged(), Representation::Integer32()}; in Initialize() 220 Representation representations[] = {Representation::Tagged(), in Initialize() [all …]
|
/external/v8/src/arm/ |
D | interface-descriptors-arm.cc | 81 Representation representations[] = { in Initialize() 82 Representation::Tagged(), Representation::Tagged(), Representation::Smi(), in Initialize() 83 Representation::Tagged()}; in Initialize() 118 Representation representations[] = {Representation::Tagged(), in Initialize() 119 Representation::Tagged(), in Initialize() 120 Representation::Smi()}; in Initialize() 167 Representation representations[] = { in Initialize() 168 Representation::Tagged(), Representation::Tagged(), in Initialize() 169 Representation::Tagged(), Representation::Integer32()}; in Initialize() 189 Representation representations[] = {Representation::Tagged(), in Initialize() [all …]
|
D | lithium-gap-resolver-arm.cc | 239 Representation r = cgen_->IsSmi(constant_source) in EmitMove() 240 ? Representation::Smi() : Representation::Integer32(); in EmitMove() 254 Representation r = cgen_->IsSmi(constant_source) in EmitMove() 255 ? Representation::Smi() : Representation::Integer32(); in EmitMove()
|
/external/v8/src/x64/ |
D | interface-descriptors-x64.cc | 84 Representation representations[] = { in Initialize() 85 Representation::Tagged(), Representation::Tagged(), Representation::Smi(), in Initialize() 86 Representation::Tagged()}; in Initialize() 121 Representation representations[] = {Representation::Tagged(), in Initialize() 122 Representation::Tagged(), in Initialize() 123 Representation::Smi()}; in Initialize() 169 Representation representations[] = { in Initialize() 170 Representation::Tagged(), Representation::Tagged(), in Initialize() 171 Representation::Tagged(), Representation::Integer32()}; in Initialize() 191 Representation representations[] = {Representation::Tagged(), in Initialize() [all …]
|
/external/v8/src/mips64/ |
D | interface-descriptors-mips64.cc | 81 Representation representations[] = { in Initialize() 82 Representation::Tagged(), Representation::Tagged(), Representation::Smi(), in Initialize() 83 Representation::Tagged()}; in Initialize() 112 Representation representations[] = {Representation::Tagged(), in Initialize() 113 Representation::Tagged(), in Initialize() 114 Representation::Smi()}; in Initialize() 167 Representation representations[] = { in Initialize() 168 Representation::Tagged(), Representation::Tagged(), in Initialize() 169 Representation::Tagged(), Representation::Integer32()}; in Initialize() 189 Representation representations[] = {Representation::Tagged(), in Initialize() [all …]
|
/external/v8/src/x87/ |
D | interface-descriptors-x87.cc | 84 Representation representations[] = { in Initialize() 85 Representation::Tagged(), Representation::Tagged(), Representation::Smi(), in Initialize() 86 Representation::Tagged()}; in Initialize() 121 Representation representations[] = {Representation::Tagged(), in Initialize() 122 Representation::Tagged(), in Initialize() 123 Representation::Smi()}; in Initialize() 169 Representation representations[] = { in Initialize() 170 Representation::Tagged(), Representation::Tagged(), in Initialize() 171 Representation::Tagged(), Representation::Integer32()}; in Initialize() 190 Representation representations[] = {Representation::Tagged(), in Initialize() [all …]
|
/external/v8/test/cctest/compiler/ |
D | call-tester.h | 30 static MachineType Representation() { in Representation() function 43 static MachineType Representation() { return kMachPtr; } 49 static MachineType Representation() { return kMachPtr; } 55 static MachineType Representation() { return kRepBit; } 61 static MachineType Representation() { return kMachInt32; } 67 static MachineType Representation() { return kMachUint32; } 73 static MachineType Representation() { return kMachInt64; } 79 static MachineType Representation() { return kMachUint64; } 85 static MachineType Representation() { return kMachInt16; } 91 static MachineType Representation() { return kMachUint16; } [all …]
|
/external/clang/lib/AST/ |
D | NestedNameSpecifier.cpp | 477 : Representation(Other.Representation), Buffer(nullptr), in NestedNameSpecifierLocBuilder() 498 Representation = Other.Representation; in operator =() 537 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend() 550 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend() 562 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend() 574 Representation = NestedNameSpecifier::Create(Context, Representation, Alias); in Extend() 583 assert(!Representation && "Already have a nested-name-specifier!?"); in MakeGlobal() 584 Representation = NestedNameSpecifier::GlobalSpecifier(Context); in MakeGlobal() 594 Representation = NestedNameSpecifier::SuperSpecifier(Context, RD); in MakeSuper() 604 Representation = Qualifier; in MakeTrivial() [all …]
|
/external/clang/include/clang/AST/ |
D | NestedNameSpecifier.h | 341 NestedNameSpecifier *Representation; variable 361 : Representation(nullptr), Buffer(nullptr), BufferSize(0), in NestedNameSpecifierLocBuilder() 375 NestedNameSpecifier *getRepresentation() const { return Representation; } in getRepresentation() 468 return NestedNameSpecifierLoc(Representation, Buffer).getSourceRange(); in getSourceRange() 484 return NestedNameSpecifierLoc(Representation, Buffer); in getTemporary() 490 Representation = nullptr; in Clear()
|
/external/clang/include/clang/Serialization/ |
D | ContinuousRangeMap.h | 45 typedef SmallVector<value_type, InitialCapacity> Representation; typedef 46 Representation Rep; 83 typedef typename Representation::iterator iterator; 84 typedef typename Representation::const_iterator const_iterator;
|