Searched refs:RHSBits (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Integral.h | 250 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/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUCodeGenPrepare.cpp | 647 unsigned LHSBits = 0, RHSBits = 0; in replaceMulWithMul24() local 651 (RHSBits = numBitsUnsigned(RHS)) <= 24) { in replaceMulWithMul24() 655 (RHSBits = numBitsSigned(RHS)) <= 24) { in replaceMulWithMul24()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCISelDAGToDAG.cpp | 1706 const auto &RHSBits = *getValueBits(V.getOperand(1), NumBits).second; in getValueBits() local 1712 if (LHSBits[i].isZero() && RHSBits[i].isZero()) { in getValueBits() 1722 else if (RHSBits[i].hasValue() && RHSBits[i].getValue() == LastVal && in getValueBits() 1723 RHSBits[i].getValueBitIndex() == LastIdx + 1) in getValueBits() 1724 Bits[i] = RHSBits[i]; in getValueBits() 1729 Bits[i] = RHSBits[i]; in getValueBits() 1730 else if (RHSBits[i].isZero()) in getValueBits()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CombinerHelper.cpp | 3310 KnownBits RHSBits = KB->getKnownBits(RHS); in matchRedundantAnd() local 3311 if (RHSBits.isUnknown()) in matchRedundantAnd() 3323 (LHSBits.Zero | RHSBits.One).isAllOnes()) { in matchRedundantAnd() 3330 (LHSBits.One | RHSBits.Zero).isAllOnes()) { in matchRedundantAnd() 3355 KnownBits RHSBits = KB->getKnownBits(RHS); in matchRedundantOr() local 3364 (LHSBits.One | RHSBits.Zero).isAllOnes()) { in matchRedundantOr() 3371 (LHSBits.Zero | RHSBits.One).isAllOnes()) { in matchRedundantOr()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 2306 KnownBits RHSBits(BitWidth); in isKnownToBeAPowerOfTwo() local 2307 computeKnownBits(I->getOperand(1), RHSBits, Depth, Q); in isKnownToBeAPowerOfTwo() 2311 if ((~(LHSBits.Zero & RHSBits.Zero)).isPowerOf2()) in isKnownToBeAPowerOfTwo() 2314 if (OrZero || RHSBits.One.getBoolValue() || LHSBits.One.getBoolValue()) in isKnownToBeAPowerOfTwo()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTContext.cpp | 11342 unsigned RHSBits = RHS->castAs<BitIntType>()->getNumBits(); in mergeTypes() local 11348 if (LHSBits != RHSBits) in mergeTypes()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 56028 SmallVector<APInt> LHSBits, RHSBits; in combineVectorCompare() local 56030 getTargetConstantBitsFromNode(RHS, EltBits, RHSUndefs, RHSBits)) { in combineVectorCompare() 56036 Results[I] = (LHSBits[I] == RHSBits[I]) ? Ones : Zero; in combineVectorCompare() 56039 Results[I] = (!AnyUndef && LHSBits[I].sgt(RHSBits[I])) ? Ones : Zero; in combineVectorCompare() 57355 SmallVector<APInt> LHSBits, RHSBits; in combineVPMADD() local 57359 getTargetConstantBitsFromNode(RHS, SrcEltBits, RHSUndefs, RHSBits)) { in combineVPMADD() 57363 APInt RHSLo = RHSBits[I + 0], RHSHi = RHSBits[I + 1]; in combineVPMADD()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 8498 SDValue RHSBits = DAG.getNode(ISD::SRL, DL, VT, AllOnes, RHSShiftAmt); in MatchRotate() local 8500 DAG.getNode(ISD::OR, DL, VT, LHSMask, RHSBits)); in MatchRotate()
|