Home
last modified time | relevance | path

Searched refs:CodeInfo (Results 1 – 25 of 25) sorted by relevance

/art/runtime/
Dstack_map.cc32 CodeInfo::CodeInfo(const uint8_t* data, size_t* num_read_bits, DecodeCallback callback) { in CodeInfo() function in art::CodeInfo
58 CodeInfo::CodeInfo(const uint8_t* data, size_t* num_read_bits) in CodeInfo() function in art::CodeInfo
59 : CodeInfo(data, num_read_bits, [](size_t, auto*, BitMemoryRegion){}) {} in CodeInfo()
61 CodeInfo::CodeInfo(const OatQuickMethodHeader* header) in CodeInfo() function in art::CodeInfo
62 : CodeInfo(header->GetOptimizedCodeInfoPtr()) {} in CodeInfo()
64 QuickMethodFrameInfo CodeInfo::DecodeFrameInfo(const uint8_t* data) { in DecodeFrameInfo()
65 CodeInfo code_info(data); in DecodeFrameInfo()
71 CodeInfo CodeInfo::DecodeGcMasksOnly(const OatQuickMethodHeader* header) { in DecodeGcMasksOnly()
72 CodeInfo code_info(header->GetOptimizedCodeInfoPtr()); in DecodeGcMasksOnly()
73 CodeInfo copy; // Copy to dead-code-eliminate all fields that we do not need. in DecodeGcMasksOnly()
[all …]
Dstack_map.h50 class CodeInfo; variable
165 const CodeInfo& code_info,
199 const CodeInfo& info,
275 class CodeInfo {
294 ALWAYS_INLINE CodeInfo() {} in CodeInfo() function
295 ALWAYS_INLINE explicit CodeInfo(const uint8_t* data, size_t* num_read_bits = nullptr);
296 ALWAYS_INLINE explicit CodeInfo(const OatQuickMethodHeader* header);
300 static CodeInfo DecodeGcMasksOnly(const OatQuickMethodHeader* header);
301 static CodeInfo DecodeInlineInfoOnly(const OatQuickMethodHeader* header);
443 ALWAYS_INLINE CodeInfo(const uint8_t* data, size_t* num_read_bits, DecodeCallback callback);
[all …]
Doat_quick_method_header.cc43 CodeInfo code_info = CodeInfo::DecodeInlineInfoOnly(this); in ToDexPc()
72 CodeInfo code_info = CodeInfo::DecodeInlineInfoOnly(this); in ToNativeQuickPc()
Dstack.cc75 cur_inline_info_(nullptr, CodeInfo()), in StackVisitor()
84 CodeInfo* StackVisitor::GetCurrentInlineInfo() const { in GetCurrentInlineInfo()
88 cur_inline_info_ = std::make_pair(header, CodeInfo::DecodeInlineInfoOnly(header)); in GetCurrentInlineInfo()
109 CodeInfo* code_info = GetCurrentInlineInfo(); in GetMethod()
281 CodeInfo code_info(method_header); in GetVRegFromOptimizedCode()
895 && CodeInfo::HasInlineInfo(cur_oat_quick_method_header_->GetOptimizedCodeInfoPtr())) { in WalkStack()
897 CodeInfo* code_info = GetCurrentInlineInfo(); in WalkStack()
Dcheck_reference_map_visitor.h72 CodeInfo code_info(GetCurrentOatQuickMethodHeader()); in CheckOptimizedMethod()
Doat_quick_method_header.h149 return CodeInfo::DecodeFrameInfo(GetOptimizedCodeInfoPtr()); in GetFrameInfo()
Dstack.h351 ALWAYS_INLINE CodeInfo* GetCurrentInlineInfo() const;
371 mutable std::pair<const OatQuickMethodHeader*, CodeInfo> cur_inline_info_;
Dquick_exception_handler.cc250 CodeInfo code_info(handler_method_header_); in SetCatchEnvironmentForOptimizedHandler()
459 CodeInfo code_info(method_header); in HandleOptimizingDeoptimization()
Dthread.cc3806 CodeInfo code_info = kPrecise in VisitQuickFrameWithVregCallback()
3807 ? CodeInfo(method_header) // We will need dex register maps. in VisitQuickFrameWithVregCallback()
3808 : CodeInfo::DecodeGcMasksOnly(method_header); in VisitQuickFrameWithVregCallback()
3877 const CodeInfo& code_info ATTRIBUTE_UNUSED, in VisitQuickFrameNonPrecise()
3907 const CodeInfo& _code_info, in VisitQuickFramePrecise()
3959 const CodeInfo& code_info; in VisitQuickFramePrecise()
/art/compiler/optimizing/
Dstack_map_stream.cc59 dchecks_.emplace_back([=](const CodeInfo& code_info) { in BeginMethod()
126 dchecks_.emplace_back([=](const CodeInfo& code_info) { in BeginStackMapEntry()
172 dchecks_.emplace_back([=](const CodeInfo& code_info) { in EndStackMapEntry()
212 dchecks_.emplace_back([=](const CodeInfo& code_info) { in BeginInlineInfoEntry()
282 dchecks_.emplace_back([=](const CodeInfo& code_info) { in CreateDexRegisterMap()
303 uint32_t flags = (inline_infos_.size() > 0) ? CodeInfo::kHasInlineInfo : 0; in Encode()
304 flags |= baseline_ ? CodeInfo::kIsBaseline : 0; in Encode()
314 out.WriteInterleavedVarints(std::array<uint32_t, CodeInfo::kNumHeaders>{ in Encode()
330 CodeInfo code_info(buffer.data(), &number_of_read_bits); in Encode()
Dstack_map_stream.h114 CHECK_EQ(index, CodeInfo::kNumBitTables); in ForEachBitTable()
153 std::vector<std::function<void(CodeInfo&)>> dchecks_;
Dstack_map_test.cc31 const CodeInfo& code_info, in CheckStackMask()
67 CodeInfo code_info(memory.data()); in TEST()
153 CodeInfo code_info(memory.data()); in TEST()
323 CodeInfo code_info(memory.data()); in TEST()
378 CodeInfo code_info(memory.data()); in TEST()
437 CodeInfo ci(memory.data()); in TEST()
485 CodeInfo code_info(memory.data()); in TEST()
584 CodeInfo ci(memory.data()); in TEST()
720 CodeInfo code_info(memory.data()); in TEST()
745 CodeInfo::Deduper deduper(&out); in TEST()
[all …]
Dcode_generator.cc1070 const CodeInfo& code_info, in CheckCovers()
1086 const CodeInfo& code_info, in CheckLoopEntriesCanBeUsedForOsr()
1132 CheckLoopEntriesCanBeUsedForOsr(*graph_, CodeInfo(stack_map.data()), *code_item); in BuildStackMaps()
/art/runtime/entrypoints/jni/
Djni_entrypoints.cc158 CodeInfo code_info = CodeInfo::DecodeInlineInfoOnly(current_code); in artCriticalNativeFrameSize()
/art/test/566-polymorphic-inlining/
Dpolymorphic_inline.cc52 CodeInfo info(header); in do_checks()
/art/runtime/entrypoints/
Dentrypoint_utils.cc209 CodeInfo::HasInlineInfo(current_code->GetOptimizedCodeInfoPtr())) { in DoGetCalleeSaveMethodCaller()
211 CodeInfo code_info = CodeInfo::DecodeInlineInfoOnly(current_code); in DoGetCalleeSaveMethodCaller()
Dentrypoint_utils-inl.h51 const CodeInfo& code_info, in GetResolvedMethod()
/art/compiler/debug/
Delf_debug_line_writer.h95 const CodeInfo code_info(mi->code_info); in WriteCompilationUnit()
Delf_debug_loc_writer.h93 const CodeInfo code_info(method_info->code_info); in GetVariableLocations()
Delf_debug_info_writer.h191 std::unique_ptr<const CodeInfo> code_info; in Write()
194 code_info.reset(new CodeInfo(mi->code_info)); in Write()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc262 CodeInfo code_info = CodeInfo::DecodeInlineInfoOnly(current_code); in GetCallingDexPc()
1169 CodeInfo code_info(current_code); in DumpB74410240DebugData()
/art/oatdump/
Doatdump.cc1359 CodeInfo code_info(raw_code_info); in DumpVmapData()
1376 const CodeInfo& code_info, in DumpCodeInfo()
1572 const CodeInfo& GetCodeInfo() const { in GetCodeInfo()
1600 const CodeInfo code_info_;
/art/runtime/jit/
Djit_code_cache.cc1363 if (CodeInfo::IsBaseline(method_header->GetOptimizedCodeInfoPtr())) { in DoCollection()
1713 if (CodeInfo::IsBaseline(method_header->GetOptimizedCodeInfoPtr()) == is_baseline) { in NotifyCompilationOf()
Djit.cc493 CodeInfo code_info(osr_method); in PrepareForOsr()
/art/dex2oat/linker/
Doat_writer.cc1398 info.frame_size_in_bytes = CodeInfo::DecodeFrameInfo(code_info).FrameSizeInBytes(); in VisitMethod()
1517 CodeInfo::Deduper dedupe_bit_table_;