Home
last modified time | relevance | path

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

12

/art/compiler/
Dcompiled_method.cc97 CompiledMethod::CompiledMethod(CompiledMethodStorage* storage, in CompiledMethod() function in art::CompiledMethod
109 CompiledMethod* CompiledMethod::SwapAllocCompiledMethod( in SwapAllocCompiledMethod()
116 SwapAllocator<CompiledMethod> alloc(storage->GetSwapSpaceAllocator()); in SwapAllocCompiledMethod()
117 CompiledMethod* ret = alloc.allocate(1); in SwapAllocCompiledMethod()
127 void CompiledMethod::ReleaseSwapAllocatedCompiledMethod(CompiledMethodStorage* storage, in ReleaseSwapAllocatedCompiledMethod()
128 CompiledMethod* m) { in ReleaseSwapAllocatedCompiledMethod()
129 SwapAllocator<CompiledMethod> alloc(storage->GetSwapSpaceAllocator()); in ReleaseSwapAllocatedCompiledMethod()
134 CompiledMethod::~CompiledMethod() { in ~CompiledMethod()
Dcompiled_method-inl.h41 inline ArrayRef<const uint8_t> CompiledMethod::GetVmapTable() const { in GetVmapTable()
45 inline ArrayRef<const uint8_t> CompiledMethod::GetCFIInfo() const { in GetCFIInfo()
49 inline ArrayRef<const linker::LinkerPatch> CompiledMethod::GetPatches() const { in GetPatches()
Dcompiled_method.h106 class CompiledMethod final : public CompiledCode {
111 CompiledMethod(CompiledMethodStorage* storage,
118 virtual ~CompiledMethod();
120 static CompiledMethod* SwapAllocCompiledMethod(
128 static void ReleaseSwapAllocatedCompiledMethod(CompiledMethodStorage* storage, CompiledMethod* m);
Dcompiler.h41 class CompiledMethod; variable
61 virtual CompiledMethod* Compile(const dex::CodeItem* code_item,
70 virtual CompiledMethod* JniCompile(uint32_t access_flags,
Dcommon_compiler_test.h36 class CompiledMethod; variable
58 void MakeExecutable(ArtMethod* method, const CompiledMethod* compiled_method)
Dcommon_compiler_test.cc150 const CompiledMethod* compiled_method) { in MakeExecutable()
158 CompiledMethod::CodePointer(code_ptr, compiled_method->GetInstructionSet()); in MakeExecutable()
236 CompiledMethod* compiled_method = nullptr; in CompileMethod()
273 CompiledMethod::ReleaseSwapAllocatedCompiledMethod(&storage, compiled_method); in CompileMethod()
/art/compiler/driver/
Dcompiled_method_storage_test.cc61 std::vector<CompiledMethod*> compiled_methods; in TEST()
67 compiled_methods.push_back(CompiledMethod::SwapAllocCompiledMethod( in TEST()
80 CompiledMethod* lhs = compiled_methods[i]; in TEST()
81 CompiledMethod* rhs = compiled_methods[j]; in TEST()
96 for (CompiledMethod* method : compiled_methods) { in TEST()
97 CompiledMethod::ReleaseSwapAllocatedCompiledMethod(&storage, method); in TEST()
/art/dex2oat/linker/arm/
Drelative_patcher_arm_base.h33 const CompiledMethod* compiled_method,
92 const CompiledMethod* compiled_method,
106 void ProcessPatches(const CompiledMethod* compiled_method, uint32_t code_offset);
Drelative_patcher_arm_base.cc169 const CompiledMethod* compiled_method, in ReserveSpace()
208 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in WriteThunks()
228 aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in WriteThunks()
292 const CompiledMethod* compiled_method, in ReserveSpaceInternal()
403 void ArmBaseRelativePatcher::ProcessPatches(const CompiledMethod* compiled_method, in ProcessPatches()
/art/dex2oat/driver/
Dcompiler_driver.h61 class CompiledMethod; variable
135 CompiledMethod* GetCompiledMethod(MethodReference ref) const;
137 void AddCompiledMethod(const MethodReference& method_ref, CompiledMethod* const compiled_method);
138 CompiledMethod* RemoveCompiledMethod(const MethodReference& method_ref);
311 typedef AtomicDexRefMap<MethodReference, CompiledMethod*> MethodTable;
Dcompiler_driver.cc276 CompiledMethod* method) { in ~CompilerDriver()
278 CompiledMethod::ReleaseSwapAllocatedCompiledMethod(GetCompiledMethodStorage(), method); in ~CompilerDriver()
380 CompiledMethod* compiled_method; in CompileMethodHarness()
437 CompiledMethod* compiled_method = nullptr; in CompileMethodQuick()
2672 CompiledMethod* const compiled_method) { in AddCompiledMethod()
2681 CompiledMethod* CompilerDriver::RemoveCompiledMethod(const MethodReference& method_ref) { in RemoveCompiledMethod()
2682 CompiledMethod* ret = nullptr; in RemoveCompiledMethod()
2757 CompiledMethod* CompilerDriver::GetCompiledMethod(MethodReference ref) const { in GetCompiledMethod()
2758 CompiledMethod* compiled_method = nullptr; in GetCompiledMethod()
Dcompiler_driver_test.cc83 const CompiledMethod* compiled_method = nullptr; in MakeExecutable()
/art/dex2oat/linker/
Drelative_patcher.h30 class CompiledMethod; variable
115 const CompiledMethod* compiled_method,
Dmulti_oat_relative_patcher.h28 class CompiledMethod; variable
71 const CompiledMethod* compiled_method, in ReserveSpace()
Dmulti_oat_relative_patcher_test.cc37 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in ReserveSpace()
180 const CompiledMethod* method = reinterpret_cast<const CompiledMethod*>(-1); in TEST_F()
Drelative_patcher_test.h106 compiled_methods_.emplace_back(new CompiledMethod(
119 CompiledMethod::AlignCode(unaligned_code_offset, instruction_set_); in CodeAlignmentSize()
394 std::vector<std::unique_ptr<CompiledMethod>> compiled_methods_;
Drelative_patcher.cc47 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in Create()
Doat_writer.cc102 inline uint32_t CodeAlignmentSize(uint32_t header_offset, const CompiledMethod& compiled_method) { in CodeAlignmentSize()
253 OatClass(const dchecked_vector<CompiledMethod*>& compiled_methods,
260 CompiledMethod* GetCompiledMethod(size_t class_def_method_index) const { in GetCompiledMethod()
265 dchecked_vector<CompiledMethod*> compiled_methods_;
885 static bool HasCompiledCode(const CompiledMethod* method) { in HasCompiledCode()
897 CompiledMethod* compiled_method = writer_->compiler_driver_->GetCompiledMethod( in VisitMethod()
996 CompiledMethod* compiled_method = in VisitMethod()
1042 dchecked_vector<CompiledMethod*> compiled_methods_;
1052 CompiledMethod* compiled_method;
1208 CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index); in VisitMethod()
[all …]
Doat_writer.h42 class CompiledMethod; variable
/art/dex2oat/linker/x86/
Drelative_patcher_x86_base.h28 const CompiledMethod* compiled_method,
Drelative_patcher_x86_base.cc26 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in ReserveSpace()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc83 CompiledMethod::AlignCode(code_size, InstructionSet::kArm64) - code_size; in MaxExtraSpace()
103 const CompiledMethod* compiled_method, in ReserveSpace()
113 offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64) + in ReserveSpace()
158 offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64) + in ReserveSpaceEnd()
169 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64); in WriteThunks()
Drelative_patcher_arm64.h38 const CompiledMethod* compiled_method,
/art/compiler/optimizing/
Doptimizing_compiler.cc279 CompiledMethod* Compile(const dex::CodeItem* code_item,
288 CompiledMethod* JniCompile(uint32_t access_flags,
366 CompiledMethod* Emit(ArenaAllocator* allocator,
716 CompiledMethod* OptimizingCompiler::Emit(ArenaAllocator* allocator, in Emit()
724 CompiledMethod* compiled_method = CompiledMethod::SwapAllocCompiledMethod( in Emit()
1007 CompiledMethod* OptimizingCompiler::Compile(const dex::CodeItem* code_item, in Compile()
1017 CompiledMethod* compiled_method = nullptr; in Compile()
1146 CompiledMethod* OptimizingCompiler::JniCompile(uint32_t access_flags, in JniCompile()
1188 CompiledMethod* compiled_method = Emit(&allocator, in JniCompile()
1205 return CompiledMethod::SwapAllocCompiledMethod( in JniCompile()
/art/compiler/debug/
Delf_symtab_writer.h156 address += CompiledMethod::CodeDelta(info.isa); in WriteDebugSymbols()

12