Lines Matching refs:CSI
305 std::vector<CalleeSavedInfo> CSI; in assignCalleeSavedSpillSlots() local
309 CSI.push_back(CalleeSavedInfo(Reg)); in assignCalleeSavedSpillSlots()
314 if (!TFI->assignCalleeSavedSpillSlots(F, RegInfo, CSI)) { in assignCalleeSavedSpillSlots()
317 if (CSI.empty()) in assignCalleeSavedSpillSlots()
326 for (std::vector<CalleeSavedInfo>::iterator I = CSI.begin(), E = CSI.end(); in assignCalleeSavedSpillSlots()
366 MFI->setCalleeSavedInfo(CSI); in assignCalleeSavedSpillSlots()
414 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in updateLiveness() local
416 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in updateLiveness()
418 MCPhysReg Reg = CSI[i].getReg(); in updateLiveness()
433 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in insertCSRSpillsAndRestores() local
438 if (CSI.empty()) in insertCSRSpillsAndRestores()
449 if (!TFI->spillCalleeSavedRegisters(*SaveBlock, I, CSI, TRI)) { in insertCSRSpillsAndRestores()
450 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in insertCSRSpillsAndRestores()
452 unsigned Reg = CSI[i].getReg(); in insertCSRSpillsAndRestores()
454 TII.storeRegToStackSlot(*SaveBlock, I, Reg, true, CSI[i].getFrameIdx(), in insertCSRSpillsAndRestores()
479 if (!TFI->restoreCalleeSavedRegisters(*MBB, I, CSI, TRI)) { in insertCSRSpillsAndRestores()
480 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in insertCSRSpillsAndRestores()
481 unsigned Reg = CSI[i].getReg(); in insertCSRSpillsAndRestores()
483 TII.loadRegFromStackSlot(*MBB, I, Reg, CSI[i].getFrameIdx(), RC, TRI); in insertCSRSpillsAndRestores()