/arkcompiler/runtime_core/libpandabase/tests/ |
D | mmap_mem_pool_test.cpp | 63 MmapMemPool *memPool = CreateMMapMemPool(4_MB); variable 65 …auto pool1 = memPool->AllocPool(4_MB, SpaceType::SPACE_TYPE_HUMONGOUS_OBJECT, AllocatorType::HUMON… 67 …auto pool2 = memPool->AllocPool(4_MB, SpaceType::SPACE_TYPE_HUMONGOUS_OBJECT, AllocatorType::HUMON… 69 …auto pool3 = memPool->AllocPool(4_MB, SpaceType::SPACE_TYPE_NON_MOVABLE_OBJECT, AllocatorType::HUM… 71 …auto pool4 = memPool->AllocPool(4_MB, SpaceType::SPACE_TYPE_OBJECT, AllocatorType::HUMONGOUS_ALLOC… 74 memPool->FreePool(pool1.GetMem(), pool1.GetSize()); 79 MmapMemPool *memPool = CreateMMapMemPool(4_MB, 1_MB, 1_MB, 1_MB); variable 81 …auto pool1 = memPool->AllocPool(4_MB, SpaceType::SPACE_TYPE_OBJECT, AllocatorType::BUMP_ALLOCATOR); 83 …auto pool2 = memPool->AllocPool(4_MB, SpaceType::SPACE_TYPE_OBJECT, AllocatorType::BUMP_ALLOCATOR); 85 …auto pool3 = memPool->AllocPool(1_MB, SpaceType::SPACE_TYPE_COMPILER, AllocatorType::BUMP_ALLOCATO… [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
D | asm_info.h | 165 explicit AsmInfo(MemPool &memPool) in AsmInfo() argument 167 : asmCmnt("\t//\t", &memPool), in AsmInfo() 169 : asmCmnt("\t@\t", &memPool), in AsmInfo() 171 : asmCmnt("\t#\t", &memPool), in AsmInfo() 174 asmAtObt("\t%object\t", &memPool), in AsmInfo() 175 asmFile("\t.file\t", &memPool), in AsmInfo() 176 asmSection("\t.section\t", &memPool), in AsmInfo() 177 asmRodata(".rodata\t", &memPool), in AsmInfo() 178 asmGlobal("\t.global\t", &memPool), in AsmInfo() 179 asmLocal("\t.local\t", &memPool), in AsmInfo() [all …]
|
D | cfi.h | 62 CfiInsn(MemPool &memPool, maplebe::MOperator op) : Insn(memPool, op) {} in CfiInsn() argument 64 …CfiInsn(MemPool &memPool, maplebe::MOperator op, maplebe::Operand &opnd0) : Insn(memPool, op, opnd… in CfiInsn() argument 66 … CfiInsn(MemPool &memPool, maplebe::MOperator op, maplebe::Operand &opnd0, maplebe::Operand &opnd1) in CfiInsn() argument 67 : Insn(memPool, op, opnd0, opnd1) in CfiInsn() 71 … CfiInsn(MemPool &memPool, maplebe::MOperator op, maplebe::Operand &opnd0, maplebe::Operand &opnd1, in CfiInsn() argument 73 : Insn(memPool, op, opnd0, opnd1, opnd2) in CfiInsn() 132 Operand *Clone(MemPool &memPool) const override in Clone() argument 134 Operand *opnd = memPool.Clone<RegOperand>(*this); in Clone() 157 Operand *Clone(MemPool &memPool) const override in Clone() argument 159 Operand *opnd = memPool.Clone<ImmOperand>(*this); in Clone() [all …]
|
D | live.h | 28 LiveAnalysis(CGFunc &func, MemPool &memPool) in LiveAnalysis() argument 29 …: AnalysisResult(&memPool), cgFunc(&func), memPool(&memPool), alloc(&memPool), stackMp(func.GetSta… in LiveAnalysis() 60 return memPool->New<SparseDataInfo>(maxRegCount, alloc); in NewLiveIn() 65 return memPool->New<SparseDataInfo>(maxRegCount, alloc); in NewLiveOut() 70 return memPool->New<SparseDataInfo>(maxRegCount, alloc); in NewDef() 75 return memPool->New<SparseDataInfo>(def, alloc); in NewDef() 80 return memPool->New<SparseDataInfo>(maxRegCount, alloc); in NewUse() 85 return memPool->New<SparseDataInfo>(use, alloc); in NewUse() 96 MemPool *memPool; variable
|
D | dbg.h | 41 DbgInsn(MemPool &memPool, maplebe::MOperator op) : Insn(memPool, op) {} in DbgInsn() argument 43 …DbgInsn(MemPool &memPool, maplebe::MOperator op, maplebe::Operand &opnd0) : Insn(memPool, op, opnd… in DbgInsn() argument 45 … DbgInsn(MemPool &memPool, maplebe::MOperator op, maplebe::Operand &opnd0, maplebe::Operand &opnd1) in DbgInsn() argument 46 : Insn(memPool, op, opnd0, opnd1) in DbgInsn() 50 … DbgInsn(MemPool &memPool, maplebe::MOperator op, maplebe::Operand &opnd0, maplebe::Operand &opnd1, in DbgInsn() argument 52 : Insn(memPool, op, opnd0, opnd1, opnd2) in DbgInsn() 109 Operand *Clone(MemPool &memPool) const override in Clone() argument 111 Operand *opnd = memPool.Clone<ImmOperand>(*this); in Clone()
|
D | reg_alloc.h | 57 …RegAllocator(CGFunc &tempCGFunc, MemPool &memPool) : cgFunc(&tempCGFunc), memPool(&memPool), alloc… in RegAllocator() argument 72 MemPool *memPool; variable
|
D | strldr.h | 24 StoreLoadOpt(CGFunc &func, MemPool &memPool) : cgFunc(func), memPool(memPool) {} in StoreLoadOpt() argument 34 MemPool &memPool; variable
|
D | ra_opt.h | 25 RaOpt(CGFunc &func, MemPool &pool) : cgFunc(&func), memPool(&pool) {} in RaOpt() 42 return memPool; in GetMemPool() 47 MemPool *memPool; variable
|
D | insn.h | 49 Insn(MemPool &memPool, MOperator opc) in Insn() argument 51 localAlloc(&memPool), in Insn() 54 comment(&memPool) in Insn() 57 Insn(MemPool &memPool, MOperator opc, Operand &opnd0) : Insn(memPool, opc) in Insn() argument 61 Insn(MemPool &memPool, MOperator opc, Operand &opnd0, Operand &opnd1) : Insn(memPool, opc) in Insn() argument 66 …Insn(MemPool &memPool, MOperator opc, Operand &opnd0, Operand &opnd1, Operand &opnd2) : Insn(memPo… in Insn() argument 72 …Insn(MemPool &memPool, MOperator opc, Operand &opnd0, Operand &opnd1, Operand &opnd2, Operand &opn… in Insn() argument 73 : Insn(memPool, opc) in Insn() 80 …Insn(MemPool &memPool, MOperator opc, Operand &opnd0, Operand &opnd1, Operand &opnd2, Operand &opn… in Insn() argument 82 : Insn(memPool, opc) in Insn() [all …]
|
D | regsaves.h | 25 RegSavesOpt(CGFunc &func, MemPool &pool) : cgFunc(&func), memPool(&pool), alloc(&pool) {} in RegSavesOpt() 43 return memPool; in GetMemPool() 58 MemPool *memPool; variable
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
D | mmap_mem_pool_test.cpp | 55 MmapMemPool *memPool = CreateMMapMemPool(MMAP_MEMORY_SIZE); in ReturnedToOsTest() local 60 …pools[i] = memPool->AllocPool(4_MB, SpaceType::SPACE_TYPE_OBJECT, AllocatorType::HUMONGOUS_ALLOCAT… in ReturnedToOsTest() 65 …fourthPool = memPool->AllocPool(4_MB, SpaceType::SPACE_TYPE_OBJECT, AllocatorType::HUMONGOUS_ALLOC… in ReturnedToOsTest() 71 … memPool->template FreePool<OSPagesPolicy::NO_RETURN>(pools[0U].GetMem(), pools[0U].GetSize()); in ReturnedToOsTest() 73 …memPool->template FreePool<OSPagesPolicy::IMMEDIATE_RETURN>(pools[0U].GetMem(), pools[0U].GetSize(… in ReturnedToOsTest() 76 … memPool->template FreePool<OSPagesPolicy::NO_RETURN>(pools[2U].GetMem(), pools[2U].GetSize()); in ReturnedToOsTest() 78 …memPool->template FreePool<OSPagesPolicy::IMMEDIATE_RETURN>(pools[2U].GetMem(), pools[2U].GetSize(… in ReturnedToOsTest() 81 … memPool->template FreePool<OSPagesPolicy::NO_RETURN>(pools[1U].GetMem(), pools[1U].GetSize()); in ReturnedToOsTest() 83 …memPool->template FreePool<OSPagesPolicy::IMMEDIATE_RETURN>(pools[1U].GetMem(), pools[1U].GetSize(… in ReturnedToOsTest() 87 auto finalPool = memPool->template AllocPool<OSPagesAllocPolicy::ZEROED_MEMORY>( in ReturnedToOsTest() [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
D | x64_cfgo.cpp | 25 diffPassPatterns.emplace_back(memPool->New<ChainingPattern>(*cgFunc)); in InitOptimizePatterns() 27 diffPassPatterns.emplace_back(memPool->New<SequentialJumpPattern>(*cgFunc)); in InitOptimizePatterns() 28 diffPassPatterns.emplace_back(memPool->New<X64FlipBRPattern>(*cgFunc)); in InitOptimizePatterns() 29 diffPassPatterns.emplace_back(memPool->New<DuplicateBBPattern>(*cgFunc)); in InitOptimizePatterns() 30 diffPassPatterns.emplace_back(memPool->New<UnreachBBPattern>(*cgFunc)); in InitOptimizePatterns() 31 diffPassPatterns.emplace_back(memPool->New<EmptyBBPattern>(*cgFunc)); in InitOptimizePatterns()
|
D | x64_optimize_common.cpp | 44 MemPool *memPool = const_cast<MemPool *>(CG::GetCurCGFunc()->GetMemoryPool()); in CloneInsn() local 47 return memPool->Clone<Insn>(originalInsn); in CloneInsn() 49 auto *insn = memPool->Clone<VectorInsn>(*static_cast<VectorInsn *>(&originalInsn)); in CloneInsn() 54 return memPool->Clone<cfi::CfiInsn>(*static_cast<cfi::CfiInsn *>(&originalInsn)); in CloneInsn() 56 return memPool->Clone<mpldbg::DbgInsn>(*static_cast<mpldbg::DbgInsn *>(&originalInsn)); in CloneInsn() 59 return memPool->Clone<Insn>(originalInsn); in CloneInsn()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
D | ra_opt.cpp | 28 MemPool *memPool = GetPhaseMemPool(); in PhaseRun() local 31 raOpt = memPool->New<AArch64RaOpt>(f, *memPool); in PhaseRun() 33 raOpt = memPool->New<Riscv64RaOpt>(f, *memPool); in PhaseRun()
|
D | reg_coalesce.cpp | 46 bfs = memPool->New<Bfs>(*cgFunc, *memPool); in Analysis() 92 MemPool *memPool = GetPhaseMemPool(); in PhaseRun() local 93 liveInterval = f.GetCG()->CreateLLAnalysis(*memPool, f); in PhaseRun() 108 MemPool *memPool = GetPhaseMemPool(); in MAPLE_ANALYSIS_PHASE_REGISTER_CANSKIP() local 109 LiveIntervalAnalysis *ll = f.GetCG()->CreateLLAnalysis(*memPool, f); in MAPLE_ANALYSIS_PHASE_REGISTER_CANSKIP()
|
D | regsaves.cpp | 59 MemPool *memPool = GetPhaseMemPool(); in PhaseRun() local 62 regSavesOpt = memPool->New<AArch64RegSavesOpt>(f, *memPool, *dom, *pdom); in PhaseRun() 64 regSavesOpt = memPool->New<Riscv64RegSavesOpt>(f, *memPool); in PhaseRun()
|
D | ico.cpp | 69 MemPool *memPool = GetPhaseMemPool(); in PhaseRun() local 72 ico = memPool->New<AArch64IfConversionOptimizer>(f, *memPool); in PhaseRun() 75 ico = memPool->New<Arm32IfConversionOptimizer>(f, *memPool); in PhaseRun()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
D | aarch64_cfgo.cpp | 23 diffPassPatterns.emplace_back(memPool->New<ChainingPattern>(*cgFunc)); in InitOptimizePatterns() 24 diffPassPatterns.emplace_back(memPool->New<SequentialJumpPattern>(*cgFunc)); in InitOptimizePatterns() 25 diffPassPatterns.emplace_back(memPool->New<DuplicateBBPattern>(*cgFunc)); in InitOptimizePatterns() 26 diffPassPatterns.emplace_back(memPool->New<UnreachBBPattern>(*cgFunc)); in InitOptimizePatterns() 27 diffPassPatterns.emplace_back(memPool->New<EmptyBBPattern>(*cgFunc)); in InitOptimizePatterns()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/include/ |
D | clone.h | 34 explicit ReplaceRetIgnored(MemPool *memPool); 47 … return toBeClonedFuncNames.find(MapleString(funcName, memPool)) != toBeClonedFuncNames.end(); in IsInCloneList() 56 MemPool *memPool; 64 Clone(MIRModule *mod, MemPool *memPool, MIRBuilder &builder, KlassHierarchy *kh) in Clone() argument 65 : AnalysisResult(memPool), in Clone() 67 allocator(memPool), in Clone() 70 replaceRetIgnored(memPool->New<ReplaceRetIgnored>(memPool)) in Clone()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mempool/include/ |
D | maple_string.h | 28 explicit MapleString(MemPool *currMp) : memPool(currMp) {} in MapleString() 30 MapleString(const char *str, MemPool *memPool); 31 MapleString(const char *str, size_t size, MemPool *memPool); // copyin 32 MapleString(size_t size, MemPool *memPool); 33 MapleString(const MapleString &str, MemPool *memPool); 34 MapleString(const std::string &str, MemPool *memPool); 67 data = static_cast<char *>(memPool->Malloc(sizeof(char) << 1)); 86 …data = static_cast<char *>(memPool->Realloc(data, oldSize * sizeof(char), (1 + size) * sizeof(char… 108 …data = static_cast<char *>(memPool->Realloc(data, oldSize * sizeof(char), (1 + size) * sizeof(char… 131 …data = static_cast<char *>(memPool->Realloc(data, oldSize * sizeof(char), (1 + size) * sizeof(char… [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/ |
D | try_catch.h | 27 explicit TryEndTryBlock(MemPool &memPool) in TryEndTryBlock() argument 28 : allocator(&memPool), in TryEndTryBlock() 127 TryCatchBlocksLower(MemPool &memPool, BlockNode &body, MIRModule &mirModule) in TryCatchBlocksLower() argument 128 : memPool(memPool), in TryCatchBlocksLower() 129 allocator(&memPool), in TryCatchBlocksLower() 132 tryEndTryBlock(memPool), in TryCatchBlocksLower() 151 MemPool &memPool;
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/include/ |
D | maple_phase_support.h | 38 memPool = memPoolParam; in AnalysisResult() 45 return memPool; in GetMempool() 50 delete memPool; in EraseMemPool() local 51 memPool = nullptr; in EraseMemPool() 55 MemPool *memPool; 111 PhaseTimeHandler(MemPool &memPool, uint32 threadNum = 1) 112 : allocator(&memPool),
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mempool/src/ |
D | maple_string.cpp | 20 : data(NewData(currMp, str, size)), memPool(currMp), dataLength(size) in MapleString() 30 MapleString::MapleString(const MapleString &str) : MapleString(str, str.memPool) {} in MapleString() 34 char *MapleString::NewData(MemPool *memPool, const char *source, size_t len) in NewData() argument 36 MIR_ASSERT(memPool != nullptr); in NewData() 40 char *str = static_cast<char *>(memPool->Malloc((len + 1) * sizeof(char))); in NewData() 182 MapleString newStr(memPool); in substr() 183 newStr.data = static_cast<char *>(newStr.memPool->Malloc((1 + len) * sizeof(char))); in substr() 198 …memPool->Realloc(data, (1 + dataLength) * sizeof(char), (1 + dataLength + str.dataLength) * sizeof… in insert() 200 MapleString temp(memPool); in insert() 236 MapleString subStr(s, memPool); in insert() [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
D | mir_const.h | 86 virtual MIRConst *Clone(MemPool &memPool) const = 0; 196 MIRIntConst *Clone(MemPool &memPool) const override in Clone() argument 246 MIRAddrofConst *Clone(MemPool &memPool) const override in Clone() argument 248 return memPool.New<MIRAddrofConst>(*this); in Clone() 272 MIRAddroffuncConst *Clone(MemPool &memPool) const override in Clone() argument 274 return memPool.New<MIRAddroffuncConst>(*this); in Clone() 290 MIRLblConst *Clone(MemPool &memPool) const override in Clone() argument 292 return memPool.New<MIRLblConst>(*this); in Clone() 321 MIRStrConst *Clone(MemPool &memPool) const override in Clone() argument 323 return memPool.New<MIRStrConst>(*this); in Clone() [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/ |
D | x64_peep.h | 26 X64CGPeepHole(CGFunc &f, MemPool *memPool) : CGPeepHole(f, memPool) {}; in X64CGPeepHole() argument 28 …X64CGPeepHole(CGFunc &f, MemPool *memPool, CGSSAInfo *cgssaInfo) : CGPeepHole(f, memPool, cgssaInf… in X64CGPeepHole() argument
|