Home
last modified time | relevance | path

Searched refs:MIRModule (Results 1 – 25 of 86) sorted by relevance

1234

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Dcg_phasemanager.h48 bool PhaseRun(MIRModule &m) override;
66 void GenerateOutPutFile(MIRModule &m);
67 void CreateCGAndBeCommon(MIRModule &m);
68 void PrepareLower(MIRModule &m);
69 void PostOutPut(MIRModule &m);
70 void DoFuncCGLower(const MIRModule &m, MIRFunction &mirFunc);
74 void InitProfile(MIRModule &m) const;
75 void EmitGlobalInfo(MIRModule &m) const;
76 void EmitDuplicatedAsmFunc(MIRModule &m) const;
77 void EmitDebugInfo(const MIRModule &m) const;
[all …]
Dcg.h120 CG(MIRModule &mod, const CGOptions &cgOptions) in CG()
149 …virtual CGFunc *CreateCGFunc(MIRModule &mod, MIRFunction &, BECommon &, MemPool &, StackMemPool &,…
268 MIRModule *GetMIRModule() in GetMIRModule()
283 MIRModule *GetMIRModule() const in GetMIRModule()
458 MIRModule *mirModule;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dverify_annotation.h23 void AddVerfAnnoThrowVerifyError(MIRModule &md, const ThrowVerifyErrorPragma &info, MIRStructType &…
24 void AddVerfAnnoAssignableCheck(MIRModule &md, std::vector<const AssignableCheckPragma *> &info,
26 void AddVerfAnnoExtendFinalCheck(MIRModule &md, MIRStructType &clsType);
27 void AddVerfAnnoOverrideFinalCheck(MIRModule &md, MIRStructType &clsType);
Dverification.h26 VerifyResult(const MIRModule &module, const KlassHierarchy &klassHierarchy, MemPool &memPool) in VerifyResult()
42 const MIRModule &GetMIRModule() const in GetMIRModule()
94 const MIRModule &module;
125 AnalysisResult *Run(MIRModule *module, ModuleResultMgr *mgr) override;
134 void VerifyModule(MIRModule &module, VerifyResult &result) const;
Dbin_mplt.h28 explicit BinaryMplt(MIRModule &md) : mirModule(md), binImport(md), binExport(md) {} in BinaryMplt()
43 const MIRModule &GetMod() const in GetMod()
69 MIRModule &mirModule;
Dverify_mark.h27 AnalysisResult *Run(MIRModule *module, ModuleResultMgr *mgr) override;
37 void AddAnnotations(MIRModule &module, const Klass &klass,
Dmir_scope.h33 explicit MIRScope(MIRModule *mod) : module(mod) {} in MIRScope()
34 MIRScope(MIRModule *mod, unsigned l) : module(mod), level(l) {} in MIRScope()
96 MIRModule *module;
Dmir_pragma.h25 class MIRModule; // circular dependency exists, no other choice variable
69 explicit MIRPragmaElement(MIRModule &m) : MIRPragmaElement(m.GetPragmaMPAllocator()) in MIRPragmaElement()
198 explicit MIRPragma(MIRModule &m) : MIRPragma(m, m.GetPragmaMPAllocator()) {} in MIRPragma()
200 …MIRPragma(MIRModule &m, MapleAllocator &elemAllocator) : mod(&m), elementVec(elemAllocator.Adapter… in MIRPragma()
291 MIRModule *mod;
Ddebug_info.h40 class MIRModule; variable
98 …explicit DBGExpr(MIRModule *m) : dwOp(0), value(kDbgDefaultVal), opnds(m->GetMPAllocator().Adapter… in DBGExpr()
100 …DBGExpr(MIRModule *m, DwOp op) : dwOp(op), value(kDbgDefaultVal), opnds(m->GetMPAllocator().Adapte… in DBGExpr()
153 …explicit DBGExprLoc(MIRModule *m) : module(m), exprVec(m->GetMPAllocator().Adapter()), symLoc(null… in DBGExprLoc()
158 …DBGExprLoc(MIRModule *m, DwOp op) : module(m), exprVec(m->GetMPAllocator().Adapter()), symLoc(null… in DBGExprLoc()
228 MIRModule *module;
375 DBGDie(MIRModule *m, DwTag tag);
527 MIRModule *module;
544 DBGAbbrevEntry(MIRModule *m, DBGDie *die);
593 … DBGAbbrevEntryVec(MIRModule *m, DwTag tag) : tag(tag), entryVec(m->GetMPAllocator().Adapter()) {} in DBGAbbrevEntryVec()
[all …]
Dintrinsics.h114 class MIRModule; // circular dependency exists, no other choice variable
194 static MIRModule *mirModule;
195 static void InitMIRModule(MIRModule *mirModule);
Dmir_module.h43 class MIRModule; // circular dependency exists, no other choice variable
45 using MIRModulePtr = MIRModule *;
190 class MIRModule {
195 explicit MIRModule(const std::string &fn = "");
196 MIRModule(MIRModule &p) = delete;
197 MIRModule &operator=(const MIRModule &module) = delete;
198 ~MIRModule();
Dmir_nodes.h38 extern MIRModule *theMIRModule;
231 void DumpOpnd(const MIRModule &mod, int32 indent) const;
1079 NaryNode(const MIRModule &mod, Opcode o) : NaryNode(mod.GetCurFuncCodeMPAllocator(), o) {} in NaryNode()
1083 …NaryNode(const MIRModule &mod, Opcode o, PrimType typ) : NaryNode(mod.GetCurFuncCodeMPAllocator(),… in NaryNode()
1090 …NaryNode(const MIRModule &mod, const NaryNode &node) : NaryNode(mod.GetCurFuncCodeMPAllocator(), n… in NaryNode()
1147 IntrinsicopNode(const MIRModule &mod, Opcode o, TyIdx typeIdx = TyIdx())
1157 IntrinsicopNode(const MIRModule &mod, Opcode o, PrimType typ, TyIdx typeIdx = TyIdx())
1167 IntrinsicopNode(const MIRModule &mod, const IntrinsicopNode &node) in IntrinsicopNode()
1417 explicit ArrayNode(const MIRModule &mod) : ArrayNode(mod.GetCurFuncCodeMPAllocator()) {} in ArrayNode()
1421 …ArrayNode(const MIRModule &mod, PrimType typ, TyIdx idx) : ArrayNode(mod.GetCurFuncCodeMPAllocator… in ArrayNode()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Dverify_annotation.cpp44 inline MIRStructType *GetOrCreateStructType(const std::string &name, MIRModule &md) in GetOrCreateStructType()
49 MIRPragmaElement *NewAnnotationElement(MIRModule &md, const GStrIdx &nameIdx, PragmaValueType type) in NewAnnotationElement()
57 MIRPragmaElement *NewAnnotationElement(MIRModule &md, const std::string &name, PragmaValueType type) in NewAnnotationElement()
63 MIRPragmaElement *NewAnnotationStringElement(MIRModule &md, const std::string &name, const std::str… in NewAnnotationStringElement()
72 MIRPragma *NewPragmaRTAnnotation(MIRModule &md, const MIRStructType &clsType, const MIRStructType &… in NewPragmaRTAnnotation()
83 MIRPragma *NewPragmaRTClassAnnotation(MIRModule &md, const MIRStructType &clsType, const std::strin… in NewPragmaRTClassAnnotation()
100 MIRPragma *NewAssignableCheckAnno(MIRModule &md, const MIRStructType &clsType, const AssignableChec… in NewAssignableCheckAnno()
108 void AddVerfAnnoThrowVerifyError(MIRModule &md, const ThrowVerifyErrorPragma &info, MIRStructType &… in AddVerfAnnoThrowVerifyError()
125 void AddVerfAnnoAssignableCheck(MIRModule &md, std::vector<const AssignableCheckPragma *> &info, MI… in AddVerfAnnoAssignableCheck()
155 void AddVerfAnnoExtendFinalCheck(MIRModule &md, MIRStructType &clsType) in AddVerfAnnoExtendFinalCheck()
[all …]
Dmir_module.cpp27 MIRModule::MIRModule(const std::string &fn) in MIRModule() function in maple::MIRModule
62 MIRModule::~MIRModule() in ~MIRModule()
72 MemPool *MIRModule::CurFuncCodeMemPool() const in CurFuncCodeMemPool()
80 MapleAllocator *MIRModule::CurFuncCodeMemPoolAllocator() const in CurFuncCodeMemPoolAllocator()
87 MapleAllocator &MIRModule::GetCurFuncCodeMPAllocator() const in GetCurFuncCodeMPAllocator()
94 void MIRModule::AddExternStructType(TyIdx tyIdx) in AddExternStructType()
99 void MIRModule::AddExternStructType(const MIRType *t) in AddExternStructType()
105 void MIRModule::AddSymbol(StIdx stIdx) in AddSymbol()
114 void MIRModule::AddSymbol(const MIRSymbol *s) in AddSymbol()
120 void MIRModule::DumpGlobals(bool emitStructureType) const in DumpGlobals()
[all …]
Dverify_mark.cpp24 AnalysisResult *DoVerifyMark::Run(MIRModule *module, ModuleResultMgr *mgr) in Run()
58 void DoVerifyMark::AddAnnotations(MIRModule &module, const Klass &klass, in AddAnnotations()
Dmpl_dbg.cpp36 std::vector<maple::MIRModule *> themodule(argc, nullptr); in main()
61 themodule[i] = new maple::MIRModule(argv[i]); in main()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Dcg_phasemanager.cpp71 void CgFuncPM::GenerateOutPutFile(MIRModule &m) in GenerateOutPutFile()
117 void CgFuncPM::PostOutPut(MIRModule &m) in PostOutPut()
224 void CgFuncPM::SweepUnusedStaticSymbol(MIRModule &m) in SweepUnusedStaticSymbol()
283 bool CgFuncPM::PhaseRun(MIRModule &m) in PhaseRun()
385 void CgFuncPM::EmitGlobalInfo(MIRModule &m) const in EmitGlobalInfo()
397 void CgFuncPM::InitProfile(MIRModule &m) const in InitProfile()
409 void CgFuncPM::CreateCGAndBeCommon(MIRModule &m) in CreateCGAndBeCommon()
468 void CgFuncPM::PrepareLower(MIRModule &m) in PrepareLower()
485 void CgFuncPM::DoFuncCGLower(const MIRModule &m, MIRFunction &mirFunc) in DoFuncCGLower()
504 void CgFuncPM::EmitDuplicatedAsmFunc(MIRModule &m) const in EmitDuplicatedAsmFunc()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/include/
Dphase_impl.h26 FuncOptimizeImpl(MIRModule &mod, KlassHierarchy *kh = nullptr, bool trace = false);
30 MIRModule &GetMIRModule() in GetMIRModule()
35 const MIRModule &GetMIRModule() const in GetMIRModule()
75 MIRModule *module = nullptr;
Dphase_driver.h66 virtual void RunAll(MIRModule *module, int thread, bool bSeq = false);
85 MIRModule *module;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ipa/include/old/
Dea_connection_graph.h90 …EAConnectionGraph(MIRModule *m, MapleAllocator *allocator, const GStrIdx &funcName, bool import = …
226 MIRModule *mirModule;
268 EACGBaseNode(MIRModule *m, MapleAllocator *a, NodeKind nk, EAConnectionGraph *ec) in EACGBaseNode()
273 …EACGBaseNode(MIRModule *m, MapleAllocator *a, NodeKind nk, EAConnectionGraph &ec, MeExpr *expr, EA… in EACGBaseNode()
397 MIRModule *mirModule;
438 EACGPointerNode(MIRModule *md, MapleAllocator *alloc, EAConnectionGraph *ec) in EACGPointerNode()
443 …EACGPointerNode(MIRModule *md, MapleAllocator *alloc, EAConnectionGraph &ec, MeExpr *expr, EAStatu… in EACGPointerNode()
512 EACGObjectNode(MIRModule *md, MapleAllocator *alloc, EAConnectionGraph *ec) in EACGObjectNode()
517 …EACGObjectNode(MIRModule *md, MapleAllocator *alloc, EAConnectionGraph &ec, MeExpr *expr, EAStatus… in EACGObjectNode()
615 EACGRefNode(MIRModule *md, MapleAllocator *alloc, EAConnectionGraph *ec) in EACGRefNode()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/include/
Dext_constantfold.h24 explicit ExtConstantFold(MIRModule *mod) : mirModule(mod) {} in ExtConstantFold()
39 MIRModule *mirModule;
Dclone.h64 Clone(MIRModule *mod, MemPool *memPool, MIRBuilder &builder, KlassHierarchy *kh) in Clone()
94 MIRModule *mirModule;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/
Dswitch_lowerer.h26 SwitchLowerer(maple::MIRModule &mod, maple::SwitchNode &stmt, maple::MapleAllocator &allocator) in SwitchLowerer()
39 maple::MIRModule &mirModule;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/include/
Dssa_tab.h30 SSATab(MemPool *memPool, MemPool *versMp, MIRModule *mod, MeFunction *f) in SSATab()
201 MIRModule &GetModule() const in GetModule()
242 MIRModule &mirModule;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
Dx64_cg.h35 X64CG(MIRModule &mod, const CGOptions &opts) : CG(mod, opts) {} in X64CG()
80 …CGFunc *CreateCGFunc(MIRModule &mod, MIRFunction &mirFunc, BECommon &bec, MemPool &memPool, StackM…

1234