Home
last modified time | relevance | path

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

/freebsd-14.2/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.cpp690 RC[im(2)] = BT::BitValue::One; in evaluate()
706 const BT::BitValue Zero = BT::BitValue::Zero; in evaluate()
801 BT::BitValue F = (V.is(0) || V.is(1)) ? V : BT::BitValue::self(); in evaluate()
813 BT::BitValue PC0 = rc(1)[0]; in evaluate()
866 BT::BitValue TV = R1[W1-1]; in evaluate()
895 RC.fill(0, W0, (All1 ? BT::BitValue::One : BT::BitValue::Zero)); in evaluate()
912 RC.fill(0, W0, (Has1 ? BT::BitValue::One : BT::BitValue::Zero)); in evaluate()
953 BT::BitValue V = rc(1)[im(2)]; in evaluate()
957 BT::BitValue F = V.is(TV) ? BT::BitValue::One : BT::BitValue::Zero; in evaluate()
1025 const BT::BitValue &Test = PC[0]; in evaluate()
[all …]
H A DHexagonBitSimplify.cpp372 const BitTracker::BitValue &BV = RC[i-1]; in getConst()
2241 const BitTracker::BitValue &B0 = RC[0]; in genBitSplit()
2242 if (B0.Type != BitTracker::BitValue::Ref) in genBitSplit()
2251 const BitTracker::BitValue &V = RC[i]; in genBitSplit()
2252 if (V.Type != BitTracker::BitValue::Ref) in genBitSplit()
2272 const BitTracker::BitValue &S0 = SC[0]; in genBitSplit()
2287 const BitTracker::BitValue &V = SC[I]; in genBitSplit()
2376 const BitTracker::BitValue &V = SC[F+BN]; in simplifyTstbit()
2460 const BitTracker::BitValue &V = RC[I]; in simplifyExtractLow()
2641 const BitTracker::BitValue &V = SC[I]; in simplifyRCmp0()
[all …]
H A DHexagonGenInsert.cpp237 bool operator() (const BitTracker::BitValue &V1,
238 const BitTracker::BitValue &V2) const;
246 const BitTracker::BitValue &V2) const { in operator ()()
343 const BitTracker::BitValue &V1 = RC1[i], &V2 = RC2[i]; in operator ()()
373 const BitTracker::BitValue &V1 = RC1[Bit1], V2 = RC2[Bit2]; in operator ()()
643 const BitTracker::BitValue &BV = RC[i]; in isConstant()
658 const BitTracker::BitValue &BV = RC[i]; in isSmallConstant()
699 const BitTracker::BitValue &V = RC[i]; in findSelfReference()
700 if (V.Type == BitTracker::BitValue::Ref && V.RefI.Reg == VR) in findSelfReference()
709 const BitTracker::BitValue &V = RC[i]; in findNonSelfReference()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h1315 void setBitVal(unsigned BitPosition, bool BitValue) { in setBitVal() argument
1316 if (BitValue) in setBitVal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp3504 bool BitValue = !V.isUndef() && V->getAsZExtVal(); in lowerBuildVectorOfConstants() local
3505 Bits |= ((uint64_t)BitValue << BitPos); in lowerBuildVectorOfConstants()