Searched defs:CSRegs (Results 1 - 6 of 6) sorted by relevance

/external/llvm/lib/CodeGen/
H A DRegisterScavenging.cpp94 const uint16_t *CSRegs = TRI->getCalleeSavedRegs(&MF); local
95 if (CSRegs != NULL)
96 for (unsigned i = 0; CSRegs[i]; ++i)
97 CalleeSavedRegs.set(CSRegs[i]);
H A DPrologEpilogInserter.cpp213 const uint16_t *CSRegs = RegInfo->getCalleeSavedRegs(&F); local
220 if (CSRegs == 0 || CSRegs[0] == 0)
229 for (unsigned i = 0; CSRegs[i]; ++i) {
230 unsigned Reg = CSRegs[i];
/external/llvm/lib/Target/ARM/
H A DThumb1FrameLowering.cpp216 static bool isCalleeSavedRegister(unsigned Reg, const uint16_t *CSRegs) { argument
217 for (unsigned i = 0; CSRegs[i]; ++i)
218 if (Reg == CSRegs[i])
223 static bool isCSRestore(MachineInstr *MI, const uint16_t *CSRegs) { argument
226 isCalleeSavedRegister(MI->getOperand(0).getReg(), CSRegs))
232 if (!isCalleeSavedRegister(MI->getOperand(i).getReg(), CSRegs))
256 const uint16_t *CSRegs = RegInfo->getCalleeSavedRegs(); local
267 while (MBBI != MBB.begin() && isCSRestore(MBBI, CSRegs));
268 if (!isCSRestore(MBBI, CSRegs))
312 while (MBBI != MBB.end() && isCSRestore(MBBI, CSRegs))
[all...]
H A DARMFrameLowering.cpp85 static bool isCalleeSavedRegister(unsigned Reg, const uint16_t *CSRegs) { argument
86 for (unsigned i = 0; CSRegs[i]; ++i)
87 if (Reg == CSRegs[i])
94 const uint16_t *CSRegs) {
104 if (!isCalleeSavedRegister(MI->getOperand(i).getReg(), CSRegs))
111 isCalleeSavedRegister(MI->getOperand(0).getReg(), CSRegs) &&
376 const uint16_t *CSRegs = RegInfo->getCalleeSavedRegs(); local
380 while (MBBI != MBB.begin() && isCSRestore(MBBI, TII, CSRegs));
381 if (!isCSRestore(MBBI, TII, CSRegs))
1202 const uint16_t *CSRegs local
92 isCSRestore(MachineInstr *MI, const ARMBaseInstrInfo &TII, const uint16_t *CSRegs) argument
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp381 const uint16_t *CSRegs = RegInfo->getCalleeSavedRegs(); local
384 for (unsigned i = 0; CSRegs[i]; ++i) {
385 if (AArch64::GPR64RegClass.contains(CSRegs[i]) &&
386 !MF.getRegInfo().isPhysRegUsed(CSRegs[i])) {
387 ExtraReg = CSRegs[i];
/external/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp96 const uint16_t *CSRegs = TRI->getCalleeSavedRegs(&MF); local
97 for (unsigned I = 0; CSRegs[I]; ++I) {
98 unsigned Reg = CSRegs[I];

Completed in 422 milliseconds