/art/runtime/verifier/ |
D | register_line.h | 37 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 …]
|
D | reg_type_test.cc | 42 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 …]
|
D | register_line.cc | 35 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 …]
|
D | reg_type_cache.h | 55 class RegType; variable 76 const art::verifier::RegType& GetFromId(uint16_t id) const; 77 const RegType& From(ObjPtr<mirror::ClassLoader> loader, const char* descriptor, bool precise) 80 const RegType* FindClass(ObjPtr<mirror::Class> klass, bool precise) const 83 const RegType* InsertClass(const std::string_view& descriptor, 88 const RegType& FromClass(const char* descriptor, ObjPtr<mirror::Class> klass, bool precise) 96 const RegType& FromDescriptor(ObjPtr<mirror::ClassLoader> loader, 100 const RegType& FromUnresolvedMerge(const RegType& left, 101 const RegType& right, 104 const RegType& FromUnresolvedSuperClass(const RegType& child) [all …]
|
D | reg_type-inl.h | 31 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()
|
D | reg_type_cache.cc | 42 ALWAYS_INLINE static inline bool MatchingPrecisionForClass(const RegType* entry, bool precise) in MatchingPrecisionForClass() 80 const RegType& RegTypeCache::FromDescriptor(ObjPtr<mirror::ClassLoader> loader, in FromDescriptor() 113 const RegType& RegTypeCache::RegTypeFromPrimitiveType(Primitive::Type prim_type) const { in RegTypeFromPrimitiveType() 139 const RegType* entry = entries_[idx]; in MatchDescriptor() 179 const RegType& RegTypeCache::From(ObjPtr<mirror::ClassLoader> loader, in From() 202 RegType* entry; in From() 233 const RegType& RegTypeCache::MakeUnresolvedReference() { in MakeUnresolvedReference() 238 const RegType* RegTypeCache::FindClass(ObjPtr<mirror::Class> klass, bool precise) const { in FindClass() 248 const RegType* reg_type = pair.second; in FindClass() 257 const RegType* RegTypeCache::InsertClass(const std::string_view& descriptor, in InsertClass() [all …]
|
D | register_line-inl.h | 34 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 …]
|
D | reg_type_cache-inl.h | 33 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()
|
D | reg_type.cc | 60 : 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 …]
|
D | reg_type.h | 52 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 …]
|
D | method_verifier.cc | 130 const RegType& ResolveCheckedClass(dex::TypeIndex class_idx) override in ResolveCheckedClass() 133 const RegType& result = ResolveClass<CheckAccess::kYes>(class_idx); in ResolveCheckedClass() 406 void VerifyPrimitivePut(const RegType& target_type, const RegType& insn_type, 413 void VerifyAGet(const Instruction* inst, const RegType& insn_type, 417 void VerifyAPut(const Instruction* inst, const RegType& insn_type, 421 ArtField* GetInstanceField(const RegType& obj_type, int field_idx) 429 void VerifyISFieldAccess(const Instruction* inst, const RegType& insn_type, 436 const RegType& ResolveClass(dex::TypeIndex class_idx) 444 const RegType& GetCaughtExceptionType() 545 const RegType& GetMethodReturnType() REQUIRES_SHARED(Locks::mutator_lock_); [all …]
|
D | method_verifier.h | 63 class RegType; variable 180 virtual const RegType& ResolveCheckedClass(dex::TypeIndex class_idx)
|
/art/compiler/dex/ |
D | verified_method.cc | 79 const verifier::RegType& reg_type(line->GetRegisterType(method_verifier, in GenerateSafeCastSet() 81 const verifier::RegType& cast_type = in GenerateSafeCastSet()
|
/art/compiler/utils/ |
D | assembler_test.h | 352 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 …]
|