Home
last modified time | relevance | path

Searched refs:RegTypeCache (Results 1 – 8 of 8) sorted by relevance

/art/runtime/verifier/
Dreg_type_cache-inl.h30 inline const art::verifier::RegType& RegTypeCache::GetFromId(uint16_t id) const { in GetFromId()
37 inline const ConstantType& RegTypeCache::FromCat1Const(int32_t value, bool precise) { in FromCat1Const()
46 inline const ImpreciseConstType& RegTypeCache::ByteConstant() { in ByteConstant()
52 inline const ImpreciseConstType& RegTypeCache::CharConstant() { in CharConstant()
59 inline const ImpreciseConstType& RegTypeCache::ShortConstant() { in ShortConstant()
65 inline const ImpreciseConstType& RegTypeCache::IntConstant() { in IntConstant()
71 inline const ImpreciseConstType& RegTypeCache::PosByteConstant() { in PosByteConstant()
77 inline const ImpreciseConstType& RegTypeCache::PosShortConstant() { in PosShortConstant()
83 inline const PreciseReferenceType& RegTypeCache::JavaLangClass() { in JavaLangClass()
89 inline const PreciseReferenceType& RegTypeCache::JavaLangString() { in JavaLangString()
[all …]
Dreg_type_cache.cc33 bool RegTypeCache::primitive_initialized_ = false;
34 uint16_t RegTypeCache::primitive_count_ = 0;
35 const PreciseConstType* RegTypeCache::small_precise_constants_[kMaxSmallConstant -
53 void RegTypeCache::FillPrimitiveAndSmallConstantTypes() { in FillPrimitiveAndSmallConstantTypes()
74 const RegType& RegTypeCache::FromDescriptor(mirror::ClassLoader* loader, in FromDescriptor()
77 DCHECK(RegTypeCache::primitive_initialized_); in FromDescriptor()
107 const RegType& RegTypeCache::RegTypeFromPrimitiveType(Primitive::Type prim_type) const { in RegTypeFromPrimitiveType()
108 DCHECK(RegTypeCache::primitive_initialized_); in RegTypeFromPrimitiveType()
132 bool RegTypeCache::MatchDescriptor(size_t idx, const StringPiece& descriptor, bool precise) { in MatchDescriptor()
146 mirror::Class* RegTypeCache::ResolveClass(const char* descriptor, mirror::ClassLoader* loader) { in ResolveClass()
[all …]
Dreg_type_cache.h45 class RegTypeCache {
47 explicit RegTypeCache(bool can_load_classes, ScopedArenaAllocator& arena);
48 ~RegTypeCache();
50 if (!RegTypeCache::primitive_initialized_) { in Init()
51 CHECK_EQ(RegTypeCache::primitive_count_, 0); in Init()
53 CHECK_EQ(RegTypeCache::primitive_count_, kNumPrimitivesAndSmallConstants); in Init()
54 RegTypeCache::primitive_initialized_ = true; in Init()
205 DISALLOW_COPY_AND_ASSIGN(RegTypeCache);
Dreg_type_test.cc40 RegTypeCache cache(true, allocator); in TEST_F()
64 RegTypeCache cache(true, allocator); in TEST_F()
90 RegTypeCache cache(true, allocator); in TEST_F()
365 RegTypeCache cache(true, allocator); in TEST_F()
382 RegTypeCache cache(true, allocator); in TEST_F()
400 RegTypeCache cache(true, allocator); in TEST_F()
424 RegTypeCache cache(true, allocator); in TEST_F()
451 RegTypeCache cache(true, allocator); in TEST_F()
473 RegTypeCache cache(true, allocator); in TEST_F()
488 RegTypeCache cache_new(true, allocator); in TEST_F()
[all …]
Dreg_type.h45 class RegTypeCache; variable
120 const RegType& HighHalf(RegTypeCache* cache) const
194 const RegType& GetSuperClass(RegTypeCache* cache) const
222 bool CanAssignArray(const RegType& src, RegTypeCache& reg_types,
237 const RegType& Merge(const RegType& incoming_type, RegTypeCache* reg_types) const
240 const RegType& SafeMerge(const RegType& incoming_type, RegTypeCache* reg_types) const in SafeMerge()
297 friend class RegTypeCache; variable
855 UnresolvedSuperClass(uint16_t child_id, RegTypeCache* reg_type_cache, in UnresolvedSuperClass()
881 const RegTypeCache* const reg_type_cache_;
891 const RegTypeCache* reg_type_cache,
[all …]
Dreg_type.cc450 const RegType& RegType::HighHalf(RegTypeCache* cache) const { in HighHalf()
498 const RegType& RegType::GetSuperClass(RegTypeCache* cache) const { in GetSuperClass()
578 const RegType& RegType::Merge(const RegType& incoming_type, RegTypeCache* reg_types) const { in Merge()
800 const RegTypeCache* reg_type_cache, in UnresolvedMergedType()
874 bool RegType::CanAssignArray(const RegType& src, RegTypeCache& reg_types, in CanAssignArray()
Dmethod_verifier.h189 RegTypeCache* GetRegTypeCache() { in GetRegTypeCache()
741 RegTypeCache reg_types_;
Dmethod_verifier.cc5081 art::verifier::RegTypeCache::Init(); in Init()
5085 verifier::RegTypeCache::ShutDown(); in Shutdown()
5089 RegTypeCache::VisitStaticRoots(visitor); in VisitStaticRoots()