Searched refs:ShrAmt (Results 1 - 3 of 3) sorted by relevance
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 498 const APInt *ShrAmt; local 499 if (match(I->getOperand(0), m_Shr(m_Value(), m_APInt(ShrAmt)))) 501 if (Value *R = simplifyShrShlDemandedBits(Shr, *ShrAmt, I, *SA, 948 unsigned ShrAmt = ShrOp1.getZExtValue(); local 958 BitMask1 = isLshr ? (BitMask1.lshr(ShrAmt) << ShlAmt) : 959 (BitMask1.ashr(ShrAmt) << ShlAmt); 961 if (ShrAmt <= ShlAmt) { 962 BitMask2 <<= (ShlAmt - ShrAmt); 964 BitMask2 = isLshr ? BitMask2.lshr(ShrAmt - ShlAmt): 965 BitMask2.ashr(ShrAmt [all...] |
H A D | InstCombineShifts.cpp | 969 unsigned ShrAmt = ShOp1->getZExtValue(); local 970 if (ShrAmt < ShAmt) { 972 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShrAmt); 978 if (ShrAmt > ShAmt) { 980 Constant *ShiftDiff = ConstantInt::get(Ty, ShrAmt - ShAmt);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 20416 SDValue ShrAmt = local 20419 SDValue Shr = DAG.getNode(ISD::SRA, SDLoc(N0), VT, Shl, ShrAmt);
|
Completed in 202 milliseconds