Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1628 const auto &LHSBits = *getValueBits(V.getOperand(0), NumBits).second; in getValueBits() local
1631 Bits[i] = LHSBits[i < RotAmt ? i + (NumBits - RotAmt) : i - RotAmt]; in getValueBits()
1642 const auto &LHSBits = *getValueBits(V.getOperand(0), NumBits).second; in getValueBits() local
1649 Bits[i] = LHSBits[i - ShiftAmt]; in getValueBits()
1663 const auto &LHSBits = *getValueBits(V.getOperand(0), NumBits).second; in getValueBits() local
1670 Bits[i] = LHSBits[i + ShiftAmt]; in getValueBits()
1682 const SmallVector<ValueBit, 64> *LHSBits; in getValueBits() local
1687 std::tie(Interesting, LHSBits) = getValueBits(V.getOperand(0), NumBits); in getValueBits()
1691 Bits[i] = (*LHSBits)[i]; in getValueBits()
1695 if ((*LHSBits)[i].isZero()) in getValueBits()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp647 unsigned LHSBits = 0, RHSBits = 0; in replaceMulWithMul24() local
650 if (ST->hasMulU24() && (LHSBits = numBitsUnsigned(LHS)) <= 24 && in replaceMulWithMul24()
654 } else if (ST->hasMulI24() && (LHSBits = numBitsSigned(LHS)) <= 24 && in replaceMulWithMul24()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp3314 KnownBits LHSBits = KB->getKnownBits(LHS); in matchRedundantAnd() local
3323 (LHSBits.Zero | RHSBits.One).isAllOnes()) { in matchRedundantAnd()
3330 (LHSBits.One | RHSBits.Zero).isAllOnes()) { in matchRedundantAnd()
3354 KnownBits LHSBits = KB->getKnownBits(LHS); 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 DValueTracking.cpp2303 KnownBits LHSBits(BitWidth); in isKnownToBeAPowerOfTwo() local
2304 computeKnownBits(I->getOperand(0), LHSBits, 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 DASTContext.cpp11341 unsigned LHSBits = LHS->castAs<BitIntType>()->getNumBits(); in mergeTypes() local
11348 if (LHSBits != RHSBits) in mergeTypes()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp56028 SmallVector<APInt> LHSBits, RHSBits; in combineVectorCompare() local
56029 if (getTargetConstantBitsFromNode(LHS, EltBits, LHSUndefs, LHSBits) && 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
57358 if (getTargetConstantBitsFromNode(LHS, SrcEltBits, LHSUndefs, LHSBits) && in combineVPMADD()
57361 for (unsigned I = 0, E = LHSBits.size(); I != E; I += 2) { in combineVPMADD()
57362 APInt LHSLo = LHSBits[I + 0], LHSHi = LHSBits[I + 1]; in combineVPMADD()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp8503 SDValue LHSBits = DAG.getNode(ISD::SHL, DL, VT, AllOnes, LHSShiftAmt); in MatchRotate() local
8505 DAG.getNode(ISD::OR, DL, VT, RHSMask, LHSBits)); in MatchRotate()