Home
last modified time | relevance | path

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

/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/libpandabase/tests/
Dcode_allocator_test.cpp59 CodeAllocator ca(&stats);
Dbase_mem_stats_test.cpp58 CodeAllocator ca(&stats);
/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/compiler/tests/aarch64/
Dcallconv64_test.cpp45 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in Callconv64Test()
83 CodeAllocator *code_alloc_ {nullptr};
Dencoder64_test.cpp143 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in Encoder64Test()
157 CodeAllocator *GetCodeAllocator() in GetCodeAllocator()
167 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in ResetCodeAllocator()
430 CodeAllocator *code_alloc_ {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};
Dencoder64_test.cpp129 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in Encoder64Test()
149 CodeAllocator *GetCodeAllocator() in GetCodeAllocator()
159 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in ResetCodeAllocator()
427 CodeAllocator *code_alloc_ {nullptr};
/arkcompiler/runtime_core/compiler/tests/aarch32/
Dcallconv32_test.cpp45 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in Callconv32Test()
83 CodeAllocator *code_alloc_ {nullptr};
Dencoder32_test.cpp131 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in Encoder32Test()
143 CodeAllocator *GetCodeAllocator() in GetCodeAllocator()
153 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in ResetCodeAllocator()
416 CodeAllocator *code_alloc_ {nullptr};
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph.h29 class CodeAllocator; variable