Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegral.h250 template <unsigned RHSBits, bool RHSSign>
251 static void shiftLeft(const Integral A, const Integral<RHSBits, RHSSign> B,
256 template <unsigned RHSBits, bool RHSSign>
257 static void shiftRight(const Integral A, const Integral<RHSBits, RHSSign> B,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp645 unsigned LHSBits = 0, RHSBits = 0; in replaceMulWithMul24() local
649 (RHSBits = numBitsUnsigned(RHS)) <= 24) { in replaceMulWithMul24()
653 (RHSBits = numBitsSigned(RHS)) <= 24) { in replaceMulWithMul24()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1719 const auto &RHSBits = *getValueBits(V.getOperand(1), NumBits).second; in getValueBits() local
1725 if (LHSBits[i].isZero() && RHSBits[i].isZero()) { in getValueBits()
1735 else if (RHSBits[i].hasValue() && RHSBits[i].getValue() == LastVal && in getValueBits()
1736 RHSBits[i].getValueBitIndex() == LastIdx + 1) in getValueBits()
1737 Bits[i] = RHSBits[i]; in getValueBits()
1742 Bits[i] = RHSBits[i]; in getValueBits()
1743 else if (RHSBits[i].isZero()) in getValueBits()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp3170 KnownBits RHSBits = KB->getKnownBits(RHS); in matchRedundantAnd() local
3179 (LHSBits.Zero | RHSBits.One).isAllOnes()) { in matchRedundantAnd()
3186 (LHSBits.One | RHSBits.Zero).isAllOnes()) { in matchRedundantAnd()
3210 KnownBits RHSBits = KB->getKnownBits(RHS); in matchRedundantOr() local
3219 (LHSBits.One | RHSBits.Zero).isAllOnes()) { in matchRedundantOr()
3226 (LHSBits.Zero | RHSBits.One).isAllOnes()) { in matchRedundantOr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp2018 KnownBits RHSBits(BitWidth); in isKnownToBeAPowerOfTwo() local
2019 computeKnownBits(I->getOperand(1), RHSBits, Depth, Q); in isKnownToBeAPowerOfTwo()
2023 if ((~(LHSBits.Zero & RHSBits.Zero)).isPowerOf2()) in isKnownToBeAPowerOfTwo()
2026 if (OrZero || RHSBits.One.getBoolValue() || LHSBits.One.getBoolValue()) in isKnownToBeAPowerOfTwo()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp10863 unsigned RHSBits = RHS->castAs<BitIntType>()->getNumBits(); in mergeTypes() local
10869 if (LHSBits != RHSBits) in mergeTypes()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp8496 SDValue RHSBits = DAG.getNode(ISD::SRL, DL, VT, AllOnes, RHSShiftAmt); in MatchRotate() local
8498 DAG.getNode(ISD::OR, DL, VT, LHSMask, RHSBits)); in MatchRotate()