Searched defs:compiled_method (Results 1 - 7 of 7) sorted by relevance

/art/compiler/linker/arm/
H A Drelative_patcher_arm_base.cc19 #include "compiled_method.h"
27 const CompiledMethod* compiled_method,
29 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u);
84 const CompiledMethod* compiled_method,
87 DCHECK(compiled_method->GetQuickCode() != nullptr);
88 uint32_t quick_code_size = compiled_method->GetQuickCode()->size();
89 uint32_t quick_code_offset = compiled_method->AlignCode(offset) + sizeof(OatQuickMethodHeader);
90 uint32_t next_aligned_offset = compiled_method->AlignCode(quick_code_offset + quick_code_size);
92 next_aligned_offset = compiled_method->AlignCode(next_aligned_offset + max_extra_space);
102 uint32_t thunk_location = compiled_method
26 ReserveSpace(uint32_t offset, const CompiledMethod* compiled_method, MethodReference method_ref) argument
83 ReserveSpaceInternal(uint32_t offset, const CompiledMethod* compiled_method, MethodReference method_ref, uint32_t max_extra_space) argument
[all...]
/art/compiler/
H A Doat_test.cc21 #include "compiled_method.h"
48 const CompiledMethod* compiled_method = local
52 if (compiled_method == nullptr) {
61 EXPECT_EQ(oat_method.GetFrameSizeInBytes(), compiled_method->GetFrameSizeInBytes());
62 EXPECT_EQ(oat_method.GetCoreSpillMask(), compiled_method->GetCoreSpillMask());
63 EXPECT_EQ(oat_method.GetFpSpillMask(), compiled_method->GetFpSpillMask());
66 const SwapVector<uint8_t>* quick_code = compiled_method->GetQuickCode();
H A Dcommon_compiler_test.cc23 #include "compiled_method.h"
47 const CompiledMethod* compiled_method = nullptr; local
51 compiled_method =
55 if (compiled_method != nullptr) {
56 const SwapVector<uint8_t>* code = compiled_method->GetQuickCode();
59 const SwapVector<uint8_t>* vmap_table = compiled_method->GetVmapTable();
62 const SwapVector<uint8_t>* mapping_table = compiled_method->GetMappingTable();
67 const SwapVector<uint8_t>* gc_map = compiled_method->GetGcMap();
73 compiled_method->GetFrameSizeInBytes(),
74 compiled_method
[all...]
H A Doat_writer.cc29 #include "compiled_method.h"
160 static const SwapVector<uint8_t>* GetData(const CompiledMethod* compiled_method) ALWAYS_INLINE {
161 return compiled_method->GetGcMap();
182 static const SwapVector<uint8_t>* GetData(const CompiledMethod* compiled_method) ALWAYS_INLINE {
183 return compiled_method->GetMappingTable();
204 static const SwapVector<uint8_t>* GetData(const CompiledMethod* compiled_method) ALWAYS_INLINE {
205 return compiled_method->GetVmapTable();
316 CompiledMethod* compiled_method = local
318 compiled_methods_.push_back(compiled_method);
319 if (compiled_method !
370 CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index); local
533 NewQuickCodeOffset(CompiledMethod* compiled_method, const ClassDataItemIterator& it, uint32_t thumb_offset) argument
562 CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index); local
603 CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index); local
685 const CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index); local
906 const CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index); local
1503 CompiledMethod* compiled_method = compiled_methods_[i]; local
[all...]
/art/compiler/jit/
H A Djit_compiler.cc140 CompiledMethod* compiled_method = nullptr; local
143 compiled_method = compiler_driver_->CompileMethod(self, method);
150 if (compiled_method == nullptr) {
165 result = MakeExecutable(compiled_method, method);
178 uint8_t* JitCompiler::WriteMethodHeaderAndCode(const CompiledMethod* compiled_method, argument
185 compiled_method->AlignCode(reinterpret_cast<uintptr_t>(reserve_begin)));
186 const auto* quick_code = compiled_method->GetQuickCode();
192 const auto frame_size_in_bytes = compiled_method->GetFrameSizeInBytes();
193 const auto core_spill_mask = compiled_method->GetCoreSpillMask();
194 const auto fp_spill_mask = compiled_method
207 AddToCodeCache(ArtMethod* method, const CompiledMethod* compiled_method, OatFile::OatMethod* out_method) argument
266 MakeExecutable(CompiledMethod* compiled_method, ArtMethod* method) argument
[all...]
/art/compiler/linker/arm64/
H A Drelative_patcher_arm64.cc21 #include "compiled_method.h"
44 const CompiledMethod* compiled_method,
48 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u);
61 DCHECK(compiled_method != nullptr);
62 for (const LinkerPatch& patch : compiled_method->GetPatches()) {
68 offset = ReserveSpaceInternal(offset, compiled_method, method_ref, kAdrpThunkSize * num_adrp);
75 uint32_t quick_code_offset = compiled_method->AlignCode(offset) + sizeof(OatQuickMethodHeader);
76 ArrayRef<const uint8_t> code(*compiled_method->GetQuickCode());
77 uint32_t thunk_offset = compiled_method->AlignCode(quick_code_offset + code.size());
78 DCHECK(compiled_method !
43 ReserveSpace(uint32_t offset, const CompiledMethod* compiled_method, MethodReference method_ref) argument
[all...]
/art/compiler/driver/
H A Dcompiler_driver.cc37 #include "compiled_method.h"
607 auto* compiled_method = GetCompiledMethod(MethodReference(dex_file, method_idx)); local
609 return compiled_method;
2261 CompiledMethod* compiled_method = nullptr; local
2271 compiled_method = compiler_->JniCompile(access_flags, method_idx, dex_file);
2272 CHECK(compiled_method != nullptr);
2287 compiled_method = compiler_->Compile(code_item, access_flags, invoke_type, class_def_idx,
2290 if (compiled_method == nullptr && dex_to_dex_compilation_level != kDontDexToDexCompile) {
2308 if (compiled_method != nullptr) {
2311 for (const LinkerPatch& patch : compiled_method
2343 CompiledMethod* compiled_method = nullptr; local
[all...]

Completed in 103 milliseconds