Lines Matching refs:CSI
321 std::vector<CalleeSavedInfo> CSI; in assignCalleeSavedSpillSlots() local
325 CSI.push_back(CalleeSavedInfo(Reg)); in assignCalleeSavedSpillSlots()
330 if (!TFI->assignCalleeSavedSpillSlots(F, RegInfo, CSI)) { in assignCalleeSavedSpillSlots()
333 if (CSI.empty()) in assignCalleeSavedSpillSlots()
342 for (std::vector<CalleeSavedInfo>::iterator I = CSI.begin(), E = CSI.end(); in assignCalleeSavedSpillSlots()
382 MFI->setCalleeSavedInfo(CSI); in assignCalleeSavedSpillSlots()
430 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in updateLiveness() local
432 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in updateLiveness()
434 MCPhysReg Reg = CSI[i].getReg(); in updateLiveness()
449 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in insertCSRSpillsAndRestores() local
454 if (CSI.empty()) in insertCSRSpillsAndRestores()
465 if (!TFI->spillCalleeSavedRegisters(*SaveBlock, I, CSI, TRI)) { in insertCSRSpillsAndRestores()
466 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in insertCSRSpillsAndRestores()
468 unsigned Reg = CSI[i].getReg(); in insertCSRSpillsAndRestores()
470 TII.storeRegToStackSlot(*SaveBlock, I, Reg, true, CSI[i].getFrameIdx(), in insertCSRSpillsAndRestores()
495 if (!TFI->restoreCalleeSavedRegisters(*MBB, I, CSI, TRI)) { in insertCSRSpillsAndRestores()
496 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in insertCSRSpillsAndRestores()
497 unsigned Reg = CSI[i].getReg(); in insertCSRSpillsAndRestores()
499 TII.loadRegFromStackSlot(*MBB, I, Reg, CSI[i].getFrameIdx(), RC, TRI); in insertCSRSpillsAndRestores()