Home
last modified time | relevance | path

Searched refs:InlineCache (Results 1 – 13 of 13) sorted by relevance

/art/runtime/jit/
Dprofiling_info.h44 class InlineCache {
50 return MemberOffset(OFFSETOF_MEMBER(InlineCache, classes_)); in ClassesOffset()
60 DISALLOW_COPY_AND_ASSIGN(InlineCache);
84 InlineCache* GetInlineCache(uint32_t dex_pc);
145 InlineCache cache_[0];
Dprofiling_info.cc33 memset(&cache_, 0, number_of_inline_caches_ * sizeof(InlineCache)); in ProfilingInfo()
71 InlineCache* ProfilingInfo::GetInlineCache(uint32_t dex_pc) { in GetInlineCache()
84 InlineCache* cache = GetInlineCache(dex_pc); in AddInvokeInfo()
85 for (size_t i = 0; i < InlineCache::kIndividualCacheSize; ++i) { in AddInvokeInfo()
Dprofiling_info_test.cc120 for (uint16_t k = 0; k < InlineCache::kIndividualCacheSize / 2; k++) { in SaveProfilingInfoWithFakeInlineCaches()
128 for (uint16_t k = 0; k < 2 * InlineCache::kIndividualCacheSize; k++) { in SaveProfilingInfoWithFakeInlineCaches()
Djit_code_cache.h44 class InlineCache; variable
312 void CopyInlineCacheInto(const InlineCache& ic,
313 /*out*/StackHandleScope<InlineCache::kIndividualCacheSize>* classes)
Djit_code_cache.cc451 InlineCache* cache = &info->cache_[i]; in SweepRootTables()
452 for (size_t j = 0; j < InlineCache::kIndividualCacheSize; ++j) { in SweepRootTables()
615 const InlineCache& ic, in CopyInlineCacheInto()
616 /*out*/StackHandleScope<InlineCache::kIndividualCacheSize>* classes) { in CopyInlineCacheInto()
617 static_assert(arraysize(ic.classes_) == InlineCache::kIndividualCacheSize); in CopyInlineCacheInto()
618 DCHECK_EQ(classes->NumberOfReferences(), InlineCache::kIndividualCacheSize); in CopyInlineCacheInto()
619 DCHECK_EQ(classes->RemainingSlots(), InlineCache::kIndividualCacheSize); in CopyInlineCacheInto()
1517 sizeof(ProfilingInfo) + sizeof(InlineCache) * entries.size(), in AddProfilingInfoInternal()
1572 const InlineCache& cache = info->cache_[i]; in GetProfiledMethods()
1575 for (size_t k = 0; k < InlineCache::kIndividualCacheSize; k++) { in GetProfiledMethods()
Dprofile_saver.cc54 InlineCache::kIndividualCacheSize,
/art/compiler/optimizing/
Dinliner.h188 /*out*/StackHandleScope<InlineCache::kIndividualCacheSize>* classes)
196 /*out*/StackHandleScope<InlineCache::kIndividualCacheSize>* classes)
201 const StackHandleScope<InlineCache::kIndividualCacheSize>& classes)
209 const StackHandleScope<InlineCache::kIndividualCacheSize>& classes)
214 const StackHandleScope<InlineCache::kIndividualCacheSize>& classes)
219 const StackHandleScope<InlineCache::kIndividualCacheSize>& classes)
Dinliner.cc338 const StackHandleScope<InlineCache::kIndividualCacheSize>& classes) { in GetInlineCacheType()
339 DCHECK_EQ(classes.NumberOfReferences(), InlineCache::kIndividualCacheSize); in GetInlineCacheType()
340 uint8_t number_of_types = InlineCache::kIndividualCacheSize - classes.RemainingSlots(); in GetInlineCacheType()
345 } else if (number_of_types == InlineCache::kIndividualCacheSize) { in GetInlineCacheType()
353 const StackHandleScope<InlineCache::kIndividualCacheSize>& classes) in GetMonomorphicType()
592 StackHandleScope<InlineCache::kIndividualCacheSize> classes(Thread::Current()); in TryInlineFromInlineCache()
652 /*out*/StackHandleScope<InlineCache::kIndividualCacheSize>* classes) { in GetInlineCacheJIT()
671 /*out*/StackHandleScope<InlineCache::kIndividualCacheSize>* classes) { in GetInlineCacheAOT()
672 DCHECK_EQ(classes->NumberOfReferences(), InlineCache::kIndividualCacheSize); in GetInlineCacheAOT()
673 DCHECK_EQ(classes->RemainingSlots(), InlineCache::kIndividualCacheSize); in GetInlineCacheAOT()
[all …]
Dcode_generator_arm64.cc4577 InlineCache* cache = info->GetInlineCache(instruction->GetDexPc()); in MaybeGenerateInlineCacheCheck()
4581 __ Ldr(x9, MemOperand(x8, InlineCache::ClassesOffset().Int32Value())); in MaybeGenerateInlineCacheCheck()
Dcode_generator_x86_64.cc3006 InlineCache* cache = info->GetInlineCache(instruction->GetDexPc()); in MaybeGenerateInlineCacheCheck()
3011 __ cmpl(Address(CpuRegister(TMP), InlineCache::ClassesOffset().Int32Value()), klass); in MaybeGenerateInlineCacheCheck()
Dcode_generator_x86.cc2755 InlineCache* cache = info->GetInlineCache(instruction->GetDexPc()); in MaybeGenerateInlineCacheCheck()
2765 __ cmpl(klass, Address(temp, InlineCache::ClassesOffset().Int32Value())); in MaybeGenerateInlineCacheCheck()
Dcode_generator_arm_vixl.cc3623 InlineCache* cache = info->GetInlineCache(instruction->GetDexPc()); in MaybeGenerateInlineCacheCheck()
3629 __ Ldr(ip, MemOperand(r4, InlineCache::ClassesOffset().Int32Value())); in MaybeGenerateInlineCacheCheck()
/art/tools/cpp-define-generator/
Dprofiling_info.def21 ASM_DEFINE(INLINE_CACHE_SIZE, art::InlineCache::kIndividualCacheSize);
22 ASM_DEFINE(INLINE_CACHE_CLASSES_OFFSET, art::InlineCache::ClassesOffset().Int32Value());