reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/RegisterScavenging.cpp
   59   TRI = MF.getSubtarget().getRegisterInfo();
   61   LiveUnits.init(*TRI);
   63   assert((NumRegUnits == 0 || NumRegUnits == TRI->getNumRegUnits()) &&
   68     NumRegUnits = TRI->getNumRegUnits();
  100   for (MCRegUnitIterator RUI(Reg, TRI); RUI.isValid(); ++RUI)
  105   for (MCRegUnitIterator RUI(Reg, TRI); RUI.isValid(); ++RUI)
  122       for (unsigned RU = 0, RUEnd = TRI->getNumRegUnits(); RU != RUEnd; ++RU) {
  123         for (MCRegUnitRootIterator RURI(RU, TRI); RURI.isValid(); ++RURI) {
  223         for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs)
  229         for (MCSuperRegIterator SR(Reg, TRI); SR.isValid(); ++SR) {
  290       LLVM_DEBUG(dbgs() << "Scavenger found unused reg: " << printReg(Reg, TRI)
  299   BitVector Mask(TRI->getNumRegs());
  339       for (MCRegAliasIterator AI(MO.getReg(), TRI, true); AI.isValid(); ++AI)
  467   unsigned NeedSize = TRI->getSpillSize(RC);
  468   unsigned NeedAlign = TRI->getSpillAlignment(RC);
  507   if (!TRI->saveScavengerRegister(*MBB, Before, UseMI, &RC, Reg)) {
  512           TRI->getName(Reg) + " from class " + TRI->getRegClassName(&RC) +
  512           TRI->getName(Reg) + " from class " + TRI->getRegClassName(&RC) +
  517                              &RC, TRI);
  521     TRI->eliminateFrameIndex(II, SPAdj, FIOperandNum, this);
  525                               &RC, TRI);
  529     TRI->eliminateFrameIndex(II, SPAdj, FIOperandNum, this);
  540   BitVector Candidates = TRI->getAllocatableSet(MF, RC);
  546       for (MCRegAliasIterator AI(MO.getReg(), TRI, true); AI.isValid(); ++AI)
  563     LLVM_DEBUG(dbgs() << "Scavenged register: " << printReg(SReg, TRI) << "\n");
  574                     << printReg(SReg, TRI) << "\n");
  597     LLVM_DEBUG(dbgs() << "Scavenged free register: " << printReg(Reg, TRI)
  613   LLVM_DEBUG(dbgs() << "Scavenged register with spill: " << printReg(Reg, TRI)