Home
last modified time | relevance | path

Searched refs:MIRModule (Results 1 - 25 of 43) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Dcg_phasemanager.h50 bool PhaseRun(MIRModule &m) override;
68 void GenerateOutPutFile(MIRModule &m);
69 void CreateCGAndBeCommon(MIRModule &m, const Target *T);
70 void PrepareLower(MIRModule &m);
71 void PostOutPut(MIRModule &m);
72 void DoFuncCGLower(const MIRModule &m, MIRFunction &mirFunc);
76 void EmitGlobalInfo(MIRModule &m) const;
77 void EmitDuplicatedAsmFunc(MIRModule &m) const;
78 bool IsFramework(MIRModule &m) const;
H A Dcg.h193 CG(MIRModule &mod, const CGOptions &cgOptions) in CG()
209 virtual CGFunc *CreateCGFunc(MIRModule &mod, MIRFunction &, BECommon &, MemPool &, StackMemPool &, MapleAllocator &,
264 MIRModule *GetMIRModule() in GetMIRModule()
301 MIRModule *GetMIRModule() const in GetMIRModule()
449 MIRModule *mirModule;
H A Dtarget_registry.h30 using CGCtorFnTy = CG *(*)(MIRModule &mod, const CGOptions &opts, const std::vector<std::string> &nameVec,
52 CG *createCG(MIRModule &mod, const CGOptions &opts, const std::vector<std::string> &nameVec, in createCG()
150 static CG *Allocator(MIRModule &mod, const CGOptions &opts, const std::vector<std::string> &nameVec, in Allocator()
H A Doptimize_common.h125 static void GenerateDot(const std::string &preFix, const CGFunc &cgFunc, const MIRModule &mod,
130 static std::string GetFileName(const MIRModule &mirModule, const std::string &filePreFix);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
H A Dmir_module.cpp26 MIRModule::MIRModule(const std::string &fn) in MIRModule() function in maple::MIRModule
60 MIRModule::~MIRModule() in ~MIRModule()
69 MemPool *MIRModule::CurFuncCodeMemPool() const in CurFuncCodeMemPool()
78 MapleAllocator *MIRModule::CurFuncCodeMemPoolAllocator() const in CurFuncCodeMemPoolAllocator()
85 MapleAllocator &MIRModule::GetCurFuncCodeMPAllocator() const in GetCurFuncCodeMPAllocator()
92 void MIRModule::AddExternStructType(TyIdx tyIdx) in AddExternStructType()
97 void MIRModule::AddExternStructType(const MIRType *t) in AddExternStructType()
103 void MIRModule
[all...]
H A Dintrinsics.cpp23 MIRModule *IntrinDesc::mirModule = nullptr;
31 void IntrinDesc::InitMIRModule(MIRModule *mod) in InitMIRModule()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
H A Dintrinsics.h44 class MIRModule; // circular dependency exists, no other choice
54 static MIRModule *mirModule;
55 static void InitMIRModule(MIRModule *mirModule);
H A Dmir_pragma.h25 class MIRModule; // circular dependency exists, no other choice
65 explicit MIRPragmaElement(MIRModule &m) : MIRPragmaElement(m.GetPragmaMPAllocator()) in MIRPragmaElement()
H A Dmir_module.h40 class MIRModule; // circular dependency exists, no other choice
42 using MIRModulePtr = MIRModule *;
185 class MIRModule { class
190 explicit MIRModule(const std::string &fn = "");
191 MIRModule(MIRModule &p) = delete;
192 MIRModule &operator=(const MIRModule &module) = delete;
193 ~MIRModule();
H A Dmir_nodes.h38 extern MIRModule *theMIRModule;
227 void DumpOpnd(const MIRModule &mod, int32 indent) const;
729 NaryNode(const MIRModule &mod, Opcode o) : NaryNode(mod.GetCurFuncCodeMPAllocator(), o) {}
733 NaryNode(const MIRModule &mod, Opcode o, PrimType typ) : NaryNode(mod.GetCurFuncCodeMPAllocator(), o, typ) {}
740 NaryNode(const MIRModule &mod, const NaryNode &node) : NaryNode(mod.GetCurFuncCodeMPAllocator(), node) {}
794 IntrinsicopNode(const MIRModule &mod, Opcode o, TyIdx typeIdx = TyIdx())
804 IntrinsicopNode(const MIRModule &mod, Opcode o, PrimType typ, TyIdx typeIdx = TyIdx())
814 IntrinsicopNode(const MIRModule &mod, const IntrinsicopNode &node)
1328 explicit SwitchNode(const MIRModule &mod) : SwitchNode(mod.GetCurFuncCodeMPAllocator()) {} in SwitchNode()
1337 SwitchNode(const MIRModule
[all...]
H A Dmir_lower.h51 MIRLower(MIRModule &mod, MIRFunction *f) : mirModule(mod), mirFunc(f) {} in MIRLower()
149 MIRModule &mirModule;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/include/
H A Dphase_impl.h25 FuncOptimizeImpl(MIRModule &mod, bool trace = false);
29 MIRModule &GetMIRModule() in GetMIRModule()
34 const MIRModule &GetMIRModule() const in GetMIRModule()
67 MIRModule *module = nullptr;
H A Dmaple_phase.h22 class MIRModule;
81 virtual bool PhaseRun(MIRModule &m) = 0;
193 bool PhaseRun(MIRModule &m) override;
H A Dphase_driver.h81 MIRModule *module;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Dcg_phasemanager.cpp73 void CgFuncPM::GenerateOutPutFile(MIRModule &m) in GenerateOutPutFile()
113 void CgFuncPM::PostOutPut(MIRModule &m) in PostOutPut()
144 bool CgFuncPM::PhaseRun(MIRModule &m) in PhaseRun()
248 void CgFuncPM::EmitGlobalInfo(MIRModule &m) const in EmitGlobalInfo()
257 void CgFuncPM::CreateCGAndBeCommon(MIRModule &m, const Target *t) in CreateCGAndBeCommon()
307 void CgFuncPM::PrepareLower(MIRModule &m) in PrepareLower()
316 void CgFuncPM::DoFuncCGLower(const MIRModule &m, MIRFunction &mirFunc) in DoFuncCGLower()
340 void CgFuncPM::EmitDuplicatedAsmFunc(MIRModule &m) const in EmitDuplicatedAsmFunc()
379 bool CgFuncPM::IsFramework([[maybe_unused]] MIRModule &m) const in IsFramework()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/
H A Dbecommon.h40 explicit BECommon(MIRModule &mod);
86 MIRModule &GetMIRModule() const in GetMIRModule()
173 MIRModule &mirModule;
H A Dswitch_lowerer.h26 SwitchLowerer(maple::MIRModule &mod, maple::SwitchNode &stmt, maple::MapleAllocator &allocator) in SwitchLowerer()
39 maple::MIRModule &mirModule;
H A Dlower.h46 CGLowerer(MIRModule &mod, BECommon &common, MIRFunction *func = nullptr) : mirModule(mod), beCommon(common) in CGLowerer()
53 CGLowerer(MIRModule &mod, BECommon &common, bool genEh, bool verboseCG) : mirModule(mod), beCommon(common) in CGLowerer()
162 MIRModule &mirModule;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/test/mpl2mpl/
H A Dconstantfold_test.cpp44 MIRModule mirmodule("mirmodule"); in TEST()
57 MIRModule mirmodule("mirmodule"), mirmodule2("mirmodule2"); in TEST()
58 // NOTE:After creating a MIRModule class object, mirFunc must be set on the object in TEST()
89 MIRModule mirmodule("mirmodule"), mirmodule2("mirmodule2"); in TEST()
120 MIRModule mirmodule("mirmodule"), mirmodule2("mirmodule2"); in TEST()
157 MIRModule mirmodule("mirmodule"), mirmodule2("mirmodule2"); in TEST()
216 MIRModule mirmodule("mirmodule"), mirmodule2("mirmodule2"); in TEST()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/src/
H A Dphase_impl.cpp23 FuncOptimizeImpl::FuncOptimizeImpl(MIRModule &mod, bool currTrace) in FuncOptimizeImpl()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
H A Dx64_cg.h33 X64CG(MIRModule &mod, const CGOptions &opts, const std::vector<std::string> &nameVec, in X64CG()
78 CGFunc *CreateCGFunc(MIRModule &mod, MIRFunction &mirFunc, BECommon &bec, MemPool &memPool, StackMemPool &stackMp,
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/test/maple_be/
H A Dlitecg_lmir_builder_test.cpp26 MIRModule mirmodule("mirmodule"); in TEST()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
H A Daarch64_cg.h38 AArch64CG(MIRModule &mod, const CGOptions &opts, const std::vector<std::string> &nameVec, in AArch64CG()
50 CGFunc *CreateCGFunc(MIRModule &mod, MIRFunction &mirFunc, BECommon &bec, MemPool &memPool, StackMemPool &stackMp,
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/include/
H A Dconstantfold.h26 ConstantFold(MIRModule &mod, bool trace) : FuncOptimizeImpl(mod, trace), mirModule(&mod) {} in ConstantFold()
28 explicit ConstantFold(MIRModule &mod) : FuncOptimizeImpl(mod, false), mirModule(&mod) {} in ConstantFold()
110 MIRModule *mirModule;
/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()

Completed in 16 milliseconds

12