Home
last modified time | relevance | path

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

12

/art/compiler/
Dcompiled_method.cc101 CompiledMethod::CompiledMethod(CompiledMethodStorage* storage, in CompiledMethod() function in art::CompiledMethod
113 CompiledMethod* CompiledMethod::SwapAllocCompiledMethod( in SwapAllocCompiledMethod()
120 SwapAllocator<CompiledMethod> alloc(storage->GetSwapSpaceAllocator()); in SwapAllocCompiledMethod()
121 CompiledMethod* ret = alloc.allocate(1); in SwapAllocCompiledMethod()
131 void CompiledMethod::ReleaseSwapAllocatedCompiledMethod(CompiledMethodStorage* storage, in ReleaseSwapAllocatedCompiledMethod()
132 CompiledMethod* m) { in ReleaseSwapAllocatedCompiledMethod()
133 SwapAllocator<CompiledMethod> alloc(storage->GetSwapSpaceAllocator()); in ReleaseSwapAllocatedCompiledMethod()
138 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.h39 class CompiledMethod; variable
60 virtual CompiledMethod* Compile(const dex::CodeItem* code_item,
69 virtual CompiledMethod* JniCompile(uint32_t access_flags,
Dcommon_compiler_test.h36 class CompiledMethod; variable
50 void MakeExecutable(ArtMethod* method, const CompiledMethod* compiled_method)
Dcommon_compiler_test.cc50 void CommonCompilerTest::MakeExecutable(ArtMethod* method, const CompiledMethod* compiled_method) { in MakeExecutable()
81 const void* method_code = CompiledMethod::CodePointer(code_ptr, in MakeExecutable()
176 CompiledMethod* compiled_method = nullptr; in CompileMethod()
212 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,
90 const CompiledMethod* compiled_method,
104 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()
397 void ArmBaseRelativePatcher::ProcessPatches(const CompiledMethod* compiled_method, in ProcessPatches()
/art/dex2oat/dex/
Ddex_to_dex_compiler.h33 class CompiledMethod; variable
57 CompiledMethod* CompileMethod(const dex::CodeItem* code_item,
Ddex_to_dex_compiler.cc507 CompiledMethod* DexToDexCompiler::CompileMethod( in CompileMethod()
616 CompiledMethod* ret = CompiledMethod::SwapAllocCompiledMethod( in CompileMethod()
663 CompiledMethod* method = driver_->RemoveCompiledMethod(ref); in UnquickenConflictingMethods()
668 CompiledMethod::ReleaseSwapAllocatedCompiledMethod(driver_->GetCompiledMethodStorage(), in UnquickenConflictingMethods()
Ddex_to_dex_decompiler_test.cc88 CompiledMethod* compiled_method = compiler_driver_->GetCompiledMethod( in RunTest()
/art/dex2oat/driver/
Dcompiler_driver.h63 class CompiledMethod; variable
133 CompiledMethod* GetCompiledMethod(MethodReference ref) const;
135 void AddCompiledMethod(const MethodReference& method_ref, CompiledMethod* const compiled_method);
136 CompiledMethod* RemoveCompiledMethod(const MethodReference& method_ref);
315 typedef AtomicDexRefMap<MethodReference, CompiledMethod*> MethodTable;
/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()
174 const CompiledMethod* method = reinterpret_cast<const CompiledMethod*>(-1); in TEST_F()
/art/compiler/jit/
Djit_compiler.h25 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.cc80 CompiledMethod::AlignCode(code_size, InstructionSet::kArm64) - code_size; in MaxExtraSpace()
100 const CompiledMethod* compiled_method, in ReserveSpace()
110 offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64) + in ReserveSpace()
155 offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64) + in ReserveSpaceEnd()
166 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64); in WriteThunks()
/art/dex2oat/linker/mips64/
Drelative_patcher_mips64.h30 const CompiledMethod* compiled_method,
Drelative_patcher_mips64.cc28 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in ReserveSpace()
/art/dex2oat/linker/mips/
Drelative_patcher_mips.h32 const CompiledMethod* compiled_method,
Drelative_patcher_mips.cc28 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in ReserveSpace()
/art/compiler/optimizing/
Doptimizing_compiler.cc276 CompiledMethod* Compile(const dex::CodeItem* code_item,
285 CompiledMethod* JniCompile(uint32_t access_flags,
367 CompiledMethod* Emit(ArenaAllocator* allocator,
750 CompiledMethod* OptimizingCompiler::Emit(ArenaAllocator* allocator, in Emit()
758 CompiledMethod* compiled_method = CompiledMethod::SwapAllocCompiledMethod( in Emit()
1042 CompiledMethod* OptimizingCompiler::Compile(const dex::CodeItem* code_item, in Compile()
1051 CompiledMethod* compiled_method = nullptr; in Compile()
1174 CompiledMethod* OptimizingCompiler::JniCompile(uint32_t access_flags, in JniCompile()
1213 CompiledMethod* compiled_method = Emit(&allocator, in JniCompile()
1230 return CompiledMethod::SwapAllocCompiledMethod( in JniCompile()

12