Home
last modified time | relevance | path

Searched refs:MemPool (Results 1 - 25 of 85) sorted by relevance

1234

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Dcg_irbuilder.h26 explicit InsnBuilder(MemPool &memPool) : mp(&memPool) {} in InsnBuilder()
63 MemPool *mp;
77 explicit OperandBuilder(MemPool &mp, uint32 mirPregNum = 0) : alloc(&mp) in OperandBuilder()
83 ImmOperand &CreateImm(uint32 size, int64 value, MemPool *mp = nullptr);
84 ImmOperand &CreateImm(uint32 size, int64 value, bool isSigned, MemPool *mp = nullptr);
85 ImmOperand &CreateImm(const MIRSymbol &symbol, int64 offset, int32 relocs, MemPool *mp = nullptr);
86 OfstOperand &CreateOfst(int64 offset, uint32 size, MemPool *mp = nullptr);
87 MemOperand &CreateMem(uint32 size, MemPool *mp = nullptr);
88 MemOperand &CreateMem(RegOperand &baseOpnd, int64 offset, uint32 size, MemPool *mp = nullptr);
89 MemOperand &CreateMem(uint32 size, RegOperand &baseOpnd, ImmOperand &ofstOperand, MemPool *m
[all...]
H A Dcg.h156 GCTIBPattern(GCTIBKey &patternKey, MemPool &mp) in GCTIBPattern()
207 virtual PhiOperand &CreatePhiOperand(MemPool &mp, MapleAllocator &mAllocator) = 0;
209 virtual CGFunc *CreateCGFunc(MIRModule &mod, MIRFunction &, BECommon &, MemPool &, StackMemPool &, MapleAllocator &,
372 virtual LiveAnalysis *CreateLiveAnalysis(MemPool &mp, CGFunc &f) const in CreateLiveAnalysis()
376 virtual GenProEpilog *CreateGenProEpilog(CGFunc &func, MemPool &mp, MemPool *tempMemPool = nullptr) const = 0;
377 virtual CGPeepHole *CreateCGPeepHole(MemPool &mp, CGFunc &f) const = 0;
378 virtual MoveRegArgs *CreateMoveRegArgs(MemPool &mp, CGFunc &f) const in CreateMoveRegArgs()
382 virtual MPISel *CreateMPIsel(MemPool &mp, MapleAllocator &allocator, CGFunc &f) const in CreateMPIsel()
386 virtual Standardize *CreateStandardize(MemPool in CreateMPIsel()
[all...]
H A Dcfi.h62 CfiInsn(MemPool &memPool, maplebe::MOperator op) : Insn(memPool, op) {} in CfiInsn()
66 CfiInsn(MemPool &memPool, maplebe::MOperator op, maplebe::Operand &opnd0) : Insn(memPool, op, opnd0) {} in CfiInsn()
68 CfiInsn(MemPool &memPool, maplebe::MOperator op, maplebe::Operand &opnd0, maplebe::Operand &opnd1) in CfiInsn()
73 CfiInsn(MemPool &memPool, maplebe::MOperator op, maplebe::Operand &opnd0, maplebe::Operand &opnd1, in CfiInsn()
140 Operand *Clone(MemPool &memPool) const override
171 Operand *Clone(MemPool &memPool) const override
207 Operand *Clone(MemPool &memPool) const override
230 StrOperand(const std::string &str, MemPool &memPool) : OperandVisitable(kOpdString, 0), str(str, &memPool) {} in StrOperand()
240 Operand *Clone(MemPool &memPool) const override
265 LabelOperand(const std::string &parent, LabelIdx labIdx, MemPool
[all...]
H A Dpeep.h83 CGPeepHole(CGFunc &f, MemPool *memPool) : cgFunc(&f), peepMemPool(memPool) {} in CGPeepHole()
91 MemPool *peepMemPool;
172 PeepPatternMatch(CGFunc &oneCGFunc, MemPool *memPool) in PeepPatternMatch()
181 MemPool *optOwnMemPool;
189 PeepOptimizer(CGFunc &oneCGFunc, MemPool *memPool) : cgFunc(oneCGFunc), peepOptMemPool(memPool) in PeepOptimizer()
200 MemPool *peepOptMemPool;
H A Dtarget_select.h22 #define MAPLE_TARGET(TargetName) void MAPLEInitialize##TargetName##TargetInfo(maple::MemPool * m)
33 static inline void InitializeAllTargetInfos(maple::MemPool * m) in InitializeAllTargetInfos()
H A Dcg_dominance.h28 DominanceBase(CGFunc &func, MemPool &memPool, MemPool &tmpPool, MapleVector<BB *> &bbVec, BB &commonEntryBB, in DominanceBase()
64 DomAnalysis(CGFunc &func, MemPool &memPool, MemPool &tmpPool, MapleVector<BB *> &bbVec, BB &commonEntryBB, in DomAnalysis()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mempool/include/
H A Dmempool.h52 class MemPool;
97 friend MemPool;
105 MemPool *NewMemPool(const std::string &, bool isLocalPool);
106 void DeleteMemPool(MemPool *memPool) const;
108 MemBlock *AllocMemBlock(const MemPool &pool, size_t size);
109 MemBlock *AllocFixMemBlock(const MemPool &pool);
110 MemBlock *AllocBigMemBlock(const MemPool &pool, size_t size) const;
122 void FreeMemBlocks(const MemPool &pool, MemBlock *fixedMemHead, MemBlock *bigMemHead);
157 class MemPool : private MemPoolStat { class
161 MemPool(MemPoolCtrle function in maple::MemPool
165 MemPool(MemPoolCtrler &ctl, const char *name) : ctrler(ctl) MemPool() function in maple::MemPool
[all...]
H A Dmaple_string.h28 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);
248 inline static char *NewData(MemPool *memPool, const char *source, size_t len);
256 MemPool *memPool = nullptr;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
H A Dx64_cg.h44 LiveAnalysis *CreateLiveAnalysis(MemPool &mp, CGFunc &f) const override
48 CGPeepHole *CreateCGPeepHole(MemPool &mp, CGFunc &f) const override
52 virtual GenProEpilog *CreateGenProEpilog(CGFunc &f, MemPool &mp, MemPool *tempMemPool = nullptr) const override
56 MoveRegArgs *CreateMoveRegArgs(MemPool &mp, CGFunc &f) const override
61 MPISel *CreateMPIsel(MemPool &mp, MapleAllocator &allocator, CGFunc &f) const override
66 Standardize *CreateStandardize(MemPool &mp, CGFunc &f) const override
71 CFGOptimizer *CreateCFGOptimizer(MemPool &mp, CGFunc &f, LoopAnalysis &loop) const override
76 PhiOperand &CreatePhiOperand(MemPool &mp, MapleAllocator &mAllocator) override;
78 CGFunc *CreateCGFunc(MIRModule &mod, MIRFunction &mirFunc, BECommon &bec, MemPool
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Dcg_irbuilder.cpp77 ImmOperand &OperandBuilder::CreateImm(uint32 size, int64 value, MemPool *mp) in CreateImm()
82 ImmOperand &OperandBuilder::CreateImm(uint32 size, int64 value, bool isSigned, MemPool *mp) in CreateImm()
87 ImmOperand &OperandBuilder::CreateImm(const MIRSymbol &symbol, int64 offset, int32 relocs, MemPool *mp) in CreateImm()
93 OfstOperand &OperandBuilder::CreateOfst(int64 offset, uint32 size, MemPool *mp) in CreateOfst()
98 MemOperand &OperandBuilder::CreateMem(uint32 size, MemPool *mp) in CreateMem()
103 MemOperand &OperandBuilder::CreateMem(RegOperand &baseOpnd, int64 offset, uint32 size, MemPool *mp) in CreateMem()
112 MemOperand &OperandBuilder::CreateMem(uint32 size, RegOperand &baseOpnd, ImmOperand &ofstOperand, MemPool *mp) in CreateMem()
121 const MIRSymbol &symbol, MemPool *mp) in CreateMem()
129 BitShiftOperand &OperandBuilder::CreateBitShift(BitShiftOperand::ShiftOp op, uint32 amount, uint32 bitLen, MemPool *mp) in CreateBitShift()
137 RegOperand &OperandBuilder::CreateVReg(uint32 size, RegType type, MemPool *m
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/include/
H A Dmaple_phase.h27 MaplePhase(MaplePhaseKind kind, MaplePhaseID id, MemPool &mp) in MaplePhase()
59 MemPool *GetPhaseMemPool() in GetPhaseMemPool()
64 MemPool *ApplyTempMemPool();
73 MapleVector<MemPool *> tempMemPools; // delete after phase Run [Thread Local]
78 MapleModulePhase(MaplePhaseID id, MemPool *mp) : MaplePhase(kModulePhase, id, *mp) {} in MapleModulePhase()
87 MapleFunctionPhase(MaplePhaseID id, MemPool *mp) : MaplePhase(kFunctionPhase, id, *mp) {} in MapleFunctionPhase()
95 MapleSccPhase(MaplePhaseID id, MemPool *mp) : MaplePhase(kSccPhase, id, *mp) {} in MapleSccPhase()
134 static MaplePhase *CreatePhase(MemPool *createMP) \
146 explicit PHASENAME(MemPool *mp) : MapleFunctionPhase<IRTYPE>(&id, mp) {} \
150 static MaplePhase *CreatePhase(MemPool *createM
[all...]
H A Dmaple_phase_manager.h26 explicit AnalysisDataManager(MemPool &mempool) in AnalysisDataManager()
45 MemPool *ApplyMemPoolForAnalysisPhase(uint32 phaseKey, const MaplePhaseInfo &pi);
62 MapleMap<AnalysisMemKey, MemPool *> analysisPhaseMemPool;
70 explicit MaplePhaseManager(MemPool &memPool) in MaplePhaseManager()
84 MemPool *GetManagerMemPool() in GetManagerMemPool()
158 MapleUnorderedMap<std::thread::id, MemPool *> threadMemPools;
179 AnalysisInfoHook(MemPool &memPool, AnalysisDataManager &adm, MaplePhaseManager *bpm) in AnalysisInfoHook()
240 MemPool *GetOverIRMempool() in GetOverIRMempool()
288 ModulePM(MemPool *mp, MaplePhaseID id) : MaplePhase(kModulePM, id, *mp), MaplePhaseManager(*mp) {} in ModulePM()
295 FunctionPM(MemPool *m
[all...]
H A Dmaple_phase_support.h30 typedef MaplePhase *(*MaplePhase_t)(MemPool *);
35 explicit AnalysisResult(MemPool *memPoolParam) in AnalysisResult()
43 MemPool *GetMempool() const in GetMempool()
55 MemPool *memPool;
111 PhaseTimeHandler(MemPool &memPool, uint32_t threadNum = 1) in PhaseTimeHandler()
139 explicit AnalysisDep(MemPool &mp) in AnalysisDep()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mempool/src/
H A Dmempool.cpp29 void MemPoolCtrler::FreeMemBlocks(const MemPool &pool, MemBlock *fixedMemHead, MemBlock *bigMemHead) in FreeMemBlocks()
69 MemPool *MemPoolCtrler::NewMemPool(const std::string &name, bool isLocalPool) in NewMemPool()
71 MemPool *memPool = nullptr; in NewMemPool()
83 void MemPoolCtrler::DeleteMemPool(MemPool *memPool) const in DeleteMemPool()
97 MemBlock *MemPoolCtrler::AllocMemBlock(const MemPool &pool, size_t size) in AllocMemBlock()
106 MemBlock *MemPoolCtrler::AllocFixMemBlock(const MemPool &pool) in AllocFixMemBlock()
129 MemBlock *MemPoolCtrler::AllocBigMemBlock(const MemPool &pool, size_t size) const in AllocBigMemBlock()
139 MemPool::~MemPool() in ~MemPool()
144 void *MemPool
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
H A Daarch64_cg.h50 CGFunc *CreateCGFunc(MIRModule &mod, MIRFunction &mirFunc, BECommon &bec, MemPool &memPool, StackMemPool &stackMp,
69 PhiOperand &CreatePhiOperand(MemPool &mp, MapleAllocator &mAllocator) override;
75 LiveAnalysis *CreateLiveAnalysis(MemPool &mp, CGFunc &f) const override
79 GenProEpilog *CreateGenProEpilog(CGFunc &f, MemPool &mp, MemPool *tempMemPool = nullptr) const override
83 CGPeepHole *CreateCGPeepHole(MemPool &mp, CGFunc &f) const override
87 MoveRegArgs *CreateMoveRegArgs(MemPool &mp, CGFunc &f) const override
91 CFGOptimizer *CreateCFGOptimizer(MemPool &mp, CGFunc &f, LoopAnalysis &loop) const override
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/test/mempool/
H A Dmaple_string_test.cpp27 MemPool memPool1(memPoolCtrler1, "pn1"), memPool2(memPoolCtrler2, "pn2"); in TEST()
53 MemPool memPool1(memPoolCtrler1, "pn1"); in TEST()
75 MemPool memPool1(memPoolCtrler1, "pn1"); in TEST()
93 MemPool memPool1(memPoolCtrler1, "pn1"); in TEST()
109 MemPool memPool1(memPoolCtrler1, "pn1"), memPool2(memPoolCtrler2, "pn2"); in TEST()
119 MemPool memPool1(memPoolCtrler1, "pn1"), memPool2(memPoolCtrler2, "pn2"), memPool3(memPoolCtrler3, "pn3"); in TEST()
135 MemPool memPool1(memPoolCtrler1, "pn1"); in TEST()
146 MemPool memPool1(memPoolCtrler1, "pn1"), memPool2(memPoolCtrler2, "pn2"); in TEST()
170 MemPool memPool1(memPoolCtrler1, "pn1"), memPool2(memPoolCtrler2, "pn2"), memPool3(memPoolCtrler3, "pn3"); in TEST()
/arkcompiler/runtime_core/libpandabase/mem/
H A Dmem_pool.h65 class MemPool { class
67 virtual ~MemPool() = default;
68 explicit MemPool(std::string pool_name) : name_(std::move(pool_name)) {} in MemPool() function in panda::MemPool
69 DEFAULT_NOEXCEPT_MOVE_SEMANTIC(MemPool);
70 DEFAULT_COPY_SEMANTIC(MemPool);
H A Dmalloc_mem_pool.h24 class MallocMemPool : public MemPool<MallocMemPool> {
51 friend class MemPool<MallocMemPool>;
/arkcompiler/runtime_core/static_core/libpandabase/mem/
H A Dmem_pool.h75 class MemPool { class
77 virtual ~MemPool() = default;
78 explicit MemPool(std::string poolName) : name_(std::move(poolName)) {} in MemPool() function in ark::MemPool
79 DEFAULT_NOEXCEPT_MOVE_SEMANTIC(MemPool);
80 DEFAULT_COPY_SEMANTIC(MemPool);
H A Dmalloc_mem_pool.h24 class MallocMemPool : public MemPool<MallocMemPool> {
52 friend class MemPool<MallocMemPool>;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
H A Dmir_const.h87 virtual MIRConst *Clone(MemPool &memPool) const = 0;
199 MIRIntConst *Clone([[maybe_unused]] MemPool &memPool) const override
249 MIRAddrofConst *Clone(MemPool &memPool) const override
275 MIRAddroffuncConst *Clone(MemPool &memPool) const override
294 MIRLblConst *Clone(MemPool &memPool) const override
326 MIRStrConst *Clone(MemPool &memPool) const override
362 MIRStr16Const *Clone(MemPool &memPool) const override
444 MIRFloatConst *Clone(MemPool &memPool) const override
526 MIRDoubleConst *Clone(MemPool &memPool) const override
623 MIRAggConst *Clone(MemPool
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/test/maple_be/
H A Dcg_cg_irbuilder_test.cpp27 MemPool memPool1(memPoolCtrler1, "poolName1"), memPool2(memPoolCtrler2, "poolName2"); in TEST()
32 // test :CreateMem(uint32 size, RegOperand &baseOpnd, ImmOperand &ofstOperand, MemPool *mp) in TEST()
35 // test :CreateMem(uint32, RegOperand &, ImmOperand &,const MIRSymbol &, MemPool *) in TEST()
43 MemPool memPool1(memPoolCtrler1, "poolName1"), memPool2(memPoolCtrler2, "poolName2"); in TEST()
44 // test method:CreateBitShift(BitShiftOperand::ShiftOp op, uint32 amount, uint32 bitLen, MemPool *mp) in TEST()
H A Dcg_aarch64_aarch64_isa_test.cpp68 MemPool memPool(memPoolCtrler, "poolName"); in TEST()
88 MemPool memPool(memPoolCtrler, "poolName"); in TEST()
102 MemPool memPool(memPoolCtrler, "poolName"); in TEST()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
H A Dx64_cg.cpp34 CGFunc *X64CG::CreateCGFunc(MIRModule &mod, MIRFunction &mirFunc, BECommon &bec, MemPool &memPool, in CreateCGFunc()
57 PhiOperand &X64CG::CreatePhiOperand(MemPool &mp, MapleAllocator &mAllocator) in CreatePhiOperand()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/src/
H A Dmaple_phase.cpp40 MemPool *MaplePhase::ApplyTempMemPool() in ApplyTempMemPool()
42 MemPool *res = memPoolCtrler.NewMemPool("temp Mempool", true); in ApplyTempMemPool()

Completed in 14 milliseconds

1234