Home
last modified time | relevance | path

Searched refs:type (Results 26 – 50 of 521) sorted by relevance

12345678910>>...21

/art/runtime/base/
Dcallee_save_type.h37 static inline constexpr CalleeSaveType GetCanonicalCalleeSaveType(CalleeSaveType type) { in GetCanonicalCalleeSaveType() argument
38 if (type == CalleeSaveType::kSaveEverythingForClinit || in GetCanonicalCalleeSaveType()
39 type == CalleeSaveType::kSaveEverythingForSuspendCheck) { in GetCanonicalCalleeSaveType()
42 return type; in GetCanonicalCalleeSaveType()
/art/test/ti-agent/
Dcommon_helper.cc57 jobject GetJavaValueByType(JNIEnv* env, char type, jvalue value) { in GetJavaValueByType() argument
59 switch (type) { in GetJavaValueByType()
94 oss << "(" << type << ")L" << name << ";"; in GetJavaValueByType()
110 std::string type(fsig); in GetJavaValue() local
111 type = type.substr(type.find(')') + 1); in GetJavaValue()
115 return GetJavaValueByType(env, type[0], value); in GetJavaValue()
/art/compiler/optimizing/
Dloop_optimization.cc45 static uint32_t HiddenOffset(DataType::Type type, bool is_string_char_at) { in HiddenOffset() argument
48 : mirror::Array::DataOffset(DataType::Size(type)).Uint32Value(); in HiddenOffset()
87 DataType::Type type,
93 DataType::Type type, in IsSignExtensionAndGet() argument
100 switch (type) { in IsSignExtensionAndGet()
120 if (instruction->GetType() == type) { in IsSignExtensionAndGet()
121 switch (type) { in IsSignExtensionAndGet()
137 if (type == from && (from == DataType::Type::kInt8 || in IsSignExtensionAndGet()
145 return type == DataType::Type::kUint16 && in IsSignExtensionAndGet()
147 IsZeroExtensionAndGet(instruction->InputAt(0), type, /*out*/ operand); in IsSignExtensionAndGet()
[all …]
Ddata_type.cc37 const char* DataType::PrettyDescriptor(Type type) { in PrettyDescriptor() argument
40 uint32_t uint_type = static_cast<uint32_t>(type); in PrettyDescriptor()
45 std::ostream& operator<<(std::ostream& os, DataType::Type type) { in operator <<() argument
46 uint32_t uint_type = static_cast<uint32_t>(type); in operator <<()
Ddata_type-inl.h26 constexpr DataType::Type DataTypeFromPrimitive(Primitive::Type type) { in DataTypeFromPrimitive() argument
27 switch (type) { in DataTypeFromPrimitive()
43 constexpr DataType::Type DataType::FromShorty(char type) { in FromShorty() argument
44 return DataTypeFromPrimitive(Primitive::GetType(type)); in FromShorty()
47 constexpr char DataType::TypeId(DataType::Type type) { in TypeId() argument
50 switch (type) { in TypeId()
Dssa_builder.h68 HInstruction* GetFloatOrDoubleEquivalent(HInstruction* instruction, DataType::Type type);
72 DataType::Type type = aget->GetType(); in MaybeAddAmbiguousArrayGet() local
73 DCHECK(!DataType::IsFloatingPointType(type)); in MaybeAddAmbiguousArrayGet()
74 if (DataType::IsIntOrLongType(type)) { in MaybeAddAmbiguousArrayGet()
80 DataType::Type type = aset->GetValue()->GetType(); in MaybeAddAmbiguousArraySet() local
81 if (DataType::IsIntOrLongType(type)) { in MaybeAddAmbiguousArraySet()
119 HPhi* GetFloatDoubleOrReferenceEquivalentOfPhi(HPhi* phi, DataType::Type type);
Dinstruction_simplifier_x86_shared.cc22 DataType::Type type = instruction->GetType(); in TryCombineAndNot() local
23 if (!DataType::IsIntOrLongType(type)) { in TryCombineAndNot()
44 HX86AndNot* and_not = new (arena) HX86AndNot(type, in TryCombineAndNot()
58 DataType::Type type = instruction->GetType(); in TryGenerateResetLeastSetBit() local
59 if (!DataType::IsIntOrLongType(type)) { in TryGenerateResetLeastSetBit()
81 type, HInstruction::kAnd, other, instruction->GetDexPc()); in TryGenerateResetLeastSetBit()
91 DataType::Type type = instruction->GetType(); in TryGenerateMaskUptoLeastSetBit() local
92 if (!DataType::IsIntOrLongType(type)) { in TryGenerateMaskUptoLeastSetBit()
114 type, HInstruction::kXor, other, instruction->GetDexPc()); in TryGenerateMaskUptoLeastSetBit()
Dinstruction_simplifier_arm.cc92 DataType::Type type = use->GetType(); in TryMergeIntoShifterOperand() local
93 if (type != DataType::Type::kInt32 && type != DataType::Type::kInt64) { in TryMergeIntoShifterOperand()
134 } else if (type == DataType::Type::kInt64 && shift_amount == 1) { in TryMergeIntoShifterOperand()
197 DataType::Type type = instruction->GetType(); in VisitArrayGet() local
208 if (type == DataType::Type::kReference) { in VisitArrayGet()
212 if (type == DataType::Type::kInt64 in VisitArrayGet()
213 || type == DataType::Type::kFloat32 in VisitArrayGet()
214 || type == DataType::Type::kFloat64) { in VisitArrayGet()
231 DataType::Type type = instruction->GetComponentType(); in VisitArraySet() local
233 if (type == DataType::Type::kInt64 in VisitArraySet()
[all …]
Dload_store_analysis.h99 DataType::Type type, in HeapLocation() argument
105 type_(DataType::ToSigned(type)), in HeapLocation()
263 DataType::Type type = instruction->GetType(); in GetArrayHeapLocation() local
266 type = instruction->AsArraySet()->GetComponentType(); in GetArrayHeapLocation()
270 type = vec_op->GetPackedType(); in GetArrayHeapLocation()
276 type, in GetArrayHeapLocation()
306 DataType::Type type, in FindHeapLocationIndex() argument
311 DataType::Type lookup_type = DataType::ToSigned(type); in FindHeapLocationIndex()
455 DataType::Type type, in GetOrCreateHeapLocation() argument
463 ref_info, type, offset, index, vector_length, declaring_class_def_index); in GetOrCreateHeapLocation()
[all …]
Dside_effects_test.cc107 for (DataType::Type type : kTestTypes) { in TEST() local
110 SideEffects::FieldWriteOfType(type, false), in TEST()
111 SideEffects::FieldReadOfType(type, false)); in TEST()
113 SideEffects::ArrayWriteOfType(type), in TEST()
114 SideEffects::ArrayReadOfType(type)); in TEST()
117 SideEffects::FieldWriteOfType(type, false), in TEST()
118 SideEffects::ArrayReadOfType(type)); in TEST()
120 SideEffects::ArrayWriteOfType(type), in TEST()
121 SideEffects::FieldReadOfType(type, false)); in TEST()
183 for (DataType::Type type : kTestTypes) { in TEST() local
[all …]
Dinduction_var_analysis.h112 type(t) {} in InductionInfo()
118 DataType::Type type; // precision of operation member
139 DataType::Type type) { in CreateTripCount() argument
141 return new (graph_->GetAllocator()) InductionInfo(kInvariant, op, a, b, nullptr, type); in CreateTripCount()
149 DataType::Type type) { in CreateInduction() argument
151 return new (graph_->GetAllocator()) InductionInfo(ic, op, a, b, f, type); in CreateInduction()
208 DataType::Type type,
215 DataType::Type type,
220 DataType::Type type,
225 DataType::Type type,
[all …]
/art/test/991-field-trace-2/
Dexpected.txt4 …ACCESS of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in…
7 …object of type: class art.Test991$TestClass1 in method public void art.Test991$JavaReadWrite.accep…
12 …ACCESS of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in…
18 …ACCESS of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in…
21 …object of type: class art.Test991$TestClass1 in method public void art.Test991$JavaReadWrite.accep…
27 …ACCESS of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in…
30 …bject of type: class art.Test991$TestClass1 in method public void art.Test991$JavaReadWrite.accept…
35 …ACCESS of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in…
38 …object of type: class art.Test991$TestClass1 in method public void art.Test991$JavaReadWrite.accep…
43 …ACCESS of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in…
[all …]
/art/libartbase/base/
Dbit_struct_test.cc38 #define VALIDATE_BITSTRUCT_SIZE(type) ValidateBitStructSize<type>(#type) argument
41 EXPECT_EQ(1u, sizeof(typename detail::MinimumTypeUnsignedHelper<1>::type)); in TEST()
42 EXPECT_EQ(1u, sizeof(typename detail::MinimumTypeUnsignedHelper<2>::type)); in TEST()
43 EXPECT_EQ(1u, sizeof(typename detail::MinimumTypeUnsignedHelper<3>::type)); in TEST()
44 EXPECT_EQ(1u, sizeof(typename detail::MinimumTypeUnsignedHelper<8>::type)); in TEST()
45 EXPECT_EQ(2u, sizeof(typename detail::MinimumTypeUnsignedHelper<9>::type)); in TEST()
46 EXPECT_EQ(2u, sizeof(typename detail::MinimumTypeUnsignedHelper<10>::type)); in TEST()
47 EXPECT_EQ(2u, sizeof(typename detail::MinimumTypeUnsignedHelper<15>::type)); in TEST()
48 EXPECT_EQ(2u, sizeof(typename detail::MinimumTypeUnsignedHelper<16>::type)); in TEST()
49 EXPECT_EQ(4u, sizeof(typename detail::MinimumTypeUnsignedHelper<17>::type)); in TEST()
[all …]
Dcasts.h74 static_assert(std::is_base_of<From, typename std::remove_pointer<To>::type>::value, in down_cast()
82 static_assert(std::is_base_of<From, typename std::remove_reference<To>::type>::value, in down_cast()
124 typename std::enable_if<!std::is_enum<Source>::value, Dest>::type
127 dchecked_integral_cast<typename std::underlying_type<Dest>::type>(value)); in enum_cast()
135 Identity<Dest>>::type>::type::type
139 Identity<Dest>>::type::type; in enum_cast()
141 static_cast<typename std::underlying_type<Source>::type>(value)); in enum_cast()
/art/runtime/entrypoints/quick/
Dcallee_save_frame.h76 struct CSFSelector<InstructionSet::kArm> { using type = arm::ArmCalleeSaveFrame; };
78 struct CSFSelector<InstructionSet::kArm64> { using type = arm64::Arm64CalleeSaveFrame; };
80 struct CSFSelector<InstructionSet::kX86> { using type = x86::X86CalleeSaveFrame; };
82 struct CSFSelector<InstructionSet::kX86_64> { using type = x86_64::X86_64CalleeSaveFrame; };
86 using RuntimeCalleeSaveFrame = detail::CSFSelector<kRuntimeISA>::type;
Dquick_trampoline_entrypoints_test.cc42 static ArtMethod* CreateCalleeSaveMethod(InstructionSet isa, CalleeSaveType type) in CreateCalleeSaveMethod() argument
52 r->SetCalleeSaveMethod(save_method, type); in CreateCalleeSaveMethod()
57 static void CheckPCOffset(InstructionSet isa, CalleeSaveType type, size_t pc_offset) in CheckPCOffset() argument
59 ArtMethod* save_method = CreateCalleeSaveMethod(isa, type); in CheckPCOffset()
62 << "Expected and real pc offset differs for " << type in CheckPCOffset()
/art/runtime/
Dclass_linker-inl.h179 ObjPtr<mirror::Class> type = in LookupResolvedType() local
181 if (type == nullptr) { in LookupResolvedType()
182 type = DoLookupResolvedType(type_idx, referrer); in LookupResolvedType()
184 return type; in LookupResolvedType()
191 ObjPtr<mirror::Class> type = in LookupResolvedType() local
193 if (type == nullptr) { in LookupResolvedType()
194 type = DoLookupResolvedType(type_idx, referrer->GetDeclaringClass()); in LookupResolvedType()
196 return type; in LookupResolvedType()
203 ObjPtr<mirror::Class> type = in LookupResolvedType() local
205 if (type == nullptr) { in LookupResolvedType()
[all …]
Druntime-inl.h81 inline ArtMethod* Runtime::GetCalleeSaveMethod(CalleeSaveType type) in GetCalleeSaveMethod() argument
83 DCHECK(HasCalleeSaveMethod(type)); in GetCalleeSaveMethod()
84 return GetCalleeSaveMethodUnchecked(type); in GetCalleeSaveMethod()
87 inline ArtMethod* Runtime::GetCalleeSaveMethodUnchecked(CalleeSaveType type) in GetCalleeSaveMethodUnchecked() argument
89 return reinterpret_cast64<ArtMethod*>(callee_save_methods_[static_cast<size_t>(type)]); in GetCalleeSaveMethodUnchecked()
/art/test/505-simplifier-type-propagation/
Dinfo.txt2 the code generators did not expect type conversion
3 instructions from one type to the same type.
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DMapItem.java41 public short type; field in MapItem
47 type = file.readUShort(); in read()
50 if (type == TYPE_HEADER_ITEM) { in read()
59 file.writeUShort(type); in write()
/art/test/472-type-propagation/
Dinfo.txt1 Regression test for optimizing's type propagation:
2 If a phi requests its inputs to be of a certain type, the inputs need
3 to propagate that type to their users, as those users might be phis.
/art/test/530-checker-lse3/
Dinfo.txt1 Regression test for load store elimination not respecting the loaded type. When
3 LSE needs to replace the value to be stored with a type conversion to the
4 narrower type.
/art/runtime/gc/
Dscoped_gc_critical_section.cc27 const char* GCCriticalSection::Enter(GcCause cause, CollectorType type) { in Enter() argument
28 Runtime::Current()->GetHeap()->StartGC(self_, cause, type); in Enter()
64 CollectorType type) : self_(self) { in ScopedInterruptibleGCCriticalSection() argument
66 Runtime::Current()->GetHeap()->StartGC(self_, cause, type); in ScopedInterruptibleGCCriticalSection()
/art/compiler/utils/arm/
Dassembler_arm_vixl.cc164 int32_t ArmVIXLAssembler::GetAllowedLoadOffsetBits(LoadOperandType type) { in GetAllowedLoadOffsetBits() argument
165 switch (type) { in GetAllowedLoadOffsetBits()
185 int32_t ArmVIXLAssembler::GetAllowedStoreOffsetBits(StoreOperandType type) { in GetAllowedStoreOffsetBits() argument
186 switch (type) { in GetAllowedStoreOffsetBits()
204 static bool CanHoldLoadOffsetThumb(LoadOperandType type, int offset) { in CanHoldLoadOffsetThumb() argument
205 switch (type) { in CanHoldLoadOffsetThumb()
224 static bool CanHoldStoreOffsetThumb(StoreOperandType type, int offset) { in CanHoldStoreOffsetThumb() argument
225 switch (type) { in CanHoldStoreOffsetThumb()
244 void ArmVIXLAssembler::StoreToOffset(StoreOperandType type, in StoreToOffset() argument
251 if (!CanHoldStoreOffsetThumb(type, offset)) { in StoreToOffset()
[all …]
/art/test/964-default-iface-init-gen/src/
DDisplayer.java18 public Displayer(String type) { in Displayer() argument
19 System.out.println("initialization of " + type); in Displayer()

12345678910>>...21