Home
last modified time | relevance | path

Searched refs:GetMemPool (Results 1 – 25 of 48) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dmir_nodes.h116 return allocator.GetMemPool()->New<BaseNode>(*this); in CloneTree()
243 auto *node = allocator.GetMemPool()->New<UnaryNode>(*this); in CloneTree()
302 auto *node = allocator.GetMemPool()->New<TypeCvtNode>(*this); in CloneTree()
341 auto *node = allocator.GetMemPool()->New<RetypeNode>(*this); in CloneTree()
409 auto *node = allocator.GetMemPool()->New<ExtractbitsNode>(*this); in CloneTree()
451 auto *node = allocator.GetMemPool()->New<GCMallocNode>(*this); in CloneTree()
491 auto *node = allocator.GetMemPool()->New<JarrayMallocNode>(*this); in CloneTree()
530 auto *node = allocator.GetMemPool()->New<IreadNode>(*this); in CloneTree()
594 auto *node = allocator.GetMemPool()->New<IreadoffNode>(*this); in CloneTree()
628 auto *node = allocator.GetMemPool()->New<IreadFPoffNode>(*this); in CloneTree()
[all …]
Dmir_function.h72 scope = module->GetMemPool()->New<MIRScope>(mod); in MIRFunction()
694 typeNameTab = module->GetMemPool()->New<MIRTypeNameTable>(module->GetMPAllocator()); in AllocTypeNameTab()
726 labelTab = module->GetMemPool()->New<MIRLabelTable>(module->GetMPAllocator()); in AllocLabelTab()
742 pregTab = module->GetMemPool()->New<MIRPregTable>(&module->GetMPAllocator()); in AllocPregTab()
916 …freqFirstMap = module->GetMemPool()->New<MapleMap<uint32, uint32>>(module->GetMPAllocator().Adapte… in SetFirstFreqMap()
951 …freqLastMap = module->GetMemPool()->New<MapleMap<uint32, uint32>>(module->GetMPAllocator().Adapter… in SetLastFreqMap()
1198 symTab = module->GetMemPool()->New<MIRSymbolTable>(module->GetMPAllocator()); in AllocSymTab()
1209 labelTab = module->GetMemPool()->New<MIRLabelTable>(module->GetMPAllocator()); in GetLabelTab()
1229 return module->GetMemPool(); in GetDataMemPool()
1490 profileDesc = module->GetMemPool()->New<IRProfileDesc>(hash, start, end); in AddProfileDesc()
[all …]
Dmir_preg.h144 auto *preg = mAllocator->GetMemPool()->New<MIRPreg>(index, primType, mtype);
211 MIRPreg *preg = mAllocator->GetMemPool()->New<MIRPreg>(pregNo, ptyp, ty);
Dmir_lower.h69 mirBuilder = mirModule.GetMemPool()->New<MIRBuilder>(&mirModule); in Init()
Ddebug_info.h155 simpLoc = m->GetMemPool()->New<DBGExpr>(module); in DBGExprLoc()
160 simpLoc = m->GetMemPool()->New<DBGExpr>(module, op); in DBGExprLoc()
661 compileMsg = module->GetMemPool()->New<DBGCompileMsgInfo>(); in InitMsg()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Ddebug_info.cpp82 DBGExprLoc *p = module->GetMemPool()->New<DBGExprLoc>(module, DW_OP_fbreg); in AddSimpLocAttr()
93 DBGExprLoc *p = module->GetMemPool()->New<DBGExprLoc>(module, DW_OP_addr); in AddGlobalLocAttr()
102 DBGExprLoc *p = module->GetMemPool()->New<DBGExprLoc>(module, DW_OP_call_frame_cfa); in AddFrmBaseAttr()
250 compUnit = module->GetMemPool()->New<DBGDie>(module, DW_TAG_compile_unit); in Init()
289 DBGDie *die = module->GetMemPool()->New<DBGDie>(module, DW_TAG_lexical_block); in AddScopeDie()
418 DBGDieAttr *attr = module->GetMemPool()->New<DBGDieAttr>(kDwAt); in CreateAttr()
471 DBGDie *die = module->GetMemPool()->New<DBGDie>(module, DW_TAG_formal_parameter); in CreateFormalParaDie()
498 DBGDie *die = module->GetMemPool()->New<DBGDie>(module, DW_TAG_label); in GetOrCreateLabelDie()
554 DBGDie *die = module->GetMemPool()->New<DBGDie>(module, DW_TAG_variable); in CreateVarDie()
590 DBGDie *die = module->GetMemPool()->New<DBGDie>(module, DW_TAG_subprogram); in GetOrCreateFuncDeclDie()
[all …]
Dverification.cpp193 …const VerifyPragmaInfo *verifyError = allocator.GetMemPool()->New<ThrowVerifyErrorPragma>(std::mov… in AddPragmaVerifyError()
211 allocator.GetMemPool()->New<AssignableCheckPragma>(std::move(fromType), std::move(toType)); in AddPragmaAssignableCheck()
231 … const VerifyPragmaInfo *extendFinalCheck = allocator.GetMemPool()->New<ExtendFinalCheckPragma>(); in AddPragmaExtendFinalCheck()
251 …const VerifyPragmaInfo *overrideFinalCheck = allocator.GetMemPool()->New<OverrideFinalCheckPragma>… in AddPragmaOverrideFinalCheck()
Dmir_pragma.cpp152 MIRPragmaElement *elem = mod->GetMemPool()->New<MIRPragmaElement>(*mod); in GetPragmaElemFromSignature()
168 MIRPragmaElement *etmp = mod->GetMemPool()->New<MIRPragmaElement>(*mod); in GetPragmaElemFromSignature()
175 MIRPragmaElement *etmp = mod->GetMemPool()->New<MIRPragmaElement>(*mod); in GetPragmaElemFromSignature()
183 MIRPragmaElement *etmp = mod->GetMemPool()->New<MIRPragmaElement>(*mod); in GetPragmaElemFromSignature()
Dmir_builder.cpp32 AddrofNode *fieldExpr = CreateExprAddrof(0, fieldSymbol, mirModule->GetMemPool()); in AddAddrofFieldConst()
33 …auto *fieldConst = mirModule->GetMemPool()->New<MIRAddrofConst>(fieldExpr->GetStIdx(), fieldExpr->… in AddAddrofFieldConst()
48 CreateExprAddroffunc(funcSymbol.GetFunction()->GetPuidx(), mirModule->GetMemPool()); in AddAddroffuncFieldConst()
49 fieldConst = mirModule->GetMemPool()->New<MIRAddroffuncConst>(addrofFuncExpr->GetPUIdx(), in AddAddroffuncFieldConst()
239 auto *fn = mirModule->GetMemPool()->New<MIRFunction>(mirModule, funcSt->GetStIdx()); in GetOrCreateFunction()
283 auto *fn = mirModule->GetMemPool()->New<MIRFunction>(mirModule, funcSymbol->GetStIdx()); in CreateFunction()
313 auto *fn = mirModule->GetMemPool()->New<MIRFunction>(mirModule, stIdx); in CreateFunction()
319 auto *funcType = mirModule->GetMemPool()->New<MIRFuncType>(); in CreateFunction()
521 MIRAggConst *val = mirModule->GetMemPool()->New<MIRAggConst>(*mirModule, *arrayTypeWithSize); in CreateConstStringSymbol()
523 MIRConst *cst = mirModule->GetMemPool()->New<MIRIntConst>(content[i], *type); in CreateConstStringSymbol()
[all …]
Dverify_annotation.cpp51 auto *elem = md.GetMemPool()->New<MIRPragmaElement>(md.GetMPAllocator()); in NewAnnotationElement()
75 auto *pragma = md.GetMemPool()->New<MIRPragma>(md, md.GetMPAllocator()); in NewPragmaRTAnnotation()
Dmir_function.cpp722 symTab = module->GetMemPool()->New<MIRSymbolTable>(module->GetMPAllocator()); in NewBody()
723 pregTab = module->GetMemPool()->New<MIRPregTable>(&module->GetMPAllocator()); in NewBody()
724 typeNameTab = module->GetMemPool()->New<MIRTypeNameTable>(module->GetMPAllocator()); in NewBody()
725 labelTab = module->GetMemPool()->New<MIRLabelTable>(module->GetMPAllocator()); in NewBody()
Dparser.cpp445 auto *e0 = mod.GetMemPool()->New<MIRPragmaElement>(mod); in ParsePragmaElementForArray()
493 auto *e0 = mod.GetMemPool()->New<MIRPragmaElement>(mod); in ParsePragmaElementForAnnotation()
517 auto *p = mod.GetMemPool()->New<MIRPragma>(mod); in ParsePragma()
558 auto *e = mod.GetMemPool()->New<MIRPragmaElement>(mod); in ParsePragma()
737 MIRFunction *fn = mod.GetMemPool()->New<MIRFunction>(&mod, funcSymbol->GetStIdx()); in ParseFields()
2091 MIRSymbol *tmpSymbol = mod.GetMemPool()->New<MIRSymbol>(); in ParseFunction()
2095 MIRFunction *tmpFunc = mod.GetMemPool()->New<MIRFunction>(&mod, tmpSymbol->GetStIdx()); in ParseFunction()
2143 func = mod.GetMemPool()->New<MIRFunction>(&mod, funcSymbol->GetStIdx()); in ParseFunction()
2236 MIRAggConst *newConst = mod.GetMemPool()->New<MIRAggConst>(mod, type); in ParseInitValue()
2302 MIRAggConst *newConst = mod.GetMemPool()->New<MIRAggConst>(mod, type); in ParseInitValue()
[all …]
Dbin_mpl_import.cpp115 MemPool *memPool = mod.GetMemPool(); in ImportConst()
190 MIRAggConst *aggConst = mod.GetMemPool()->New<MIRAggConst>(mod, *type); in ImportConst()
200 MIRStConst *stConst = mod.GetMemPool()->New<MIRStConst>(mod, *type); in ImportConst()
336 fn = mod.GetMemPool()->New<MIRFunction>(&mod, funcSt->GetStIdx()); in ImportMethodPair()
1212 mod.GetAsmDecls().emplace_back(MapleString(str, mod.GetMemPool())); in ReadHeaderField()
1253 …CallInfo *ret = mod.GetMemPool()->New<CallInfo>(ctype, *funcSym->GetFunction(), static_cast<StmtNo… in ImportCallInfo()
1322 mod.GetMemPool()->New<EAConnectionGraph>(&mod, &mod.GetMPAllocator(), funcName, true); in ReadEaField()
1496 …EAConnectionGraph *newEaCg = mod.GetMemPool()->New<EAConnectionGraph>(&mod, &mod.GetMPAllocator(),… in ReadEaCgField()
1516 mod.GetMemPool()->New<MapleVector<EACGBaseNode *>>(mod.GetMPAllocator().Adapter()); in ReadEaCgField()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Dra_opt.h40 const MemPool *GetMemPool() const in GetMemPool() function
Dregsaves.h41 MemPool *GetMemPool() const in GetMemPool() function
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Dcg_phasemanager.cpp416 cg->SetEmitter(*m.GetMemPool()->New<AArch64AsmEmitter>(*cg, outputFileName)); in CreateCGAndBeCommon()
419 cg->SetEmitter(*m.GetMemPool()->New<AArch64ObjEmitter>(*cg, outputFileName)); in CreateCGAndBeCommon()
423 cg->SetEmitter(*m.GetMemPool()->New<Arm32AsmEmitter>(*cg, outputFileName)); in CreateCGAndBeCommon()
428 cg->SetEmitter(*m.GetMemPool()->New<X64Emitter>(*cg, *assembler)); in CreateCGAndBeCommon()
432 cg->SetEmitter(*m.GetMemPool()->New<X64Emitter>(*cg, *assembler)); in CreateCGAndBeCommon()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_memlayout.cpp219 AArch64SymbolAlloc *symLoc = memAllocator->GetMemPool()->New<AArch64SymbolAlloc>(); in LayoutFormalParams()
286 AArch64SymbolAlloc *symLoc1 = memAllocator->GetMemPool()->New<AArch64SymbolAlloc>(); in LayoutFormalParams()
313 AArch64SymbolAlloc *symLoc = memAllocator->GetMemPool()->New<AArch64SymbolAlloc>(); in LayoutLocalVariables()
359 AArch64SymbolAlloc *symLoc = memAllocator->GetMemPool()->New<AArch64SymbolAlloc>(); in LayoutEAVariales()
375 AArch64SymbolAlloc *symLoc = memAllocator->GetMemPool()->New<AArch64SymbolAlloc>(); in LayoutReturnRef()
490 AArch64SymbolAlloc *symLoc = memAllocator->GetMemPool()->New<AArch64SymbolAlloc>(); in AssignSpillLocationsToPseudoRegisters()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
Dx64_memlayout.h165 return memAllocator->GetMemPool()->New<X64SymbolAlloc>(); in CreateSymbolAlloc()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
Dx64_memlayout.cpp158 X64SymbolAlloc *symLoc = memAllocator->GetMemPool()->New<X64SymbolAlloc>(); in LayoutFormalParams()
210 X64SymbolAlloc *symLoc = memAllocator->GetMemPool()->New<X64SymbolAlloc>(); in LayoutLocalVariables()
236 X64SymbolAlloc *symLoc = memAllocator->GetMemPool()->New<X64SymbolAlloc>(); in AssignSpillLocationsToPseudoRegisters()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ipa/src/old/
Dea_connection_graph.cpp552 expr2Nodes[expr] = alloc->GetMemPool()->New<MapleSet<EACGBaseNode *>>(alloc->Adapter()); in CreateObjectNode()
569 expr2Nodes[expr] = alloc->GetMemPool()->New<MapleSet<EACGBaseNode *>>(alloc->Adapter()); in CreatePointerNode()
586 expr2Nodes[expr] = alloc->GetMemPool()->New<MapleSet<EACGBaseNode *>>(alloc->Adapter()); in CreateReferenceNode()
603 …MapleVector<EACGBaseNode *> *tmp = alloc->GetMemPool()->New<MapleVector<EACGBaseNode *>>(alloc->Ad… in TouchCallSite()
620 expr2Nodes[expr] = alloc->GetMemPool()->New<MapleSet<EACGBaseNode *>>(alloc->Adapter()); in CreateActualNode()
647 expr2Nodes[expr] = alloc->GetMemPool()->New<MapleSet<EACGBaseNode *>>(alloc->Adapter()); in CreateFieldNode()
670 expr2Nodes[me] = alloc->GetMemPool()->New<MapleSet<EACGBaseNode *>>(alloc->Adapter()); in UpdateExprOfNode()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
Daarch64_memlayout.h223 return memAllocator->GetMemPool()->New<AArch64SymbolAlloc>(); in CreateSymbolAlloc()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/include/
Dcall_graph.h444 …callExternal = cgAlloc.GetMemPool()->New<CGNode>(static_cast<MIRFunction *>(nullptr), cgAlloc, num… in InitCallExternal()
556 return cgAlloc.GetMemPool()->New<CallInfo>(type, *call, s, loopDepth, callsiteID); in GenCallInfo()
581 …: cgAlloc(memPool), mirBuilder(cgAlloc.GetMemPool()->New<MIRBuilder>(m)), klassh(kh), debugFlag(fa… in IPODevirtulize()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mempool/include/
Dmempool_allocator.h54 MemPool *GetMemPool() const in GetMemPool() function
94 MemPool *GetMemPool() const = delete;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/src/
Dmeexpr_use_info.cpp142 allocator.SetMemPool(irMap->GetIRMapAlloc().GetMemPool()); in CollectUseInfoInFunc()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/include/
Dirmap.h172 return irMapAlloc.GetMemPool()->New<T>(&irMapAlloc, std::forward<Arguments>(args)...); in NewInPool()
178 return irMapAlloc.GetMemPool()->New<T>(std::forward<Arguments>(args)...); in New()

12