Home
last modified time | relevance | path

Searched refs:Type (Results 1 – 25 of 221) sorted by relevance

123456789

/art/compiler/optimizing/
Ddata_type.h30 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 …]
Ddata_type-inl.h26 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 …]
Ddata_type_test.cc27 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 …]
Dscheduler_arm.cc34 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 …]
Dcode_generator_vector_x86.cc33 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()
73 case DataType::Type::kBool: in VisitVecReplicateScalar()
[all …]
Dcode_generator_vector_x86_64.cc33 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()
68 case DataType::Type::kBool: in VisitVecReplicateScalar()
[all …]
Dcode_generator_vector_mips64.cc34 case DataType::Type::kBool: in VisitVecReplicateScalar()
35 case DataType::Type::kUint8: in VisitVecReplicateScalar()
36 case DataType::Type::kInt8: in VisitVecReplicateScalar()
37 case DataType::Type::kUint16: in VisitVecReplicateScalar()
38 case DataType::Type::kInt16: in VisitVecReplicateScalar()
39 case DataType::Type::kInt32: in VisitVecReplicateScalar()
40 case DataType::Type::kInt64: in VisitVecReplicateScalar()
44 case DataType::Type::kFloat32: in VisitVecReplicateScalar()
45 case DataType::Type::kFloat64: in VisitVecReplicateScalar()
59 case DataType::Type::kBool: in VisitVecReplicateScalar()
[all …]
Dcode_generator_vector_mips.cc29 case DataType::Type::kBool: in VisitVecReplicateScalar()
30 case DataType::Type::kUint8: in VisitVecReplicateScalar()
31 case DataType::Type::kInt8: in VisitVecReplicateScalar()
32 case DataType::Type::kUint16: in VisitVecReplicateScalar()
33 case DataType::Type::kInt16: in VisitVecReplicateScalar()
34 case DataType::Type::kInt32: in VisitVecReplicateScalar()
35 case DataType::Type::kInt64: in VisitVecReplicateScalar()
39 case DataType::Type::kFloat32: in VisitVecReplicateScalar()
40 case DataType::Type::kFloat64: in VisitVecReplicateScalar()
54 case DataType::Type::kBool: in VisitVecReplicateScalar()
[all …]
Dside_effects_test.cc25 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 …]
Dcode_generator_vector_arm64.cc54 case DataType::Type::kBool: in VisitVecReplicateScalar()
55 case DataType::Type::kUint8: in VisitVecReplicateScalar()
56 case DataType::Type::kInt8: in VisitVecReplicateScalar()
57 case DataType::Type::kUint16: in VisitVecReplicateScalar()
58 case DataType::Type::kInt16: in VisitVecReplicateScalar()
59 case DataType::Type::kInt32: in VisitVecReplicateScalar()
60 case DataType::Type::kInt64: in VisitVecReplicateScalar()
64 case DataType::Type::kFloat32: in VisitVecReplicateScalar()
65 case DataType::Type::kFloat64: in VisitVecReplicateScalar()
86 case DataType::Type::kBool: in VisitVecReplicateScalar()
[all …]
Dcode_generator_vector_arm_vixl.cc39 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 …]
Dnodes_vector_test.cc46 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 …]
Demit_swap_mips_test.cc121 DataType::Type::kInt32, in TEST_F()
126 DataType::Type::kInt32, in TEST_F()
139 DataType::Type::kInt64, in TEST_F()
144 DataType::Type::kInt64, in TEST_F()
160 DataType::Type::kFloat32, in TEST_F()
165 DataType::Type::kFloat32, in TEST_F()
178 DataType::Type::kFloat64, in TEST_F()
183 DataType::Type::kFloat64, in TEST_F()
196 DataType::Type::kFloat32, in TEST_F()
201 DataType::Type::kFloat32, in TEST_F()
[all …]
Dload_store_analysis_test.cc48 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
50 graph_->GetDexFile(), dex::TypeIndex(1), 1, DataType::Type::kInt32); in TEST_F()
54 HInstruction* array_get1 = new (GetAllocator()) HArrayGet(array, c1, DataType::Type::kInt32, 0); in TEST_F()
55 HInstruction* array_get2 = new (GetAllocator()) HArrayGet(array, c2, DataType::Type::kInt32, 0); in TEST_F()
57 new (GetAllocator()) HArraySet(array, c1, c3, DataType::Type::kInt32, 0); in TEST_F()
59 new (GetAllocator()) HArraySet(array, index, c3, DataType::Type::kInt32, 0); in TEST_F()
81 DataType::Type type = DataType::Type::kInt32; in TEST_F()
127 DataType::Type::kReference); in TEST_F()
131 DataType::Type::kInt32, in TEST_F()
140 DataType::Type::kInt32, in TEST_F()
[all …]
Dinstruction_simplifier_mips.cc41 DataType::Type packed_type);
51 DataType::Type packed_type) { in TryExtractArrayAccessIndex()
64 if (packed_type != DataType::Type::kInt16 && packed_type != DataType::Type::kUint16 && in TryExtractArrayAccessIndex()
65 packed_type != DataType::Type::kInt32 && packed_type != DataType::Type::kInt64 && in TryExtractArrayAccessIndex()
66 packed_type != DataType::Type::kFloat32 && packed_type != DataType::Type::kFloat64) { in TryExtractArrayAccessIndex()
84 DataType::Type another_packed_type = another_access->GetType(); in TryExtractArrayAccessIndex()
92 DataType::Type another_packed_type = another_access->GetType(); in TryExtractArrayAccessIndex()
121 DataType::Type packed_type = instruction->GetType(); in VisitArrayGet()
128 DataType::Type packed_type = instruction->GetComponentType(); in VisitArraySet()
Dinduction_var_analysis_test.cc95 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 …]
Ddata_type.cc37 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 <<()
Dnodes_vector.h72 static constexpr DataType::Type kSIMDType = DataType::Type::kFloat64;
76 DataType::Type packed_type, in HVecOperation()
104 DataType::Type GetPackedType() const { in GetPackedType()
132 static DataType::Type ToSignedType(DataType::Type type) { in ToSignedType()
134 case DataType::Type::kBool: // 1-byte storage unit in ToSignedType()
135 case DataType::Type::kUint8: in ToSignedType()
136 return DataType::Type::kInt8; in ToSignedType()
137 case DataType::Type::kUint16: in ToSignedType()
138 return DataType::Type::kInt16; in ToSignedType()
140 DCHECK(type != DataType::Type::kVoid && type != DataType::Type::kReference) << type; in ToSignedType()
[all …]
Dinstruction_builder.cc48 DataType::Type return_type, in HInstructionBuilder()
272 HInstruction* ref = LoadLocal(register_index, DataType::Type::kReference); in LoadNullCheckedLocal()
455 if (return_type_ == DataType::Type::kVoid) { in BuildIntrinsic()
502 HInstruction* HInstructionBuilder::LoadLocal(uint32_t reg_number, DataType::Type type) const { in LoadLocal()
510 } else if (type == DataType::Type::kReference) { in LoadLocal()
520 DataType::Type stored_type = stored_value->GetType(); in UpdateLocal()
521 DCHECK_NE(stored_type, DataType::Type::kVoid); in UpdateLocal()
569 DataType::Type::kReference, in InitializeParameters()
603 HInstruction* first = LoadLocal(instruction.VRegA(), DataType::Type::kInt32); in If_22t()
604 HInstruction* second = LoadLocal(instruction.VRegB(), DataType::Type::kInt32); in If_22t()
[all …]
Dparallel_move_test.cc162 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 …]
/art/libdexfile/dex/
Dprimitive_test.cc25 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 …]
Dprimitive.h39 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/
Dlinker_patch.h45 enum class Type : uint8_t { enum
61 LinkerPatch patch(literal_offset, Type::kIntrinsicReference, /* target_dex_file= */ nullptr); in IntrinsicReferencePatch()
70 LinkerPatch patch(literal_offset, Type::kDataBimgRelRo, /* target_dex_file= */ nullptr); in DataBimgRelRoPatch()
80 LinkerPatch patch(literal_offset, Type::kMethodRelative, target_dex_file); in RelativeMethodPatch()
90 LinkerPatch patch(literal_offset, Type::kMethodBssEntry, target_dex_file); in MethodBssEntryPatch()
99 LinkerPatch patch(literal_offset, Type::kCallRelative, target_dex_file); in RelativeCodePatch()
108 LinkerPatch patch(literal_offset, Type::kTypeRelative, target_dex_file); in RelativeTypePatch()
118 LinkerPatch patch(literal_offset, Type::kTypeBssEntry, target_dex_file); in TypeBssEntryPatch()
128 LinkerPatch patch(literal_offset, Type::kStringRelative, target_dex_file); in RelativeStringPatch()
138 LinkerPatch patch(literal_offset, Type::kStringBssEntry, target_dex_file); in StringBssEntryPatch()
[all …]
/art/test/1940-ddms-ext/
Dexpected.txt2 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/
DValue.java122 public static Type getType(Value value) { in getType()
123 return value == null ? Type.OBJECT : value.getType(); in getType()
129 abstract Type getType(); in getType()
239 Type getType() { in getType()
240 return Type.BOOLEAN; in getType()
270 Type getType() { in getType()
271 return Type.BYTE; in getType()
301 Type getType() { in getType()
302 return Type.CHAR; in getType()
327 Type getType() { in getType()
[all …]

123456789