Home
last modified time | relevance | path

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

12

/art/compiler/
Dcompiled_method.cc124 CompiledMethod::CompiledMethod(CompilerDriver* driver, in CompiledMethod() function in art::CompiledMethod
170 CompiledMethod* CompiledMethod::SwapAllocCompiledMethod( in SwapAllocCompiledMethod()
183 SwapAllocator<CompiledMethod> alloc(driver->GetSwapSpaceAllocator()); in SwapAllocCompiledMethod()
184 CompiledMethod* ret = alloc.allocate(1); in SwapAllocCompiledMethod()
193 void CompiledMethod::ReleaseSwapAllocatedCompiledMethod(CompilerDriver* driver, CompiledMethod* m) { in ReleaseSwapAllocatedCompiledMethod()
194 SwapAllocator<CompiledMethod> alloc(driver->GetSwapSpaceAllocator()); in ReleaseSwapAllocatedCompiledMethod()
199 CompiledMethod::~CompiledMethod() { in ~CompiledMethod()
Dcompiler.h29 class CompiledMethod; variable
48 virtual CompiledMethod* Compile(const DexFile::CodeItem* code_item,
56 virtual CompiledMethod* JniCompile(uint32_t access_flags,
Doat_writer.h34 class CompiledMethod; variable
123 CompiledMethod* compiled_method_;
204 const std::vector<CompiledMethod*>& compiled_methods,
214 CompiledMethod* GetCompiledMethod(size_t class_def_method_index) const { in GetCompiledMethod()
224 std::vector<CompiledMethod*> compiled_methods_;
Dcompiled_method.h307 class CompiledMethod FINAL : public CompiledCode {
312 CompiledMethod(CompilerDriver* driver,
325 virtual ~CompiledMethod();
327 static CompiledMethod* SwapAllocCompiledMethod(
341 static void ReleaseSwapAllocatedCompiledMethod(CompilerDriver* driver, CompiledMethod* m);
Doat_writer.cc160 static const SwapVector<uint8_t>* GetData(const CompiledMethod* compiled_method) ALWAYS_INLINE { in GetData()
182 static const SwapVector<uint8_t>* GetData(const CompiledMethod* compiled_method) ALWAYS_INLINE { in GetData()
204 static const SwapVector<uint8_t>* GetData(const CompiledMethod* compiled_method) ALWAYS_INLINE { in GetData()
316 CompiledMethod* compiled_method = in VisitMethod()
346 std::vector<CompiledMethod*> compiled_methods_;
370 CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index); in VisitMethod()
503 bool operator()(const CompiledMethod* lhs, const CompiledMethod* rhs) const { in operator ()()
533 uint32_t NewQuickCodeOffset(CompiledMethod* compiled_method, in NewQuickCodeOffset()
546 SafeMap<const CompiledMethod*, uint32_t, CodeOffsetsKeyComparator> dedupe_map_;
562 CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index); in VisitMethod()
[all …]
Dcommon_compiler_test.cc47 const CompiledMethod* compiled_method = nullptr; in MakeExecutable()
98 const void* method_code = CompiledMethod::CodePointer(code_ptr, in MakeExecutable()
Doat_test.cc48 const CompiledMethod* compiled_method = in CheckMethod()
/art/compiler/linker/arm/
Drelative_patcher_arm_base.cc27 const CompiledMethod* compiled_method, in ReserveSpace()
37 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in ReserveSpaceEnd()
42 offset = CompiledMethod::AlignCode(aligned_offset + thunk_code_.size(), instruction_set_); in ReserveSpaceEnd()
51 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in WriteThunks()
63 offset = CompiledMethod::AlignCode(thunk_end_offset, instruction_set_); in WriteThunks()
84 const CompiledMethod* compiled_method, in ReserveSpaceInternal()
104 offset = CompiledMethod::AlignCode(thunk_location + thunk_code_.size(), instruction_set_); in ReserveSpaceInternal()
Drelative_patcher_arm_base.h30 uint32_t ReserveSpace(uint32_t offset, const CompiledMethod* compiled_method,
40 uint32_t ReserveSpaceInternal(uint32_t offset, const CompiledMethod* compiled_method,
/art/compiler/jni/quick/
Djni_compiler.h25 class CompiledMethod; variable
27 CompiledMethod* ArtQuickJniCompileMethod(CompilerDriver* compiler, uint32_t access_flags,
Djni_compiler.cc61 CompiledMethod* ArtJniCompileMethodInternal(CompilerDriver* driver, in ArtJniCompileMethodInternal()
483 return CompiledMethod::SwapAllocCompiledMethod(driver, in ArtJniCompileMethodInternal()
600 CompiledMethod* ArtQuickJniCompileMethod(CompilerDriver* compiler, uint32_t access_flags, in ArtQuickJniCompileMethod()
/art/compiler/jit/
Djit_compiler.h44 bool AddToCodeCache(ArtMethod* method, const CompiledMethod* compiled_method,
63 const CompiledMethod* compiled_method, uint8_t* reserve_begin, uint8_t* reserve_end,
65 bool MakeExecutable(CompiledMethod* compiled_method, ArtMethod* method)
Djit_compiler.cc140 CompiledMethod* compiled_method = nullptr; in CompileMethod()
178 uint8_t* JitCompiler::WriteMethodHeaderAndCode(const CompiledMethod* compiled_method, in WriteMethodHeaderAndCode()
207 bool JitCompiler::AddToCodeCache(ArtMethod* method, const CompiledMethod* compiled_method, in AddToCodeCache()
266 bool JitCompiler::MakeExecutable(CompiledMethod* compiled_method, ArtMethod* method) { in MakeExecutable()
/art/compiler/optimizing/
Doptimizing_compiler.cc177 CompiledMethod* Compile(const DexFile::CodeItem* code_item,
185 CompiledMethod* TryCompile(const DexFile::CodeItem* code_item,
193 CompiledMethod* JniCompile(uint32_t access_flags, in JniCompile()
223 CompiledMethod* CompileOptimized(HGraph* graph,
231 CompiledMethod* CompileBaseline(CodeGenerator* codegen,
397 CompiledMethod* OptimizingCompiler::CompileOptimized(HGraph* graph, in CompileOptimized()
422 return CompiledMethod::SwapAllocCompiledMethod( in CompileOptimized()
440 CompiledMethod* OptimizingCompiler::CompileBaseline( in CompileBaseline()
459 return CompiledMethod::SwapAllocCompiledMethod( in CompileBaseline()
477 CompiledMethod* OptimizingCompiler::TryCompile(const DexFile::CodeItem* code_item, in TryCompile()
[all …]
/art/compiler/dex/quick/
Dquick_compiler.h40 CompiledMethod* Compile(const DexFile::CodeItem* code_item,
48 CompiledMethod* JniCompile(uint32_t access_flags,
Dquick_compiler.cc612 CompiledMethod* QuickCompiler::Compile(const DexFile::CodeItem* code_item, in Compile()
751 CompiledMethod* result = nullptr; in Compile()
789 CompiledMethod* QuickCompiler::JniCompile(uint32_t access_flags, in JniCompile()
/art/compiler/linker/
Drelative_patcher.h30 class CompiledMethod; variable
86 virtual uint32_t ReserveSpace(uint32_t offset, const CompiledMethod* compiled_method,
Drelative_patcher.cc36 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in Create()
Drelative_patcher_test.h74 compiled_methods_.emplace_back(new CompiledMethod( in AddCompiledMethod()
246 std::vector<std::unique_ptr<CompiledMethod>> compiled_methods_;
/art/compiler/linker/arm64/
Drelative_patcher_arm64.cc44 const CompiledMethod* compiled_method, in ReserveSpace()
54 offset = CompiledMethod::AlignCode(offset, kArm64) + kAdrpThunkSize * num_adrp_thunks; in ReserveSpace()
99 offset = CompiledMethod::AlignCode(offset, kArm64) + kAdrpThunkSize * num_adrp_thunks; in ReserveSpaceEnd()
109 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, kArm64); in WriteThunks()
Drelative_patcher_arm64.h31 uint32_t ReserveSpace(uint32_t offset, const CompiledMethod* compiled_method,
/art/compiler/linker/x86/
Drelative_patcher_x86_base.h28 const CompiledMethod* compiled_method,
Drelative_patcher_x86_base.cc24 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in ReserveSpace()
/art/runtime/jit/
Djit_code_cache.h35 class CompiledMethod; variable
/art/compiler/driver/
Dcompiler_driver.h57 class CompiledMethod; variable
119 CompiledMethod* CompileMethod(Thread* self, ArtMethod*)
182 CompiledMethod* GetCompiledMethod(MethodReference ref) const
636 typedef SafeMap<const MethodReference, CompiledMethod*, MethodReferenceComparator> MethodTable;

12