Home
last modified time | relevance | path

Searched refs:CodeAllocator (Results 1 – 25 of 34) sorted by relevance

12

/arkcompiler/runtime_core/static_core/libpandabase/mem/
Dcode_allocator.cpp26 const Alignment CodeAllocator::PAGE_LOG_ALIGN = GetLogAlignment(os::mem::GetPageSize());
28 CodeAllocator::CodeAllocator(BaseMemStats *memStats) in CodeAllocator() function in ark::CodeAllocator
39 CodeAllocator::~CodeAllocator() in ~CodeAllocator()
45 void *CodeAllocator::AllocateCode(size_t size, const void *codeBuff) in AllocateCode()
58 os::mem::MapRange<std::byte> CodeAllocator::AllocateCodeUnprotected(size_t size) in AllocateCodeUnprotected()
71 void CodeAllocator::ProtectCode(os::mem::MapRange<std::byte> memRange) in ProtectCode()
76 bool CodeAllocator::InAllocatedCodeRange(const void *pc) in InAllocatedCodeRange()
82 void CodeAllocator::CodeRangeUpdate(void *ptr, size_t size) in CodeRangeUpdate()
Dcode_allocator.h27 class CodeAllocator {
29 PANDA_PUBLIC_API explicit CodeAllocator(BaseMemStats *memStats);
30 PANDA_PUBLIC_API ~CodeAllocator();
31 NO_COPY_SEMANTIC(CodeAllocator);
32 NO_MOVE_SEMANTIC(CodeAllocator);
/arkcompiler/runtime_core/libpandabase/mem/
Dcode_allocator.cpp26 const Alignment CodeAllocator::PAGE_LOG_ALIGN = GetLogAlignment(os::mem::GetPageSize());
28 CodeAllocator::CodeAllocator(BaseMemStats *mem_stats) in CodeAllocator() function in panda::CodeAllocator
41 CodeAllocator::~CodeAllocator() in ~CodeAllocator()
47 void *CodeAllocator::AllocateCode(size_t size, const void *code_buff) in AllocateCode()
60 os::mem::MapRange<std::byte> CodeAllocator::AllocateCodeUnprotected(size_t size) in AllocateCodeUnprotected()
73 void CodeAllocator::ProtectCode(os::mem::MapRange<std::byte> mem_range) in ProtectCode()
78 bool CodeAllocator::InAllocatedCodeRange(const void *pc) in InAllocatedCodeRange()
84 void CodeAllocator::CodeRangeUpdate(void *ptr, size_t size) in CodeRangeUpdate()
Dcode_allocator.h27 class CodeAllocator {
29 explicit CodeAllocator(BaseMemStats *mem_stats);
30 ~CodeAllocator();
31 NO_COPY_SEMANTIC(CodeAllocator);
32 NO_MOVE_SEMANTIC(CodeAllocator);
/arkcompiler/runtime_core/static_core/compiler/
Dcompile_method.cpp37 static Span<uint8_t> EmitElf(Graph *graph, CodeAllocator *codeAllocator, ArenaAllocator *gdbDebugIn…
116 static Span<uint8_t> EmitCode(const Graph *graph, CodeAllocator *allocator) in EmitCode()
143 [[maybe_unused]] bool isOsr, CodeAllocator *codeAllocator, in GetEntryPoint()
190 static bool CheckCompilation(RuntimeInterface *runtime, CodeAllocator *codeAllocator, in CheckCompilation()
231 void JITCompileMethod(RuntimeInterface *runtime, CodeAllocator *codeAllocator, ArenaAllocator *gdbD… in JITCompileMethod()
323 template void JITCompileMethod<BACKGROUND_MODE>(RuntimeInterface *, CodeAllocator *, ArenaAllocator…
325 template void JITCompileMethod<INPLACE_MODE>(RuntimeInterface *, CodeAllocator *, ArenaAllocator *,…
333 template bool CheckCompilation<BACKGROUND_MODE>(RuntimeInterface *, CodeAllocator *, ArenaAllocator…
335 template bool CheckCompilation<INPLACE_MODE>(RuntimeInterface *, CodeAllocator *, ArenaAllocator *,…
411 static Span<uint8_t> EmitElf(Graph *graph, CodeAllocator *codeAllocator, ArenaAllocator *gdbDebugIn… in EmitElf()
Dcompile_method.h68 void JITCompileMethod(RuntimeInterface *runtime, CodeAllocator *codeAllocator, ArenaAllocator *gdbD…
/arkcompiler/runtime_core/static_core/compiler/tests/
Dencoder_test_common.h138 codeAlloc_ = new (std::nothrow) CodeAllocator(memStats_);
154 CodeAllocator *GetCodeAllocator() in GetCodeAllocator()
164 codeAlloc_ = new (std::nothrow) CodeAllocator(memStats_); in ResetCodeAllocator()
209 CodeAllocator *codeAlloc_ {nullptr};
Dasm_printer_test.cpp67 codeAlloc_ = new (std::nothrow) CodeAllocator(memStats_); in PrinterTest()
126 CodeAllocator *GetCodeAllocator() in GetCodeAllocator()
141 codeAlloc_ = new (std::nothrow) CodeAllocator(memStats_); in ResetCodeAllocator()
292 CodeAllocator *codeAlloc_ {nullptr};
/arkcompiler/runtime_core/static_core/compiler/tools/debug/
Djit_writer.h47 …JitDebugWriter(Arch arch, RuntimeInterface *runtime, CodeAllocator *codeAllocator, const std::stri… in JitDebugWriter()
79 CodeAllocator *codeAllocator_ {nullptr};
/arkcompiler/runtime_core/static_core/runtime/mem/
Dheap_manager.h78 CodeAllocator *GetCodeAllocator() const;
223 codeAllocator_ = new (std::nothrow) CodeAllocator(memStats); in Initialize()
277 CodeAllocator *codeAllocator_ = nullptr;
/arkcompiler/runtime_core/tests/fuzztest/makereadexec_fuzzer/
Dmakereadexec_fuzzer.cpp37 panda::CodeAllocator ca(&stats); in MakeReadExecFuzzTest()
/arkcompiler/runtime_core/static_core/libpandabase/tests/
Dcode_allocator_test.cpp63 CodeAllocator ca(&stats); in TEST_F()
Dbase_mem_stats_test.cpp60 CodeAllocator ca(&stats); in TEST_F()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/epsilon-g1/
Depsilon-g1.h26 using CodeAllocatorType = CodeAllocator;
/arkcompiler/runtime_core/compiler/tests/
Dasm_printer_test.cpp82 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in PrinterTest()
102 CodeAllocator *GetCodeAllocator() in GetCodeAllocator()
117 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in ResetCodeAllocator()
242 CodeAllocator *code_alloc_ {nullptr};
/arkcompiler/runtime_core/libpandabase/tests/
Dcode_allocator_test.cpp59 CodeAllocator ca(&stats);
Dbase_mem_stats_test.cpp58 CodeAllocator ca(&stats);
/arkcompiler/runtime_core/static_core/runtime/mem/gc/epsilon/
Depsilon.h26 using CodeAllocatorType = CodeAllocator;
/arkcompiler/runtime_core/static_core/compiler/tests/aarch64/
Dcallconv64_test.cpp38 codeAlloc_ = new (std::nothrow) CodeAllocator(memStats_); in Callconv64Test()
79 CodeAllocator *codeAlloc_ {nullptr};
/arkcompiler/runtime_core/compiler/tests/aarch64/
Dcallconv64_test.cpp45 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in Callconv64Test()
83 CodeAllocator *code_alloc_ {nullptr};
/arkcompiler/runtime_core/static_core/compiler/tests/amd64/
Dcallconv64_test.cpp39 codeAlloc_ = new (std::nothrow) CodeAllocator(memStats_); in Callconv64Test()
80 CodeAllocator *codeAlloc_ {nullptr};
/arkcompiler/runtime_core/compiler/tests/amd64/
Dcallconv64_test.cpp45 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in Callconv64Test()
83 CodeAllocator *code_alloc_ {nullptr};
/arkcompiler/runtime_core/static_core/runtime/mem/gc/gen-gc/
Dgen-gc.h33 using CodeAllocatorType = CodeAllocator;
/arkcompiler/runtime_core/static_core/runtime/mem/gc/stw-gc/
Dstw-gc.h28 using CodeAllocatorType = CodeAllocator;
/arkcompiler/runtime_core/static_core/compiler/tests/aarch32/
Dcallconv32_test.cpp38 codeAlloc_ = new (std::nothrow) CodeAllocator(memStats_); in Callconv32Test()
301 CodeAllocator *codeAlloc_ {nullptr};

12