Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DBitTracker.h39 struct BitValue;
155 struct BitTracker::BitValue { struct
253 static BitValue ref(const BitValue &V);
270 inline BitTracker::BitValue
271 BitTracker::BitValue::ref(const BitValue &V) { in ref()
273 return BitValue(V.Type); in ref()
279 inline BitTracker::BitValue
281 return BitValue(Self.Reg, Self.Pos); in self()
311 BitValue &operator[](uint16_t BitN) {
375 RC.Bits[i] = BitValue(BitValue::Top); in top()
[all …]
H A DBitTracker.cpp100 case BT::BitValue::Top: in operator <<()
103 case BT::BitValue::Zero: in operator <<()
106 case BT::BitValue::One: in operator <<()
109 case BT::BitValue::Ref: in operator <<()
276 const BitValue &V) { in fill()
296 BitValue V = B; in ct()
305 BitValue V = B; in cl()
416 Res[i] = BitValue(V & 1); in eIMM()
542 BitValue Sign = Res[W-1]; in eASR()
631 Res[BitN] = BitValue::One; in eSET()
[all …]
H A DHexagonBitTracker.cpp688 RC[im(2)] = BT::BitValue::One; in evaluate()
704 const BT::BitValue Zero = BT::BitValue::Zero; in evaluate()
799 BT::BitValue F = (V.is(0) || V.is(1)) ? V : BT::BitValue::self(); in evaluate()
811 BT::BitValue PC0 = rc(1)[0]; in evaluate()
864 BT::BitValue TV = R1[W1-1]; in evaluate()
893 RC.fill(0, W0, (All1 ? BT::BitValue::One : BT::BitValue::Zero)); in evaluate()
910 RC.fill(0, W0, (Has1 ? BT::BitValue::One : BT::BitValue::Zero)); in evaluate()
951 BT::BitValue V = rc(1)[im(2)]; in evaluate()
955 BT::BitValue F = V.is(TV) ? BT::BitValue::One : BT::BitValue::Zero; in evaluate()
1023 const BT::BitValue &Test = PC[0]; in evaluate()
[all …]
H A DHexagonBitSimplify.cpp344 const BitTracker::BitValue &BV = RC[i-1]; in getConst()
2209 const BitTracker::BitValue &B0 = RC[0]; in genBitSplit()
2210 if (B0.Type != BitTracker::BitValue::Ref) in genBitSplit()
2219 const BitTracker::BitValue &V = RC[i]; in genBitSplit()
2220 if (V.Type != BitTracker::BitValue::Ref) in genBitSplit()
2240 const BitTracker::BitValue &S0 = SC[0]; in genBitSplit()
2255 const BitTracker::BitValue &V = SC[I]; in genBitSplit()
2344 const BitTracker::BitValue &V = SC[F+BN]; in simplifyTstbit()
2428 const BitTracker::BitValue &V = RC[I]; in simplifyExtractLow()
2609 const BitTracker::BitValue &V = SC[I]; in simplifyRCmp0()
[all …]
H A DHexagonGenInsert.cpp234 bool operator() (const BitTracker::BitValue &V1,
235 const BitTracker::BitValue &V2) const;
242 bool BitValueOrdering::operator() (const BitTracker::BitValue &V1, in operator ()()
243 const BitTracker::BitValue &V2) const { in operator ()()
340 const BitTracker::BitValue &V1 = RC1[i], &V2 = RC2[i]; in operator ()()
370 const BitTracker::BitValue &V1 = RC1[Bit1], V2 = RC2[Bit2]; in operator ()()
649 const BitTracker::BitValue &BV = RC[i]; in isConstant()
664 const BitTracker::BitValue &BV = RC[i]; in isSmallConstant()
705 const BitTracker::BitValue &V = RC[i]; in findSelfReference()
706 if (V.Type == BitTracker::BitValue::Ref && V.RefI.Reg == VR) in findSelfReference()
[all …]