Home
last modified time | relevance | path

Searched refs:ShiftAmtC (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DDemandedBits.cpp202 const APInt *ShiftAmtC; in determineLiveOperandBits() local
203 if (match(UserI->getOperand(1), m_APInt(ShiftAmtC))) { in determineLiveOperandBits()
204 uint64_t ShiftAmt = ShiftAmtC->getLimitedValue(BitWidth - 1); in determineLiveOperandBits()
219 const APInt *ShiftAmtC; in determineLiveOperandBits() local
220 if (match(UserI->getOperand(1), m_APInt(ShiftAmtC))) { in determineLiveOperandBits()
221 uint64_t ShiftAmt = ShiftAmtC->getLimitedValue(BitWidth - 1); in determineLiveOperandBits()
233 const APInt *ShiftAmtC; in determineLiveOperandBits() local
234 if (match(UserI->getOperand(1), m_APInt(ShiftAmtC))) { in determineLiveOperandBits()
235 uint64_t ShiftAmt = ShiftAmtC->getLimitedValue(BitWidth - 1); in determineLiveOperandBits()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp2303 const APInt *ShiftAmtC; in foldICmpShrConstant() local
2304 if (!match(Shr->getOperand(1), m_APInt(ShiftAmtC))) in foldICmpShrConstant()
2310 unsigned ShAmtVal = ShiftAmtC->getLimitedValue(TypeBits); in foldICmpShrConstant()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp6030 auto *ShiftAmtC = dyn_cast<ConstantSDNode>(ShiftAmt); in combineShiftAnd1ToBitTest() local
6031 if (!ShiftAmtC || !ShiftAmtC->getAPIntValue().ult(VTBitWidth)) in combineShiftAnd1ToBitTest()
6055 APInt::getOneBitSet(VTBitWidth, ShiftAmtC->getZExtValue()), DL, VT); in combineShiftAnd1ToBitTest()
7996 uint64_t ShiftAmtC = WideVal.getConstantOperandVal(1); in mergeTruncStores() local
7997 if (ShiftAmtC % NarrowNumBits != 0) in mergeTruncStores()
8000 Offset = ShiftAmtC / NarrowNumBits; in mergeTruncStores()