Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp510 Instruction *InnerShift, in canEvaluateShiftedShift() argument
619 Type *ShType = InnerShift->getType(); in foldShiftedShift()
624 match(InnerShift->getOperand(1), m_APInt(C1)); in foldShiftedShift()
629 InnerShift->setOperand(1, ConstantInt::get(ShType, ShAmt)); in foldShiftedShift()
631 InnerShift->setHasNoUnsignedWrap(false); in foldShiftedShift()
632 InnerShift->setHasNoSignedWrap(false); in foldShiftedShift()
634 InnerShift->setIsExact(false); in foldShiftedShift()
636 return InnerShift; in foldShiftedShift()
657 Value *And = Builder.CreateAnd(InnerShift->getOperand(0), in foldShiftedShift()
660 AndI->moveBefore(InnerShift); in foldShiftedShift()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp6717 unsigned InnerShift; // The opposite direction to the OuterShift. in unfoldExtremeBitClearingToShifts() local
6719 auto matchMask = [&OuterShift, &InnerShift, &Y](SDValue M) -> bool { in unfoldExtremeBitClearingToShifts()
6724 InnerShift = ISD::SRL; in unfoldExtremeBitClearingToShifts()
6726 InnerShift = ISD::SHL; in unfoldExtremeBitClearingToShifts()
6747 SDValue T0 = DAG.getNode(InnerShift, DL, VT, X, Y); in unfoldExtremeBitClearingToShifts()
10555 SDValue InnerShift = N0.getOperand(0); in visitSRL() local
10557 if (auto *N001C = isConstOrConstSplat(InnerShift.getOperand(1))) { in visitSRL()
10560 EVT InnerShiftVT = InnerShift.getValueType(); in visitSRL()
10561 EVT ShiftAmtVT = InnerShift.getOperand(1).getValueType(); in visitSRL()
10571 InnerShift.getOperand(0), NewShiftAmt); in visitSRL()
[all …]