Home
last modified time | relevance | path

Searched refs:mp (Results 1 – 25 of 32) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Dcg_irbuilder.cpp25 auto *newInsn = mp->New<Insn>(*mp, opCode); in BuildInsn()
72 auto *nI = mp->New<cfi::CfiInsn>(*mp, opCode); in BuildCfiInsn()
78 auto *nI = mp->New<mpldbg::DbgInsn>(*mp, opCode); in BuildDbgInsn()
85 auto *newInsn = mp->New<VectorInsn>(*mp, opCode); in BuildVectorInsn()
91 ImmOperand &OperandBuilder::CreateImm(uint32 size, int64 value, MemPool *mp) in CreateImm() argument
93 … return mp ? *mp->New<ImmOperand>(value, size, false) : *alloc.New<ImmOperand>(value, size, false); in CreateImm()
96 …perand &OperandBuilder::CreateImm(const MIRSymbol &symbol, int64 offset, int32 relocs, MemPool *mp) in CreateImm() argument
98 return mp ? *mp->New<ImmOperand>(symbol, offset, relocs, false) in CreateImm()
102 MemOperand &OperandBuilder::CreateMem(uint32 size, MemPool *mp) in CreateMem() argument
104 return mp ? *mp->New<MemOperand>(size) : *alloc.New<MemOperand>(size); in CreateMem()
[all …]
Dlocal_opt.cpp49 MemPool *mp = GetPhaseMemPool(); in PhaseRun() local
50 auto *reachingDef = f.GetCG()->CreateReachingDefinition(*mp, f); in PhaseRun()
51 LocalOpt *localOpt = f.GetCG()->CreateLocalOpt(*mp, f, *reachingDef); in PhaseRun()
Dpeep.cpp686 MemPool *mp = GetPhaseMemPool(); in PhaseRun() local
687 auto *cgpeep = mp->New<AArch64CGPeepHole>(f, mp, cgssaInfo); in PhaseRun()
703 MemPool *mp = GetPhaseMemPool(); in MAPLE_TRANSFORM_PHASE_REGISTER_CANSKIP() local
705 auto *cgpeep = mp->New<AArch64CGPeepHole>(f, mp); in MAPLE_TRANSFORM_PHASE_REGISTER_CANSKIP()
707 auto *cgpeep = mp->New<X64CGPeepHole>(f, mp); in MAPLE_TRANSFORM_PHASE_REGISTER_CANSKIP()
718 MemPool *mp = GetPhaseMemPool(); in MAPLE_TRANSFORM_PHASE_REGISTER_CANSKIP() local
720 auto *cgpeep = mp->New<AArch64CGPeepHole>(f, mp); in MAPLE_TRANSFORM_PHASE_REGISTER_CANSKIP()
722 auto *cgpeep = mp->New<X64CGPeepHole>(f, mp); in MAPLE_TRANSFORM_PHASE_REGISTER_CANSKIP()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
Dx64_cg.h42 LiveAnalysis *CreateLiveAnalysis(MemPool &mp, CGFunc &f) const override in CreateLiveAnalysis() argument
44 return mp.New<X64LiveAnalysis>(f, mp); in CreateLiveAnalysis()
46 ReachingDefinition *CreateReachingDefinition(MemPool &mp, CGFunc &f) const override in CreateReachingDefinition() argument
48 return mp.New<X64ReachingDefinition>(f, mp); in CreateReachingDefinition()
50 LocalOpt *CreateLocalOpt(MemPool &mp, CGFunc &f, ReachingDefinition &rd) const override in CreateLocalOpt() argument
52 return mp.New<X64LocalOpt>(mp, f, rd); in CreateLocalOpt()
54 MoveRegArgs *CreateMoveRegArgs(MemPool &mp, CGFunc &f) const override in CreateMoveRegArgs() argument
56 return mp.New<X64MoveRegArgs>(f); in CreateMoveRegArgs()
59 MPISel *CreateMPIsel(MemPool &mp, MapleAllocator &allocator, CGFunc &f) const override in CreateMPIsel() argument
61 return mp.New<X64MPIsel>(mp, allocator, f); in CreateMPIsel()
[all …]
Dx64_MPISel.h25 X64MPIsel(MemPool &mp, MapleAllocator &allocator, CGFunc &f) : MPISel(mp, allocator, f) {} in X64MPIsel() argument
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
Daarch64_cg.h101 GCTIBPattern(GCTIBKey &patternKey, MemPool &mp) : name(&mp) in GCTIBPattern() argument
171 PhiOperand &CreatePhiOperand(MemPool &mp, MapleAllocator &mAllocator) override;
175 LiveAnalysis *CreateLiveAnalysis(MemPool &mp, CGFunc &f) const override in CreateLiveAnalysis() argument
177 return mp.New<AArch64LiveAnalysis>(f, mp); in CreateLiveAnalysis()
179 ReachingDefinition *CreateReachingDefinition(MemPool &mp, CGFunc &f) const override in CreateReachingDefinition() argument
181 return mp.New<AArch64ReachingDefinition>(f, mp); in CreateReachingDefinition()
183 MoveRegArgs *CreateMoveRegArgs(MemPool &mp, CGFunc &f) const override in CreateMoveRegArgs() argument
185 return mp.New<AArch64MoveRegArgs>(f); in CreateMoveRegArgs()
187 AlignAnalysis *CreateAlignAnalysis(MemPool &mp, CGFunc &f) const override in CreateAlignAnalysis() argument
189 return mp.New<AArch64AlignAnalysis>(f, mp); in CreateAlignAnalysis()
[all …]
Daarch64_dce.h23 AArch64Dce(MemPool &mp, CGFunc &f, CGSSAInfo &sInfo) : CGDce(mp, f, sInfo) {} in AArch64Dce() argument
Daarch64_phi_elimination.h22 …nate(CGFunc &f, CGSSAInfo &ssaAnalysisResult, MemPool &mp) : PhiEliminate(f, ssaAnalysisResult, mp) in AArch64PhiEliminate() argument
Daarch64_prop.h25 …AArch64Prop(MemPool &mp, CGFunc &f, CGSSAInfo &sInfo, LiveIntervalAnalysis &ll) : CGProp(mp, f, sI… in AArch64Prop() argument
46 A64StrLdrProp(MemPool &mp, CGFunc &f, CGSSAInfo &sInfo, Insn &insn, CGDce &dce) in A64StrLdrProp() argument
50 a64StrLdrAlloc(&mp), in A64StrLdrProp()
84 A64ConstProp(MemPool &mp, CGFunc &f, CGSSAInfo &sInfo, Insn &insn) in A64ConstProp() argument
85 : constPropMp(&mp), cgFunc(&f), ssaInfo(&sInfo), curInsn(&insn) in A64ConstProp()
Daarch64_ssa.h25 …AArch64CGSSAInfo(CGFunc &f, DomAnalysis &da, MemPool &mp, MemPool &tmp) : CGSSAInfo(f, da, mp, tmp… in AArch64CGSSAInfo() argument
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Dcg_irbuilder.h25 explicit InsnBuilder(MemPool &memPool) : mp(&memPool) {} in InsnBuilder()
28 mp = nullptr; in ~InsnBuilder()
54 MemPool *mp;
67 …explicit OperandBuilder(MemPool &mp, uint32 mirPregNum = 0) : alloc(&mp), virtualRegNum(mirPregNum…
70 ImmOperand &CreateImm(uint32 size, int64 value, MemPool *mp = nullptr);
71 … ImmOperand &CreateImm(const MIRSymbol &symbol, int64 offset, int32 relocs, MemPool *mp = nullptr);
72 MemOperand &CreateMem(uint32 size, MemPool *mp = nullptr);
74 RegOperand &CreateVReg(uint32 size, RegType type, MemPool *mp = nullptr);
75 RegOperand &CreateVReg(regno_t vRegNO, uint32 size, RegType type, MemPool *mp = nullptr);
76 RegOperand &CreatePReg(regno_t pRegNO, uint32 size, RegType type, MemPool *mp = nullptr);
[all …]
Dcg.h147 virtual PhiOperand &CreatePhiOperand(MemPool &mp, MapleAllocator &mAllocator) = 0;
344 virtual LiveAnalysis *CreateLiveAnalysis(MemPool &mp, CGFunc &f) const in CreateLiveAnalysis() argument
348 virtual ReachingDefinition *CreateReachingDefinition(MemPool &mp, CGFunc &f) const in CreateReachingDefinition() argument
352 virtual MoveRegArgs *CreateMoveRegArgs(MemPool &mp, CGFunc &f) const in CreateMoveRegArgs() argument
356 virtual AlignAnalysis *CreateAlignAnalysis(MemPool &mp, CGFunc &f) const in CreateAlignAnalysis() argument
360 virtual MPISel *CreateMPIsel(MemPool &mp, MapleAllocator &allocator, CGFunc &f) const in CreateMPIsel() argument
364 virtual Standardize *CreateStandardize(MemPool &mp, CGFunc &f) const in CreateStandardize() argument
368 virtual ValidBitOpt *CreateValidBitOpt(MemPool &mp, CGFunc &f, CGSSAInfo &ssaInfo) const in CreateValidBitOpt() argument
374 virtual CGSSAInfo *CreateCGSSAInfo(MemPool &mp, CGFunc &f, DomAnalysis &da, MemPool &tmp) const in CreateCGSSAInfo() argument
378 virtual LiveIntervalAnalysis *CreateLLAnalysis(MemPool &mp, CGFunc &f) const in CreateLLAnalysis() argument
[all …]
Dcg_prop.h28 CGProp(MemPool &mp, CGFunc &f, CGSSAInfo &sInfo, LiveIntervalAnalysis &ll) in CGProp() argument
29 : memPool(&mp), cgFunc(&f), propAlloc(&mp), ssaInfo(&sInfo), regll(&ll) in CGProp()
31 cgDce = f.GetCG()->CreateCGDce(mp, f, sInfo); in CGProp()
Dcg_dce.h25 CGDce(MemPool &mp, CGFunc &f, CGSSAInfo &sInfo) : memPool(&mp), cgFunc(&f), ssaInfo(&sInfo) {} in CGDce() argument
Dcg_phasemanager.h36 explicit CgFuncPM(MemPool *mp) : FunctionPM(mp, &id) {} in CgFuncPM() argument
Dcg_phi_elimination.h25 PhiEliminate(CGFunc &f, CGSSAInfo &ssaAnalysisResult, MemPool &mp) in PhiEliminate() argument
28 phiEliAlloc(&mp), in PhiEliminate()
Dcg_ssa.h168 CGSSAInfo(CGFunc &f, DomAnalysis &da, MemPool &mp, MemPool &tmp) in CGSSAInfo() argument
170 memPool(&mp), in CGSSAInfo()
172 ssaAlloc(&mp), in CGSSAInfo()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/include/
Dmaple_phase.h27 MaplePhase(MaplePhaseKind kind, MaplePhaseID id, MemPool &mp) in MaplePhase() argument
28 : phaseAllocator(&mp), phaseKind(kind), phaseID(id), tempMemPools(phaseAllocator.Adapter()) in MaplePhase()
74 MapleModulePhase(MaplePhaseID id, MemPool *mp) : MaplePhase(kModulePhase, id, *mp) {} in MapleModulePhase() argument
83 MapleFunctionPhase(MaplePhaseID id, MemPool *mp) : MaplePhase(kFunctionPhase, id, *mp) {} in MapleFunctionPhase() argument
91 MapleSccPhase(MaplePhaseID id, MemPool *mp) : MaplePhase(kSccPhase, id, *mp) {} in MapleSccPhase() argument
142 explicit PHASENAME(MemPool *mp) : MapleFunctionPhase<IRTYPE>(&id, mp) {} \
159 explicit PHASENAME(MemPool *mp) : MapleSccPhase<IRTYPE>(&id, mp) {} \
181 explicit PHASENAME(MemPool *mp) : MapleModulePhase(&id, mp) {} \
Dmaple_phase_manager.h293 … ModulePM(MemPool *mp, MaplePhaseID id) : MaplePhase(kModulePM, id, *mp), MaplePhaseManager(*mp) {} in ModulePM() argument
300 FunctionPM(MemPool *mp, MaplePhaseID id) : MapleModulePhase(id, mp), MaplePhaseManager(*mp) {} in FunctionPM() argument
307 SccPM(MemPool *mp, MaplePhaseID id) : MapleModulePhase(id, mp), MaplePhaseManager(*mp) {} in SccPM() argument
315 …FunctionPhaseGroup(MemPool *mp, MaplePhaseID id) : MapleFunctionPhase<IRType>(&id, mp), MaplePhase… in FunctionPhaseGroup() argument
Dmaple_phase_support.h139 explicit AnalysisDep(MemPool &mp) in AnalysisDep() argument
140 : allocator(&mp), in AnalysisDep()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/include/
Dpme_function.h53 PreMeFunction(MemPool *mp, MeFunction *func) in PreMeFunction() argument
54 : pmemp(mp), in PreMeFunction()
55 pmeAlloc(mp), in PreMeFunction()
Dme_function.h402 void SetPmeMempool(MemPool *mp) in SetPmeMempool() argument
404 preMeMp = mp; in SetPmeMempool()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/generics/
Dgenerics_methods.ets19 public mp<U>(a: int): U[] {
23 let c = this.mp<U>(10);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dverification.h105 VerificationPhaseResult(MemPool &mp, const VerifyResult &verifyResult) in VerificationPhaseResult() argument
106 : AnalysisResult(&mp), verifyResult(verifyResult) in VerificationPhaseResult()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
Dx64_cg.cpp64 PhiOperand &X64CG::CreatePhiOperand(MemPool &mp, MapleAllocator &mAllocator) in CreatePhiOperand() argument

12