/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/ |
H A D | mir_nodes.cpp | 292 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 D | mir_lower.cpp | 127 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 D | mir_module.cpp | 71 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 D | mir_function.cpp | 252 MIRFunction *savedFunc = module->CurFunction(); in Dump()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/litecg/ |
H A D | lmir_builder.cpp | 232 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 D | aarch64_insn.cpp | 209 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 D | aarch64_call_conv.cpp | 123 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 D | aarch64_emitter.cpp | 45 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 D | aarch64_memlayout.cpp | 44 CHECK_NULL_FATAL(be.GetMIRModule().CurFunction()); in ComputeStackSpaceRequirementForCall()
|
H A D | aarch64_cgfunc.cpp | 3621 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 D | switch_lowerer.cpp | 195 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 D | lower.cpp | 89 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 D | x64_args.cpp | 41 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 D | x64_emitter.cpp | 1603 CHECK_NULL_FATAL(CG::GetCurCGFunc()->GetMirModule().CurFunction()); in EmitAddrofElement() 1607 : CG::GetCurCGFunc()->GetMirModule().CurFunction()->GetSymTab()->GetSymbolFromStIdx(stIdx.Idx()); in EmitAddrofElement()
|
H A D | x64_MPIsel.cpp | 360 CHECK_NULL_FATAL(cgFunc->GetBecommon().GetMIRModule().CurFunction()); in SelectOverFlowCall()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
H A D | mir_builder.h | 66 return mirModule->CurFunction(); in GetCurrentFunction() 227 currComment = GetMirModule().CurFunction()->AddNewDebugComment(comment);
|
H A D | mir_module.h | 291 MIRFunction *CurFunction() const in CurFunction() function in maple::MIRModule
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/ |
H A D | lower.h | 81 return mirModule.CurFunction(); in GetCurrentFunc()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/ |
H A D | x64_call_conv.h | 131 convKind = GetCallConvKind(*(be.GetMIRModule().CurFunction())); in X64CallConvImpl()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
H A D | emit.cpp | 80 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 D | orig_symbol.h | 60 return GlobalTables::GetGsymTable().GetModule()->CurFunction()->GetPregTab()->PregFromPregIdx( in GetMIRPreg()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/ |
H A D | constantfold.cpp | 1404 if (ExtractbitsRedundant(*static_cast<ExtractbitsNode*>(result), *mirModule->CurFunction())) { in FoldExtractbits() 1423 MIRSymbol *msy = mirModule->CurFunction()->GetLocalOrGlobalSymbol(addrofNode->GetStIdx()); in FoldIread()
|