Lines Matching defs:RegisterSet
92 struct RegisterSet : private BitVector { struct
94 explicit RegisterSet(unsigned s, bool t = false) : BitVector(s, t) {} in RegisterSet() function
95 RegisterSet(const RegisterSet &RS) : BitVector(RS) {} in RegisterSet() function
96 RegisterSet &operator=(const RegisterSet &RS) { in operator =()
103 unsigned find_first() const { in find_first()
110 unsigned find_next(unsigned Prev) const { in find_next()
117 RegisterSet &insert(unsigned R) { in insert()
122 RegisterSet &remove(unsigned R) { in remove()
129 RegisterSet &insert(const RegisterSet &Rs) { in insert()
132 RegisterSet &remove(const RegisterSet &Rs) { in remove()
136 reference operator[](unsigned R) { in operator []()
141 bool operator[](unsigned R) const { in operator []()
146 bool has(unsigned R) const { in has()
153 bool empty() const { in empty()
156 bool includes(const RegisterSet &Rs) const { in includes()
160 bool intersects(const RegisterSet &Rs) const { in intersects()
165 void ensure(unsigned Idx) { in ensure()
170 static inline unsigned v2x(unsigned v) { in v2x()
174 static inline unsigned x2v(unsigned x) { in x2v()