/art/runtime/verifier/ |
D | register_line.h | 35 class RegType; variable 106 const RegType& new_type) 111 const RegType& new_type1, 112 const RegType& new_type2) 116 void SetResultRegisterType(MethodVerifier* verifier, const RegType& new_type) 119 void SetResultRegisterTypeWide(const RegType& new_type1, const RegType& new_type2) 123 const RegType& GetRegisterType(MethodVerifier* verifier, uint32_t vsrc) const; 127 const RegType& check_type) 132 const RegType& check_type1, 133 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() 156 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(mirror::ClassLoader* loader, const char* descriptor, bool precise) 80 const RegType* FindClass(mirror::Class* klass, bool precise) const 83 const RegType* InsertClass(const StringPiece& descriptor, mirror::Class* klass, bool precise) 86 const RegType& FromClass(const char* descriptor, mirror::Class* klass, bool precise) 94 const RegType& FromDescriptor(mirror::ClassLoader* loader, const char* descriptor, bool precise) 96 const RegType& FromUnresolvedMerge(const RegType& left, 97 const RegType& right, 100 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(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() 178 const RegType& RegTypeCache::From(mirror::ClassLoader* loader, in From() 201 RegType* entry; in From() 232 const RegType& RegTypeCache::MakeUnresolvedReference() { in MakeUnresolvedReference() 237 const RegType* RegTypeCache::FindClass(mirror::Class* klass, bool precise) const { in FindClass() 247 const RegType* reg_type = pair.second; in FindClass() 256 const RegType* RegTypeCache::InsertClass(const StringPiece& 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 | 32 inline const art::verifier::RegType& RegTypeCache::GetFromId(uint16_t id) const { in GetFromId() 34 const RegType* result = entries_[id]; in GetFromId() 126 const RegType* result = &FromClass("Ljava/lang/Class;", mirror::Class::GetJavaLangClass(), true); in JavaLangClass() 133 const RegType* result = &FromClass("Ljava/lang/String;", mirror::String::GetJavaLangString(), in JavaLangString() 140 const RegType* result = &FromClass("Ljava/lang/invoke/MethodHandle;", in JavaLangInvokeMethodHandle() 147 const RegType* result = &FromClass("Ljava/lang/invoke/MethodType;", in JavaLangInvokeMethodType() 153 inline const RegType& RegTypeCache::JavaLangThrowable(bool precise) { in JavaLangThrowable() 154 const RegType* result = &FromClass("Ljava/lang/Throwable;", in JavaLangThrowable() 165 inline const RegType& RegTypeCache::JavaLangObject(bool precise) { in JavaLangObject() 166 const RegType* result = &FromClass("Ljava/lang/Object;", in JavaLangObject()
|
D | reg_type.cc | 58 : RegType(klass, descriptor, cache_id) { in PrimitiveType() 310 : RegType(klass, descriptor, cache_id) { in PreciseReferenceType() 458 const RegType& RegType::HighHalf(RegTypeCache* cache) const { in HighHalf() 471 Primitive::Type RegType::GetPrimitiveType() const { in GetPrimitiveType() 506 const RegType& RegType::GetSuperClass(RegTypeCache* cache) const { in GetSuperClass() 528 bool RegType::IsJavaLangObject() const REQUIRES_SHARED(Locks::mutator_lock_) { in IsJavaLangObject() 532 bool RegType::IsObjectArrayTypes() const REQUIRES_SHARED(Locks::mutator_lock_) { in IsObjectArrayTypes() 553 bool RegType::IsArrayTypes() const REQUIRES_SHARED(Locks::mutator_lock_) { in IsArrayTypes() 570 bool RegType::IsJavaLangObjectArray() const { in IsJavaLangObjectArray() 578 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.h | 56 class RegType; variable 210 const RegType& ResolveCheckedClass(dex::TypeIndex class_idx) 547 void VerifyPrimitivePut(const RegType& target_type, const RegType& insn_type, 554 void VerifyAGet(const Instruction* inst, const RegType& insn_type, 558 void VerifyAPut(const Instruction* inst, const RegType& insn_type, 562 ArtField* GetInstanceField(const RegType& obj_type, int field_idx) 574 void VerifyISFieldAccess(const Instruction* inst, const RegType& insn_type, 585 const RegType& ResolveClass(dex::TypeIndex class_idx) 593 const RegType& GetCaughtExceptionType() 679 const RegType& GetMethodReturnType() REQUIRES_SHARED(Locks::mutator_lock_); [all …]
|
D | method_verifier-inl.h | 75 inline const RegType& MethodVerifier::ResolveCheckedClass(dex::TypeIndex class_idx) { in ResolveCheckedClass() 77 const RegType& result = ResolveClass<CheckAccess::kYes>(class_idx); in ResolveCheckedClass()
|
/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 | 351 template <typename RegType, typename ImmType> 352 std::string RepeatTemplatedRegisterImmBits(void (Ass::*f)(RegType, ImmType), in RepeatTemplatedRegisterImmBits() argument 354 const std::vector<RegType*> registers, in RepeatTemplatedRegisterImmBits() 355 std::string (AssemblerTest::*GetName)(const RegType&), in RepeatTemplatedRegisterImmBits() argument 1198 template <typename RegType, typename AddrType> 1199 std::string RepeatTemplatedRegMem(void (Ass::*f)(RegType, const AddrType&), in RepeatTemplatedRegMem() argument 1200 const std::vector<RegType*> registers, in RepeatTemplatedRegMem() 1202 std::string (AssemblerTest::*GetRName)(const RegType&), in RepeatTemplatedRegMem() argument 1237 template <typename AddrType, typename RegType> 1238 std::string RepeatTemplatedMemReg(void (Ass::*f)(const AddrType&, RegType), in RepeatTemplatedMemReg() argument [all …]
|