Lines Matching defs:RegUnit
536 struct RegUnit {
537 // Weight assigned to this RegUnit for estimating register pressure.
542 // Each native RegUnit corresponds to one or two root registers. The full
554 RegUnit() : Weight(0), RegClassUnitSetsIdx(0), Artificial(false) {
605 SmallVector<RegUnit, 8> RegUnits;
625 // class's units and any inferred RegUnit supersets.
738 RegUnit &RU = RegUnits.emplace_back();
750 RegUnit &RU = RegUnits.emplace_back();
762 RegUnit &getRegUnit(unsigned RUID) { return RegUnits[RUID]; }
763 const RegUnit &getRegUnit(unsigned RUID) const { return RegUnits[RUID]; }