HomeSort by: relevance | last modified time | path
    Searched refs:BitValue (Results 1 - 7 of 7) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
BitTracker.h 38 struct BitValue;
155 struct BitTracker::BitValue {
194 BitValue(ValueType T = Top) : Type(T) {}
195 BitValue(bool B) : Type(B ? One : Zero) {}
196 BitValue(unsigned Reg, uint16_t Pos) : Type(Ref), RefI(Reg, Pos) {}
198 bool operator== (const BitValue &V) const {
205 bool operator!= (const BitValue &V) const {
229 bool meet(const BitValue &V, const BitRef &Self) {
253 static BitValue ref(const BitValue &V)
    [all...]
BitTracker.cpp 13 // of bits are represented by the class BitValue, and take one of four
97 raw_ostream &operator<<(raw_ostream &OS, const BT::BitValue &BV) {
99 case BT::BitValue::Top:
102 case BT::BitValue::Zero:
105 case BT::BitValue::One:
108 case BT::BitValue::Ref:
127 const BT::BitValue &V = RC[i];
128 const BT::BitValue &SV = RC[Start];
129 bool IsRef = (V.Type == BT::BitValue::Ref);
133 if (IsRef && SV.Type == BT::BitValue::Ref && V.RefI.Reg == SV.RefI.Reg)
    [all...]
HexagonBitTracker.cpp 325 return rr0(RegisterCell(W0).fill(0, W0, BT::BitValue::Zero), Outputs);
327 return rr0(RegisterCell(W0).fill(0, W0, BT::BitValue::One), Outputs);
334 RC.fill(0, L, BT::BitValue::Zero);
350 RC.fill(PW, RW, BT::BitValue::Zero);
357 RC.fill(PW, RW, BT::BitValue::Zero);
439 RPC.fill(0, 2, BT::BitValue::Zero);
680 RC[im(2)] = BT::BitValue::Zero;
685 RC[im(2)] = BT::BitValue::One;
691 RC[BX] = RC[BX].is(0) ? BT::BitValue::One
692 : RC[BX].is(1) ? BT::BitValue::Zer
    [all...]
HexagonBitSimplify.cpp 319 if (RC1[B1+i].Type == BitTracker::BitValue::Ref && RC1[B1+i].RefI.Reg == 0)
322 if (RC2[B2+i].Type == BitTracker::BitValue::Ref && RC2[B2+i].RefI.Reg == 0)
344 const BitTracker::BitValue &BV = RC[i-1];
1840 const BitTracker::BitValue &RV = RC[i+B];
1841 if (RV.Type == BitTracker::BitValue::Ref) {
2216 const BitTracker::BitValue &B0 = RC[0];
2217 if (B0.Type != BitTracker::BitValue::Ref)
2226 const BitTracker::BitValue &V = RC[i];
2227 if (V.Type != BitTracker::BitValue::Ref)
2247 const BitTracker::BitValue &S0 = SC[0]
    [all...]
HexagonGenInsert.cpp 238 bool operator() (const BitTracker::BitValue &V1,
239 const BitTracker::BitValue &V2) const;
246 bool BitValueOrdering::operator() (const BitTracker::BitValue &V1,
247 const BitTracker::BitValue &V2) const {
344 const BitTracker::BitValue &V1 = RC1[i], &V2 = RC2[i];
374 const BitTracker::BitValue &V1 = RC1[Bit1], V2 = RC2[Bit2];
653 const BitTracker::BitValue &BV = RC[i];
668 const BitTracker::BitValue &BV = RC[i];
709 const BitTracker::BitValue &V = RC[i];
710 if (V.Type == BitTracker::BitValue::Ref && V.RefI.Reg == VR
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
APInt.h 1457 void setBitVal(unsigned BitPosition, bool BitValue) {
1458 if (BitValue)
  /src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
RISCVISelLowering.cpp 1403 bool BitValue = !V.isUndef() && cast<ConstantSDNode>(V)->getZExtValue();
1404 Bits |= ((uint64_t)BitValue << BitPos);

Completed in 33 milliseconds