Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp504 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/
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.cpp305 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()
DARMFrameLowering.cpp94 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()
DARMBaseInstrInfo.cpp2045 const MCPhysReg *CSRegs = TRI->getCalleeSavedRegs(&MF); in tryFoldSPUpdateIntoPushPop() local
2067 if (isCalleeSavedRegister(CurReg, CSRegs) || in tryFoldSPUpdateIntoPushPop()
/external/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp296 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/
DSystemZFrameLowering.cpp96 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()