Searched refs:BitValue (Results 1 - 5 of 5) sorted by relevance

/freebsd-11.0-release/contrib/llvm/lib/Target/Hexagon/
H A DBitTracker.h32 struct BitValue;
105 struct BitTracker::BitValue { struct in class:llvm::BitTracker
144 BitValue(ValueType T = Top) : Type(T) {} function in struct:llvm::BitTracker::BitValue
145 BitValue(bool B) : Type(B ? One : Zero) {} function in struct:llvm::BitTracker::BitValue
146 BitValue(unsigned Reg, uint16_t Pos) : Type(Ref), RefI(Reg, Pos) {} function in struct:llvm::BitTracker::BitValue
148 bool operator== (const BitValue &V) const {
155 bool operator!= (const BitValue &V) const {
178 bool meet(const BitValue &V, const BitRef &Self) {
202 static BitValue ref(const BitValue
[all...]
H A DBitTracker.cpp14 // of bits are represented by the class BitValue, and take one of four
87 raw_ostream &llvm::operator<<(raw_ostream &OS, const BT::BitValue &BV) {
89 case BT::BitValue::Top:
92 case BT::BitValue::Zero:
95 case BT::BitValue::One:
98 case BT::BitValue::Ref:
117 const BT::BitValue &V = RC[i];
118 const BT::BitValue &SV = RC[Start];
119 bool IsRef = (V.Type == BT::BitValue::Ref);
123 if (IsRef && SV.Type == BT::BitValue
[all...]
H A DHexagonBitTracker.cpp254 return rr0(RegisterCell(W0).fill(0, W0, BT::BitValue::Zero), Outputs);
256 return rr0(RegisterCell(W0).fill(0, W0, BT::BitValue::One), Outputs);
263 RC.fill(0, L, BT::BitValue::Zero);
279 RC.fill(PW, RW, BT::BitValue::Zero);
366 RPC.fill(0, 2, BT::BitValue::Zero);
607 RC[im(2)] = BT::BitValue::Zero;
612 RC[im(2)] = BT::BitValue::One;
618 RC[BX] = RC[BX].is(0) ? BT::BitValue::One
619 : RC[BX].is(1) ? BT::BitValue::Zero
620 : BT::BitValue
[all...]
H A DHexagonGenInsert.cpp219 bool operator() (const BitTracker::BitValue &V1,
220 const BitTracker::BitValue &V2) const;
226 bool BitValueOrdering::operator() (const BitTracker::BitValue &V1,
227 const BitTracker::BitValue &V2) const {
321 const BitTracker::BitValue &V1 = RC1[i], &V2 = RC2[i];
352 const BitTracker::BitValue &V1 = RC1[Bit1], V2 = RC2[Bit2];
606 const BitTracker::BitValue &BV = RC[i];
622 const BitTracker::BitValue &BV = RC[i];
665 const BitTracker::BitValue &V = RC[i];
666 if (V.Type == BitTracker::BitValue
[all...]
H A DHexagonBitSimplify.cpp276 if (RC1[B1+i].Type == BitTracker::BitValue::Ref && RC1[B1+i].RefI.Reg == 0)
279 if (RC2[B2+i].Type == BitTracker::BitValue::Ref && RC2[B2+i].RefI.Reg == 0)
313 const BitTracker::BitValue &BV = RC[i-1];
1346 const BitTracker::BitValue &V = RC[i-1];
1743 const BitTracker::BitValue &RV = RC[i+B];
1744 if (RV.Type == BitTracker::BitValue::Ref) {
2093 const BitTracker::BitValue &V = SC[F+BN];
2094 if (V.Type == BitTracker::BitValue::Ref && V.RefI.Reg != RS.Reg) {
2393 const BitTracker::BitValue &V = RC[i];
2450 const BitTracker::BitValue
[all...]

Completed in 116 milliseconds