Searched refs:LHSBits (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 1490 Bits[i] = LHSBits[i - ShiftAmt]; in getValueBits() 1506 Bits[i] = LHSBits[i + ShiftAmt]; in getValueBits() 1527 Bits[i] = (*LHSBits)[i]; in getValueBits() 1531 if ((*LHSBits)[i].isZero()) in getValueBits() 1532 Bits[i] = (*LHSBits)[i]; in getValueBits() 1555 if (LHSBits[i].hasValue() && LHSBits[i].getValue() == LastVal && in getValueBits() 1557 Bits[i] = LHSBits[i]; in getValueBits() 1564 else if (LHSBits[i].isZero()) in getValueBits() 1567 Bits[i] = LHSBits[i]; in getValueBits() 1600 Bits[i] = (*LHSBits)[i]; in getValueBits() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCodeGenPrepare.cpp | 527 unsigned LHSBits = 0, RHSBits = 0; in replaceMulWithMul24() local 530 if (ST->hasMulU24() && (LHSBits = numBitsUnsigned(LHS)) <= 24 && in replaceMulWithMul24() 534 } else if (ST->hasMulI24() && (LHSBits = numBitsSigned(LHS)) <= 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 D | CombinerHelper.cpp | 2823 KnownBits LHSBits = KB->getKnownBits(LHS); in matchRedundantAnd() local 2833 (LHSBits.Zero | RHSBits.One).isAllOnes()) { in matchRedundantAnd() 2840 (LHSBits.One | RHSBits.Zero).isAllOnes()) { in matchRedundantAnd() 2869 KnownBits LHSBits = KB->getKnownBits(LHS); 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/Analysis/ |
| H A D | ValueTracking.cpp | 2171 KnownBits LHSBits(BitWidth); in isKnownToBeAPowerOfTwo() local 2172 computeKnownBits(X, LHSBits, 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 D | ASTContext.cpp | 10623 unsigned LHSBits = LHS->castAs<BitIntType>()->getNumBits(); in mergeTypes() local 10630 if (LHSBits != RHSBits) in mergeTypes()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 7603 SDValue LHSBits = DAG.getNode(ISD::SHL, DL, VT, AllOnes, LHSShiftAmt); in MatchRotate() local 7605 DAG.getNode(ISD::OR, DL, VT, RHSMask, LHSBits)); in MatchRotate()
|