Home
last modified time | relevance | path

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

12

/art/dex2oat/linker/
Dcode_info_table_deduper.cc26 const size_t max_size = num_code_infos * CodeInfo::kNumBitTables; in ReserveDedupeBuffer()
33 static constexpr size_t kNumHeaders = CodeInfo::kNumHeaders; in Dedupe()
34 static constexpr size_t kNumBitTables = CodeInfo::kNumBitTables; in Dedupe()
59 CodeInfo code_info; in Dedupe()
60 CodeInfo::ForEachHeaderField([&code_info, &header](size_t i, auto member_pointer) { in Dedupe()
65 CodeInfo::ForEachBitTableField([&](size_t i, auto member_pointer) { in Dedupe()
82 CodeInfo::ForEachBitTableField([&](size_t i, [[maybe_unused]] auto member_pointer) { in Dedupe()
107 CodeInfo::ForEachHeaderField([&code_info, &header](size_t i, auto member_pointer) { in Dedupe()
112 CodeInfo::ForEachBitTableField([&](size_t i, [[maybe_unused]] auto member_pointer) { in Dedupe()
135 CodeInfo old_code_info(code_info_data); in Dedupe()
[all …]
Dcode_info_table_deduper_test.cc59 CodeInfo code_info(out.data() + deduped); in TEST()
/art/runtime/oat/
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) ALWAYS_INLINE {}) {} in CodeInfo()
61 CodeInfo::CodeInfo(const OatQuickMethodHeader* header) in CodeInfo() function in art::CodeInfo
62 : CodeInfo(header->GetOptimizedCodeInfoPtr()) {} in CodeInfo()
64 CodeInfo CodeInfo::DecodeGcMasksOnly(const OatQuickMethodHeader* header) { in DecodeGcMasksOnly()
65 CodeInfo code_info(header->GetOptimizedCodeInfoPtr()); in DecodeGcMasksOnly()
66 CodeInfo copy; // Copy to dead-code-eliminate all fields that we do not need. in DecodeGcMasksOnly()
73 CodeInfo CodeInfo::DecodeInlineInfoOnly(const OatQuickMethodHeader* header) { in DecodeInlineInfoOnly()
74 CodeInfo code_info(header->GetOptimizedCodeInfoPtr()); in DecodeInlineInfoOnly()
[all …]
Dstack_map.h56 class CodeInfo; variable
171 const CodeInfo& code_info,
205 const CodeInfo& info,
288 class CodeInfo {
290 ALWAYS_INLINE CodeInfo() {} in CodeInfo() function
291 EXPORT ALWAYS_INLINE explicit CodeInfo(const uint8_t* data, size_t* num_read_bits = nullptr);
292 EXPORT ALWAYS_INLINE explicit CodeInfo(const OatQuickMethodHeader* header);
295 static CodeInfo DecodeGcMasksOnly(const OatQuickMethodHeader* header);
296 static CodeInfo DecodeInlineInfoOnly(const OatQuickMethodHeader* header);
303 CodeInfo code_info = DecodeHeaderOnly(code_info_data); in DecodeFrameInfo()
[all …]
Doat_quick_method_header.cc48 CodeInfo code_info = CodeInfo::DecodeInlineInfoOnly(this); in ToDexPc()
73 CodeInfo code_info = CodeInfo::DecodeInlineInfoOnly(this); in ToNativeQuickPc()
99 CodeInfo code_info = CodeInfo::DecodeInlineInfoOnly(this); in ToNativeQuickPcForCatchHandlers()
Doat_quick_method_header.h116 return CodeInfo::DecodeCodeSize(GetOptimizedCodeInfoPtr()); in GetCodeSize()
164 return CodeInfo::DecodeFrameInfo(GetOptimizedCodeInfoPtr()); in GetFrameInfo()
195 return IsOptimized() && CodeInfo::HasShouldDeoptimizeFlag(GetOptimizedCodeInfoPtr()); in HasShouldDeoptimizeFlag()
/art/compiler/optimizing/
Dstack_map_stream.cc70 dchecks_.emplace_back([=](const CodeInfo& code_info) { in BeginMethod()
101 dchecks_.emplace_back([=](const CodeInfo& code_info) { in EndMethod()
156 dchecks_.emplace_back([=](const CodeInfo& code_info) { in BeginStackMapEntry()
205 dchecks_.emplace_back([=](const CodeInfo& code_info) { in EndStackMapEntry()
269 dchecks_.emplace_back([=](const CodeInfo& code_info) { in BeginInlineInfoEntry()
360 dchecks_.emplace_back([=](const CodeInfo& code_info) { in CreateDexRegisterMap()
382 flags |= (inline_infos_.size() > 0) ? CodeInfo::kHasInlineInfo : 0; in Encode()
383 flags |= baseline_ ? CodeInfo::kIsBaseline : 0; in Encode()
384 flags |= debuggable_ ? CodeInfo::kIsDebuggable : 0; in Encode()
385 flags |= has_should_deoptimize_flag_ ? CodeInfo::kHasShouldDeoptimizeFlag : 0; in Encode()
[all …]
Dstack_map_stream.h123 CHECK_EQ(index, CodeInfo::kNumBitTables); in ForEachBitTable()
165 std::vector<std::function<void(CodeInfo&)>> dchecks_;
Dstack_map_test.cc32 const CodeInfo& code_info, in CheckStackMask()
73 CodeInfo code_info(memory.data()); in TEST()
164 CodeInfo code_info(memory.data()); in TEST()
339 CodeInfo code_info(memory.data()); in TEST()
399 CodeInfo code_info(memory.data()); in TEST()
463 CodeInfo ci(memory.data()); in TEST()
514 CodeInfo code_info(memory.data()); in TEST()
618 CodeInfo ci(memory.data()); in TEST()
759 CodeInfo code_info(memory.data()); in TEST()
Dcode_generator.cc1039 const CodeInfo& code_info, in CheckCovers()
1055 const CodeInfo& code_info, in CheckLoopEntriesCanBeUsedForOsr()
1101 CheckLoopEntriesCanBeUsedForOsr(*graph_, CodeInfo(stack_map.data()), *code_item); in BuildStackMaps()
/art/test/566-polymorphic-inlining/
Dpolymorphic_inline.cc40 !CodeInfo::IsBaseline( in do_checks()
53 CodeInfo info(header); in do_checks()
/art/runtime/entrypoints/jni/
Djni_entrypoints.cc167 CodeInfo code_info = CodeInfo::DecodeInlineInfoOnly(current_code); in artCriticalNativeFrameSize()
/art/runtime/
Dstack.h332 size_t GetNumberOfRegisters(CodeInfo* code_info, int depth) const;
384 ALWAYS_INLINE CodeInfo* GetCurrentInlineInfo() const;
404 mutable std::pair<const OatQuickMethodHeader*, CodeInfo> cur_inline_info_;
Dstack.cc76 cur_inline_info_(nullptr, CodeInfo()), in StackVisitor()
85 CodeInfo* StackVisitor::GetCurrentInlineInfo() const { in GetCurrentInlineInfo()
89 cur_inline_info_ = std::make_pair(header, CodeInfo::DecodeInlineInfoOnly(header)); in GetCurrentInlineInfo()
110 CodeInfo* code_info = GetCurrentInlineInfo(); in GetMethod()
289 size_t StackVisitor::GetNumberOfRegisters(CodeInfo* code_info, int depth) const { in GetNumberOfRegisters()
304 CodeInfo code_info(method_header); in GetVRegFromOptimizedCode()
900 && CodeInfo::HasInlineInfo(cur_oat_quick_method_header_->GetOptimizedCodeInfoPtr())) { in WalkStack()
902 CodeInfo* code_info = GetCurrentInlineInfo(); in WalkStack()
Dcheck_reference_map_visitor.h82 CodeInfo code_info(GetCurrentOatQuickMethodHeader()); in CheckOptimizedMethod()
Dquick_exception_handler.cc302 CodeInfo code_info(handler_method_header_); in SetCatchEnvironmentForOptimizedHandler()
588 CodeInfo code_info(method_header); in HandleOptimizingDeoptimization()
Dinstrumentation.cc239 return CodeInfo::IsDebuggable(header->GetOptimizedCodeInfoPtr()); in CodeSupportsEntryExitHooks()
475 if (CodeInfo::IsDebuggable(header->GetOptimizedCodeInfoPtr())) { in MethodSupportsExitEvents()
Dthread.cc4244 CodeInfo code_info = kPrecise in VisitQuickFrameWithVregCallback()
4245 ? CodeInfo(method_header) // We will need dex register maps. in VisitQuickFrameWithVregCallback()
4246 : CodeInfo::DecodeGcMasksOnly(method_header); in VisitQuickFrameWithVregCallback()
4315 [[maybe_unused]] const CodeInfo& code_info, in VisitQuickFrameNonPrecise()
4342 const CodeInfo& _code_info, in VisitQuickFramePrecise()
4394 const CodeInfo& code_info; in VisitQuickFramePrecise()
/art/runtime/entrypoints/
Dentrypoint_utils.cc222 CodeInfo::HasInlineInfo(current_code->GetOptimizedCodeInfoPtr())) { in DoGetCalleeSaveMethodCallerAndDexPc()
224 CodeInfo code_info = CodeInfo::DecodeInlineInfoOnly(current_code); in DoGetCalleeSaveMethodCallerAndDexPc()
Dentrypoint_utils-inl.h104 const CodeInfo& code_info, in GetResolvedMethod()
/art/compiler/debug/
Delf_debug_line_writer.h97 const CodeInfo code_info(mi->code_info); in WriteCompilationUnit()
Delf_debug_loc_writer.h97 const CodeInfo code_info(method_info->code_info); in GetVariableLocations()
Delf_debug_info_writer.h192 std::unique_ptr<const CodeInfo> code_info; in Write()
195 code_info.reset(new CodeInfo(mi->code_info)); in Write()
/art/test/common/
Druntime_state.cc300 if (!CodeInfo::IsBaseline(method_header->GetOptimizedCodeInfoPtr())) { in ForceJitCompiled()
/art/oatdump/
Doatdump.cc1363 CodeInfo code_info(raw_code_info); in DumpVmapData()
1375 const CodeInfo& code_info, in DumpCodeInfo()
1537 CodeInfo code_info(oat_method.GetVmapTable()); in DumpCode()

12