Home
last modified time | relevance | path

Searched refs:CompiledMethod (Results 1 – 25 of 30) 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
53 void MakeExecutable(ArtMethod* method, const CompiledMethod* compiled_method)
Dcommon_compiler_test.cc61 void CommonCompilerTest::MakeExecutable(ArtMethod* method, const CompiledMethod* compiled_method) { in MakeExecutable()
92 const void* method_code = CompiledMethod::CodePointer(code_ptr, in MakeExecutable()
189 CompiledMethod* compiled_method = nullptr; in CompileMethod()
225 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/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
136 CompiledMethod* GetCompiledMethod(MethodReference ref) const;
138 void AddCompiledMethod(const MethodReference& method_ref, CompiledMethod* const compiled_method);
139 CompiledMethod* RemoveCompiledMethod(const MethodReference& method_ref);
318 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()
180 const CompiledMethod* method = reinterpret_cast<const CompiledMethod*>(-1); in TEST_F()
Drelative_patcher.cc47 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in Create()
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_;
Doat_writer.cc103 inline uint32_t CodeAlignmentSize(uint32_t header_offset, const CompiledMethod& compiled_method) { in CodeAlignmentSize()
254 OatClass(const dchecked_vector<CompiledMethod*>& compiled_methods,
261 CompiledMethod* GetCompiledMethod(size_t class_def_method_index) const { in GetCompiledMethod()
266 dchecked_vector<CompiledMethod*> compiled_methods_;
883 static bool HasCompiledCode(const CompiledMethod* method) { in HasCompiledCode()
887 static bool HasQuickeningInfo(const CompiledMethod* method) { in HasQuickeningInfo()
901 CompiledMethod* compiled_method = writer_->compiler_driver_->GetCompiledMethod( in VisitMethod()
987 CompiledMethod* compiled_method = in VisitMethod()
1033 dchecked_vector<CompiledMethod*> compiled_methods_;
1043 CompiledMethod* compiled_method;
[all …]
/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.cc81 CompiledMethod::AlignCode(code_size, InstructionSet::kArm64) - code_size; in MaxExtraSpace()
101 const CompiledMethod* compiled_method, in ReserveSpace()
111 offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64) + in ReserveSpace()
156 offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64) + in ReserveSpaceEnd()
167 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64); in WriteThunks()
Drelative_patcher_arm64.h38 const CompiledMethod* compiled_method,
/art/compiler/optimizing/
Doptimizing_compiler.cc277 CompiledMethod* Compile(const dex::CodeItem* code_item,
286 CompiledMethod* JniCompile(uint32_t access_flags,
364 CompiledMethod* Emit(ArenaAllocator* allocator,
702 CompiledMethod* OptimizingCompiler::Emit(ArenaAllocator* allocator, in Emit()
710 CompiledMethod* compiled_method = CompiledMethod::SwapAllocCompiledMethod( in Emit()
997 CompiledMethod* OptimizingCompiler::Compile(const dex::CodeItem* code_item, in Compile()
1007 CompiledMethod* compiled_method = nullptr; in Compile()
1132 CompiledMethod* OptimizingCompiler::JniCompile(uint32_t access_flags, in JniCompile()
1171 CompiledMethod* compiled_method = Emit(&allocator, in JniCompile()
1188 return CompiledMethod::SwapAllocCompiledMethod( in JniCompile()
/art/compiler/debug/
Delf_symtab_writer.h100 address += CompiledMethod::CodeDelta(info.isa); in WriteDebugSymbols()

12