Lines Matching defs:BitValue
38 struct BitValue;
154 struct BitTracker::BitValue {
193 BitValue(ValueType T = Top) : Type(T) {}
194 BitValue(bool B) : Type(B ? One : Zero) {}
195 BitValue(unsigned Reg, uint16_t Pos) : Type(Ref), RefI(Reg, Pos) {}
197 bool operator== (const BitValue &V) const {
204 bool operator!= (const BitValue &V) const {
228 bool meet(const BitValue &V, const BitRef &Self) {
252 static BitValue ref(const BitValue &V);
254 static BitValue self(const BitRef &Self = BitRef());
265 friend raw_ostream &operator<<(raw_ostream &OS, const BitValue &BV);
269 inline BitTracker::BitValue
270 BitTracker::BitValue::ref(const BitValue &V) {
272 return BitValue(V.Type);
274 return BitValue(V.RefI.Reg, V.RefI.Pos);
278 inline BitTracker::BitValue
279 BitTracker::BitValue::self(const BitRef &Self) {
280 return BitValue(Self.Reg, Self.Pos);
306 const BitValue &operator[](uint16_t BitN) const {
310 BitValue &operator[](uint16_t BitN) {
319 RegisterCell &fill(uint16_t B, uint16_t E, const BitValue &V);
345 using BitValueList = SmallVector<BitValue, DefaultBitN>;
366 RC.Bits[i] = BitValue::self(BitRef(Reg, i));
374 RC.Bits[i] = BitValue(BitValue::Top);
383 RC[i] = BitValue::ref(C[i]);