Home
last modified time | relevance | path

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

12

/art/dex2oat/driver/
Dcompiled_method.cc61 CompiledMethod::CompiledMethod(CompiledMethodStorage* storage, in CompiledMethod() function in art::CompiledMethod
73 CompiledMethod* CompiledMethod::SwapAllocCompiledMethod( in SwapAllocCompiledMethod()
80 SwapAllocator<CompiledMethod> alloc(storage->GetSwapSpaceAllocator()); in SwapAllocCompiledMethod()
81 CompiledMethod* ret = alloc.allocate(1); in SwapAllocCompiledMethod()
91 void CompiledMethod::ReleaseSwapAllocatedCompiledMethod(CompiledMethodStorage* storage, in ReleaseSwapAllocatedCompiledMethod()
92 CompiledMethod* m) { in ReleaseSwapAllocatedCompiledMethod()
93 SwapAllocator<CompiledMethod> alloc(storage->GetSwapSpaceAllocator()); in ReleaseSwapAllocatedCompiledMethod()
98 CompiledMethod::~CompiledMethod() { in ~CompiledMethod()
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()
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.h100 class CompiledMethod final : public CompiledCode {
105 CompiledMethod(CompiledMethodStorage* storage,
112 virtual ~CompiledMethod();
114 static CompiledMethod* SwapAllocCompiledMethod(
122 static void ReleaseSwapAllocatedCompiledMethod(CompiledMethodStorage* storage, CompiledMethod* m);
Dcompiler_driver.h61 class CompiledMethod; variable
139 CompiledMethod* GetCompiledMethod(MethodReference ref) const;
141 void AddCompiledMethod(const MethodReference& method_ref, CompiledMethod* const compiled_method);
142 CompiledMethod* RemoveCompiledMethod(const MethodReference& method_ref);
314 using MethodTable = AtomicDexRefMap<MethodReference, CompiledMethod*>;
Dcompiled_method_storage.cc256 CompiledMethod* CompiledMethodStorage::CreateCompiledMethod( in CreateCompiledMethod()
263 CompiledMethod* compiled_method = CompiledMethod::SwapAllocCompiledMethod( in CreateCompiledMethod()
Dcompiled_method_storage.h73 CompiledMethod* CreateCompiledMethod(InstructionSet instruction_set,
Dcompiler_driver.cc278 CompiledMethod* method) { in ~CompilerDriver()
280 CompiledMethod::ReleaseSwapAllocatedCompiledMethod(GetCompiledMethodStorage(), method); in ~CompilerDriver()
382 CompiledMethod* compiled_method; in CompileMethodHarness()
474 CompiledMethod* compiled_method = nullptr; in CompileMethodQuick()
2683 CompiledMethod* const compiled_method) { in AddCompiledMethod()
2692 CompiledMethod* CompilerDriver::RemoveCompiledMethod(const MethodReference& method_ref) { in RemoveCompiledMethod()
2693 CompiledMethod* ret = nullptr; in RemoveCompiledMethod()
2768 CompiledMethod* CompilerDriver::GetCompiledMethod(MethodReference ref) const { in GetCompiledMethod()
2769 CompiledMethod* compiled_method = nullptr; in GetCompiledMethod()
Dcompiler_driver_test.cc87 const CompiledMethod* compiled_method = compiler_driver_->GetCompiledMethod(method_ref); in MakeExecutable()
/art/compiler/driver/
Dcompiled_code_storage.h31 class CompiledMethod; variable
44 virtual CompiledMethod* CreateCompiledMethod(InstructionSet instruction_set,
/art/compiler/
Dcompiler.h43 class CompiledMethod; variable
62 virtual CompiledMethod* Compile(const dex::CodeItem* code_item,
71 virtual CompiledMethod* JniCompile(uint32_t access_flags,
Dcommon_compiler_test.cc133 CompiledMethod* CreateCompiledMethod(InstructionSet instruction_set, in CreateCompiledMethod()
150 return reinterpret_cast<CompiledMethod*>(this); in CreateCompiledMethod()
274 CompiledMethod* compiled_method = nullptr; in CompileMethod()
/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/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()
395 std::vector<std::unique_ptr<CompiledMethod>> compiled_methods_;
Drelative_patcher.cc47 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in Create()
Doat_writer.cc107 inline uint32_t CodeAlignmentSize(uint32_t header_offset, const CompiledMethod& compiled_method) { in CodeAlignmentSize()
189 OatClass(const dchecked_vector<CompiledMethod*>& compiled_methods,
196 CompiledMethod* GetCompiledMethod(size_t class_def_method_index) const { in GetCompiledMethod()
201 dchecked_vector<CompiledMethod*> compiled_methods_;
763 static bool HasCompiledCode(const CompiledMethod* method) { in HasCompiledCode()
775 CompiledMethod* compiled_method = writer_->compiler_driver_->GetCompiledMethod( in VisitMethod()
873 CompiledMethod* compiled_method = in VisitMethod()
919 dchecked_vector<CompiledMethod*> compiled_methods_;
952 CompiledMethod* compiled_method;
1081 CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index); in VisitMethod()
[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.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.cc277 CompiledMethod* Compile(const dex::CodeItem* code_item,
286 CompiledMethod* JniCompile(uint32_t access_flags,
363 CompiledMethod* Emit(ArenaAllocator* allocator,
721 CompiledMethod* OptimizingCompiler::Emit(ArenaAllocator* allocator, in Emit()
730 CompiledMethod* compiled_method = storage->CreateCompiledMethod( in Emit()
1025 CompiledMethod* OptimizingCompiler::Compile(const dex::CodeItem* code_item, in Compile()
1035 CompiledMethod* compiled_method = nullptr; in Compile()
1149 CompiledMethod* OptimizingCompiler::JniCompile(uint32_t access_flags, in JniCompile()

12