• Home
  • Raw
  • Download

Lines Matching refs:RegClass

253 struct RegClass {  struct
283 RegClass() = default;
284 constexpr RegClass(RC rc) in RegClass() function
286 constexpr RegClass(RegType type, unsigned size) in RegClass() argument
298 constexpr RegClass as_linear() const { return RegClass((RC) (rc | (1 << 6))); } in as_linear() argument
299 constexpr RegClass as_subdword() const { return RegClass((RC) (rc | 1 << 7)); } in as_subdword() argument
301 static constexpr RegClass get(RegType type, unsigned bytes) { in get() argument
303 return RegClass(type, DIV_ROUND_UP(bytes, 4u)); in get()
305 return bytes % 4u ? RegClass(type, bytes).as_subdword() : in get()
306 RegClass(type, bytes / 4u); in get()
315 static constexpr RegClass s1{RegClass::s1};
316 static constexpr RegClass s2{RegClass::s2};
317 static constexpr RegClass s3{RegClass::s3};
318 static constexpr RegClass s4{RegClass::s4};
319 static constexpr RegClass s8{RegClass::s8};
320 static constexpr RegClass s16{RegClass::s16};
321 static constexpr RegClass v1{RegClass::v1};
322 static constexpr RegClass v2{RegClass::v2};
323 static constexpr RegClass v3{RegClass::v3};
324 static constexpr RegClass v4{RegClass::v4};
325 static constexpr RegClass v5{RegClass::v5};
326 static constexpr RegClass v6{RegClass::v6};
327 static constexpr RegClass v7{RegClass::v7};
328 static constexpr RegClass v8{RegClass::v8};
329 static constexpr RegClass v1b{RegClass::v1b};
330 static constexpr RegClass v2b{RegClass::v2b};
331 static constexpr RegClass v3b{RegClass::v3b};
332 static constexpr RegClass v4b{RegClass::v4b};
333 static constexpr RegClass v6b{RegClass::v6b};
334 static constexpr RegClass v8b{RegClass::v8b};
344 constexpr Temp(uint32_t id, RegClass cls) noexcept in Temp()
348 constexpr RegClass regClass() const noexcept { return (RegClass::RC)reg_class; } in regClass()
544 explicit Operand(RegClass type) noexcept in Operand()
550 explicit Operand(PhysReg reg, RegClass type) noexcept in Operand()
582 constexpr RegClass regClass() const noexcept in regClass()
783 Definition(uint32_t index, RegClass type) noexcept in Definition()
787 Definition(PhysReg reg, RegClass type) noexcept in Definition()
792 Definition(uint32_t tmpId, PhysReg reg, RegClass type) noexcept in Definition()
817 constexpr RegClass regClass() const noexcept in regClass()
1618 std::vector<RegClass> temp_rc = {s1};
1627 RegClass lane_mask;
1665 uint32_t allocateId(RegClass rc) in allocateId()
1679 Temp allocateTmp(RegClass rc) in allocateTmp()