Home
last modified time | relevance | path

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

12345

/art/compiler/dex/
Dtype_inference.h75 struct Type { struct
76 static Type Unknown() { in Unknown() argument
77 return Type(0u); in Unknown()
80 static Type NonArrayRefType() { in NonArrayRefType() argument
81 return Type(kFlagLowWord | kFlagNarrow | kFlagRef); in NonArrayRefType()
84 static Type ArtMethodType(bool wide) { in ArtMethodType() argument
85 return Type(kFlagLowWord | kFlagRef | (wide ? kFlagWide : kFlagNarrow)); in ArtMethodType()
88 static Type ObjectArrayType() { in ObjectArrayType() argument
89 return Type(kFlagNarrow | kFlagRef | kFlagLowWord | in ObjectArrayType()
93 static Type WideArrayType() { in WideArrayType() argument
[all …]
Dtype_inference.cc32 inline TypeInference::Type TypeInference::Type::ArrayType(uint32_t array_depth, Type nested_type) { in ArrayType()
34 return Type(kFlagNarrow | kFlagRef | kFlagLowWord | (array_depth << kBitArrayDepthStart) | in ArrayType()
38 inline TypeInference::Type TypeInference::Type::ArrayTypeFromComponent(Type component_type) { in ArrayTypeFromComponent()
45 return Type(component_type.raw_bits_ + (1u << kBitArrayDepthStart)); // array_depth + 1u; in ArrayTypeFromComponent()
48 TypeInference::Type TypeInference::Type::ShortyType(char shorty) { in ShortyType()
51 return Type(kFlagLowWord | kFlagNarrow | kFlagRef); in ShortyType()
53 return Type(kFlagLowWord | kFlagWide | kFlagFp); in ShortyType()
55 return Type(kFlagLowWord | kFlagWide | kFlagCore); in ShortyType()
57 return Type(kFlagLowWord | kFlagNarrow | kFlagFp); in ShortyType()
60 return Type(kFlagLowWord | kFlagNarrow | kFlagCore); in ShortyType()
[all …]
/art/runtime/
Dprimitive.h38 enum Type { enum
51 static Type GetType(char type) { in GetType()
76 static size_t ComponentSizeShift(Type type) { in ComponentSizeShift()
94 static size_t ComponentSize(Type type) { in ComponentSize()
112 static const char* Descriptor(Type type) { in Descriptor()
138 static const char* PrettyDescriptor(Type type);
140 static bool IsFloatingPointType(Type type) { in IsFloatingPointType()
144 static bool IsIntegralType(Type type) { in IsIntegralType()
160 static bool IsIntOrLongType(Type type) { in IsIntOrLongType()
164 static bool Is64BitType(Type type) { in Is64BitType()
[all …]
Druntime_options.h46 #define DECLARE_KEY(Type, Name) static const Key<Type> Name argument
76 #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key<Type> Name; argument
Druntime_options.cc29 #define RUNTIME_OPTIONS_KEY(Type, Name, ...) const RuntimeArgumentMap::Key<Type> RuntimeArgumentMap… argument
Dprimitive.cc34 const char* Primitive::PrettyDescriptor(Primitive::Type type) { in PrettyDescriptor()
39 std::ostream& operator<<(std::ostream& os, const Primitive::Type& type) { in operator <<()
Dreflection.h35 mirror::Object* BoxPrimitive(Primitive::Type src_class, const JValue& value)
44 Primitive::Type src_class, Primitive::Type dst_class,
Dreflection-inl.h32 Primitive::Type srcType, Primitive::Type dstType, in ConvertPrimitiveValue()
/art/compiler/optimizing/
Dbuilder.h60 HGraphBuilder(HGraph* graph, Primitive::Type return_type = Primitive::kPrimInt)
103 HInstruction* LoadLocal(int register_index, Primitive::Type type) const;
109 void Unop_12x(const Instruction& instruction, Primitive::Type type);
112 void Binop_23x(const Instruction& instruction, Primitive::Type type);
115 void Binop_23x(const Instruction& instruction, Primitive::Type type, uint32_t dex_pc);
118 void Binop_23x_shift(const Instruction& instruction, Primitive::Type type);
121 Primitive::Type type,
126 void Binop_12x(const Instruction& instruction, Primitive::Type type);
129 void Binop_12x(const Instruction& instruction, Primitive::Type type, uint32_t dex_pc);
132 void Binop_12x_shift(const Instruction& instruction, Primitive::Type type);
[all …]
Dprimitive_type_propagation.cc24 static Primitive::Type MergeTypes(Primitive::Type existing, Primitive::Type new_type) { in MergeTypes()
44 Primitive::Type existing = phi->GetType(); in UpdateType()
46 Primitive::Type new_type = existing; in UpdateType()
48 Primitive::Type input_type = phi->InputAt(i)->GetType(); in UpdateType()
Dcode_generator_arm64.h64 Location ARM64ReturnLocation(Primitive::Type return_type);
100 Location GetReturnLocation(Primitive::Type return_type);
115 Location GetReturnLocation(Primitive::Type return_type) { in GetReturnLocation()
129 Location GetNextLocation(Primitive::Type type) OVERRIDE;
130 Location GetReturnLocation(Primitive::Type return_type) { in GetReturnLocation()
278 Location AllocateFreeRegister(Primitive::Type type) const OVERRIDE;
324 Primitive::Type type = Primitive::kPrimVoid);
325 void Load(Primitive::Type type, vixl::CPURegister dst, const vixl::MemOperand& src);
326 void Store(Primitive::Type type, vixl::CPURegister rt, const vixl::MemOperand& dst);
329 void StoreRelease(Primitive::Type type, vixl::CPURegister rt, const vixl::MemOperand& dst);
[all …]
Dcode_generator_mips64.h84 Location GetNextLocation(Primitive::Type type) OVERRIDE;
85 Location GetReturnLocation(Primitive::Type type) const;
102 Location GetReturnLocation(Primitive::Type return_type);
238 Location AllocateFreeRegister(Primitive::Type type) const OVERRIDE;
268 void MoveLocation(Location destination, Location source, Primitive::Type type);
270 void SwapLocations(Location loc1, Location loc2, Primitive::Type type);
282 bool NeedsTwoRegisters(Primitive::Type type ATTRIBUTE_UNUSED) const { return false; } in NeedsTwoRegisters()
Dnodes.h264 HConstant* GetConstant(Primitive::Type type, int64_t value);
1332 virtual Primitive::Type GetType() const { return Primitive::kPrimVoid; } in GetType()
1712 HExpression<N>(Primitive::Type type, SideEffects side_effects)
1716 Primitive::Type GetType() const OVERRIDE { return type_; } in GetType()
1719 Primitive::Type type_;
1832 HUnaryOperation(Primitive::Type result_type, HInstruction* input) in HUnaryOperation()
1838 Primitive::Type GetResultType() const { return GetType(); } in GetResultType()
1863 HBinaryOperation(Primitive::Type result_type, in HBinaryOperation()
1872 Primitive::Type GetResultType() const { return GetType(); } in GetResultType()
2112 HCompare(Primitive::Type type, in HCompare()
[all …]
Dconstant_folding.cc113 Primitive::Type type = instruction->GetType(); in VisitMul()
146 Primitive::Type type = instruction->GetType(); in VisitRem()
190 Primitive::Type type = instruction->GetType(); in VisitSub()
224 Primitive::Type type = instruction->GetType(); in VisitXor()
Dssa_builder.h82 Primitive::Type type);
94 static HPhi* GetFloatDoubleOrReferenceEquivalentOfPhi(HPhi* phi, Primitive::Type type);
Dcommon_arm64.h64 static inline vixl::Register RegisterFrom(Location location, Primitive::Type type) { in RegisterFrom()
88 static inline vixl::FPRegister FPRegisterFrom(Location location, Primitive::Type type) { in FPRegisterFrom()
102 static inline vixl::CPURegister CPURegisterFrom(Location location, Primitive::Type type) { in CPURegisterFrom()
131 static inline vixl::Operand OperandFrom(Location location, Primitive::Type type) { in OperandFrom()
Dcode_generator.h110 virtual Location GetNextLocation(Primitive::Type type) = 0;
207 virtual bool NeedsTwoRegisters(Primitive::Type type) const = 0;
274 Primitive::Type type1,
277 Primitive::Type type2);
279 static bool StoreNeedsWriteBarrier(Primitive::Type type, HInstruction* value) { in StoreNeedsWriteBarrier()
369 virtual Location AllocateFreeRegister(Primitive::Type type) const = 0;
Dcode_generator_arm.h89 Location GetNextLocation(Primitive::Type type) OVERRIDE;
90 Location GetReturnLocation(Primitive::Type type);
245 Location AllocateFreeRegister(Primitive::Type type) const OVERRIDE;
290 bool NeedsTwoRegisters(Primitive::Type type) const OVERRIDE { in NeedsTwoRegisters()
/art/test/052-verifier-fun/src/
DMain.java17 import java.lang.reflect.Type;
99 private Type[] typeTest() { in typeTest()
103 return (Type[])null; in typeTest()
/art/test/046-reflect/src/
DMain.java513 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/runtime/native/
Djava_lang_reflect_Field.cc62 Primitive::Type field_type, JValue* value) in GetFieldValue()
148 Primitive::Type field_type = f->GetTypeAsPrimitiveType(); in Field_get()
157 template<Primitive::Type kPrimitiveType>
176 Primitive::Type field_type = f->GetTypeAsPrimitiveType(); in GetPrimitiveField()
233 Primitive::Type field_type, bool allow_references, in SetFieldValue()
314 Primitive::Type field_prim_type = Primitive::GetType(field_type_desciptor[0]); in Field_set()
337 template<Primitive::Type kPrimitiveType>
346 Primitive::Type field_type = f->GetTypeAsPrimitiveType(); in SetPrimitiveField()
/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/
DContainsPoolIndex.java29 Type, enumConstant
/art/runtime/arch/
Dstub_test.cc2055 static void TestFields(Thread* self, StubTest* test, Primitive::Type test_type) { in TestFields()
2078 Primitive::Type type = f->GetTypeAsPrimitiveType(); in TestFields()
2083 case Primitive::Type::kPrimBoolean: in TestFields()
2086 case Primitive::Type::kPrimByte: in TestFields()
2089 case Primitive::Type::kPrimChar: in TestFields()
2092 case Primitive::Type::kPrimShort: in TestFields()
2095 case Primitive::Type::kPrimInt: in TestFields()
2098 case Primitive::Type::kPrimLong: in TestFields()
2101 case Primitive::Type::kPrimNot: in TestFields()
2117 Primitive::Type type = f->GetTypeAsPrimitiveType(); in TestFields()
[all …]
/art/test/504-regression-baseline-entry/src/
DMain.java18 import java.lang.reflect.Type;
/art/test/501-regression-packed-switch/src/
DMain.java18 import java.lang.reflect.Type;

12345