Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DTargetFrameLoweringImpl.cpp64 const MCPhysReg *CSRegs = TRI.getCalleeSavedRegs(&MF); in determineCalleeSaves() local
67 if (!CSRegs || CSRegs[0] == 0) in determineCalleeSaves()
79 for (unsigned i = 0; CSRegs[i]; ++i) { in determineCalleeSaves()
80 unsigned Reg = CSRegs[i]; in determineCalleeSaves()
DPrologEpilogInserter.cpp303 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&F); in assignCalleeSavedSpillSlots() local
306 for (unsigned i = 0; CSRegs[i]; ++i) { in assignCalleeSavedSpillSlots()
307 unsigned Reg = CSRegs[i]; in assignCalleeSavedSpillSlots()
/external/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp511 static bool isCalleeSavedRegister(unsigned Reg, const MCPhysReg *CSRegs) { in isCalleeSavedRegister() argument
512 for (unsigned i = 0; CSRegs[i]; ++i) in isCalleeSavedRegister()
513 if (Reg == CSRegs[i]) in isCalleeSavedRegister()
520 static unsigned getNumCSRestores(MachineInstr &MI, const MCPhysReg *CSRegs) { in getNumCSRestores() argument
529 if (!isCalleeSavedRegister(MI.getOperand(RtIdx).getReg(), CSRegs) || in getNumCSRestores()
530 !isCalleeSavedRegister(MI.getOperand(RtIdx + 1).getReg(), CSRegs) || in getNumCSRestores()
610 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in emitEpilogue() local
614 unsigned Restores = getNumCSRestores(*LastPopI, CSRegs); in emitEpilogue()
906 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in determineCalleeSaves() local
909 for (unsigned i = 0; CSRegs[i]; i += 2) { in determineCalleeSaves()
[all …]
/external/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.h72 const MCPhysReg *CSRegs) { in isCalleeSavedRegister() argument
73 for (unsigned i = 0; CSRegs[i]; ++i) in isCalleeSavedRegister()
74 if (Reg == CSRegs[i]) in isCalleeSavedRegister()
DThumb1FrameLowering.cpp307 static bool isCSRestore(MachineInstr *MI, const MCPhysReg *CSRegs) { in isCSRestore() argument
310 isCalleeSavedRegister(MI->getOperand(0).getReg(), CSRegs)) in isCSRestore()
316 if (!isCalleeSavedRegister(MI->getOperand(i).getReg(), CSRegs)) in isCSRestore()
338 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in emitEpilogue() local
349 while (MBBI != MBB.begin() && isCSRestore(MBBI, CSRegs)); in emitEpilogue()
350 if (!isCSRestore(MBBI, CSRegs)) in emitEpilogue()
476 const MCPhysReg *CSRegs = TRI->getCalleeSavedRegs(&MF); in emitPopSpecialFixUp() local
477 for (unsigned i = 0; CSRegs[i]; ++i) in emitPopSpecialFixUp()
478 UsedRegs.addReg(CSRegs[i]); in emitPopSpecialFixUp()
DARMFrameLowering.cpp103 const MCPhysReg *CSRegs) { in isCSRestore() argument
109 if (!isCalleeSavedRegister(MI->getOperand(i).getReg(), CSRegs)) in isCSRestore()
116 isCalleeSavedRegister(MI->getOperand(0).getReg(), CSRegs) && in isCSRestore()
726 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in emitEpilogue() local
730 } while (MBBI != MBB.begin() && isCSRestore(MBBI, TII, CSRegs)); in emitEpilogue()
731 if (!isCSRestore(MBBI, TII, CSRegs)) in emitEpilogue()
1533 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in determineCalleeSaves() local
1534 for (unsigned i = 0; CSRegs[i]; ++i) { in determineCalleeSaves()
1535 unsigned Reg = CSRegs[i]; in determineCalleeSaves()
DARMBaseInstrInfo.cpp2087 const MCPhysReg *CSRegs = TRI->getCalleeSavedRegs(&MF); in tryFoldSPUpdateIntoPushPop() local
2106 if (isCalleeSavedRegister(CurReg, CSRegs) || in tryFoldSPUpdateIntoPushPop()
/external/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp98 const MCPhysReg *CSRegs = TRI->getCalleeSavedRegs(&MF); in determineCalleeSaves() local
99 for (unsigned I = 0; CSRegs[I]; ++I) { in determineCalleeSaves()
100 unsigned Reg = CSRegs[I]; in determineCalleeSaves()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyPEI.cpp319 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&F); in assignCalleeSavedSpillSlots() local
322 for (unsigned i = 0; CSRegs[i]; ++i) { in assignCalleeSavedSpillSlots()
323 unsigned Reg = CSRegs[i]; in assignCalleeSavedSpillSlots()
/external/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.cpp1162 for (const MCPhysReg *CSRegs = HRI.getCalleeSavedRegs(&MF); *CSRegs; in determineCalleeSaves() local
1163 ++CSRegs) in determineCalleeSaves()
1164 SavedRegs.set(*CSRegs); in determineCalleeSaves()