Home
last modified time | relevance | path

Searched refs:CurFunction (Results 1 - 22 of 22) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
H A Dmir_nodes.cpp292 DEBUG_ASSERT(theMIRModule->CurFunction() != nullptr, "theMIRModule->CurFunction() should not be nullptr"); in Dump()
293 const MIRSymbol *st = theMIRModule->CurFunction()->GetLocalOrGlobalSymbol(GetStIdx()); in Dump()
305 const MIRSymbol *st = theMIRModule->CurFunction()->GetLocalOrGlobalSymbol(stIdx); in Dump()
317 << theMIRModule->CurFunction()->GetPregTab()->PregFromPregIdx(regIdx)->GetPregNo(); in Dump()
339 DEBUG_ASSERT(theMIRModule->CurFunction() != nullptr, "theMIRModule->CurFunction() should not be nullptr"); in DumpBase()
353 const MIRSymbol *st = theMIRModule->CurFunction()->GetLocalOrGlobalSymbol(stIdx); in Dump()
372 << theMIRModule->CurFunction()->GetPregTab()->PregFromPregIdx(regIdx)->GetPregNo(); in Dump()
423 LogInfo::MapleLogger() << " @" << theMIRModule->CurFunction() in Dump()
[all...]
H A Dmir_lower.cpp127 DEBUG_ASSERT(mirModule.CurFunction() != nullptr, "mirModule.CurFunction() should not be nullptr"); in CreateCondGotoStmt()
128 LabelIdx lableIdx = mirModule.CurFunction()->GetLabelTab()->CreateLabel(); in CreateCondGotoStmt()
129 mirModule.CurFunction()->GetLabelTab()->AddToStringLabelMap(lableIdx); in CreateCondGotoStmt()
181 DEBUG_ASSERT(mirModule.CurFunction() != nullptr, "mirModule.CurFunction() should not be nullptr"); in CreateBrFalseAndGotoStmt()
182 gotoLableIdx = mirModule.CurFunction()->GetLabelTab()->CreateLabel(); in CreateBrFalseAndGotoStmt()
183 mirModule.CurFunction()->GetLabelTab()->AddToStringLabelMap(gotoLableIdx); in CreateBrFalseAndGotoStmt()
420 MIRFunction *func = mirModule.CurFunction(); in FuncTypeFromFuncPtrExpr()
H A Dmir_module.cpp71 DEBUG_ASSERT(CurFunction() != nullptr, "CurFunction() should not be nullptr"); in CurFuncCodeMemPool()
73 return CurFunction()->GetCodeMemPoolTmp(); in CurFuncCodeMemPool()
75 return CurFunction()->GetCodeMemPool(); in CurFuncCodeMemPool()
80 MIRFunction *curFunc = CurFunction(); in CurFuncCodeMemPoolAllocator()
87 MIRFunction *curFunc = CurFunction(); in GetCurFuncCodeMPAllocator()
H A Dmir_function.cpp252 MIRFunction *savedFunc = module->CurFunction(); in Dump()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/litecg/
H A Dlmir_builder.cpp232 return *module.CurFunction(); in GetCurFunction()
255 CHECK_NULL_FATAL(module.CurFunction()); in SetFuncFrameResverdSlot()
256 module.CurFunction()->GetFuncAttrs().SetFrameResverdSlot(slot); in SetFuncFrameResverdSlot()
261 DEBUG_ASSERT(module.CurFunction() != nullptr, "module.CurFunction() should not be nullptr"); in SetFuncFramePointer()
262 module.CurFunction()->GetFuncAttrs().SetFramePointer(val); in SetFuncFramePointer()
358 DEBUG_ASSERT(module.CurFunction() != nullptr, "module.CurFunction() should not be nullptr"); in CreateBB()
359 LabelIdx labelIdx = module.CurFunction()->GetLabelTab()->CreateLabel(); in CreateBB()
360 CHECK_NULL_FATAL(module.CurFunction()); in CreateBB()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
H A Daarch64_insn.cpp209 CHECK_NULL_FATAL(emitter.GetCG()->GetMIRModule()->CurFunction()); in Visit()
210 PUIdx pIdx = emitter.GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in Visit()
226 CHECK_NULL_FATAL(emitter.GetCG()->GetMIRModule()->CurFunction()); in Visit()
227 PUIdx pIdx = emitter.GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in Visit()
333 CHECK_NULL_FATAL(emitter.GetCG()->GetMIRModule()->CurFunction()); in Visit()
335 std::to_string(emitter.GetCG()->GetMIRModule()->CurFunction()->GetPuidx())); in Visit()
382 CHECK_NULL_FATAL(emitter.GetCG()->GetMIRModule()->CurFunction()); in Visit()
384 std::to_string(emitter.GetCG()->GetMIRModule()->CurFunction()->GetPuidx())); in Visit()
471 CHECK_NULL_FATAL(CG::GetCurCGFunc()->GetMirModule().CurFunction()); in Visit()
472 PUIdx pIdx = CG::GetCurCGFunc()->GetMirModule().CurFunction() in Visit()
[all...]
H A Daarch64_call_conv.cpp123 DEBUG_ASSERT(beCommon.GetMIRModule().CurFunction() != nullptr, "curFunction should not be nullptr"); in LocateNextParm()
124 auto *func = (tFunc != nullptr) ? tFunc : beCommon.GetMIRModule().CurFunction()->GetMIRFuncType(); in LocateNextParm()
H A Daarch64_emitter.cpp45 CHECK_NULL_FATAL(currCG->GetMIRModule()->CurFunction()); in EmitBBHeaderLabel()
46 PUIdx pIdx = currCG->GetMIRModule()->CurFunction()->GetPuidx(); in EmitBBHeaderLabel()
292 CHECK_NULL_FATAL(cgFunc.GetMirModule().CurFunction()); in Run()
293 PUIdx pIdx = cgFunc.GetMirModule().CurFunction()->GetPuidx(); in Run()
754 CHECK_NULL_FATAL(Globals::GetInstance()->GetBECommon()->GetMIRModule().CurFunction()); in EmitAdrpLabel()
756 strdup(std::to_string(Globals::GetInstance()->GetBECommon()->GetMIRModule().CurFunction()->GetPuidx()).c_str()); in EmitAdrpLabel()
H A Daarch64_memlayout.cpp44 CHECK_NULL_FATAL(be.GetMIRModule().CurFunction()); in ComputeStackSpaceRequirementForCall()
H A Daarch64_cgfunc.cpp3621 CHECK_NULL_FATAL(mirModule.CurFunction());
3622 MIRSymbol *sym = GetBecommon().GetMIRModule().CurFunction()->GetSymTab()->GetSymbolFromStIdx(stIdx.Idx());
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/
H A Dswitch_lowerer.cpp195 MIRLower mirLowerer(mirModule, mirModule.CurFunction()); in BuildCodeForSwitchItems()
352 DEBUG_ASSERT(mirModule.CurFunction() != nullptr, "curFunction should not be nullptr"); in LowerSwitch()
353 MIRLabelTable *labelTab = mirModule.CurFunction()->GetLabelTab(); in LowerSwitch()
H A Dlower.cpp89 MIRFunction *mirFunc = mirModule.CurFunction(); in LowerReturn()
320 DEBUG_ASSERT(mirModule.CurFunction() != nullptr, "CurFunction should not be nullptr"); in LowerIntrinsiccallAassignedToAssignStmt()
323 auto primType = mirModule.CurFunction()->GetPregItem(static_cast<PregIdx>(regIdx))->GetPrimType(); in LowerIntrinsiccallAassignedToAssignStmt()
330 DEBUG_ASSERT(mirModule.CurFunction()->GetLocalOrGlobalSymbol(stIdx) != nullptr, "nullptr check"); in LowerIntrinsiccallAassignedToAssignStmt()
331 auto *type = mirModule.CurFunction()->GetLocalOrGlobalSymbol(stIdx)->GetType(); in LowerIntrinsiccallAassignedToAssignStmt()
351 MIRFunction *curFunc = mirModule.CurFunction(); in LowerCallAssignedStmt()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
H A Dx64_args.cpp41 MIRFunction *func = const_cast<MIRFunction *>(x64CGFunc->GetBecommon().GetMIRModule().CurFunction()); in CollectRegisterArgs()
267 MIRFunction *func = const_cast<MIRFunction *>(x64CGFunc->GetBecommon().GetMIRModule().CurFunction()); in MoveVRegisterArgs()
H A Dx64_emitter.cpp1603 CHECK_NULL_FATAL(CG::GetCurCGFunc()->GetMirModule().CurFunction()); in EmitAddrofElement()
1607 : CG::GetCurCGFunc()->GetMirModule().CurFunction()->GetSymTab()->GetSymbolFromStIdx(stIdx.Idx()); in EmitAddrofElement()
H A Dx64_MPIsel.cpp360 CHECK_NULL_FATAL(cgFunc->GetBecommon().GetMIRModule().CurFunction()); in SelectOverFlowCall()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
H A Dmir_builder.h66 return mirModule->CurFunction(); in GetCurrentFunction()
227 currComment = GetMirModule().CurFunction()->AddNewDebugComment(comment);
H A Dmir_module.h291 MIRFunction *CurFunction() const in CurFunction() function in maple::MIRModule
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/
H A Dlower.h81 return mirModule.CurFunction(); in GetCurrentFunc()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
H A Dx64_call_conv.h131 convKind = GetCallConvKind(*(be.GetMIRModule().CurFunction())); in X64CallConvImpl()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Demit.cpp80 CHECK_NULL_FATAL(GetCG()->GetMIRModule()->CurFunction()); in EmitLabelRef()
81 PUIdx pIdx = GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in EmitLabelRef()
308 GetCG()->GetMIRModule()->CurFunction(); in EmitAsmLabel()
309 PUIdx pIdx = GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in EmitAsmLabel()
702 CHECK_NULL_FATAL(CG::GetCurCGFunc()->GetMirModule().CurFunction()); in EmitAsmLabel()
706 : CG::GetCurCGFunc()->GetMirModule().CurFunction()->GetSymTab()->GetSymbolFromStIdx(stIdx.Idx()); in EmitAsmLabel()
715 CHECK_NULL_FATAL(GetCG()->GetMIRModule()->CurFunction()); in EmitAsmLabel()
716 PUIdx pIdx = GetCG()->GetMIRModule()->CurFunction()->GetPuidx(); in EmitAsmLabel()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/include/
H A Dorig_symbol.h60 return GlobalTables::GetGsymTable().GetModule()->CurFunction()->GetPregTab()->PregFromPregIdx( in GetMIRPreg()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
H A Dconstantfold.cpp1404 if (ExtractbitsRedundant(*static_cast<ExtractbitsNode*>(result), *mirModule->CurFunction())) { in FoldExtractbits()
1423 MIRSymbol *msy = mirModule->CurFunction()->GetLocalOrGlobalSymbol(addrofNode->GetStIdx()); in FoldIread()

Completed in 33 milliseconds