Searched refs:CSRegs (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/Target/AArch64/ |
D | AArch64FrameLowering.cpp | 504 static bool isCalleeSavedRegister(unsigned Reg, const MCPhysReg *CSRegs) { in isCalleeSavedRegister() argument 505 for (unsigned i = 0; CSRegs[i]; ++i) in isCalleeSavedRegister() 506 if (Reg == CSRegs[i]) in isCalleeSavedRegister() 511 static bool isCSRestore(MachineInstr *MI, const MCPhysReg *CSRegs) { in isCSRestore() argument 520 if (!isCalleeSavedRegister(MI->getOperand(RtIdx).getReg(), CSRegs) || in isCSRestore() 521 !isCalleeSavedRegister(MI->getOperand(RtIdx + 1).getReg(), CSRegs) || in isCSRestore() 599 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in emitEpilogue() local 604 } while (LastPopI != MBB.begin() && isCSRestore(LastPopI, CSRegs)); in emitEpilogue() 605 if (!isCSRestore(LastPopI, CSRegs)) { in emitEpilogue() 900 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in processFunctionBeforeCalleeSavedScan() local [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseRegisterInfo.h | 72 const MCPhysReg *CSRegs) { in isCalleeSavedRegister() argument 73 for (unsigned i = 0; CSRegs[i]; ++i) in isCalleeSavedRegister() 74 if (Reg == CSRegs[i]) in isCalleeSavedRegister()
|
D | Thumb1FrameLowering.cpp | 305 static bool isCSRestore(MachineInstr *MI, const MCPhysReg *CSRegs) { in isCSRestore() argument 308 isCalleeSavedRegister(MI->getOperand(0).getReg(), CSRegs)) in isCSRestore() 314 if (!isCalleeSavedRegister(MI->getOperand(i).getReg(), CSRegs)) in isCSRestore() 339 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in emitEpilogue() local 350 while (MBBI != MBB.begin() && isCSRestore(MBBI, CSRegs)); in emitEpilogue() 351 if (!isCSRestore(MBBI, CSRegs)) in emitEpilogue()
|
D | ARMFrameLowering.cpp | 94 const MCPhysReg *CSRegs) { in isCSRestore() argument 100 if (!isCalleeSavedRegister(MI->getOperand(i).getReg(), CSRegs)) in isCSRestore() 107 isCalleeSavedRegister(MI->getOperand(0).getReg(), CSRegs) && in isCSRestore() 762 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in emitEpilogue() local 766 } while (MBBI != MBB.begin() && isCSRestore(MBBI, TII, CSRegs)); in emitEpilogue() 767 if (!isCSRestore(MBBI, TII, CSRegs)) in emitEpilogue() 1564 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in processFunctionBeforeCalleeSavedScan() local 1565 for (unsigned i = 0; CSRegs[i]; ++i) { in processFunctionBeforeCalleeSavedScan() 1566 unsigned Reg = CSRegs[i]; in processFunctionBeforeCalleeSavedScan()
|
D | ARMBaseInstrInfo.cpp | 2045 const MCPhysReg *CSRegs = TRI->getCalleeSavedRegs(&MF); in tryFoldSPUpdateIntoPushPop() local 2067 if (isCalleeSavedRegister(CurReg, CSRegs) || in tryFoldSPUpdateIntoPushPop()
|
/external/llvm/lib/CodeGen/ |
D | PrologEpilogInserter.cpp | 296 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&F); in calculateCalleeSavedRegisters() local 303 if (!CSRegs || CSRegs[0] == 0) in calculateCalleeSavedRegisters() 311 for (unsigned i = 0; CSRegs[i]; ++i) { in calculateCalleeSavedRegisters() 312 unsigned Reg = CSRegs[i]; in calculateCalleeSavedRegisters()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZFrameLowering.cpp | 96 const MCPhysReg *CSRegs = TRI->getCalleeSavedRegs(&MF); in processFunctionBeforeCalleeSavedScan() local 97 for (unsigned I = 0; CSRegs[I]; ++I) { in processFunctionBeforeCalleeSavedScan() 98 unsigned Reg = CSRegs[I]; in processFunctionBeforeCalleeSavedScan()
|