Home
last modified time | relevance | path

Searched refs:CSRegs (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetFrameLoweringImpl.cpp94 const MCPhysReg *CSRegs = MF.getRegInfo().getCalleeSavedRegs(); in determineCalleeSaves() local
97 if (!CSRegs || CSRegs[0] == 0) in determineCalleeSaves()
120 for (unsigned i = 0; CSRegs[i]; ++i) { in determineCalleeSaves()
121 unsigned Reg = CSRegs[i]; in determineCalleeSaves()
DRegUsageInfoCollector.cpp207 const MCPhysReg *CSRegs = TRI.getCalleeSavedRegs(&MF); in computeCalleeSavedRegs() local
208 for (unsigned i = 0; CSRegs[i]; ++i) { in computeCalleeSavedRegs()
209 MCPhysReg Reg = CSRegs[i]; in computeCalleeSavedRegs()
DPrologEpilogInserter.cpp389 const MCPhysReg *CSRegs = F.getRegInfo().getCalleeSavedRegs(); in assignCalleeSavedSpillSlots() local
392 for (unsigned i = 0; CSRegs[i]; ++i) { in assignCalleeSavedSpillSlots()
393 unsigned Reg = CSRegs[i]; in assignCalleeSavedSpillSlots()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DGCNNSAReassign.cpp84 const MCPhysReg *CSRegs; member in __anon4dfa77520111::GCNNSAReassign
136 for (unsigned I = 0; CSRegs[I]; ++I) in canAssign()
137 if (TRI->isSubRegisterEq(Reg, CSRegs[I]) && in canAssign()
138 !LRM->isPhysRegUsed(CSRegs[I])) in canAssign()
238 CSRegs = MRI->getCalleeSavedRegs(); in runOnMachineFunction()
DSIMachineFunctionInfo.cpp239 static bool isCalleeSavedReg(const MCPhysReg *CSRegs, MCPhysReg Reg) { in isCalleeSavedReg() argument
240 for (unsigned I = 0; CSRegs[I]; ++I) { in isCalleeSavedReg()
241 if (CSRegs[I] == Reg) in isCalleeSavedReg()
280 const MCPhysReg *CSRegs = MRI.getCalleeSavedRegs(); in allocateSGPRSpillToVGPR() local
299 if ((FrameInfo.hasCalls() || !isEntryFunction()) && CSRegs && in allocateSGPRSpillToVGPR()
300 isCalleeSavedReg(CSRegs, LaneVGPR)) { in allocateSGPRSpillToVGPR()
DSILowerSGPRSpills.cpp204 const MCPhysReg *CSRegs = MRI.getCalleeSavedRegs(); in spillCalleeSavedRegs() local
206 for (unsigned I = 0; CSRegs[I]; ++I) { in spillCalleeSavedRegs()
207 unsigned Reg = CSRegs[I]; in spillCalleeSavedRegs()
DGCNRegBankReassign.cpp162 const MCPhysReg *CSRegs; member in __anonde44f38a0111::GCNRegBankReassign
606 for (unsigned I = 0; CSRegs[I]; ++I) in scavengeReg()
607 if (TRI->isSubRegisterEq(Reg, CSRegs[I]) && in scavengeReg()
608 !LRM->isPhysRegUsed(CSRegs[I])) in scavengeReg()
747 CSRegs = MRI->getCalleeSavedRegs(); in runOnMachineFunction()
DSIFrameLowering.cpp55 const MCPhysReg *CSRegs = MRI.getCalleeSavedRegs(); in findScratchNonCalleeSaveRegister() local
56 for (unsigned i = 0; CSRegs[i]; ++i) in findScratchNonCalleeSaveRegister()
57 LiveRegs.addReg(CSRegs[i]); in findScratchNonCalleeSaveRegister()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.h90 const MCPhysReg *CSRegs) { in isCalleeSavedRegister() argument
91 for (unsigned i = 0; CSRegs[i]; ++i) in isCalleeSavedRegister()
92 if (Reg == CSRegs[i]) in isCalleeSavedRegister()
DThumb1FrameLowering.cpp455 static bool isCSRestore(MachineInstr &MI, const MCPhysReg *CSRegs) { in isCSRestore() argument
457 isCalleeSavedRegister(MI.getOperand(0).getReg(), CSRegs)) in isCSRestore()
485 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in emitEpilogue() local
498 while (MBBI != MBB.begin() && isCSRestore(*MBBI, CSRegs)); in emitEpilogue()
499 if (!isCSRestore(*MBBI, CSRegs)) in emitEpilogue()
659 const MCPhysReg *CSRegs = TRI.getCalleeSavedRegs(&MF); in emitPopSpecialFixUp() local
660 for (unsigned i = 0; CSRegs[i]; ++i) in emitPopSpecialFixUp()
661 UsedRegs.addReg(CSRegs[i]); in emitPopSpecialFixUp()
DARMFrameLowering.cpp146 const MCPhysReg *CSRegs) { in isCSRestore() argument
152 if (!isCalleeSavedRegister(MI.getOperand(i).getReg(), CSRegs)) in isCSRestore()
159 isCalleeSavedRegister(MI.getOperand(0).getReg(), CSRegs) && in isCSRestore()
799 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in emitEpilogue() local
803 } while (MBBI != MBB.begin() && isCSRestore(*MBBI, TII, CSRegs)); in emitEpilogue()
804 if (!isCSRestore(*MBBI, TII, CSRegs)) in emitEpilogue()
1704 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in determineCalleeSaves() local
1705 for (unsigned i = 0; CSRegs[i]; ++i) { in determineCalleeSaves()
1706 unsigned Reg = CSRegs[i]; in determineCalleeSaves()
DARMBaseInstrInfo.cpp2461 const MCPhysReg *CSRegs = TRI->getCalleeSavedRegs(&MF); in tryFoldSPUpdateIntoPushPop() local
2483 if (isCalleeSavedRegister(CurReg, CSRegs) || in tryFoldSPUpdateIntoPushPop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVFrameLowering.cpp374 static const MCPhysReg CSRegs[] = { RISCV::X1, /* ra */ in determineCalleeSaves() local
381 for (unsigned i = 0; CSRegs[i]; ++i) in determineCalleeSaves()
382 SavedRegs.set(CSRegs[i]); in determineCalleeSaves()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp210 const MCPhysReg *CSRegs = TRI->getCalleeSavedRegs(&MF); in determineCalleeSaves() local
211 for (unsigned I = 0; CSRegs[I]; ++I) { in determineCalleeSaves()
212 unsigned Reg = CSRegs[I]; in determineCalleeSaves()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp400 const MCPhysReg *CSRegs = MF->getRegInfo().getCalleeSavedRegs(); in findScratchNonCalleeSaveRegister() local
401 for (unsigned i = 0; CSRegs[i]; ++i) in findScratchNonCalleeSaveRegister()
402 LiveRegs.addReg(CSRegs[i]); in findScratchNonCalleeSaveRegister()
2356 const MCPhysReg *CSRegs = MF.getRegInfo().getCalleeSavedRegs(); in determineCalleeSaves() local
2364 for (unsigned i = 0; CSRegs[i]; ++i) { in determineCalleeSaves()
2365 const unsigned Reg = CSRegs[i]; in determineCalleeSaves()
2376 PairedReg = CSRegs[i ^ 1]; in determineCalleeSaves()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCFrameLowering.cpp660 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(MBB->getParent()); in findScratchRegister() local
670 for (int i = 0; CSRegs[i]; ++i) in findScratchRegister()
671 BV.reset(CSRegs[i]); in findScratchRegister()
2146 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in assignCalleeSavedSpillSlots() local
2147 for (unsigned i = 0; CSRegs[i]; ++i) in assignCalleeSavedSpillSlots()
2148 BVCalleeSaved.set(CSRegs[i]); in assignCalleeSavedSpillSlots()