/art/compiler/optimizing/ |
D | data_type.h | 30 enum class Type : uint8_t { enum 47 static constexpr Type FromShorty(char type); 48 static constexpr char TypeId(DataType::Type type); 50 static constexpr size_t SizeShift(Type type) { in SizeShift() 52 case Type::kVoid: in SizeShift() 53 case Type::kBool: in SizeShift() 54 case Type::kUint8: in SizeShift() 55 case Type::kInt8: in SizeShift() 57 case Type::kUint16: in SizeShift() 58 case Type::kInt16: in SizeShift() [all …]
|
D | data_type-inl.h | 26 constexpr DataType::Type DataTypeFromPrimitive(Primitive::Type type) { in DataTypeFromPrimitive() 28 case Primitive::kPrimNot: return DataType::Type::kReference; in DataTypeFromPrimitive() 29 case Primitive::kPrimBoolean: return DataType::Type::kBool; in DataTypeFromPrimitive() 30 case Primitive::kPrimByte: return DataType::Type::kInt8; in DataTypeFromPrimitive() 31 case Primitive::kPrimChar: return DataType::Type::kUint16; in DataTypeFromPrimitive() 32 case Primitive::kPrimShort: return DataType::Type::kInt16; in DataTypeFromPrimitive() 33 case Primitive::kPrimInt: return DataType::Type::kInt32; in DataTypeFromPrimitive() 34 case Primitive::kPrimLong: return DataType::Type::kInt64; in DataTypeFromPrimitive() 35 case Primitive::kPrimFloat: return DataType::Type::kFloat32; in DataTypeFromPrimitive() 36 case Primitive::kPrimDouble: return DataType::Type::kFloat64; in DataTypeFromPrimitive() [all …]
|
D | data_type_test.cc | 27 template <DataType::Type data_type, Primitive::Type primitive_type> 35 CheckConversion<DataType::Type::kVoid, Primitive::kPrimVoid>(); in TEST() 36 CheckConversion<DataType::Type::kBool, Primitive::kPrimBoolean>(); in TEST() 37 CheckConversion<DataType::Type::kInt8, Primitive::kPrimByte>(); in TEST() 38 CheckConversion<DataType::Type::kUint16, Primitive::kPrimChar>(); in TEST() 39 CheckConversion<DataType::Type::kInt16, Primitive::kPrimShort>(); in TEST() 40 CheckConversion<DataType::Type::kInt32, Primitive::kPrimInt>(); in TEST() 41 CheckConversion<DataType::Type::kInt64, Primitive::kPrimLong>(); in TEST() 42 CheckConversion<DataType::Type::kFloat32, Primitive::kPrimFloat>(); in TEST() 43 CheckConversion<DataType::Type::kFloat64, Primitive::kPrimDouble>(); in TEST() [all …]
|
D | scheduler_arm.cc | 34 case DataType::Type::kInt64: in HandleBinaryOperationLantencies() 41 case DataType::Type::kFloat32: in HandleBinaryOperationLantencies() 42 case DataType::Type::kFloat64: in HandleBinaryOperationLantencies() 61 case DataType::Type::kInt64: in VisitMul() 65 case DataType::Type::kFloat32: in VisitMul() 66 case DataType::Type::kFloat64: in VisitMul() 77 case DataType::Type::kInt64: in HandleBitwiseOperationLantencies() 81 case DataType::Type::kFloat32: in HandleBitwiseOperationLantencies() 82 case DataType::Type::kFloat64: in HandleBitwiseOperationLantencies() 105 case DataType::Type::kInt32: in VisitRor() [all …]
|
D | side_effects_test.cc | 25 static const DataType::Type kTestTypes[] = { 26 DataType::Type::kReference, 27 DataType::Type::kBool, 28 DataType::Type::kInt8, 29 DataType::Type::kUint16, 30 DataType::Type::kInt16, 31 DataType::Type::kInt32, 32 DataType::Type::kInt64, 33 DataType::Type::kFloat32, 34 DataType::Type::kFloat64, [all …]
|
D | code_generator_vector_x86_64.cc | 33 case DataType::Type::kBool: in VisitVecReplicateScalar() 34 case DataType::Type::kUint8: in VisitVecReplicateScalar() 35 case DataType::Type::kInt8: in VisitVecReplicateScalar() 36 case DataType::Type::kUint16: in VisitVecReplicateScalar() 37 case DataType::Type::kInt16: in VisitVecReplicateScalar() 38 case DataType::Type::kInt32: in VisitVecReplicateScalar() 39 case DataType::Type::kInt64: in VisitVecReplicateScalar() 44 case DataType::Type::kFloat32: in VisitVecReplicateScalar() 45 case DataType::Type::kFloat64: in VisitVecReplicateScalar() 69 case DataType::Type::kBool: in VisitVecReplicateScalar() [all …]
|
D | code_generator_vector_x86.cc | 33 case DataType::Type::kInt64: in VisitVecReplicateScalar() 39 case DataType::Type::kBool: in VisitVecReplicateScalar() 40 case DataType::Type::kUint8: in VisitVecReplicateScalar() 41 case DataType::Type::kInt8: in VisitVecReplicateScalar() 42 case DataType::Type::kUint16: in VisitVecReplicateScalar() 43 case DataType::Type::kInt16: in VisitVecReplicateScalar() 44 case DataType::Type::kInt32: in VisitVecReplicateScalar() 49 case DataType::Type::kFloat32: in VisitVecReplicateScalar() 50 case DataType::Type::kFloat64: in VisitVecReplicateScalar() 74 case DataType::Type::kBool: in VisitVecReplicateScalar() [all …]
|
D | code_generator_vector_arm64_sve.cc | 85 case DataType::Type::kBool: in VisitVecReplicateScalar() 86 case DataType::Type::kUint8: in VisitVecReplicateScalar() 87 case DataType::Type::kInt8: in VisitVecReplicateScalar() 88 case DataType::Type::kUint16: in VisitVecReplicateScalar() 89 case DataType::Type::kInt16: in VisitVecReplicateScalar() 90 case DataType::Type::kInt32: in VisitVecReplicateScalar() 91 case DataType::Type::kInt64: in VisitVecReplicateScalar() 95 case DataType::Type::kFloat32: in VisitVecReplicateScalar() 96 case DataType::Type::kFloat64: in VisitVecReplicateScalar() 119 case DataType::Type::kBool: in VisitVecReplicateScalar() [all …]
|
D | code_generator_vector_arm64_neon.cc | 83 case DataType::Type::kBool: in VisitVecReplicateScalar() 84 case DataType::Type::kUint8: in VisitVecReplicateScalar() 85 case DataType::Type::kInt8: in VisitVecReplicateScalar() 86 case DataType::Type::kUint16: in VisitVecReplicateScalar() 87 case DataType::Type::kInt16: in VisitVecReplicateScalar() 88 case DataType::Type::kInt32: in VisitVecReplicateScalar() 89 case DataType::Type::kInt64: in VisitVecReplicateScalar() 93 case DataType::Type::kFloat32: in VisitVecReplicateScalar() 94 case DataType::Type::kFloat64: in VisitVecReplicateScalar() 115 case DataType::Type::kBool: in VisitVecReplicateScalar() [all …]
|
D | code_generator_vector_arm_vixl.cc | 39 case DataType::Type::kBool: in VisitVecReplicateScalar() 40 case DataType::Type::kUint8: in VisitVecReplicateScalar() 41 case DataType::Type::kInt8: in VisitVecReplicateScalar() 42 case DataType::Type::kUint16: in VisitVecReplicateScalar() 43 case DataType::Type::kInt16: in VisitVecReplicateScalar() 44 case DataType::Type::kInt32: in VisitVecReplicateScalar() 58 case DataType::Type::kBool: in VisitVecReplicateScalar() 59 case DataType::Type::kUint8: in VisitVecReplicateScalar() 60 case DataType::Type::kInt8: in VisitVecReplicateScalar() 64 case DataType::Type::kUint16: in VisitVecReplicateScalar() [all …]
|
D | nodes_vector_test.cc | 46 DataType::Type::kInt8); in BuildGraph() 51 DataType::Type::kInt16); in BuildGraph() 56 DataType::Type::kInt32); in BuildGraph() 134 HVecReplicateScalar(GetAllocator(), int32_parameter_, DataType::Type::kInt32, 4, kNoDexPc); in TEST_F() 136 HVecReplicateScalar(GetAllocator(), int32_parameter_, DataType::Type::kInt32, 4, kNoDexPc); in TEST_F() 138 HVecReplicateScalar(GetAllocator(), int32_parameter_, DataType::Type::kInt32, 2, kNoDexPc); in TEST_F() 140 HVecReplicateScalar(GetAllocator(), int32_parameter_, DataType::Type::kInt16, 4, kNoDexPc); in TEST_F() 146 DataType::Type::kInt32, in TEST_F() 147 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F() 171 EXPECT_EQ(DataType::Type::kFloat64, v0->GetType()); in TEST_F() [all …]
|
D | induction_var_analysis_test.cc | 95 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference, true); in BuildLoopNest() 109 basic_[d] = new (GetAllocator()) HPhi(GetAllocator(), d, 0, DataType::Type::kInt32); in BuildLoopNest() 115 increment_[d] = new (GetAllocator()) HAdd(DataType::Type::kInt32, basic_[d], constant1_); in BuildLoopNest() 142 HPhi* select_phi = new (GetAllocator()) HPhi(GetAllocator(), -1, 0, DataType::Type::kInt32); in BuildIf() 155 HPhi* phi = new (GetAllocator()) HPhi(GetAllocator(), vreg, 0, DataType::Type::kInt32); in InsertLoopPhi() 166 parameter_, subscript, float_constant0_, DataType::Type::kFloat32, 0), d); in InsertArrayStore() 285 new (GetAllocator()) HAdd(DataType::Type::kInt32, constant100_, basic_[0]), 0); in TEST_F() 287 new (GetAllocator()) HSub(DataType::Type::kInt32, constant100_, basic_[0]), 0); in TEST_F() 289 new (GetAllocator()) HMul(DataType::Type::kInt32, constant100_, basic_[0]), 0); in TEST_F() 291 new (GetAllocator()) HShl(DataType::Type::kInt32, basic_[0], constant1_), 0); in TEST_F() [all …]
|
D | nodes_vector.h | 72 static constexpr DataType::Type kSIMDType = DataType::Type::kFloat64; 76 DataType::Type packed_type, in HVecOperation() 168 DataType::Type GetPackedType() const { in GetPackedType() 196 static DataType::Type ToSignedType(DataType::Type type) { in ToSignedType() 198 case DataType::Type::kBool: // 1-byte storage unit in ToSignedType() 199 case DataType::Type::kUint8: in ToSignedType() 200 return DataType::Type::kInt8; in ToSignedType() 201 case DataType::Type::kUint16: in ToSignedType() 202 return DataType::Type::kInt16; in ToSignedType() 204 DCHECK(type != DataType::Type::kVoid && type != DataType::Type::kReference) << type; in ToSignedType() [all …]
|
D | data_type.cc | 37 const char* DataType::PrettyDescriptor(Type type) { in PrettyDescriptor() 38 static_assert(arraysize(kTypeNames) == static_cast<size_t>(Type::kLast) + 1, in PrettyDescriptor() 41 CHECK_LE(uint_type, static_cast<uint32_t>(Type::kLast)); in PrettyDescriptor() 45 std::ostream& operator<<(std::ostream& os, DataType::Type type) { in operator <<() 47 if (uint_type <= static_cast<uint32_t>(DataType::Type::kLast)) { in operator <<()
|
D | parallel_move_test.cc | 162 DataType::Type::kInt32, in BuildParallelMove() 268 DataType::Type::kInt32, in TYPED_TEST() 273 DataType::Type::kInt32, in TYPED_TEST() 289 DataType::Type::kInt32, in TYPED_TEST() 294 DataType::Type::kInt64, in TYPED_TEST() 306 DataType::Type::kInt64, in TYPED_TEST() 311 DataType::Type::kInt32, in TYPED_TEST() 323 DataType::Type::kInt64, in TYPED_TEST() 328 DataType::Type::kInt32, in TYPED_TEST() 343 DataType::Type::kInt32, in TYPED_TEST() [all …]
|
D | instruction_simplifier_arm.cc | 92 DataType::Type type = use->GetType(); in TryMergeIntoShifterOperand() 93 if (type != DataType::Type::kInt32 && type != DataType::Type::kInt64) { in TryMergeIntoShifterOperand() 124 shift_amount &= use->GetType() == DataType::Type::kInt32 in TryMergeIntoShifterOperand() 129 if (!use->IsAdd() && (!use->IsSub() || use->GetType() != 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() 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() [all …]
|
D | nodes_shared.cc | 45 DataType::Type result_type = instruction->AsTypeConversion()->GetResultType(); in GetOpInfoFromInstruction() 46 DataType::Type input_type = instruction->AsTypeConversion()->GetInputType(); in GetOpInfoFromInstruction() 50 if (result_type == DataType::Type::kInt32 && input_type == DataType::Type::kInt64) { in GetOpInfoFromInstruction() 57 } else if (result_type == DataType::Type::kUint8 || in GetOpInfoFromInstruction() 58 (input_type == DataType::Type::kUint8 && input_size < result_size)) { in GetOpInfoFromInstruction() 60 } else if (result_type == DataType::Type::kUint16 || in GetOpInfoFromInstruction() 61 (input_type == DataType::Type::kUint16 && input_size < result_size)) { in GetOpInfoFromInstruction()
|
D | load_store_analysis_test.cc | 80 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F() 82 graph_->GetDexFile(), dex::TypeIndex(1), 1, DataType::Type::kInt32); in TEST_F() 86 HInstruction* array_get1 = new (GetAllocator()) HArrayGet(array, c1, DataType::Type::kInt32, 0); in TEST_F() 87 HInstruction* array_get2 = new (GetAllocator()) HArrayGet(array, c2, DataType::Type::kInt32, 0); in TEST_F() 89 new (GetAllocator()) HArraySet(array, c1, c3, DataType::Type::kInt32, 0); in TEST_F() 91 new (GetAllocator()) HArraySet(array, index, c3, DataType::Type::kInt32, 0); in TEST_F() 114 DataType::Type type = DataType::Type::kInt32; in TEST_F() 163 DataType::Type::kReference); in TEST_F() 167 DataType::Type::kInt32, in TEST_F() 176 DataType::Type::kInt32, in TEST_F() [all …]
|
D | instruction_builder.cc | 89 DataType::Type return_type, in HInstructionBuilder() 309 HInstruction* ref = LoadLocal(register_index, DataType::Type::kReference); in LoadNullCheckedLocal() 499 if (return_type_ == DataType::Type::kVoid) { in BuildIntrinsic() 546 HInstruction* HInstructionBuilder::LoadLocal(uint32_t reg_number, DataType::Type type) const { in LoadLocal() 554 } else if (type == DataType::Type::kReference) { in LoadLocal() 564 DataType::Type stored_type = stored_value->GetType(); in UpdateLocal() 565 DCHECK_NE(stored_type, DataType::Type::kVoid); in UpdateLocal() 613 DataType::Type::kReference, in InitializeParameters() 647 HInstruction* first = LoadLocal(instruction.VRegA(), DataType::Type::kInt32); in If_22t() 648 HInstruction* second = LoadLocal(instruction.VRegB(), DataType::Type::kInt32); in If_22t() [all …]
|
/art/libdexfile/dex/ |
D | primitive_test.cc | 25 void CheckPrimitiveTypeWidensTo(Primitive::Type from, in CheckPrimitiveTypeWidensTo() 26 const std::vector<Primitive::Type>& expected_to_types) { in CheckPrimitiveTypeWidensTo() 27 std::vector<Primitive::Type> actual_to_types; in CheckPrimitiveTypeWidensTo() 28 int last = static_cast<int>(Primitive::Type::kPrimLast); in CheckPrimitiveTypeWidensTo() 30 Primitive::Type to = static_cast<Primitive::Type>(i); in CheckPrimitiveTypeWidensTo() 41 const std::vector<Primitive::Type> to_types = {}; in TEST() 42 CheckPrimitiveTypeWidensTo(Primitive::Type::kPrimNot, to_types); in TEST() 46 const std::vector<Primitive::Type> to_types = {}; in TEST() 47 CheckPrimitiveTypeWidensTo(Primitive::Type::kPrimBoolean, to_types); in TEST() 51 const std::vector<Primitive::Type> to_types = { in TEST() [all …]
|
D | primitive.h | 39 enum Type { enum 53 static constexpr Type GetType(char type) { in GetType() 78 static constexpr size_t ComponentSizeShift(Type type) { in ComponentSizeShift() 95 static constexpr size_t ComponentSize(Type type) { in ComponentSize() 112 static const char* Descriptor(Type type) { in Descriptor() 138 static const char* PrettyDescriptor(Type type); 141 static const char* BoxedDescriptor(Type type); 144 static constexpr bool IsNumericType(Type type) { in IsNumericType() 146 case Primitive::Type::kPrimNot: return false; in IsNumericType() 147 case Primitive::Type::kPrimBoolean: return false; in IsNumericType() [all …]
|
/art/compiler/linker/ |
D | linker_patch.h | 45 enum class Type : uint8_t { enum 65 LinkerPatch patch(literal_offset, Type::kIntrinsicReference, /* target_dex_file= */ nullptr); in IntrinsicReferencePatch() 74 LinkerPatch patch(literal_offset, Type::kDataBimgRelRo, /* target_dex_file= */ nullptr); in DataBimgRelRoPatch() 84 LinkerPatch patch(literal_offset, Type::kMethodRelative, target_dex_file); in RelativeMethodPatch() 94 LinkerPatch patch(literal_offset, Type::kMethodBssEntry, target_dex_file); in MethodBssEntryPatch() 104 LinkerPatch patch(literal_offset, Type::kJniEntrypointRelative, target_dex_file); in RelativeJniEntrypointPatch() 113 LinkerPatch patch(literal_offset, Type::kCallRelative, target_dex_file); in RelativeCodePatch() 122 LinkerPatch patch(literal_offset, Type::kTypeRelative, target_dex_file); in RelativeTypePatch() 132 LinkerPatch patch(literal_offset, Type::kTypeBssEntry, target_dex_file); in TypeBssEntryPatch() 142 LinkerPatch patch(literal_offset, Type::kPublicTypeBssEntry, target_dex_file); in PublicTypeBssEntryPatch() [all …]
|
/art/test/1940-ddms-ext/ |
D | expected-stdout.txt | 2 MyDdmHandler: Chunk received: Chunk(Type: 0xDEADBEEF, Len: 8, data: [1, 2, 3, 4, 5, 6, 7, 8]) 4 MyDdmHandler: Chunk returned: Chunk(Type: 0xFADE7357, Len: 8, data: [0, 0, 0, 0, 0, -128, 0, 37]) 5 JVMTI returned chunk: Chunk(Type: 0xFADE7357, Len: 8, data: [0, 0, 0, 0, 0, -128, 0, 37]) 7 MyDdmHandler: Chunk received: Chunk(Type: 0xDEADBEEF, Len: 0, data: []) 9 MyDdmHandler: Chunk returned: Chunk(Type: 0xFADE7357, Len: 8, data: [0, 0, 0, 0, 0, 0, 0, 1]) 10 JVMTI returned chunk: Chunk(Type: 0xFADE7357, Len: 8, data: [0, 0, 0, 0, 0, 0, 0, 1]) 11 Sending chunk: Chunk(Type: 0xDEADBEEF, Len: 8, data: [9, 10, 11, 12, 13, 14, 15, 16]) 12 Chunk published: Chunk(Type: 0xDEADBEEF, Len: 8, data: [9, 10, 11, 12, 13, 14, 15, 16]) 14 MyDdmHandler: Chunk received: Chunk(Type: 0xABCDEF01, Len: 1, data: [1]) 15 JVMTI returned chunk: Chunk(Type: 0xFADE7357, Len: 0, data: []) [all …]
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | Value.java | 125 public static Type getType(Value value) { in getType() 126 return value == null ? Type.OBJECT : value.getType(); in getType() 132 abstract Type getType(); in getType() 245 Type getType() { in getType() 246 return Type.BOOLEAN; in getType() 280 Type getType() { in getType() 281 return Type.BYTE; in getType() 315 Type getType() { in getType() 316 return Type.CHAR; in getType() 345 Type getType() { in getType() [all …]
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64.cc | 59 case LinkerPatch::Type::kCallRelative: in IsAdrpPatch() 60 case LinkerPatch::Type::kCallEntrypoint: in IsAdrpPatch() 61 case LinkerPatch::Type::kBakerReadBarrierBranch: in IsAdrpPatch() 63 case LinkerPatch::Type::kIntrinsicReference: in IsAdrpPatch() 64 case LinkerPatch::Type::kDataBimgRelRo: in IsAdrpPatch() 65 case LinkerPatch::Type::kMethodRelative: in IsAdrpPatch() 66 case LinkerPatch::Type::kMethodBssEntry: in IsAdrpPatch() 67 case LinkerPatch::Type::kJniEntrypointRelative: in IsAdrpPatch() 68 case LinkerPatch::Type::kTypeRelative: in IsAdrpPatch() 69 case LinkerPatch::Type::kTypeBssEntry: in IsAdrpPatch() [all …]
|