Home
last modified time | relevance | path

Searched refs:GetMIRModule (Results 1 – 25 of 39) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
Daarch64_phases.def21 if (GetMIRModule()->GetFlavor() != MIRFlavor::kFlavorLmbc) {
38 ADDTARGETPHASE("cfgo", !GetMIRModule()->IsCModule() && CGOptions::DoCFGO());
40 if (GetMIRModule()->GetFlavor() != MIRFlavor::kFlavorLmbc) {
48 ADDTARGETPHASE("prescheduling", !GetMIRModule()->IsJavaModule() && CGOptions::DoPreSchedule());
50 ADDTARGETPHASE("cgsplitcriticaledge", GetMIRModule()->IsCModule());
52 ADDTARGETPHASE("regsaves", GetMIRModule()->IsCModule() && CGOptions::DoRegSavesOpt());
53 if (GetMIRModule()->GetFlavor() != MIRFlavor::kFlavorLmbc) {
54 ADDTARGETPHASE("storeloadopt", GetMIRModule()->IsCModule() && CGOptions::DoStoreLoadOpt());
57 …ADDTARGETPHASE("clearrdinfo", GetMIRModule()->IsCModule() && (CGOptions::DoStoreLoadOpt() || CGOpt…
61 ADDTARGETPHASE("cfgo", GetMIRModule()->IsCModule() && CGOptions::DoCFGO());
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
Djava_eh_lower.cpp43 MIRBuilder *mirBuilder = GetMIRModule().GetMIRBuilder(); in DoLowerDiv()
44 MIRFunction *func = GetMIRModule().CurFunction(); in DoLowerDiv()
61GetMIRModule().CurFunction(), kScopeLocal); in DoLowerDiv()
73 retExprNode = GetMIRModule().GetMIRBuilder()->CreateExprRegread(ptype, resPregIdx); in DoLowerDiv()
78 …mirBuilder->CreateSymbol(TyIdx(ptype), resName, kStVar, kScAuto, GetMIRModule().CurFunction(), kSc… in DoLowerDiv()
81 retExprNode = GetMIRModule().GetMIRBuilder()->CreateExprDread(*divResSymbol, 0); in DoLowerDiv()
91 …MapleVector<BaseNode *> args(GetMIRModule().GetMIRBuilder()->GetCurrentFuncCodeMpAllocator()->Adap… in DoLowerDiv()
120 CondGotoNode *brFalseStmt = GetMIRModule().CurFuncCodeMemPool()->New<CondGotoNode>(OP_brfalse); in DoLowerBoundaryCheck()
123 LabelIdx lbidx = GetMIRModule().CurFunction()->GetLabelTab()->CreateLabel(); in DoLowerBoundaryCheck()
124 GetMIRModule().CurFunction()->GetLabelTab()->AddToStringLabelMap(lbidx); in DoLowerBoundaryCheck()
[all …]
Dclass_init.cpp50GetMIRModule().GetFileinfo(GlobalTables::GetStrTable().GetOrCreateStrIdxFromName(kINFOFilename)); in CanRemoveClinitCheck()
198 …alTables::GetTypeTable().GetOrCreateClassType(namemangler::kClassMetadataTypeName, GetMIRModule()); in GetClassInfo()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Demit.h383 rangeIdx2PrefixStr(cg.GetMIRModule()->GetMPAllocator().Adapter()), in Emitter()
386 stringPtr(cg.GetMIRModule()->GetMPAllocator().Adapter()), in Emitter()
387 localStrPtr(cg.GetMIRModule()->GetMPAllocator().Adapter()), in Emitter()
388 hugeSoTargets(cg.GetMIRModule()->GetMPAllocator().Adapter()), in Emitter()
389 labdie2labidxTable(std::less<DBGDie *>(), cg.GetMIRModule()->GetMPAllocator().Adapter()), in Emitter()
390 fileMap(std::less<uint32_t>(), cg.GetMIRModule()->GetMPAllocator().Adapter()) in Emitter()
392 MIRModule &mirModule = *cg.GetMIRModule(); in Emitter()
Dcg.h268 MIRModule *GetMIRModule() in GetMIRModule() function
283 MIRModule *GetMIRModule() const in GetMIRModule() function
Dobj_emit.h368 for (auto func : cg.GetMIRModule()->GetFunctionList()) { in ObjEmitter()
399 MemPool *memPool = cgFunc.GetCG()->GetMIRModule()->GetMemPool(); in CreateFuncEmitInfo()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Demit.cpp130 PUIdx pIdx = GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in EmitLabelRef()
243 for (auto it : cg->GetMIRModule()->GetSrcFileInfo()) { in EmitFileInfo()
289 MapleVector<MapleString> &asmSections = cg->GetMIRModule()->GetAsmDecls(); in EmitInlineAsmSection()
351 PUIdx pIdx = GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in EmitAsmLabel()
489 … if (GetCG()->GetMIRModule()->IsCModule() && (symName == "sys_nerr" || symName == "sys_errlist")) { in EmitAsmLabel()
763 if (cg->GetMIRModule()->IsCModule()) { in EmitScalarConstant()
790 PUIdx pIdx = GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in EmitScalarConstant()
1261 namemangler::kMuidFuncDefTabPrefixStr + cg->GetMIRModule()->GetFileNameAsPostfix(); in GetAddroffuncConst()
1395 std::string strTabName = reflectStrTabPrefix + cg->GetMIRModule()->GetFileNameAsPostfix(); in EmitIntConst()
1474 … std::string muidDataTabName = muidDataTabPrefix + cg->GetMIRModule()->GetFileNameAsPostfix(); in EmitIntConst()
[all …]
Dcfi.cpp106 if (emitter.GetCG()->GetMIRModule()->IsCModule()) { in Visit()
107 PUIdx pIdx = emitter.GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in Visit()
Dlabel_creation.cpp46 DebugInfo *di = cg->GetMIRModule()->GetDbgInfo(); in CreateStartEndLabel()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/include/
Dphase_impl.h30 MIRModule &GetMIRModule() in GetMIRModule() function
35 const MIRModule &GetMIRModule() const in GetMIRModule() function
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/src/
Dme_irmap.cpp31 bb->DumpHeader(&GetMIRModule()); in Dump()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/src/
Dphase_impl.cpp125 for (MIRFunction *func : phaseImpl->GetMIRModule().GetFunctionList()) { in RunSerial()
159 for (MIRFunction *func : phaseImpl->GetMIRModule().GetFunctionList()) { in RunParallel()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_memlayout.cpp44 …MIRSymbol *symbol = be.GetMIRModule().CurFunction()->GetLocalOrGlobalSymbol(fn->GetStIdx(), false); in ComputeStackSpaceRequirementForCall()
66 … MIRSymbol *sym = be.GetMIRModule().CurFunction()->GetLocalOrGlobalSymbol(dread->GetStIdx()); in ComputeStackSpaceRequirementForCall()
141 if (be.GetMIRModule().IsCModule() && func->GetAttr(FUNCATTR_varargs)) { in LayoutVarargParams()
202 bool isLmbc = (be.GetMIRModule().GetFlavor() == kFlavorLmbc); in LayoutFormalParams()
300 if (be.GetMIRModule().GetFlavor() == kFlavorLmbc) { in LayoutLocalVariables()
385 if (be.GetMIRModule().GetFlavor() == kFlavorLmbc) { in LayoutReturnRef()
Daarch64_insn.cpp211 PUIdx pIdx = emitter.GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in Visit()
227 PUIdx pIdx = emitter.GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in Visit()
331 … std::to_string(emitter.GetCG()->GetMIRModule()->CurFunction()->GetPuidx())); in Visit()
380 … std::to_string(emitter.GetCG()->GetMIRModule()->CurFunction()->GetPuidx())); in Visit()
Daarch64_cg.cpp330 for (auto &tyId : GetMIRModule()->GetClassList()) { in GenerateObjectMaps()
363 if (!GetMIRModule()->IsCModule()) { in EnrollTargetPhases()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
Dx64_phases.def18 ADDTARGETPHASE("buildehfunc", GetMIRModule()->GetSrcLang() != kSrcLangC && false);
Dx64_call_conv.h125 convKind = GetCallConvKind(*(be.GetMIRModule().CurFunction())); in X64CallConvImpl()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Dverification.cpp107 const auto &functionList = result.GetMIRModule().GetFunctionList(); in DeferredCheckFinalClassAndMethod()
134 const auto &functionList = result.GetMIRModule().GetFunctionList(); in VerifyModule()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dverification.h42 const MIRModule &GetMIRModule() const in GetMIRModule() function
Dbin_mpl_export.h146 const MIRModule &GetMIRModule() const in GetMIRModule() function
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/include/
Dirmap.h191 MIRModule &GetMIRModule() in GetMIRModule() function
196 const MIRModule &GetMIRModule() const in GetMIRModule() function
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
Dx64_memlayout.cpp48 … MIRSymbol *sym = be.GetMIRModule().CurFunction()->GetLocalOrGlobalSymbol(dread->GetStIdx()); in ComputeStackSpaceRequirementForCall()
102 if (be.GetMIRModule().IsCModule() && func->GetAttr(FUNCATTR_varargs)) { in LayoutVarargParams()
Dx64_emitter.cpp1534 } else if (!cgFunc.GetCG()->GetMIRModule()->IsCModule()) { in EmitFunctionHeader()
1620 StructEmitInfo *sEmitInfo = cg.GetMIRModule()->GetMemPool()->New<StructEmitInfo>(); in EmitStructure()
1758 if (cg.GetMIRModule()->IsCModule()) { in EmitArray()
2111 valueSize = EmitSingleElement(*mirConst, true, cg.GetMIRModule()->IsCModule()); in EmitGlobalVariable()
2224 MIRBuilder *mirbuilder = GetCG()->GetMIRModule()->GetMIRBuilder(); in EmitDwFormAddr()
2231 PUIdx pIdx = GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in EmitDwFormAddr()
2303 MIRBuilder *mirbuilder = GetCG()->GetMIRModule()->GetMIRBuilder(); in EmitDwFormData8()
2316 endLabelFuncPuIdx = GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in EmitDwFormData8()
2327 startLabelFuncPuIdx = GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in EmitDwFormData8()
2471 emitter->GetCG()->GetMIRModule()->GetDbgInfo()->AddStrps(attr->GetId()); in UpdateAttrAndEmit()
[all …]
Dx64_args.cpp41 …MIRFunction *func = const_cast<MIRFunction *>(x64CGFunc->GetBecommon().GetMIRModule().CurFunction(… in CollectRegisterArgs()
273 …MIRFunction *func = const_cast<MIRFunction *>(x64CGFunc->GetBecommon().GetMIRModule().CurFunction(… in MoveVRegisterArgs()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/
Dbecommon.h164 MIRModule &GetMIRModule() const in GetMIRModule() function

12