void PressureDiff::dump(const TargetRegisterInfo &TRI) const { for (const PressureChange &Change : *this) { if (!Change.isValid() || Change.getUnitInc() == 0) continue; dbgs() << " " << TRI.getRegPressureSetName(Change.getPSet()) << " " << Change.getUnitInc(); } dbgs() << '\n'; }
void PressureDiff::dump(const TargetRegisterInfo &TRI) const { const char *sep = ""; for (const PressureChange &Change : *this) { if (!Change.isValid()) break; dbgs() << sep << TRI.getRegPressureSetName(Change.getPSet()) << " " << Change.getUnitInc(); sep = " "; } dbgs() << '\n'; }