Home
last modified time | relevance | path

Searched refs:Representation (Results 1 – 25 of 97) sorted by relevance

1234

/external/chromium_org/v8/test/cctest/
Dtest-representation.cc35 void TestPairPositive(Representation more_general, in TestPairPositive()
36 Representation less_general) { in TestPairPositive()
41 void TestPairNegative(Representation more_general, in TestPairNegative()
42 Representation less_general) { in TestPairNegative()
48 TestPairNegative(Representation::None(), Representation::None()); in TEST()
49 TestPairPositive(Representation::Integer8(), Representation::None()); in TEST()
50 TestPairPositive(Representation::UInteger8(), Representation::None()); in TEST()
51 TestPairPositive(Representation::Integer16(), Representation::None()); in TEST()
52 TestPairPositive(Representation::UInteger16(), Representation::None()); in TEST()
53 TestPairPositive(Representation::Smi(), Representation::None()); in TEST()
[all …]
Dtest-macro-assembler-ia32.cc74 __ Store(ebx, Operand(esp, 0 * kPointerSize), Representation::UInteger8()); in TEST()
79 __ Load(ebx, Operand(esp, 0 * kPointerSize), Representation::UInteger8()); in TEST()
88 __ Store(ebx, Operand(esp, 0 * kPointerSize), Representation::Integer8()); in TEST()
93 __ Load(ebx, Operand(esp, 0 * kPointerSize), Representation::Integer8()); in TEST()
102 __ Store(ebx, Operand(esp, 0 * kPointerSize), Representation::Integer16()); in TEST()
107 __ Load(edx, Operand(esp, 0 * kPointerSize), Representation::Integer16()); in TEST()
116 __ Store(ebx, Operand(esp, 0 * kPointerSize), Representation::UInteger16()); in TEST()
121 __ Load(edx, Operand(esp, 0 * kPointerSize), Representation::UInteger16()); in TEST()
Dtest-macro-assembler-arm.cc159 __ Store(r2, MemOperand(sp, 0 * kPointerSize), Representation::UInteger8()); in TEST()
165 __ Load(r3, MemOperand(sp, 0 * kPointerSize), Representation::UInteger8()); in TEST()
174 __ Store(r2, MemOperand(sp, 0 * kPointerSize), Representation::Integer8()); in TEST()
180 __ Load(r3, MemOperand(sp, 0 * kPointerSize), Representation::Integer8()); in TEST()
189 __ Store(r2, MemOperand(sp, 0 * kPointerSize), Representation::UInteger16()); in TEST()
195 __ Load(r3, MemOperand(sp, 0 * kPointerSize), Representation::UInteger16()); in TEST()
204 __ Store(r2, MemOperand(sp, 0 * kPointerSize), Representation::Integer16()); in TEST()
210 __ Load(r3, MemOperand(sp, 0 * kPointerSize), Representation::Integer16()); in TEST()
/external/chromium_org/v8/src/
Dproperty-details.h81 class Representation {
98 Representation() : kind_(kNone) { } in Representation() function
100 static Representation None() { return Representation(kNone); } in None()
101 static Representation Tagged() { return Representation(kTagged); } in Tagged()
102 static Representation Integer8() { return Representation(kInteger8); } in Integer8()
103 static Representation UInteger8() { return Representation(kUInteger8); } in UInteger8()
104 static Representation Integer16() { return Representation(kInteger16); } in Integer16()
105 static Representation UInteger16() { in UInteger16()
106 return Representation(kUInteger16); in UInteger16()
108 static Representation Smi() { return Representation(kSmi); } in Smi()
[all …]
Dhydrogen-instructions.h299 bool AddAndCheckOverflow(const Representation& r, Range* other);
300 bool SubAndCheckOverflow(const Representation& r, Range* other);
301 bool MulAndCheckOverflow(const Representation& r, Range* other);
383 bool ToStringOrToNumberCanBeObserved(Representation representation) { in ToStringOrToNumberCanBeObserved()
660 Representation representation() const { return representation_; } in representation()
661 void ChangeRepresentation(Representation r) { in ChangeRepresentation()
671 virtual void AssumeRepresentation(Representation r);
673 virtual Representation KnownOptimalRepresentation() { in KnownOptimalRepresentation()
674 Representation r = representation(); in KnownOptimalRepresentation()
677 if (t.IsSmi()) return Representation::Smi(); in KnownOptimalRepresentation()
[all …]
Dhydrogen-instructions.cc71 void HValue::AssumeRepresentation(Representation r) { in AssumeRepresentation()
83 Representation new_rep = RepresentationFromInputs(); in InferRepresentation()
89 Representation::Integer32(), h_infer, "use requirements"); in InferRepresentation()
94 Representation HValue::RepresentationFromUses() { in RepresentationFromUses()
95 if (HasNoUses()) return Representation::None(); in RepresentationFromUses()
98 int use_count[Representation::kNumRepresentations] = { 0 }; in RepresentationFromUses()
102 Representation rep = use->observed_input_representation(it.index()); in RepresentationFromUses()
112 int tagged_count = use_count[Representation::kTagged]; in RepresentationFromUses()
113 int double_count = use_count[Representation::kDouble]; in RepresentationFromUses()
114 int int32_count = use_count[Representation::kInteger32]; in RepresentationFromUses()
[all …]
Dproperty.h89 Representation representation,
104 Representation representation) in FieldDescriptor()
126 Representation::Tagged()) {} in CallbacksDescriptor()
189 details_(NONE, NONEXISTENT, Representation::None()) { in LookupResult()
216 details_ = PropertyDetails(NONE, TRANSITION, Representation::None()); in TransitionResult()
234 details_ = PropertyDetails(NONE, HANDLER, Representation::Tagged()); in HandlerResult()
242 details_ = PropertyDetails(NONE, INTERCEPTOR, Representation::Tagged()); in InterceptorResult()
247 details_ = PropertyDetails(NONE, NONEXISTENT, Representation::None()); in NotFound()
266 Representation representation() { in representation()
Dhydrogen-infer-representation.cc167 phi->ChangeRepresentation(Representation::Tagged()); in Run()
175 current->ChangeRepresentation(Representation::Double()); in Run()
177 current->ChangeRepresentation(Representation::Tagged()); in Run()
Dtypes.cc519 Representation Representation::FromType(Handle<Type> type) { in FromType()
520 if (type->Is(Type::None())) return Representation::None(); in FromType()
521 if (type->Is(Type::Smi())) return Representation::Smi(); in FromType()
522 if (type->Is(Type::Signed32())) return Representation::Integer32(); in FromType()
523 if (type->Is(Type::Number())) return Representation::Double(); in FromType()
524 return Representation::Tagged(); in FromType()
Dtype-info.cc601 Representation Representation::FromType(TypeInfo info) { in FromType()
602 if (info.IsUninitialized()) return Representation::None(); in FromType()
603 if (info.IsSmi()) return Representation::Smi(); in FromType()
604 if (info.IsInteger32()) return Representation::Integer32(); in FromType()
605 if (info.IsDouble()) return Representation::Double(); in FromType()
606 if (info.IsNumber()) return Representation::Double(); in FromType()
607 return Representation::Tagged(); in FromType()
Dhydrogen-representation-changes.cc34 HValue* value, HValue* use_value, int use_index, Representation to) { in InsertRepresentationChangeForUse()
78 Representation r = value->representation(); in InsertRepresentationChangesForValue()
85 Representation req = use_value->RequiredInputRepresentation(use_index); in InsertRepresentationChangesForValue()
Dhydrogen-representation-changes.h48 Representation to);
Dhydrogen-minus-zero.cc42 Representation from = change->value()->representation(); in Run()
/external/v8/src/
Dhydrogen-instructions.h291 class Representation {
302 Representation() : kind_(kNone) { } in Representation() function
304 static Representation None() { return Representation(kNone); } in None()
305 static Representation Tagged() { return Representation(kTagged); } in Tagged()
306 static Representation Integer32() { return Representation(kInteger32); } in Integer32()
307 static Representation Double() { return Representation(kDouble); } in Double()
308 static Representation External() { return Representation(kExternal); } in External()
310 bool Equals(const Representation& other) { in Equals()
326 explicit Representation(Kind k) : kind_(k) { } in Representation() function
593 Representation representation() const { return representation_; } in representation()
[all …]
Dhydrogen-instructions.cc56 const char* Representation::Mnemonic() const { in HYDROGEN_CONCRETE_INSTRUCTION_LIST()
78 void HValue::AssumeRepresentation(Representation r) { in AssumeRepresentation()
1231 Representation rep = value->RequiredInputRepresentation(it.index()); in InitRealUses()
1239 for (int i = 0; i < Representation::kNumRepresentations; i++) { in AddNonPhiUsesFrom()
1246 for (int i = 0; i < Representation::kNumRepresentations; i++) { in AddIndirectUsesTo()
1286 HConstant::HConstant(Handle<Object> handle, Representation r) in HConstant()
1305 HConstant* HConstant::CopyToRepresentation(Representation r) const { in CopyToRepresentation()
1316 Representation::Integer32()); in CopyToTruncatedInt32()
1489 void HCompareIDAndBranch::SetInputRepresentation(Representation r) { in SetInputRepresentation()
1534 set_representation(Representation::Tagged()); in HLoadNamedFieldPolymorphic()
[all …]
Dhydrogen.cc567 Representation::Tagged()); in GetConstant()
1736 Representation TryChange(HValue* current);
1764 Representation r = current->representation(); in InferBasedOnInputs()
1767 Representation inferred = current->InferredRepresentation(); in InferBasedOnInputs()
1796 Representation r = value->representation(); in InferBasedOnUses()
1799 Representation new_rep = TryChange(value); in InferBasedOnUses()
1815 Representation HInferRepresentation::TryChange(HValue* value) { in TryChange()
1817 int use_count[Representation::kNumRepresentations] = { 0 }; in TryChange()
1821 Representation rep = use->RequiredInputRepresentation(it.index()); in TryChange()
1826 int tagged_count = use_count[Representation::kTagged]; in TryChange()
[all …]
/external/clang/lib/AST/
DNestedNameSpecifier.cpp440 : Representation(Other.Representation), Buffer(0), in NestedNameSpecifierLocBuilder()
463 Representation = Other.Representation; in operator =()
504 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend()
517 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend()
529 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend()
541 Representation = NestedNameSpecifier::Create(Context, Representation, Alias); in Extend()
550 assert(!Representation && "Already have a nested-name-specifier!?"); in MakeGlobal()
551 Representation = NestedNameSpecifier::GlobalSpecifier(Context); in MakeGlobal()
560 Representation = Qualifier; in MakeTrivial()
603 Representation = 0; in Adopt()
[all …]
/external/clang/include/clang/AST/
DNestedNameSpecifier.h327 NestedNameSpecifier *Representation; variable
347 : Representation(0), Buffer(0), BufferSize(0), BufferCapacity(0) { } in NestedNameSpecifierLocBuilder()
360 NestedNameSpecifier *getRepresentation() const { return Representation; } in getRepresentation()
438 return NestedNameSpecifierLoc(Representation, Buffer).getSourceRange(); in getSourceRange()
454 return NestedNameSpecifierLoc(Representation, Buffer); in getTemporary()
460 Representation = 0; in Clear()
/external/clang/include/clang/Serialization/
DContinuousRangeMap.h45 typedef SmallVector<value_type, InitialCapacity> Representation; typedef
46 Representation Rep;
83 typedef typename Representation::iterator iterator;
84 typedef typename Representation::const_iterator const_iterator;
/external/chromium_org/v8/src/mips/
Dlithium-gap-resolver-mips.cc254 Representation r = cgen_->IsSmi(constant_source) in EmitMove()
255 ? Representation::Smi() : Representation::Integer32(); in EmitMove()
268 Representation r = cgen_->IsSmi(constant_source) in EmitMove()
269 ? Representation::Smi() : Representation::Integer32(); in EmitMove()
/external/chromium_org/v8/src/arm/
Dlithium-gap-resolver-arm.cc250 Representation r = cgen_->IsSmi(constant_source) in EmitMove()
251 ? Representation::Smi() : Representation::Integer32(); in EmitMove()
264 Representation r = cgen_->IsSmi(constant_source) in EmitMove()
265 ? Representation::Smi() : Representation::Integer32(); in EmitMove()
/external/chromium_org/v8/src/ia32/
Dlithium-gap-resolver-ia32.cc309 Representation r = cgen_->IsSmi(constant_source) in EmitMove()
310 ? Representation::Smi() : Representation::Integer32(); in EmitMove()
342 Representation r = cgen_->IsSmi(constant_source) in EmitMove()
343 ? Representation::Smi() : Representation::Integer32(); in EmitMove()
Dlithium-codegen-ia32.h97 Immediate ToImmediate(LOperand* op, const Representation& r) const { in ToImmediate()
293 int32_t ToRepresentation(LConstantOperand* op, const Representation& r) const;
299 Representation key_representation,
/external/robolectric/src/main/java/android/net/
DUri__FromAndroid.java1898 static class Representation { class in Uri__FromAndroid.AbstractPart
1928 parcel.writeInt(Representation.BOTH); in writeTo()
1932 parcel.writeInt(Representation.ENCODED); in writeTo()
1935 parcel.writeInt(Representation.DECODED); in writeTo()
1972 case Representation.BOTH: in readFrom()
1974 case Representation.ENCODED: in readFrom()
1976 case Representation.DECODED: in readFrom()
2156 case Representation.BOTH: in readFrom()
2158 case Representation.ENCODED: in readFrom()
2160 case Representation.DECODED: in readFrom()
/external/clang/test/CXX/temp/temp.decls/temp.friend/
Dp1.cpp32 class Representation {}; class
33 friend class Representation;

1234