Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1648 Constant *ShiftAmtC = ConstantInt::get(Ty, NegPow2C->countr_zero()); in visitAdd() local
1649 Value *Shl = Builder.CreateShl(A, ShiftAmtC); in visitAdd()
H A DInstCombineCompares.cpp2416 const APInt *ShiftAmtC; in foldICmpShrConstant() local
2417 if (!match(Shr->getOperand(1), m_APInt(ShiftAmtC))) in foldICmpShrConstant()
2423 unsigned ShAmtVal = ShiftAmtC->getLimitedValue(TypeBits); in foldICmpShrConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp722 uint64_t ShiftAmtC = ShiftAmtNode->getZExtValue(); in SelectShiftedRegisterFromAnd() local
739 if (LowZBits <= ShiftAmtC || (BitWidth != LowZBits + MaskLen)) in SelectShiftedRegisterFromAnd()
742 NewShiftC = LowZBits - ShiftAmtC; in SelectShiftedRegisterFromAnd()
749 NewShiftC = LowZBits + ShiftAmtC; in SelectShiftedRegisterFromAnd()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp6796 auto *ShiftAmtC = dyn_cast<ConstantSDNode>(ShiftAmt); in combineShiftAnd1ToBitTest() local
6797 if (!ShiftAmtC || !ShiftAmtC->getAPIntValue().ult(BitWidth)) in combineShiftAnd1ToBitTest()
6822 APInt::getOneBitSet(BitWidth, ShiftAmtC->getZExtValue()), DL, SrcVT); in combineShiftAnd1ToBitTest()
8951 uint64_t ShiftAmtC = WideVal.getConstantOperandVal(1); in mergeTruncStores() local
8952 if (ShiftAmtC % NarrowNumBits != 0) in mergeTruncStores()
8955 Offset = ShiftAmtC / NarrowNumBits; in mergeTruncStores()