Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp527 unsigned LHSBits = 0, RHSBits = 0; in replaceMulWithMul24() local
531 (RHSBits = numBitsUnsigned(RHS)) <= 24) { in replaceMulWithMul24()
535 (RHSBits = numBitsSigned(RHS)) <= 24) { in replaceMulWithMul24()
559 getMul24(Builder, LHS, RHS, Size, LHSBits + RHSBits, IsSigned); in replaceMulWithMul24()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2824 KnownBits RHSBits = KB->getKnownBits(RHS); in matchRedundantAnd() local
2833 (LHSBits.Zero | RHSBits.One).isAllOnes()) { in matchRedundantAnd()
2840 (LHSBits.One | RHSBits.Zero).isAllOnes()) { in matchRedundantAnd()
2870 KnownBits RHSBits = KB->getKnownBits(RHS); in matchRedundantOr() local
2879 (LHSBits.One | RHSBits.Zero).isAllOnes()) { in matchRedundantOr()
2886 (LHSBits.Zero | RHSBits.One).isAllOnes()) { in matchRedundantOr()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1542 const auto &RHSBits = *getValueBits(V.getOperand(1), NumBits).second; in getValueBits() local
1548 if (LHSBits[i].isZero() && RHSBits[i].isZero()) { in getValueBits()
1558 else if (RHSBits[i].hasValue() && RHSBits[i].getValue() == LastVal && in getValueBits()
1559 RHSBits[i].getValueBitIndex() == LastIdx + 1) in getValueBits()
1560 Bits[i] = RHSBits[i]; in getValueBits()
1565 Bits[i] = RHSBits[i]; in getValueBits()
1566 else if (RHSBits[i].isZero()) in getValueBits()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DValueTracking.cpp2174 KnownBits RHSBits(BitWidth); in isKnownToBeAPowerOfTwo() local
2175 computeKnownBits(Y, RHSBits, Depth, Q); in isKnownToBeAPowerOfTwo()
2179 if ((~(LHSBits.Zero & RHSBits.Zero)).isPowerOf2()) in isKnownToBeAPowerOfTwo()
2182 if (OrZero || RHSBits.One.getBoolValue() || LHSBits.One.getBoolValue()) in isKnownToBeAPowerOfTwo()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp10624 unsigned RHSBits = RHS->castAs<BitIntType>()->getNumBits(); in mergeTypes() local
10630 if (LHSBits != RHSBits) in mergeTypes()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp7598 SDValue RHSBits = DAG.getNode(ISD::SRL, DL, VT, AllOnes, RHSShiftAmt); in MatchRotate() local
7600 DAG.getNode(ISD::OR, DL, VT, LHSMask, RHSBits)); in MatchRotate()