/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
H A D | cg_phasemanager.h | 50 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 D | cg.h | 193 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 D | target_registry.h | 30 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 D | optimize_common.h | 125 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 D | mir_module.cpp | 26 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 D | intrinsics.cpp | 23 MIRModule *IntrinDesc::mirModule = nullptr; 31 void IntrinDesc::InitMIRModule(MIRModule *mod) in InitMIRModule()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
H A D | intrinsics.h | 44 class MIRModule; // circular dependency exists, no other choice 54 static MIRModule *mirModule; 55 static void InitMIRModule(MIRModule *mirModule);
|
H A D | mir_pragma.h | 25 class MIRModule; // circular dependency exists, no other choice 65 explicit MIRPragmaElement(MIRModule &m) : MIRPragmaElement(m.GetPragmaMPAllocator()) in MIRPragmaElement()
|
H A D | mir_module.h | 40 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 D | mir_nodes.h | 38 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 D | mir_lower.h | 51 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 D | phase_impl.h | 25 FuncOptimizeImpl(MIRModule &mod, bool trace = false); 29 MIRModule &GetMIRModule() in GetMIRModule() 34 const MIRModule &GetMIRModule() const in GetMIRModule() 67 MIRModule *module = nullptr;
|
H A D | maple_phase.h | 22 class MIRModule; 81 virtual bool PhaseRun(MIRModule &m) = 0; 193 bool PhaseRun(MIRModule &m) override;
|
H A D | phase_driver.h | 81 MIRModule *module;
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
H A D | cg_phasemanager.cpp | 73 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 D | becommon.h | 40 explicit BECommon(MIRModule &mod); 86 MIRModule &GetMIRModule() const in GetMIRModule() 173 MIRModule &mirModule;
|
H A D | switch_lowerer.h | 26 SwitchLowerer(maple::MIRModule &mod, maple::SwitchNode &stmt, maple::MapleAllocator &allocator) in SwitchLowerer() 39 maple::MIRModule &mirModule;
|
H A D | lower.h | 46 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 D | constantfold_test.cpp | 44 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 D | phase_impl.cpp | 23 FuncOptimizeImpl::FuncOptimizeImpl(MIRModule &mod, bool currTrace) in FuncOptimizeImpl()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/ |
H A D | x64_cg.h | 33 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 D | litecg_lmir_builder_test.cpp | 26 MIRModule mirmodule("mirmodule"); in TEST()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
H A D | aarch64_cg.h | 38 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 D | constantfold.h | 26 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 D | x64_cg.cpp | 34 CGFunc *X64CG::CreateCGFunc(MIRModule &mod, MIRFunction &mirFunc, BECommon &bec, MemPool &memPool, in CreateCGFunc()
|