Home
last modified time | relevance | path

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

12345

/art/runtime/
Dprimitive.h38 enum Type { enum
52 static Type GetType(char type) { in GetType()
77 static size_t ComponentSizeShift(Type type) { in ComponentSizeShift()
95 static size_t ComponentSize(Type type) { in ComponentSize()
113 static const char* Descriptor(Type type) { in Descriptor()
139 static const char* PrettyDescriptor(Type type);
141 static bool IsFloatingPointType(Type type) { in IsFloatingPointType()
145 static bool IsIntegralType(Type type) { in IsIntegralType()
161 static bool IsIntOrLongType(Type type) { in IsIntOrLongType()
165 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.cc32 #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/
Dcompiled_method.h171 enum class Type : uint8_t { enum
183 return LinkerPatch(literal_offset, Type::kRecordPosition, /* target_dex_file */ nullptr); in RecordPosition()
189 LinkerPatch patch(literal_offset, Type::kMethod, target_dex_file); in MethodPatch()
197 LinkerPatch patch(literal_offset, Type::kCall, target_dex_file); in CodePatch()
205 LinkerPatch patch(literal_offset, Type::kCallRelative, target_dex_file); in RelativeCodePatch()
213 LinkerPatch patch(literal_offset, Type::kType, target_dex_file); in TypePatch()
221 LinkerPatch patch(literal_offset, Type::kString, target_dex_file); in StringPatch()
230 LinkerPatch patch(literal_offset, Type::kStringRelative, target_dex_file); in RelativeStringPatch()
241 LinkerPatch patch(literal_offset, Type::kDexCacheArray, target_dex_file); in DexCacheArrayPatch()
254 Type GetType() const { in GetType()
[all …]
/art/compiler/optimizing/
Dinstruction_builder.h40 Primitive::Type return_type, in HInstructionBuilder()
89 HInstruction* LoadLocal(uint32_t register_index, Primitive::Type type) const;
108 void Unop_12x(const Instruction& instruction, Primitive::Type type, uint32_t dex_pc);
111 void Binop_23x(const Instruction& instruction, Primitive::Type type, uint32_t dex_pc);
114 void Binop_23x_shift(const Instruction& instruction, Primitive::Type type, uint32_t dex_pc);
117 Primitive::Type type,
122 void Binop_12x(const Instruction& instruction, Primitive::Type type, uint32_t dex_pc);
125 void Binop_12x_shift(const Instruction& instruction, Primitive::Type type, uint32_t dex_pc);
137 Primitive::Type input_type,
138 Primitive::Type result_type,
[all …]
Dinduction_var_analysis.h101 Primitive::Type t) in InductionInfo()
113 Primitive::Type type; // precision of induction
134 Primitive::Type type) { in CreateTripCount()
142 Primitive::Type type) { in CreateInduction()
159 InductionInfo* TransferShl(InductionInfo* a, InductionInfo* b, Primitive::Type type);
161 InductionInfo* TransferCnv(InductionInfo* a, Primitive::Type from, Primitive::Type to);
182 Primitive::Type type,
189 Primitive::Type type,
194 Primitive::Type type,
199 Primitive::Type type,
[all …]
Dssa_builder.h65 HInstruction* GetFloatOrDoubleEquivalent(HInstruction* instruction, Primitive::Type type);
69 Primitive::Type type = aget->GetType(); in MaybeAddAmbiguousArrayGet()
77 Primitive::Type type = aset->GetValue()->GetType(); in MaybeAddAmbiguousArraySet()
112 HPhi* GetFloatDoubleOrReferenceEquivalentOfPhi(HPhi* phi, Primitive::Type type);
Dcode_generator_mips64.h80 Location GetNextLocation(Primitive::Type type) OVERRIDE;
81 Location GetReturnLocation(Primitive::Type type) const OVERRIDE;
99 Location GetReturnLocation(Primitive::Type return_type);
115 Location GetReturnLocation(Primitive::Type type ATTRIBUTE_UNUSED) const OVERRIDE { in GetReturnLocation()
118 Location GetSetValueLocation(Primitive::Type type, bool is_instance) const OVERRIDE { in GetSetValueLocation()
125 Location GetFpuLocation(Primitive::Type type ATTRIBUTE_UNUSED) const OVERRIDE { in GetFpuLocation()
246 Primitive::Type type,
314 void MoveLocation(Location dst, Location src, Primitive::Type dst_type) OVERRIDE;
321 void SwapLocations(Location loc1, Location loc2, Primitive::Type type);
336 bool NeedsTwoRegisters(Primitive::Type type ATTRIBUTE_UNUSED) const { return false; } in NeedsTwoRegisters()
[all …]
Dcode_generator_mips.h80 Location GetNextLocation(Primitive::Type type) OVERRIDE;
81 Location GetReturnLocation(Primitive::Type type) const OVERRIDE;
99 Location GetReturnLocation(Primitive::Type return_type);
115 Location GetReturnLocation(Primitive::Type type) const OVERRIDE { in GetReturnLocation()
120 Location GetSetValueLocation(Primitive::Type type, bool is_instance) const OVERRIDE { in GetSetValueLocation()
125 Location GetFpuLocation(Primitive::Type type ATTRIBUTE_UNUSED) const OVERRIDE { in GetFpuLocation()
238 Primitive::Type type,
322 void MoveLocation(Location dst, Location src, Primitive::Type dst_type) OVERRIDE;
342 bool NeedsTwoRegisters(Primitive::Type type) const { in NeedsTwoRegisters()
361 Primitive::Type type ATTRIBUTE_UNUSED) OVERRIDE { in MoveFromReturnRegister()
Dcode_generator_arm64.h66 Location ARM64ReturnLocation(Primitive::Type return_type);
122 Location GetReturnLocation(Primitive::Type return_type);
137 Location GetReturnLocation(Primitive::Type return_type) const { in GetReturnLocation()
151 Location GetNextLocation(Primitive::Type type) OVERRIDE;
152 Location GetReturnLocation(Primitive::Type return_type) const OVERRIDE { in GetReturnLocation()
173 Location GetReturnLocation(Primitive::Type type ATTRIBUTE_UNUSED) const OVERRIDE { in GetReturnLocation()
176 Location GetSetValueLocation(Primitive::Type type, bool is_instance) const OVERRIDE { in GetSetValueLocation()
183 Location GetFpuLocation(Primitive::Type type ATTRIBUTE_UNUSED) const OVERRIDE { in GetFpuLocation()
430 void MoveLocation(Location dst, Location src, Primitive::Type dst_type) OVERRIDE;
433 void Load(Primitive::Type type, vixl::CPURegister dst, const vixl::MemOperand& src);
[all …]
Dssa_builder.cc124 Primitive::Type common_type = phi->GetType(); in TypePhiFromInputs()
134 Primitive::Type input_type = HPhi::ToPhiType(input->GetType()); in TypePhiFromInputs()
166 Primitive::Type common_type = phi->GetType(); in TypeInputsOfPhi()
218 Primitive::Type original_type = phi->GetType(); in UpdatePrimitiveType()
280 Primitive::Type type = aget->GetType(); in FindFloatOrDoubleEquivalentOfArrayGet()
293 Primitive::Type type = aget->GetType(); in CreateFloatOrDoubleEquivalentOfArrayGet()
306 static Primitive::Type GetPrimitiveArrayComponentType(HInstruction* array) in GetPrimitiveArrayComponentType()
335 Primitive::Type array_type = GetPrimitiveArrayComponentType(array); in FixAmbiguousArrayOps()
375 Primitive::Type value_type = value->GetType(); in FixAmbiguousArrayOps()
376 Primitive::Type array_type = GetPrimitiveArrayComponentType(array); in FixAmbiguousArrayOps()
[all …]
Dcode_generator.h134 virtual Location GetNextLocation(Primitive::Type type) = 0;
135 virtual Location GetReturnLocation(Primitive::Type type) const = 0;
157 virtual Location GetReturnLocation(Primitive::Type type) const = 0;
158 virtual Location GetSetValueLocation(Primitive::Type type, bool is_instance) const = 0;
159 virtual Location GetFpuLocation(Primitive::Type type) const = 0;
201 virtual void MoveLocation(Location dst, Location src, Primitive::Type dst_type) = 0;
254 virtual bool NeedsTwoRegisters(Primitive::Type type) const = 0;
345 Primitive::Type type1,
348 Primitive::Type type2);
350 static bool StoreNeedsWriteBarrier(Primitive::Type type, HInstruction* value) { in StoreNeedsWriteBarrier()
[all …]
Dnodes_arm64.cc39 Primitive::Type result_type = instruction->AsTypeConversion()->GetResultType(); in GetOpInfoFromInstruction()
40 Primitive::Type input_type = instruction->AsTypeConversion()->GetInputType(); in GetOpInfoFromInstruction()
Dcode_generator_x86_64.h93 Location GetReturnLocation(Primitive::Type type ATTRIBUTE_UNUSED) const OVERRIDE { in GetReturnLocation()
96 Location GetSetValueLocation(Primitive::Type type, bool is_instance) const OVERRIDE { in GetSetValueLocation()
103 Location GetFpuLocation(Primitive::Type type ATTRIBUTE_UNUSED) const OVERRIDE { in GetFpuLocation()
117 Location GetNextLocation(Primitive::Type type) OVERRIDE;
118 Location GetReturnLocation(Primitive::Type type) const OVERRIDE;
302 void MoveLocation(Location dst, Location src, Primitive::Type dst_type) OVERRIDE;
382 bool NeedsTwoRegisters(Primitive::Type type ATTRIBUTE_UNUSED) const OVERRIDE { in NeedsTwoRegisters()
404 void MoveFromReturnRegister(Location trg, Primitive::Type type) OVERRIDE;
Dcommon_arm64.h65 static inline vixl::Register RegisterFrom(Location location, Primitive::Type type) { in RegisterFrom()
89 static inline vixl::FPRegister FPRegisterFrom(Location location, Primitive::Type type) { in FPRegisterFrom()
103 static inline vixl::CPURegister CPURegisterFrom(Location location, Primitive::Type type) { in CPURegisterFrom()
132 static inline vixl::Operand OperandFrom(Location location, Primitive::Type type) { in OperandFrom()
296 Primitive::Type result_type = conversion->GetResultType(); in CanFitInShifterOperand()
297 Primitive::Type input_type = conversion->GetInputType(); in CanFitInShifterOperand()
Dnodes.h465 HConstant* GetConstant(Primitive::Type type, int64_t value, uint32_t dex_pc = kNoDexPc);
1468 static SideEffects FieldWriteOfType(Primitive::Type type, bool is_volatile) { in FieldWriteOfType()
1474 static SideEffects ArrayWriteOfType(Primitive::Type type) { in ArrayWriteOfType()
1478 static SideEffects FieldReadOfType(Primitive::Type type, bool is_volatile) { in FieldReadOfType()
1484 static SideEffects ArrayReadOfType(Primitive::Type type) { in ArrayReadOfType()
1614 static uint64_t TypeFlagWithAlias(Primitive::Type type, int offset) { in TypeFlagWithAlias()
1630 static uint64_t TypeFlag(Primitive::Type type, int offset) { in TypeFlag()
1807 virtual Primitive::Type GetType() const { return Primitive::kPrimVoid; } in GetType()
2290 HExpression<N>(Primitive::Type type, SideEffects side_effects, uint32_t dex_pc)
2296 Primitive::Type GetType() const OVERRIDE { in GetType()
[all …]
Dinduction_var_analysis.cc59 static bool IsNarrowingIntegralConversion(Primitive::Type from, Primitive::Type to) { in IsNarrowingIntegralConversion()
78 static Primitive::Type Narrowest(Primitive::Type type1, Primitive::Type type2) { in Narrowest()
418 Primitive::Type type) { in TransferShl()
448 Primitive::Type from, in TransferCnv()
449 Primitive::Type to) { in TransferCnv()
557 Primitive::Type from = conversion->GetInputType(); in SolveCnv()
558 Primitive::Type to = conversion->GetResultType(); in SolveCnv()
585 Primitive::Type type = condition->InputAt(0)->GetType(); in VisitControl()
602 Primitive::Type type, in VisitCondition()
654 Primitive::Type type, in VisitTripCount()
[all …]
Dcode_generator_x86.h85 Location GetNextLocation(Primitive::Type type) OVERRIDE;
86 Location GetReturnLocation(Primitive::Type type) const OVERRIDE;
105 Location GetReturnLocation(Primitive::Type type) const OVERRIDE { in GetReturnLocation()
110 Location GetSetValueLocation(Primitive::Type type, bool is_instance) const OVERRIDE { in GetSetValueLocation()
117 Location GetFpuLocation(Primitive::Type type ATTRIBUTE_UNUSED) const OVERRIDE { in GetFpuLocation()
320 void MoveLocation(Location dst, Location src, Primitive::Type dst_type) OVERRIDE;
409 void MoveFromReturnRegister(Location trg, Primitive::Type type) OVERRIDE;
431 bool NeedsTwoRegisters(Primitive::Type type) const OVERRIDE { in NeedsTwoRegisters()
Dcode_generator_arm.h89 Location GetNextLocation(Primitive::Type type) OVERRIDE;
90 Location GetReturnLocation(Primitive::Type type) const OVERRIDE;
110 Location GetReturnLocation(Primitive::Type type) const OVERRIDE { in GetReturnLocation()
115 Location GetSetValueLocation(Primitive::Type type, bool is_instance) const OVERRIDE { in GetSetValueLocation()
122 Location GetFpuLocation(Primitive::Type type) const OVERRIDE { in GetFpuLocation()
309 void MoveLocation(Location dst, Location src, Primitive::Type dst_type) OVERRIDE;
397 bool NeedsTwoRegisters(Primitive::Type type) const OVERRIDE { in NeedsTwoRegisters()
419 void MoveFromReturnRegister(Location trg, Primitive::Type type) OVERRIDE;
/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.java515 Type listType = field.getGenericType(); in checkGeneric()
525 Type[] parmTypes = method.getGenericParameterTypes(); in checkGeneric()
526 Type ret = method.getGenericReturnType(); in checkGeneric()
544 private static String stringifyTypeArray(Type[] types) { in stringifyTypeArray()
550 for (Type t: types) { in stringifyTypeArray()
612 List<Type> types1 = Arrays.asList(method1.getGenericParameterTypes()); in checkParametrizedTypeEqualsAndHashCode()
613 List<Type> types2 = Arrays.asList(method2.getGenericParameterTypes()); in checkParametrizedTypeEqualsAndHashCode()
614 List<Type> types3 = Arrays.asList(method3.getGenericParameterTypes()); in checkParametrizedTypeEqualsAndHashCode()
616 Type type1 = types1.get(0); in checkParametrizedTypeEqualsAndHashCode()
617 Type type2 = types2.get(0); in checkParametrizedTypeEqualsAndHashCode()
[all …]
/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/
DContainsPoolIndex.java29 Type, enumConstant

12345