/art/tools/ahat/src/test/com/android/ahat/ |
D | DiffFieldsTest.java | 22 import com.android.ahat.heapdump.Type; 33 private static final Type t0 = Type.OBJECT; 34 private static final Type t1 = Type.BOOLEAN; 35 private static final Type t2 = Type.CHAR; 36 private static final Type t3 = Type.FLOAT; 37 private static final Type t4 = Type.DOUBLE; 38 private static final Type t5 = Type.BYTE; 39 private static final Type t6 = Type.SHORT; 40 private static final Type t7 = Type.INT; 41 private static final Type t8 = Type.LONG;
|
/art/runtime/ |
D | runtime_options.h | 44 #define DECLARE_KEY(Type, Name) static const Key<Type> Name argument 74 #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key<Type> (Name); argument
|
D | runtime_options.cc | 34 #define RUNTIME_OPTIONS_KEY(Type, Name, ...) const RuntimeArgumentMap::Key<Type> RuntimeArgumentMap… argument
|
D | handle.h | 58 template <typename Type, 59 typename = typename std::enable_if_t<std::is_base_of_v<T, Type>>> 60 ALWAYS_INLINE Handle(const Handle<Type>& other) : reference_(other.reference_) { in Handle() 78 template <typename Type, 79 typename = typename std::enable_if_t<std::is_same_v<mirror::ObjectArray<Type>, T>>> 80 ALWAYS_INLINE IterationRange<mirror::ConstHandleArrayIter<Type>> ConstIterate() const in ConstIterate() 84 template <typename Type, 85 typename = typename std::enable_if_t<std::is_same_v<mirror::ObjectArray<Type>, T>>> 86 ALWAYS_INLINE IterationRange<mirror::HandleArrayIter<Type>> Iterate() in Iterate()
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64.cc | 60 case LinkerPatch::Type::kCallRelative: in IsAdrpPatch() 61 case LinkerPatch::Type::kCallEntrypoint: in IsAdrpPatch() 62 case LinkerPatch::Type::kBakerReadBarrierBranch: in IsAdrpPatch() 64 case LinkerPatch::Type::kIntrinsicReference: in IsAdrpPatch() 65 case LinkerPatch::Type::kDataBimgRelRo: in IsAdrpPatch() 66 case LinkerPatch::Type::kMethodRelative: in IsAdrpPatch() 67 case LinkerPatch::Type::kMethodBssEntry: in IsAdrpPatch() 68 case LinkerPatch::Type::kTypeRelative: in IsAdrpPatch() 69 case LinkerPatch::Type::kTypeBssEntry: in IsAdrpPatch() 70 case LinkerPatch::Type::kStringRelative: in IsAdrpPatch() [all …]
|
/art/compiler/optimizing/ |
D | scheduler_test.cc | 98 DataType::Type::kReference); in TestBuildDependencyGraphAndSchedule() 101 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, c1, c2); in TestBuildDependencyGraphAndSchedule() 102 HInstruction* add2 = new (GetAllocator()) HAdd(DataType::Type::kInt32, add1, c2); in TestBuildDependencyGraphAndSchedule() 103 HInstruction* mul = new (GetAllocator()) HMul(DataType::Type::kInt32, add1, add2); in TestBuildDependencyGraphAndSchedule() 105 HInstruction* div = new (GetAllocator()) HDiv(DataType::Type::kInt32, add1, div_check, 0); in TestBuildDependencyGraphAndSchedule() 107 new (GetAllocator()) HArrayGet(array, add1, DataType::Type::kInt32, 0); in TestBuildDependencyGraphAndSchedule() 109 new (GetAllocator()) HArraySet(array, add1, add2, DataType::Type::kInt32, 0); in TestBuildDependencyGraphAndSchedule() 111 new (GetAllocator()) HArrayGet(array, add1, DataType::Type::kInt32, 0); in TestBuildDependencyGraphAndSchedule() 113 new (GetAllocator()) HArraySet(array, add1, add2, DataType::Type::kInt32, 0); in TestBuildDependencyGraphAndSchedule() 210 DataType::Type::kReference); in TestDependencyGraphOnAliasingArrayAccesses() [all …]
|
D | common_arm.h | 70 inline vixl::aarch32::Register RegisterFrom(Location location, DataType::Type type) { in RegisterFrom() 71 DCHECK(type != DataType::Type::kVoid && !DataType::IsFloatingPointType(type)) << type; in RegisterFrom() 88 DataType::Type type = instr->GetType(); in OutputSRegister() 89 DCHECK_EQ(type, DataType::Type::kFloat32) << type; in OutputSRegister() 94 DataType::Type type = instr->GetType(); in OutputDRegister() 95 DCHECK_EQ(type, DataType::Type::kFloat64) << type; in OutputDRegister() 100 DataType::Type type = instr->GetType(); in OutputVRegister() 101 if (type == DataType::Type::kFloat32) { in OutputVRegister() 109 DataType::Type type = instr->InputAt(input_index)->GetType(); in InputSRegisterAt() 110 DCHECK_EQ(type, DataType::Type::kFloat32) << type; in InputSRegisterAt() [all …]
|
D | ssa_builder.cc | 44 if ((left->GetType() == DataType::Type::kReference) && in FixNullConstantType() 45 (right->GetType() == DataType::Type::kInt32)) { in FixNullConstantType() 47 } else if ((right->GetType() == DataType::Type::kReference) && in FixNullConstantType() 48 (left->GetType() == DataType::Type::kInt32)) { in FixNullConstantType() 130 DataType::Type common_type = phi->GetType(); in TypePhiFromInputs() 139 DataType::Type input_type = HPhi::ToPhiType(input->GetType()); in TypePhiFromInputs() 150 input_type == DataType::Type::kReference); in TypePhiFromInputs() 156 common_type == DataType::Type::kReference); in TypePhiFromInputs() 160 (common_type == DataType::Type::kFloat32 && input_type == DataType::Type::kReference) || in TypePhiFromInputs() 161 (common_type == DataType::Type::kReference && input_type == DataType::Type::kFloat32)); in TypePhiFromInputs() [all …]
|
D | loop_optimization.h | 101 ArrayReference(HInstruction* b, HInstruction* o, DataType::Type t, bool l, bool c = false) 116 DataType::Type type; // component type 185 DataType::Type type, 188 bool TrySetVectorType(DataType::Type type, /*out*/ uint64_t* restrictions); 191 bool TrySetVectorLength(DataType::Type type, uint32_t length) { in TrySetVectorLength() 198 void GenerateVecInv(HInstruction* org, DataType::Type type); 204 DataType::Type type); 211 DataType::Type type); 217 DataType::Type type, 222 DataType::Type type, [all …]
|
D | code_generator_x86_64.cc | 120 DivRemMinusOneSlowPathX86_64(HInstruction* at, Register reg, DataType::Type type, bool is_div) in DivRemMinusOneSlowPathX86_64() 125 if (type_ == DataType::Type::kInt32) { in EmitNativeCode() 133 DCHECK_EQ(DataType::Type::kInt64, type_); in EmitNativeCode() 147 const DataType::Type type_; 230 DataType::Type::kInt32, in EmitNativeCode() 233 DataType::Type::kInt32); in EmitNativeCode() 368 DataType::Type::kReference, in EmitNativeCode() 371 DataType::Type::kReference); in EmitNativeCode() 439 DataType::Type::kReference, in EmitNativeCode() 444 DataType::Type::kInt32, in EmitNativeCode() [all …]
|
D | bounds_check_elimination_test.cc | 71 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); // array in TEST_F() 73 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); // i in TEST_F() 95 null_check, bounds_check2, constant_1, DataType::Type::kInt32, 0); in TEST_F() 119 null_check, bounds_check4, constant_1, DataType::Type::kInt32, 0); in TEST_F() 132 null_check, bounds_check5, constant_1, DataType::Type::kInt32, 0); in TEST_F() 168 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); // array in TEST_F() 170 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); // i in TEST_F() 189 new (GetAllocator()) HAdd(DataType::Type::kInt32, parameter2, constant_max_int); in TEST_F() 205 null_check, bounds_check, constant_1, DataType::Type::kInt32, 0); in TEST_F() 233 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); // array in TEST_F() [all …]
|
D | instruction_builder.h | 57 DataType::Type return_type, 87 HInstruction* LoadLocal(uint32_t register_index, DataType::Type type) const; 98 void Unop_12x(const Instruction& instruction, DataType::Type type, uint32_t dex_pc); 101 void Binop_23x(const Instruction& instruction, DataType::Type type, uint32_t dex_pc); 104 void Binop_23x_shift(const Instruction& instruction, DataType::Type type, uint32_t dex_pc); 107 DataType::Type type, 112 void Binop_12x(const Instruction& instruction, DataType::Type type, uint32_t dex_pc); 115 void Binop_12x_shift(const Instruction& instruction, DataType::Type type, uint32_t dex_pc); 127 DataType::Type input_type, 128 DataType::Type result_type, [all …]
|
D | ssa_liveness_analysis_test.cc | 61 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); in TEST_F() 81 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F() 83 graph_->GetDexFile(), dex::TypeIndex(1), 1, DataType::Type::kInt32); in TEST_F() 85 graph_->GetDexFile(), dex::TypeIndex(2), 2, DataType::Type::kInt32); in TEST_F() 87 graph_->GetDexFile(), dex::TypeIndex(3), 3, DataType::Type::kInt32); in TEST_F() 89 graph_->GetDexFile(), dex::TypeIndex(4), 4, DataType::Type::kReference); in TEST_F() 117 new (GetAllocator()) HArraySet(array, index, value, DataType::Type::kInt32, /* dex_pc= */ 0); in TEST_F() 150 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F() 152 graph_->GetDexFile(), dex::TypeIndex(1), 1, DataType::Type::kInt32); in TEST_F() 154 graph_->GetDexFile(), dex::TypeIndex(2), 2, DataType::Type::kInt32); in TEST_F() [all …]
|
D | code_generator_x86.cc | 181 DataType::Type::kInt32, in EmitNativeCode() 184 DataType::Type::kInt32); in EmitNativeCode() 352 DataType::Type::kReference, in EmitNativeCode() 355 DataType::Type::kReference); in EmitNativeCode() 428 DataType::Type::kReference, in EmitNativeCode() 433 DataType::Type::kInt32, in EmitNativeCode() 438 DataType::Type::kReference, in EmitNativeCode() 824 DataType::Type::kReference, in EmitNativeCode() 828 DataType::Type::kReference, in EmitNativeCode() 833 DataType::Type::kInt32, in EmitNativeCode() [all …]
|
D | gvn_test.cc | 37 DataType::Type::kReference); in TEST_F() 46 DataType::Type::kReference, in TEST_F() 55 DataType::Type::kReference, in TEST_F() 65 DataType::Type::kReference, in TEST_F() 77 DataType::Type::kReference, in TEST_F() 86 DataType::Type::kReference, in TEST_F() 118 DataType::Type::kReference); in TEST_F() 126 DataType::Type::kBool, in TEST_F() 149 DataType::Type::kBool, in TEST_F() 159 DataType::Type::kBool, in TEST_F() [all …]
|
D | induction_var_analysis.h | 106 DataType::Type t) in InductionInfo() 118 DataType::Type type; // precision of operation 139 DataType::Type type) { in CreateTripCount() 149 DataType::Type type) { in CreateInduction() 170 InductionInfo* TransferConversion(InductionInfo* a, DataType::Type from, DataType::Type to); 208 DataType::Type type, 215 DataType::Type type, 220 DataType::Type type, 225 DataType::Type type, 230 DataType::Type type); [all …]
|
D | code_generator_arm_vixl.cc | 268 static LoadOperandType GetLoadOperandType(DataType::Type type) { in GetLoadOperandType() 270 case DataType::Type::kReference: in GetLoadOperandType() 272 case DataType::Type::kBool: in GetLoadOperandType() 273 case DataType::Type::kUint8: in GetLoadOperandType() 275 case DataType::Type::kInt8: in GetLoadOperandType() 277 case DataType::Type::kUint16: in GetLoadOperandType() 279 case DataType::Type::kInt16: in GetLoadOperandType() 281 case DataType::Type::kInt32: in GetLoadOperandType() 283 case DataType::Type::kInt64: in GetLoadOperandType() 285 case DataType::Type::kFloat32: in GetLoadOperandType() [all …]
|
D | loop_optimization.cc | 45 static uint32_t HiddenOffset(DataType::Type type, bool is_string_char_at) { in HiddenOffset() 87 DataType::Type type, 93 DataType::Type type, in IsSignExtensionAndGet() 101 case DataType::Type::kUint8: in IsSignExtensionAndGet() 102 case DataType::Type::kInt8: in IsSignExtensionAndGet() 108 case DataType::Type::kUint16: in IsSignExtensionAndGet() 109 case DataType::Type::kInt16: in IsSignExtensionAndGet() 122 case DataType::Type::kInt8: in IsSignExtensionAndGet() 123 case DataType::Type::kInt16: in IsSignExtensionAndGet() 133 DataType::Type from = conv->GetType(); in IsSignExtensionAndGet() [all …]
|
D | licm_test.cc | 79 DataType::Type::kReference); in BuildLoop() 124 DataType::Type::kInt64, in TEST_F() 133 parameter_, int_constant_, nullptr, DataType::Type::kInt32, MemberOffset(20), in TEST_F() 151 DataType::Type::kInt64, in TEST_F() 162 DataType::Type::kInt64, in TEST_F() 183 parameter_, int_constant_, DataType::Type::kInt32, 0); in TEST_F() 186 parameter_, int_constant_, float_constant_, DataType::Type::kFloat32, 0); in TEST_F() 201 parameter_, int_constant_, DataType::Type::kFloat32, 0); in TEST_F() 204 parameter_, get_array, float_constant_, DataType::Type::kFloat32, 0); in TEST_F()
|
D | instruction_simplifier.cc | 221 DataType::Type type = op->GetType(); in TryDeMorganNegationFactoring() 273 DataType::Type type = mul->GetPackedType(); in TryCombineVecMultiplyAccumulate() 277 if (!(type == DataType::Type::kUint8 || in TryCombineVecMultiplyAccumulate() 278 type == DataType::Type::kInt8 || in TryCombineVecMultiplyAccumulate() 279 type == DataType::Type::kUint16 || in TryCombineVecMultiplyAccumulate() 280 type == DataType::Type::kInt16 || in TryCombineVecMultiplyAccumulate() 281 type == DataType::Type::kInt32)) { in TryCombineVecMultiplyAccumulate() 347 int64_t implicit_mask = (value->GetType() == DataType::Type::kInt64) in VisitShift() 370 DCHECK_EQ(shift_amount->GetType(), DataType::Type::kInt32); in VisitShift() 401 DCHECK_NE(shift_amount->GetType(), DataType::Type::kBool); // We never convert to bool. in VisitShift() [all …]
|
D | code_generator_arm64.cc | 131 Location ARM64ReturnLocation(DataType::Type return_type) { in ARM64ReturnLocation() 135 if (return_type == DataType::Type::kFloat32) { in ARM64ReturnLocation() 137 } else if (return_type == DataType::Type::kFloat64) { in ARM64ReturnLocation() 139 } else if (return_type == DataType::Type::kInt64) { in ARM64ReturnLocation() 141 } else if (return_type == DataType::Type::kVoid) { in ARM64ReturnLocation() 148 Location InvokeRuntimeCallingConvention::GetReturnLocation(DataType::Type return_type) { in GetReturnLocation() 157 RegisterFrom(calling_convention.GetReturnLocation(DataType::Type::kReference), in OneRegInReferenceOutSaveEverythingCallerSaves() 158 DataType::Type::kReference).GetCode()); in OneRegInReferenceOutSaveEverythingCallerSaves() 266 DataType::Type::kInt32, in EmitNativeCode() 269 DataType::Type::kInt32); in EmitNativeCode() [all …]
|
/art/tools/veridex/ |
D | veridex.h | 51 VeriClass(Primitive::Type k, uint8_t dims, const dex::ClassDef* cl) in VeriClass() 55 return kind_ == Primitive::Type::kPrimNot && dimensions_ == 0 && class_def_ == nullptr; in IsUninitialized() 59 return kind_ != Primitive::Type::kPrimNot && dimensions_ == 0; in IsPrimitive() 66 Primitive::Type GetKind() const { return kind_; } in GetKind() 96 Primitive::Type kind_;
|
/art/tools/jfuzz/ |
D | jfuzz.cc | 139 enum Type { enum in __anon58250dea0111::JFuzz 148 static bool isInteger(Type tp) { in isInteger() 153 static bool isFP(Type tp) { in isFP() 158 void emitType(Type tp) const { in emitType() 169 void emitTypeClass(Type tp) const { in emitTypeClass() 180 Type randomType() { in randomType() 201 void emitUnaryOp(Type tp) { in emitUnaryOp() 212 void emitIncDecOp(Type tp) { in emitIncDecOp() 221 void emitBinaryOp(Type tp) { in emitBinaryOp() 232 void emitAssignmentOp(Type tp) { in emitAssignmentOp() [all …]
|
/art/libdexfile/dex/ |
D | primitive.cc | 49 const char* Primitive::PrettyDescriptor(Primitive::Type type) { in PrettyDescriptor() 56 const char* Primitive::BoxedDescriptor(Primitive::Type type) { in BoxedDescriptor() 63 std::ostream& operator<<(std::ostream& os, Primitive::Type type) { in operator <<()
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | Field.java | 31 public final Type type; 39 public Field(String name, Type type) { in Field()
|