Home
last modified time | relevance | path

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

12

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
Daarch64_phases.def22 if (GetMIRModule()->GetFlavor() != MIRFlavor::kFlavorLmbc) {
40 ADDTARGETPHASE("cfgo", !GetMIRModule()->IsCModule() && CGOptions::DoCFGO());
42 if (GetMIRModule()->GetFlavor() != MIRFlavor::kFlavorLmbc) {
52 ADDTARGETPHASE("cgsplitcriticaledge", GetMIRModule()->IsCModule());
54 ADDTARGETPHASE("regsaves", GetMIRModule()->IsCModule() && CGOptions::DoRegSavesOpt());
55 if (GetMIRModule()->GetFlavor() != MIRFlavor::kFlavorLmbc) {
56 ADDTARGETPHASE("storeloadopt", GetMIRModule()->IsCModule() && CGOptions::DoStoreLoadOpt());
59 …ADDTARGETPHASE("clearrdinfo", GetMIRModule()->IsCModule() && (CGOptions::DoStoreLoadOpt() || CGOpt…
63 ADDTARGETPHASE("cfgo", GetMIRModule()->IsCModule() && CGOptions::DoCFGO());
69 ADDTARGETPHASE("gencfi", !GetMIRModule()->IsCModule() || GetMIRModule()->IsWithDbgInfo());
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Dcfi.cpp105 if (emitter.GetCG()->GetMIRModule()->IsCModule()) { in Visit()
106 CHECK_NULL_FATAL(emitter.GetCG()->GetMIRModule()->CurFunction()); in Visit()
107 PUIdx pIdx = emitter.GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in Visit()
Dcfi_generator.cpp73 if (cg.GetMIRModule()->IsCModule()) { in GenerateRegisterStateDirective()
99 if (fSym == nullptr || !cg.GetCGOptions().WithLoc() || !cg.GetMIRModule()->IsCModule() || in InsertFirstLocation()
Demit.cpp138 CHECK_NULL_FATAL(GetCG()->GetMIRModule()->CurFunction()); in EmitLabelRef()
139 PUIdx pIdx = GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in EmitLabelRef()
255 for (auto it : cg->GetMIRModule()->GetSrcFileInfo()) { in EmitFileInfo()
301 MapleVector<MapleString> &asmSections = cg->GetMIRModule()->GetAsmDecls(); in EmitInlineAsmSection()
363 GetCG()->GetMIRModule()->CurFunction(); in EmitAsmLabel()
364 PUIdx pIdx = GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in EmitAsmLabel()
506 … if (GetCG()->GetMIRModule()->IsCModule() && (symName == "sys_nerr" || symName == "sys_errlist")) { in EmitAsmLabel()
853 if (cg->GetMIRModule()->IsCModule()) { in EmitScalarConstant()
881 CHECK_NULL_FATAL(GetCG()->GetMIRModule()->CurFunction()); in EmitScalarConstant()
882 PUIdx pIdx = GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in EmitScalarConstant()
[all …]
Dlabel_creation.cpp56 DebugInfo *di = cg->GetMIRModule()->GetDbgInfo(); in CreateStartEndLabel()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Demit.h367 rangeIdx2PrefixStr(cg.GetMIRModule()->GetMPAllocator().Adapter()), in Emitter()
370 stringPtr(cg.GetMIRModule()->GetMPAllocator().Adapter()), in Emitter()
371 localStrPtr(cg.GetMIRModule()->GetMPAllocator().Adapter()), in Emitter()
372 hugeSoTargets(cg.GetMIRModule()->GetMPAllocator().Adapter()), in Emitter()
373 labdie2labidxTable(std::less<DBGDie *>(), cg.GetMIRModule()->GetMPAllocator().Adapter()), in Emitter()
374 fileMap(std::less<uint32_t>(), cg.GetMIRModule()->GetMPAllocator().Adapter()) in Emitter()
376 MIRModule &mirModule = *cg.GetMIRModule(); in Emitter()
Dcg.h366 MIRModule *GetMIRModule() in GetMIRModule() function
403 MIRModule *GetMIRModule() const in GetMIRModule() function
Dobj_emit.h409 for (auto func : cg.GetMIRModule()->GetFunctionList()) { in ObjEmitter()
440 MemPool *memPool = cgFunc.GetCG()->GetMIRModule()->GetMemPool(); in CreateFuncEmitInfo()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_insn.cpp212 CHECK_NULL_FATAL(emitter.GetCG()->GetMIRModule()->CurFunction()); in Visit()
213 PUIdx pIdx = emitter.GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in Visit()
229 CHECK_NULL_FATAL(emitter.GetCG()->GetMIRModule()->CurFunction()); in Visit()
230 PUIdx pIdx = emitter.GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in Visit()
336 CHECK_NULL_FATAL(emitter.GetCG()->GetMIRModule()->CurFunction()); in Visit()
338 … std::to_string(emitter.GetCG()->GetMIRModule()->CurFunction()->GetPuidx())); in Visit()
387 CHECK_NULL_FATAL(emitter.GetCG()->GetMIRModule()->CurFunction()); in Visit()
389 … std::to_string(emitter.GetCG()->GetMIRModule()->CurFunction()->GetPuidx())); in Visit()
623 CHECK_NULL_FATAL(emitter.GetCG()->GetMIRModule()->CurFunction()); in Visit()
625 … std::to_string(emitter.GetCG()->GetMIRModule()->CurFunction()->GetPuidx())); in Visit()
Daarch64_memlayout.cpp44 CHECK_NULL_FATAL(be.GetMIRModule().CurFunction()); in ComputeStackSpaceRequirementForCall()
45 …MIRSymbol *symbol = be.GetMIRModule().CurFunction()->GetLocalOrGlobalSymbol(fn->GetStIdx(), false); in ComputeStackSpaceRequirementForCall()
64 if (be.GetMIRModule().GetFlavor() != kFlavorLmbc) { in ComputeStackSpaceRequirementForCall()
70 CHECK_NULL_FATAL(be.GetMIRModule().CurFunction()); in ComputeStackSpaceRequirementForCall()
71 … MIRSymbol *sym = be.GetMIRModule().CurFunction()->GetLocalOrGlobalSymbol(dread->GetStIdx()); in ComputeStackSpaceRequirementForCall()
154 if (be.GetMIRModule().IsCModule() && func->GetAttr(FUNCATTR_varargs)) { in LayoutVarargParams()
214 bool isLmbc = (be.GetMIRModule().GetFlavor() == kFlavorLmbc); in LayoutFormalParams()
368 if (be.GetMIRModule().GetFlavor() == kFlavorLmbc) { in LayoutLocalVariables()
488 if (be.GetMIRModule().GetFlavor() == kFlavorLmbc) { in LayoutReturnRef()
Daarch64_cg.cpp336 for (auto &tyId : GetMIRModule()->GetClassList()) { in GenerateObjectMaps()
369 if (!GetMIRModule()->IsCModule()) { in EnrollTargetPhases()
Daarch64_call_conv.cpp269 …DEBUG_ASSERT(beCommon.GetMIRModule().CurFunction() != nullptr, "curFunction should not be nullptr"… in LocateNextParm()
270 … auto *func = (tFunc != nullptr) ? tFunc : beCommon.GetMIRModule().CurFunction()->GetMIRFuncType(); in LocateNextParm()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
Dclass_init.cpp41GetMIRModule().GetFileinfo(GlobalTables::GetStrTable().GetOrCreateStrIdxFromName(kINFOFilename)); in CanRemoveClinitCheck()
79 …alTables::GetTypeTable().GetOrCreateClassType(namemangler::kClassMetadataTypeName, GetMIRModule()); in GetClassInfo()
/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/include/cg/x86_64/
Dx64_phases.def18 ADDTARGETPHASE("buildehfunc", GetMIRModule()->GetSrcLang() != kSrcLangC && false);
Dx64_call_conv.h133 convKind = GetCallConvKind(*(be.GetMIRModule().CurFunction())); in X64CallConvImpl()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
Dx64_memlayout.cpp48 CHECK_NULL_FATAL(be.GetMIRModule().CurFunction()); in ComputeStackSpaceRequirementForCall()
49 … MIRSymbol *sym = be.GetMIRModule().CurFunction()->GetLocalOrGlobalSymbol(dread->GetStIdx()); in ComputeStackSpaceRequirementForCall()
103 if (be.GetMIRModule().IsCModule() && func->GetAttr(FUNCATTR_varargs)) { in LayoutVarargParams()
Dx64_emitter.cpp1549 } else if (!cgFunc.GetCG()->GetMIRModule()->IsCModule()) { in EmitFunctionHeader()
1628 StructEmitInfo *sEmitInfo = cg.GetMIRModule()->GetMemPool()->New<StructEmitInfo>(); in EmitStructure()
1768 if (cg.GetMIRModule()->IsCModule()) { in EmitArray()
2126 valueSize = EmitSingleElement(*mirConst, true, cg.GetMIRModule()->IsCModule()); in EmitGlobalVariable()
2231 MIRBuilder *mirbuilder = GetCG()->GetMIRModule()->GetMIRBuilder(); in EmitDwFormAddr()
2239 CHECK_NULL_FATAL(GetCG()->GetMIRModule()->CurFunction()); in EmitDwFormAddr()
2240 PUIdx pIdx = GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in EmitDwFormAddr()
2312 MIRBuilder *mirbuilder = GetCG()->GetMIRModule()->GetMIRBuilder(); in EmitDwFormData8()
2326 CHECK_NULL_FATAL(GetCG()->GetMIRModule()->CurFunction()); in EmitDwFormData8()
2327 endLabelFuncPuIdx = GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in EmitDwFormData8()
[all …]
Dx64_args.cpp41 …MIRFunction *func = const_cast<MIRFunction *>(x64CGFunc->GetBecommon().GetMIRModule().CurFunction(… in CollectRegisterArgs()
276 …MIRFunction *func = const_cast<MIRFunction *>(x64CGFunc->GetBecommon().GetMIRModule().CurFunction(… in MoveVRegisterArgs()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Dverification.cpp94 const auto &functionList = result.GetMIRModule().GetFunctionList(); in DeferredCheckFinalClassAndMethod()
121 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
/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/include/be/
Dbecommon.h163 MIRModule &GetMIRModule() const in GetMIRModule() function

12