Home
last modified time | relevance | path

Searched refs:RegType (Results 1 – 15 of 15) sorted by relevance

/art/runtime/verifier/
Dregister_line.h37 class RegType; variable
117 const RegType& new_type)
122 const RegType& new_type1,
123 const RegType& new_type2)
127 void SetResultRegisterType(MethodVerifier* verifier, const RegType& new_type)
130 void SetResultRegisterTypeWide(const RegType& new_type1, const RegType& new_type2)
134 const RegType& GetRegisterType(MethodVerifier* verifier, uint32_t vsrc) const;
138 const RegType& check_type)
143 const RegType& check_type1,
144 const RegType& check_type2)
[all …]
Dreg_type_test.cc42 const RegType& ref_type_const_0 = cache.FromCat1Const(10, true); in TEST_F()
43 const RegType& ref_type_const_1 = cache.FromCat1Const(10, true); in TEST_F()
44 const RegType& ref_type_const_2 = cache.FromCat1Const(30, true); in TEST_F()
45 const RegType& ref_type_const_3 = cache.FromCat1Const(30, false); in TEST_F()
50 const RegType& ref_type_const_wide_0 = cache.FromCat2ConstHi(50, true); in TEST_F()
51 const RegType& ref_type_const_wide_1 = cache.FromCat2ConstHi(50, true); in TEST_F()
54 const RegType& ref_type_const_wide_2 = cache.FromCat2ConstLo(50, true); in TEST_F()
55 const RegType& ref_type_const_wide_3 = cache.FromCat2ConstLo(50, true); in TEST_F()
56 const RegType& ref_type_const_wide_4 = cache.FromCat2ConstLo(55, true); in TEST_F()
67 const RegType& precise_lo = cache.FromCat2ConstLo(static_cast<int32_t>(val), true); in TEST_F()
[all …]
Dregister_line.cc35 const RegType& type = GetRegisterType(verifier, i); in CheckConstructorReturn()
49 const RegType& RegisterLine::GetInvocationThis(MethodVerifier* verifier, const Instruction* inst, in GetInvocationThis()
61 const RegType& this_type = GetRegisterType(verifier, this_reg); in GetInvocationThis()
74 const RegType& check_type1, in VerifyRegisterTypeWide()
75 const RegType& check_type2) { in VerifyRegisterTypeWide()
78 const RegType& src_type = GetRegisterType(verifier, vsrc); in VerifyRegisterTypeWide()
84 const RegType& src_type_h = GetRegisterType(verifier, vsrc + 1); in VerifyRegisterTypeWide()
97 void RegisterLine::MarkRefsAsInitialized(MethodVerifier* verifier, const RegType& uninit_type) { in MarkRefsAsInitialized()
99 const RegType& init_type = verifier->GetRegTypeCache()->FromUninitialized(uninit_type); in MarkRefsAsInitialized()
158 void RegisterLine::MarkUninitRefsAsInvalid(MethodVerifier* verifier, const RegType& uninit_type) { in MarkUninitRefsAsInvalid()
[all …]
Dreg_type_cache.h58 class RegType; variable
82 const art::verifier::RegType& GetFromId(uint16_t id) const;
83 const RegType& From(ObjPtr<mirror::ClassLoader> loader, const char* descriptor, bool precise)
86 const RegType* FindClass(ObjPtr<mirror::Class> klass, bool precise) const
89 const RegType* InsertClass(const std::string_view& descriptor,
94 const RegType& FromClass(const char* descriptor, ObjPtr<mirror::Class> klass, bool precise)
102 const RegType& FromDescriptor(ObjPtr<mirror::ClassLoader> loader,
106 const RegType& FromUnresolvedMerge(const RegType& left,
107 const RegType& right,
110 const RegType& FromUnresolvedSuperClass(const RegType& child)
[all …]
Dreg_type-inl.h31 inline bool RegType::CanAccess(const RegType& other) const { in CanAccess()
49 inline bool RegType::CanAccessMember(ObjPtr<mirror::Class> klass, uint32_t access_flags) const { in CanAccessMember()
61 inline bool RegType::IsConstantBoolean() const { in IsConstantBoolean()
70 inline bool RegType::AssignableFrom(const RegType& lhs, in AssignableFrom()
71 const RegType& rhs, in AssignableFrom()
137 inline bool RegType::IsAssignableFrom(const RegType& src, MethodVerifier* verifier) const { in IsAssignableFrom()
141 inline bool RegType::IsStrictlyAssignableFrom(const RegType& src, MethodVerifier* verifier) const { in IsStrictlyAssignableFrom()
211 inline void* RegType::operator new(size_t size, ScopedArenaAllocator* allocator) { in new()
Dreg_type_cache.cc48 ALWAYS_INLINE static inline bool MatchingPrecisionForClass(const RegType* entry, bool precise) in MatchingPrecisionForClass()
86 const RegType& RegTypeCache::FromDescriptor(ObjPtr<mirror::ClassLoader> loader, in FromDescriptor()
119 const RegType& RegTypeCache::RegTypeFromPrimitiveType(Primitive::Type prim_type) const { in RegTypeFromPrimitiveType()
145 const RegType* entry = entries_[idx]; in MatchDescriptor()
184 const RegType& RegTypeCache::From(ObjPtr<mirror::ClassLoader> loader, in From()
207 RegType* entry; in From()
238 const RegType& RegTypeCache::MakeUnresolvedReference() { in MakeUnresolvedReference()
243 const RegType* RegTypeCache::FindClass(ObjPtr<mirror::Class> klass, bool precise) const { in FindClass()
253 const RegType* reg_type = pair.second; in FindClass()
262 const RegType* RegTypeCache::InsertClass(const std::string_view& descriptor, in InsertClass()
[all …]
Dregister_line-inl.h34 inline const RegType& RegisterLine::GetRegisterType(MethodVerifier* verifier, uint32_t vsrc) const { in GetRegisterType()
42 const RegType& new_type) { in SetRegisterType()
67 const RegType& new_type1, in SetRegisterTypeWide()
68 const RegType& new_type2) { in SetRegisterTypeWide()
89 inline void RegisterLine::SetResultRegisterType(MethodVerifier* verifier, const RegType& new_type) { in SetResultRegisterType()
96 inline void RegisterLine::SetResultRegisterTypeWide(const RegType& new_type1, in SetResultRegisterTypeWide()
97 const RegType& new_type2) { in SetResultRegisterTypeWide()
106 const RegType& type = GetRegisterType(verifier, vsrc); in CopyRegister1()
121 const RegType& type_l = GetRegisterType(verifier, vsrc); in CopyRegister2()
122 const RegType& type_h = GetRegisterType(verifier, vsrc + 1); in CopyRegister2()
[all …]
Dreg_type_cache-inl.h33 inline const art::verifier::RegType& RegTypeCache::GetFromId(uint16_t id) const { in GetFromId()
35 const RegType* result = entries_[id]; in GetFromId()
127 const RegType* result = &FromClass("Ljava/lang/Class;", in JavaLangClass()
136 const RegType* result = &FromClass("Ljava/lang/String;", in JavaLangString()
144 const RegType* result = &FromClass("Ljava/lang/invoke/MethodHandle;", in JavaLangInvokeMethodHandle()
152 const RegType* result = &FromClass("Ljava/lang/invoke/MethodType;", in JavaLangInvokeMethodType()
159 inline const RegType& RegTypeCache::JavaLangThrowable(bool precise) { in JavaLangThrowable()
160 const RegType* result = &FromClass("Ljava/lang/Throwable;", in JavaLangThrowable()
172 inline const RegType& RegTypeCache::JavaLangObject(bool precise) { in JavaLangObject()
173 const RegType* result = &FromClass("Ljava/lang/Object;", GetClassRoot<mirror::Object>(), precise); in JavaLangObject()
Dreg_type.h52 class RegType {
111 inline bool CheckWidePair(const RegType& type_h) const { in CheckWidePair()
123 const RegType& HighHalf(RegTypeCache* cache) const
201 const RegType& GetSuperClass(RegTypeCache* cache) const
208 bool CanAccess(const RegType& other) const
219 bool IsAssignableFrom(const RegType& src, MethodVerifier* verifier) const
229 bool CanAssignArray(const RegType& src,
239 bool IsStrictlyAssignableFrom(const RegType& src, MethodVerifier* verifier) const
243 bool Equals(const RegType& other) const { return GetId() == other.GetId(); } in Equals()
247 const RegType& Merge(const RegType& incoming_type,
[all …]
Dreg_type.cc60 : RegType(klass, descriptor, cache_id) { in PrimitiveType()
325 : RegType(klass, descriptor, cache_id) { in PreciseReferenceType()
473 const RegType& RegType::HighHalf(RegTypeCache* cache) const { in HighHalf()
486 Primitive::Type RegType::GetPrimitiveType() const { in GetPrimitiveType()
521 const RegType& RegType::GetSuperClass(RegTypeCache* cache) const { in GetSuperClass()
543 bool RegType::IsJavaLangObject() const REQUIRES_SHARED(Locks::mutator_lock_) { in IsJavaLangObject()
547 bool RegType::IsObjectArrayTypes() const REQUIRES_SHARED(Locks::mutator_lock_) { in IsObjectArrayTypes()
568 bool RegType::IsArrayTypes() const REQUIRES_SHARED(Locks::mutator_lock_) { in IsArrayTypes()
585 bool RegType::IsJavaLangObjectArray() const { in IsJavaLangObjectArray()
593 bool RegType::IsInstantiableTypes() const { in IsInstantiableTypes()
[all …]
Dmethod_verifier.cc142 const RegType& ResolveCheckedClass(dex::TypeIndex class_idx) override in ResolveCheckedClass()
145 const RegType& result = ResolveClass<CheckAccess::kYes>(class_idx); in ResolveCheckedClass()
546 void VerifyPrimitivePut(const RegType& target_type, const RegType& insn_type,
553 void VerifyAGet(const Instruction* inst, const RegType& insn_type,
557 void VerifyAPut(const Instruction* inst, const RegType& insn_type,
561 ArtField* GetInstanceField(const RegType& obj_type, int field_idx)
569 void VerifyISFieldAccess(const Instruction* inst, const RegType& insn_type,
576 const RegType& ResolveClass(dex::TypeIndex class_idx)
584 const RegType& GetCaughtExceptionType()
685 const RegType& GetMethodReturnType() REQUIRES_SHARED(Locks::mutator_lock_);
[all …]
Dmethod_verifier.h63 class RegType; variable
200 virtual const RegType& ResolveCheckedClass(dex::TypeIndex class_idx)
/art/compiler/dex/
Dverified_method.cc80 const verifier::RegType& reg_type(line->GetRegisterType(method_verifier, in GenerateSafeCastSet()
82 const verifier::RegType& cast_type = in GenerateSafeCastSet()
/art/compiler/utils/
Dassembler_test.h352 template <typename RegType, typename ImmType>
353 std::string RepeatTemplatedRegisterImmBits(void (Ass::*f)(RegType, ImmType), in RepeatTemplatedRegisterImmBits() argument
355 const std::vector<RegType*> registers, in RepeatTemplatedRegisterImmBits()
356 std::string (AssemblerTest::*GetName)(const RegType&), in RepeatTemplatedRegisterImmBits() argument
1199 template <typename RegType, typename AddrType>
1200 std::string RepeatTemplatedRegMem(void (Ass::*f)(RegType, const AddrType&), in RepeatTemplatedRegMem() argument
1201 const std::vector<RegType*> registers, in RepeatTemplatedRegMem()
1203 std::string (AssemblerTest::*GetRName)(const RegType&), in RepeatTemplatedRegMem() argument
1238 template <typename AddrType, typename RegType>
1239 std::string RepeatTemplatedMemReg(void (Ass::*f)(const AddrType&, RegType), in RepeatTemplatedMemReg() argument
[all …]
/art/openjdkjvmti/
Dti_method.cc654 const art::verifier::RegType& rt = line->GetRegisterType(verifier.get(), slot_); in InferSlotTypeFromVerifier()