Lines Matching refs:sgpr
303 sgpr, enumerator
347 constexpr RegType type() const { return rc <= RC::s16 ? RegType::sgpr : RegType::vgpr; } in type()
359 if (type == RegType::sgpr) { in get()
1845 constexpr RegisterDemand(const int16_t v, const int16_t s) noexcept : vgpr{v}, sgpr{s} {} in RegisterDemand()
1847 int16_t sgpr = 0; member
1851 return a.vgpr == b.vgpr && a.sgpr == b.sgpr;
1856 return vgpr > other.vgpr || sgpr > other.sgpr; in exceeds()
1861 if (t.type() == RegType::sgpr)
1862 return RegisterDemand(vgpr, sgpr + t.size());
1864 return RegisterDemand(vgpr + t.size(), sgpr);
1869 return RegisterDemand(vgpr + other.vgpr, sgpr + other.sgpr);
1874 return RegisterDemand(vgpr - other.vgpr, sgpr - other.sgpr);
1880 sgpr += other.sgpr;
1887 sgpr -= other.sgpr;
1893 if (t.type() == RegType::sgpr)
1894 sgpr += t.size();
1902 if (t.type() == RegType::sgpr)
1903 sgpr -= t.size();
1912 sgpr = std::max(sgpr, other.sgpr); in update()