/external/llvm/lib/CodeGen/ |
D | TargetFrameLoweringImpl.cpp | 76 const MCPhysReg *CSRegs = TRI.getCalleeSavedRegs(&MF); in determineCalleeSaves() local 79 if (!CSRegs || CSRegs[0] == 0) in determineCalleeSaves() 89 for (unsigned i = 0; CSRegs[i]; ++i) { in determineCalleeSaves() 90 unsigned Reg = CSRegs[i]; in determineCalleeSaves()
|
D | PrologEpilogInserter.cpp | 333 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&F); in assignCalleeSavedSpillSlots() local 336 for (unsigned i = 0; CSRegs[i]; ++i) { in assignCalleeSavedSpillSlots() 337 unsigned Reg = CSRegs[i]; in assignCalleeSavedSpillSlots()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | Thumb1FrameLowering.cpp | 178 static bool isCalleeSavedRegister(unsigned Reg, const unsigned *CSRegs) { in isCalleeSavedRegister() argument 179 for (unsigned i = 0; CSRegs[i]; ++i) in isCalleeSavedRegister() 180 if (Reg == CSRegs[i]) in isCalleeSavedRegister() 185 static bool isCSRestore(MachineInstr *MI, const unsigned *CSRegs) { in isCSRestore() argument 188 isCalleeSavedRegister(MI->getOperand(0).getReg(), CSRegs)) in isCSRestore() 194 if (!isCalleeSavedRegister(MI->getOperand(i).getReg(), CSRegs)) in isCSRestore() 217 const unsigned *CSRegs = RegInfo->getCalleeSavedRegs(); in emitEpilogue() local 228 while (MBBI != MBB.begin() && isCSRestore(MBBI, CSRegs)); in emitEpilogue() 229 if (!isCSRestore(MBBI, CSRegs)) in emitEpilogue() 273 while (MBBI != MBB.end() && isCSRestore(MBBI, CSRegs)) in emitEpilogue()
|
D | ARMFrameLowering.cpp | 75 static bool isCalleeSavedRegister(unsigned Reg, const unsigned *CSRegs) { in isCalleeSavedRegister() argument 76 for (unsigned i = 0; CSRegs[i]; ++i) in isCalleeSavedRegister() 77 if (Reg == CSRegs[i]) in isCalleeSavedRegister() 84 const unsigned *CSRegs) { in isCSRestore() argument 94 if (!isCalleeSavedRegister(MI->getOperand(i).getReg(), CSRegs)) in isCSRestore() 101 isCalleeSavedRegister(MI->getOperand(0).getReg(), CSRegs) && in isCSRestore() 344 const unsigned *CSRegs = RegInfo->getCalleeSavedRegs(); in emitEpilogue() local 348 while (MBBI != MBB.begin() && isCSRestore(MBBI, TII, CSRegs)); in emitEpilogue() 349 if (!isCSRestore(MBBI, TII, CSRegs)) in emitEpilogue() 907 const unsigned *CSRegs = RegInfo->getCalleeSavedRegs(); in processFunctionBeforeCalleeSavedScan() local [all …]
|
/external/llvm/lib/Target/ARM/ |
D | Thumb1FrameLowering.cpp | 306 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() 336 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in emitEpilogue() local 347 while (MBBI != MBB.begin() && isCSRestore(*MBBI, CSRegs)); in emitEpilogue() 348 if (!isCSRestore(*MBBI, CSRegs)) in emitEpilogue() 474 const MCPhysReg *CSRegs = TRI->getCalleeSavedRegs(&MF); in emitPopSpecialFixUp() local 475 for (unsigned i = 0; CSRegs[i]; ++i) in emitPopSpecialFixUp() 476 UsedRegs.addReg(CSRegs[i]); in emitPopSpecialFixUp()
|
D | ARMBaseRegisterInfo.h | 78 const MCPhysReg *CSRegs) { in isCalleeSavedRegister() argument 79 for (unsigned i = 0; CSRegs[i]; ++i) in isCalleeSavedRegister() 80 if (Reg == CSRegs[i]) in isCalleeSavedRegister()
|
D | ARMFrameLowering.cpp | 102 const MCPhysReg *CSRegs) { in isCSRestore() argument 108 if (!isCalleeSavedRegister(MI.getOperand(i).getReg(), CSRegs)) in isCSRestore() 115 isCalleeSavedRegister(MI.getOperand(0).getReg(), CSRegs) && in isCSRestore() 724 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in emitEpilogue() local 728 } while (MBBI != MBB.begin() && isCSRestore(*MBBI, TII, CSRegs)); in emitEpilogue() 729 if (!isCSRestore(*MBBI, TII, CSRegs)) in emitEpilogue() 1526 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in determineCalleeSaves() local 1527 for (unsigned i = 0; CSRegs[i]; ++i) { in determineCalleeSaves() 1528 unsigned Reg = CSRegs[i]; in determineCalleeSaves()
|
D | ARMBaseInstrInfo.cpp | 2090 const MCPhysReg *CSRegs = TRI->getCalleeSavedRegs(&MF); in tryFoldSPUpdateIntoPushPop() local 2109 if (isCalleeSavedRegister(CurReg, CSRegs) || in tryFoldSPUpdateIntoPushPop()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | RegisterScavenging.cpp | 99 const unsigned *CSRegs = TRI->getCalleeSavedRegs(); in enterBasicBlock() local 100 if (CSRegs != NULL) in enterBasicBlock() 101 for (unsigned i = 0; CSRegs[i]; ++i) in enterBasicBlock() 102 CalleeSavedRegs.set(CSRegs[i]); in enterBasicBlock()
|
D | PrologEpilogInserter.cpp | 210 const unsigned *CSRegs = RegInfo->getCalleeSavedRegs(&Fn); in calculateCalleeSavedRegisters() local 217 if (CSRegs == 0 || CSRegs[0] == 0) in calculateCalleeSavedRegisters() 225 for (unsigned i = 0; CSRegs[i]; ++i) { in calculateCalleeSavedRegisters() 226 unsigned Reg = CSRegs[i]; in calculateCalleeSavedRegisters()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64FrameLowering.cpp | 255 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(MF); in findScratchNonCalleeSaveRegister() local 256 for (unsigned i = 0; CSRegs[i]; ++i) in findScratchNonCalleeSaveRegister() 257 LiveRegs.addReg(CSRegs[i]); in findScratchNonCalleeSaveRegister() 1105 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in determineCalleeSaves() local 1107 for (unsigned i = 0; CSRegs[i]; ++i) { in determineCalleeSaves() 1108 const unsigned Reg = CSRegs[i]; in determineCalleeSaves() 1115 unsigned PairedReg = CSRegs[i ^ 1]; in determineCalleeSaves()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZFrameLowering.cpp | 104 const MCPhysReg *CSRegs = TRI->getCalleeSavedRegs(&MF); in determineCalleeSaves() local 105 for (unsigned I = 0; CSRegs[I]; ++I) { in determineCalleeSaves() 106 unsigned Reg = CSRegs[I]; in determineCalleeSaves()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCFrameLowering.cpp | 622 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(MBB->getParent()); in findScratchRegister() local 632 for (int i = 0; CSRegs[i]; ++i) in findScratchRegister() 633 BV.reset(CSRegs[i]); in findScratchRegister()
|