/art/dex2oat/linker/ |
D | relative_patcher_test.h | 172 if (patch.GetType() == LinkerPatch::Type::kCallRelative) { in Link() 180 } else if (patch.GetType() == LinkerPatch::Type::kStringBssEntry) { in Link() 187 } else if (patch.GetType() == LinkerPatch::Type::kStringRelative) { in Link() 194 } else if (patch.GetType() == LinkerPatch::Type::kCallEntrypoint) { in Link() 198 } else if (patch.GetType() == LinkerPatch::Type::kBakerReadBarrierBranch) { in Link() 310 CHECK(patch.GetType() == LinkerPatch::Type::kCallEntrypoint || in ThunkKey() 311 patch.GetType() == LinkerPatch::Type::kBakerReadBarrierBranch || in ThunkKey() 312 patch.GetType() == LinkerPatch::Type::kCallRelative); in ThunkKey() 328 case LinkerPatch::Type::kCallEntrypoint: in CustomValue1() 330 case LinkerPatch::Type::kBakerReadBarrierBranch: in CustomValue1() [all …]
|
/art/compiler/optimizing/ |
D | scheduler_arm64.cc | 83 DataType::Type type = instr->GetResultType(); in VisitDiv() 85 case DataType::Type::kFloat32: in VisitDiv() 88 case DataType::Type::kFloat64: in VisitDiv() 239 if (instr->GetPackedType() == DataType::Type::kBool) { in VisitVecNot() 266 if (instr->GetPackedType() == DataType::Type::kFloat32) { in VisitVecDiv() 269 DCHECK(instr->GetPackedType() == DataType::Type::kFloat64); in VisitVecDiv() 332 if (instr->GetPackedType() == DataType::Type::kUint16 in VisitVecLoad()
|
D | nodes_test.cc | 38 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F() 78 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F() 80 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F() 103 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F() 121 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
|
D | code_generator.cc | 67 static bool CheckType(DataType::Type type, Location location) { in CheckType() 70 return (type == DataType::Type::kFloat32) || (type == DataType::Type::kFloat64); in CheckType() 73 return DataType::IsIntegralType(type) || (type == DataType::Type::kReference); in CheckType() 75 return type == DataType::Type::kInt64; in CheckType() 77 return type == DataType::Type::kFloat64; in CheckType() 79 return (DataType::IsIntegralType(type) && type != DataType::Type::kInt64) in CheckType() 80 || (type == DataType::Type::kFloat32) in CheckType() 81 || (type == DataType::Type::kReference); in CheckType() 83 return (type == DataType::Type::kInt64) || (type == DataType::Type::kFloat64); in CheckType() 86 return DataType::IsIntegralType(type) && (type != DataType::Type::kInt64); in CheckType() [all …]
|
D | nodes.h | 603 HConstant* GetConstant(DataType::Type type, int64_t value, uint32_t dex_pc = kNoDexPc); 1800 static SideEffects FieldWriteOfType(DataType::Type type, bool is_volatile) { in FieldWriteOfType() 1806 static SideEffects ArrayWriteOfType(DataType::Type type) { in ArrayWriteOfType() 1810 static SideEffects FieldReadOfType(DataType::Type type, bool is_volatile) { in FieldReadOfType() 1816 static SideEffects ArrayReadOfType(DataType::Type type) { in ArrayReadOfType() 1952 static uint64_t TypeFlag(DataType::Type type, int offset) { in TypeFlag() 1955 case DataType::Type::kReference: shift = 0; break; in TypeFlag() 1956 case DataType::Type::kBool: shift = 1; break; in TypeFlag() 1957 case DataType::Type::kInt8: shift = 2; break; in TypeFlag() 1958 case DataType::Type::kUint16: shift = 3; break; in TypeFlag() [all …]
|
D | register_allocator_linear_scan.cc | 88 bool is_core_register = (interval->GetType() != DataType::Type::kFloat64) in ShouldProcess() 89 && (interval->GetType() != DataType::Type::kFloat32); in ShouldProcess() 137 DataType::Type type = location.IsRegister() in BlockRegister() 138 ? DataType::Type::kInt32 in BlockRegister() 139 : DataType::Type::kFloat32; in BlockRegister() 242 LiveInterval::MakeTempInterval(allocator_, DataType::Type::kInt32); in ProcessInstruction() 251 LiveInterval::MakeTempInterval(allocator_, DataType::Type::kFloat64); in ProcessInstruction() 254 if (codegen_->NeedsTwoRegisters(DataType::Type::kFloat64)) { in ProcessInstruction() 271 bool core_register = (instruction->GetType() != DataType::Type::kFloat64) in ProcessInstruction() 272 && (instruction->GetType() != DataType::Type::kFloat32); in ProcessInstruction() [all …]
|
D | instruction_simplifier_x86.cc | 62 } else if (instruction->GetResultType() == DataType::Type::kInt32) { in VisitAnd() 70 if (instruction->GetResultType() == DataType::Type::kInt32) { in VisitXor()
|
D | register_allocator_test.cc | 462 LiveInterval::MakeFixedInterval(GetScopedAllocator(), 0, DataType::Type::kInt32); in TEST_F() 466 interval = LiveInterval::MakeFixedInterval(GetScopedAllocator(), 0, DataType::Type::kInt32); in TEST_F() 470 interval = LiveInterval::MakeFixedInterval(GetScopedAllocator(), 0, DataType::Type::kInt32); in TEST_F() 496 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in BuildIfElseWithPhi() 505 DataType::Type::kBool, in BuildIfElseWithPhi() 528 *phi = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32); in BuildIfElseWithPhi() 532 DataType::Type::kInt32, in BuildIfElseWithPhi() 541 DataType::Type::kInt32, in BuildIfElseWithPhi() 646 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in BuildFieldReturn() 655 DataType::Type::kInt32, in BuildFieldReturn() [all …]
|
D | code_generator_x86.h | 86 Location GetNextLocation(DataType::Type type) override; 87 Location GetReturnLocation(DataType::Type type) const override; 103 Location GetNextLocation(DataType::Type type) override; 104 Location GetReturnLocation(DataType::Type type) const override; 129 Location GetReturnLocation(DataType::Type type) const override { in GetReturnLocation() 134 Location GetSetValueLocation(DataType::Type type, bool is_instance) const override { in GetSetValueLocation() 143 Location GetFpuLocation(DataType::Type type ATTRIBUTE_UNUSED) const override { in GetFpuLocation() 257 void GenerateMinMaxInt(LocationSummary* locations, bool is_min, DataType::Type type); 258 void GenerateMinMaxFP(LocationSummary* locations, bool is_min, DataType::Type type); 357 void MoveLocation(Location dst, Location src, DataType::Type dst_type) override; [all …]
|
D | common_arm64.h | 76 inline vixl::aarch64::Register RegisterFrom(Location location, DataType::Type type) { in RegisterFrom() 77 DCHECK(type != DataType::Type::kVoid && !DataType::IsFloatingPointType(type)) << type; in RegisterFrom() 78 return type == DataType::Type::kInt64 ? XRegisterFrom(location) : WRegisterFrom(location); in RegisterFrom() 115 inline vixl::aarch64::VRegister FPRegisterFrom(Location location, DataType::Type type) { in FPRegisterFrom() 117 return type == DataType::Type::kFloat64 ? DRegisterFrom(location) : SRegisterFrom(location); in FPRegisterFrom() 129 inline vixl::aarch64::CPURegister CPURegisterFrom(Location location, DataType::Type type) { in CPURegisterFrom() 150 DataType::Type input_type = input->GetType(); in InputCPURegisterOrZeroRegAt() 163 inline vixl::aarch64::Operand OperandFrom(Location location, DataType::Type type) { in OperandFrom() 202 return HeapOperand(RegisterFrom(location, DataType::Type::kReference), offset); in HeapOperandFrom()
|
D | instruction_simplifier_shared.h | 29 DataType::Type result_type = conversion->GetResultType(); in CanFitInShifterOperand() 30 DataType::Type input_type = conversion->GetInputType(); in CanFitInShifterOperand()
|
D | instruction_simplifier_shared.cc | 91 DataType::Type type = mul->GetType(); in TryCombineMultiplyAccumulate() 95 if (type != DataType::Type::kInt32) { in TryCombineMultiplyAccumulate() 243 access->AsArraySet()->GetValue()->GetType() == DataType::Type::kReference) { in TryExtractArrayAccessAddress() 250 access->GetType() == DataType::Type::kReference) { in TryExtractArrayAccessAddress() 293 DataType::Type packed_type = access->GetPackedType(); in TryExtractVecArrayAccessAddress() 304 DataType::Type another_packed_type = another_access->GetPackedType(); in TryExtractVecArrayAccessAddress()
|
D | code_generator_x86_64.h | 89 Location GetNextLocation(DataType::Type type) override; 90 Location GetReturnLocation(DataType::Type type) const override; 117 Location GetReturnLocation(DataType::Type type ATTRIBUTE_UNUSED) const override { in GetReturnLocation() 120 Location GetSetValueLocation(DataType::Type type ATTRIBUTE_UNUSED, bool is_instance) in GetSetValueLocation() 126 Location GetFpuLocation(DataType::Type type ATTRIBUTE_UNUSED) const override { in GetFpuLocation() 140 Location GetNextLocation(DataType::Type type) override; 141 Location GetReturnLocation(DataType::Type type) const override; 256 void GenerateMinMaxInt(LocationSummary* locations, bool is_min, DataType::Type type); 257 void GenerateMinMaxFP(LocationSummary* locations, bool is_min, DataType::Type type); 340 void MoveLocation(Location dst, Location src, DataType::Type dst_type) override; [all …]
|
D | instruction_simplifier_arm64.cc | 98 DataType::Type type = use->GetType(); in TryMergeIntoShifterOperand() 99 if (type != DataType::Type::kInt32 && type != DataType::Type::kInt64) { in TryMergeIntoShifterOperand() 254 DataType::Type result_type = instruction->GetResultType(); in VisitTypeConversion() 255 DataType::Type input_type = instruction->GetInputType(); in VisitTypeConversion()
|
D | load_store_elimination.cc | 122 DataType::Type expected_type) { in FindOrAddTypeConversionIfNecessary() 124 if (expected_type == DataType::Type::kBool || in FindOrAddTypeConversionIfNecessary() 522 HInstruction* GetDefaultValue(DataType::Type type) { in GetDefaultValue() 524 case DataType::Type::kReference: in GetDefaultValue() 526 case DataType::Type::kBool: in GetDefaultValue() 527 case DataType::Type::kUint8: in GetDefaultValue() 528 case DataType::Type::kInt8: in GetDefaultValue() 529 case DataType::Type::kUint16: in GetDefaultValue() 530 case DataType::Type::kInt16: in GetDefaultValue() 531 case DataType::Type::kInt32: in GetDefaultValue() [all …]
|
D | loop_optimization_test.cc | 69 DataType::Type::kInt32); in BuildGraph() 238 HPhi* phi = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32); in TEST_F() 239 HInstruction* add = new (GetAllocator()) HAdd(DataType::Type::kInt32, phi, parameter_); in TEST_F() 298 HAdd* preheader0_add = new (GetAllocator()) HAdd(DataType::Type::kInt32, parameter_, const_0); in TEST_F() 300 HAdd* preheader1_add = new (GetAllocator()) HAdd(DataType::Type::kInt32, parameter_, const_1); in TEST_F() 303 HPhi* header_phi = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32); in TEST_F() 306 HAdd* body_add = new (GetAllocator()) HAdd(DataType::Type::kInt32, parameter_, const_2); in TEST_F()
|
D | instruction_simplifier_x86_shared.cc | 22 DataType::Type type = instruction->GetType(); in TryCombineAndNot() 58 DataType::Type type = instruction->GetType(); in TryGenerateResetLeastSetBit() 91 DataType::Type type = instruction->GetType(); in TryGenerateMaskUptoLeastSetBit()
|
D | nodes_x86.h | 28 DataType::Type::kInt32, in HX86ComputeBaseMethodAddress() 71 HX86FPNeg(DataType::Type result_type, in HX86FPNeg() 133 HX86AndNot(DataType::Type result_type, 171 HX86MaskOrResetLeastSetBit(DataType::Type result_type, InstructionKind op,
|
D | load_store_elimination_test.cc | 44 i_add1_ = new (GetAllocator()) HAdd(DataType::Type::kInt32, i_, c1); in CreateEntryBlockInstructions() 45 i_add4_ = new (GetAllocator()) HAdd(DataType::Type::kInt32, i_, c4); in CreateEntryBlockInstructions() 79 phi_ = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32); in CreateTestControlFlowGraph() 89 HInstruction* inc_phi = new (GetAllocator()) HAdd(DataType::Type::kInt32, phi_, c1); in CreateTestControlFlowGraph() 151 DataType::Type::kInt32, in AddVecLoad() 152 SideEffects::ArrayReadOfType(DataType::Type::kInt32), in AddVecLoad() 175 DataType::Type::kInt32, in AddVecStore() 185 DataType::Type::kInt32, in AddVecStore() 186 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in AddVecStore() 200 HInstruction* get = new (GetAllocator()) HArrayGet(array, index, DataType::Type::kInt32, 0); in AddArrayGet() [all …]
|
D | code_generator.h | 150 virtual Location GetNextLocation(DataType::Type type) = 0; 151 virtual Location GetReturnLocation(DataType::Type type) const = 0; 173 virtual Location GetReturnLocation(DataType::Type type) const = 0; 174 virtual Location GetSetValueLocation(DataType::Type type, bool is_instance) const = 0; 175 virtual Location GetFpuLocation(DataType::Type type) const = 0; 219 virtual void MoveLocation(Location dst, Location src, DataType::Type dst_type) = 0; 288 virtual bool NeedsTwoRegisters(DataType::Type type) const = 0; 438 DataType::Type type1, 441 DataType::Type type2); 489 static bool StoreNeedsWriteBarrier(DataType::Type type, HInstruction* value) { in StoreNeedsWriteBarrier() [all …]
|
/art/tools/veridex/ |
D | veridex.cc | 34 static VeriClass z_(Primitive::Type::kPrimBoolean, 0, nullptr); 35 static VeriClass b_(Primitive::Type::kPrimByte, 0, nullptr); 36 static VeriClass c_(Primitive::Type::kPrimChar, 0, nullptr); 37 static VeriClass s_(Primitive::Type::kPrimShort, 0, nullptr); 38 static VeriClass i_(Primitive::Type::kPrimInt, 0, nullptr); 39 static VeriClass f_(Primitive::Type::kPrimFloat, 0, nullptr); 40 static VeriClass d_(Primitive::Type::kPrimDouble, 0, nullptr); 41 static VeriClass j_(Primitive::Type::kPrimLong, 0, nullptr); 42 static VeriClass v_(Primitive::Type::kPrimVoid, 0, nullptr);
|
/art/test/046-reflect/src/ |
D | Main.java | 514 Type listType = field.getGenericType(); in checkGeneric() 523 Type[] parmTypes = method.getGenericParameterTypes(); in checkGeneric() 524 Type ret = method.getGenericReturnType(); in checkGeneric() 542 private static String stringifyTypeArray(Type[] types) { in stringifyTypeArray() 548 for (Type t: types) { in stringifyTypeArray() 610 List<Type> types1 = Arrays.asList(method1.getGenericParameterTypes()); in checkParametrizedTypeEqualsAndHashCode() 611 List<Type> types2 = Arrays.asList(method2.getGenericParameterTypes()); in checkParametrizedTypeEqualsAndHashCode() 612 List<Type> types3 = Arrays.asList(method3.getGenericParameterTypes()); in checkParametrizedTypeEqualsAndHashCode() 614 Type type1 = types1.get(0); in checkParametrizedTypeEqualsAndHashCode() 615 Type type2 = types2.get(0); in checkParametrizedTypeEqualsAndHashCode() [all …]
|
/art/test/1948-obsolete-const-method-handle/util-src/src/art/constmethodhandle/ |
D | TestGenerator.java | 32 import org.objectweb.asm.Type; 168 Type.getInternalName(Responses.class), in generateRunTest() 172 String internalName = Type.getInternalName(Runnable.class); in generateRunTest() 178 Type.getInternalName(MethodHandle.class), in generateRunTest()
|
/art/runtime/ |
D | method_handles.cc | 53 bool GetUnboxedPrimitiveType(ObjPtr<mirror::Class> klass, Primitive::Type* type) in GetUnboxedPrimitiveType() 76 ObjPtr<mirror::Class> GetBoxedPrimitiveClass(Primitive::Type type) in GetBoxedPrimitiveClass() 87 case Primitive::Type::kPrimNot: in GetBoxedPrimitiveClass() 88 case Primitive::Type::kPrimVoid: in GetBoxedPrimitiveClass() 94 bool GetUnboxedTypeAndValue(ObjPtr<mirror::Object> o, Primitive::Type* type, JValue* value) in GetUnboxedTypeAndValue() 110 inline bool IsReferenceType(Primitive::Type type) { in IsReferenceType() 114 inline bool IsPrimitiveType(Primitive::Type type) { in IsPrimitiveType() 130 Primitive::Type from_primitive = from->GetPrimitiveType(); in IsParameterTypeConvertible() 131 Primitive::Type to_primitive = to->GetPrimitiveType(); in IsParameterTypeConvertible() 132 DCHECK(from_primitive != Primitive::Type::kPrimVoid); in IsParameterTypeConvertible() [all …]
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | DiffedFieldValue.java | 34 public final Type type; 109 private DiffedFieldValue(String name, Type type, Value current, Value baseline, Status status) { in DiffedFieldValue()
|