Home
last modified time | relevance | path

Searched refs:InnerShAmt (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp540 unsigned InnerShAmt = InnerShiftConst->getZExtValue(); in canEvaluateShiftedShift() local
542 IsInnerShl ? TypeWidth - InnerShAmt : InnerShAmt - OuterShAmt; in canEvaluateShiftedShift()
625 unsigned InnerShAmt = C1->getZExtValue(); in foldShiftedShift() local
644 if (InnerShAmt + OuterShAmt >= TypeWidth) in foldShiftedShift()
647 return NewInnerShift(InnerShAmt + OuterShAmt); in foldShiftedShift()
653 if (InnerShAmt == OuterShAmt) { in foldShiftedShift()
666 assert(InnerShAmt > OuterShAmt && in foldShiftedShift()
673 return NewInnerShift(InnerShAmt - OuterShAmt); in foldShiftedShift()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp1781 unsigned InnerShAmt = SA2->getZExtValue(); in SimplifyDemandedBits() local
1782 if (InnerShAmt < ShAmt && InnerShAmt < InnerBits && in SimplifyDemandedBits()
1784 (InnerBits - InnerShAmt + ShAmt) && in SimplifyDemandedBits()
1787 TLO.DAG.getConstant(ShAmt - InnerShAmt, dl, ShiftVT); in SimplifyDemandedBits()