Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DBitTracker.h38 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.cpp99 case BT::BitValue::Top: in operator <<()
102 case BT::BitValue::Zero: in operator <<()
105 case BT::BitValue::One: in operator <<()
108 case BT::BitValue::Ref: in operator <<()
275 const BitValue &V) { in fill()
295 BitValue V = B; in ct()
304 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.cpp685 RC[im(2)] = BT::BitValue::One; in evaluate()
701 const BT::BitValue Zero = BT::BitValue::Zero; in evaluate()
796 BT::BitValue F = (V.is(0) || V.is(1)) ? V : BT::BitValue::self(); in evaluate()
808 BT::BitValue PC0 = rc(1)[0]; in evaluate()
861 BT::BitValue TV = R1[W1-1]; in evaluate()
890 RC.fill(0, W0, (All1 ? BT::BitValue::One : BT::BitValue::Zero)); in evaluate()
907 RC.fill(0, W0, (Has1 ? BT::BitValue::One : BT::BitValue::Zero)); in evaluate()
948 BT::BitValue V = rc(1)[im(2)]; in evaluate()
952 BT::BitValue F = V.is(TV) ? BT::BitValue::One : BT::BitValue::Zero; in evaluate()
1020 const BT::BitValue &Test = PC[0]; in evaluate()
[all …]
H A DHexagonBitSimplify.cpp344 const BitTracker::BitValue &BV = RC[i-1]; in getConst()
2216 const BitTracker::BitValue &B0 = RC[0]; in genBitSplit()
2217 if (B0.Type != BitTracker::BitValue::Ref) in genBitSplit()
2226 const BitTracker::BitValue &V = RC[i]; in genBitSplit()
2227 if (V.Type != BitTracker::BitValue::Ref) in genBitSplit()
2247 const BitTracker::BitValue &S0 = SC[0]; in genBitSplit()
2262 const BitTracker::BitValue &V = SC[I]; in genBitSplit()
2351 const BitTracker::BitValue &V = SC[F+BN]; in simplifyTstbit()
2435 const BitTracker::BitValue &V = RC[I]; in simplifyExtractLow()
2616 const BitTracker::BitValue &V = SC[I]; in simplifyRCmp0()
[all …]
H A DHexagonGenInsert.cpp238 bool operator() (const BitTracker::BitValue &V1,
239 const BitTracker::BitValue &V2) const;
246 bool BitValueOrdering::operator() (const BitTracker::BitValue &V1, in operator ()()
247 const BitTracker::BitValue &V2) const { in operator ()()
344 const BitTracker::BitValue &V1 = RC1[i], &V2 = RC2[i]; in operator ()()
374 const BitTracker::BitValue &V1 = RC1[Bit1], V2 = RC2[Bit2]; in operator ()()
653 const BitTracker::BitValue &BV = RC[i]; in isConstant()
668 const BitTracker::BitValue &BV = RC[i]; in isSmallConstant()
709 const BitTracker::BitValue &V = RC[i]; in findSelfReference()
710 if (V.Type == BitTracker::BitValue::Ref && V.RefI.Reg == VR) in findSelfReference()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h1457 void setBitVal(unsigned BitPosition, bool BitValue) {
1458 if (BitValue)
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp1536 bool BitValue = !V.isUndef() && cast<ConstantSDNode>(V)->getZExtValue(); in lowerBUILD_VECTOR() local
1537 Bits |= ((uint64_t)BitValue << BitPos); in lowerBUILD_VECTOR()