Lines Matching defs:vgpr
303 vgpr,
332 /* these are used for WWM and spills to vgpr */
340 : rc((RC)((type == RegType::vgpr ? 1 << 5 : 0) | size))
346 constexpr RegType type() const { return rc <= RC::s16 ? RegType::sgpr : RegType::vgpr; }
369 return get(RegType::vgpr, bytes).as_linear();
1807 constexpr RegisterDemand(const int16_t v, const int16_t s) noexcept : vgpr{v}, sgpr{s} {}
1808 int16_t vgpr = 0;
1813 return a.vgpr == b.vgpr && a.sgpr == b.sgpr;
1818 return vgpr > other.vgpr || sgpr > other.sgpr;
1824 return RegisterDemand(vgpr, sgpr + t.size());
1826 return RegisterDemand(vgpr + t.size(), sgpr);
1831 return RegisterDemand(vgpr + other.vgpr, sgpr + other.sgpr);
1836 return RegisterDemand(vgpr - other.vgpr, sgpr - other.sgpr);
1841 vgpr += other.vgpr;
1848 vgpr -= other.vgpr;
1858 vgpr += t.size();
1867 vgpr -= t.size();
1873 vgpr = std::max(vgpr, other.vgpr);
2130 /* register demand (sgpr/vgpr) per instruction per block */