Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp176 const APInt *ShiftAmtC; in determineLiveOperandBits() local
177 if (match(UserI->getOperand(1), m_APInt(ShiftAmtC))) { in determineLiveOperandBits()
178 uint64_t ShiftAmt = ShiftAmtC->getLimitedValue(BitWidth - 1); in determineLiveOperandBits()
193 const APInt *ShiftAmtC; in determineLiveOperandBits() local
194 if (match(UserI->getOperand(1), m_APInt(ShiftAmtC))) { in determineLiveOperandBits()
195 uint64_t ShiftAmt = ShiftAmtC->getLimitedValue(BitWidth - 1); in determineLiveOperandBits()
207 const APInt *ShiftAmtC; in determineLiveOperandBits() local
208 if (match(UserI->getOperand(1), m_APInt(ShiftAmtC))) { in determineLiveOperandBits()
209 uint64_t ShiftAmt = ShiftAmtC->getLimitedValue(BitWidth - 1); in determineLiveOperandBits()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1690 Constant *ShiftAmtC = ConstantInt::get(Ty, NegPow2C->countr_zero()); in visitAdd() local
1691 Value *Shl = Builder.CreateShl(A, ShiftAmtC); in visitAdd()
H A DInstCombineCompares.cpp2497 const APInt *ShiftAmtC; in foldICmpShrConstant() local
2498 if (!match(Shr->getOperand(1), m_APInt(ShiftAmtC))) in foldICmpShrConstant()
2504 unsigned ShAmtVal = ShiftAmtC->getLimitedValue(TypeBits); in foldICmpShrConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp746 uint64_t ShiftAmtC = ShiftAmtNode->getZExtValue(); in SelectShiftedRegisterFromAnd() local
763 if (LowZBits <= ShiftAmtC || (BitWidth != LowZBits + MaskLen)) in SelectShiftedRegisterFromAnd()
766 NewShiftC = LowZBits - ShiftAmtC; in SelectShiftedRegisterFromAnd()
773 NewShiftC = LowZBits + ShiftAmtC; in SelectShiftedRegisterFromAnd()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp6800 auto *ShiftAmtC = dyn_cast<ConstantSDNode>(ShiftAmt); in combineShiftAnd1ToBitTest() local
6801 if (!ShiftAmtC || !ShiftAmtC->getAPIntValue().ult(BitWidth)) in combineShiftAnd1ToBitTest()
6826 APInt::getOneBitSet(BitWidth, ShiftAmtC->getZExtValue()), DL, SrcVT); in combineShiftAnd1ToBitTest()
8958 uint64_t ShiftAmtC = WideVal.getConstantOperandVal(1); in mergeTruncStores() local
8959 if (ShiftAmtC % NarrowNumBits != 0) in mergeTruncStores()
8963 if (ShiftAmtC > WideVal.getScalarValueSizeInBits() - NarrowNumBits) in mergeTruncStores()
8966 Offset = ShiftAmtC / NarrowNumBits; in mergeTruncStores()