Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DKnownBits.cpp224 unsigned MaxShiftAmount = getMaxShiftAmount(MaxValue, BitWidth); in shl() local
226 MaxShiftAmount = std::min(MaxShiftAmount, LHS.countMaxLeadingZeros() - 1); in shl()
228 MaxShiftAmount = std::min(MaxShiftAmount, LHS.countMaxLeadingZeros()); in shl()
230 MaxShiftAmount = std::min( in shl()
231 MaxShiftAmount, in shl()
235 if (MinShiftAmount == 0 && MaxShiftAmount == BitWidth - 1 && in shl()
254 for (unsigned ShiftAmt = MinShiftAmount; ShiftAmt <= MaxShiftAmount; in shl()
295 unsigned MaxShiftAmount = getMaxShiftAmount(MaxValue, BitWidth); in lshr() local
300 for (unsigned ShiftAmt = MinShiftAmount; ShiftAmt <= MaxShiftAmount; in lshr()
343 unsigned MaxShiftAmount = getMaxShiftAmount(MaxValue, BitWidth); in ashr() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.h59 bool SelectAddrRegRegScale(SDValue Addr, unsigned MaxShiftAmount,
H A DRISCVISelDAGToDAG.cpp2334 unsigned MaxShiftAmount, in SelectAddrRegRegScale() argument
2338 auto UnwrapShl = [this, VT, MaxShiftAmount](SDValue N, SDValue &Index, in SelectAddrRegRegScale()
2345 if (N.getConstantOperandVal(1) <= MaxShiftAmount) { in SelectAddrRegRegScale()