Searched refs:InnerShift (Results 1 – 2 of 2) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 432 Instruction *InnerShift, in canEvaluateShiftedShift() argument 535 Type *ShType = InnerShift->getType(); in foldShiftedShift() 540 match(InnerShift->getOperand(1), m_APInt(C1)); in foldShiftedShift() 545 InnerShift->setOperand(1, ConstantInt::get(ShType, ShAmt)); in foldShiftedShift() 547 InnerShift->setHasNoUnsignedWrap(false); in foldShiftedShift() 548 InnerShift->setHasNoSignedWrap(false); in foldShiftedShift() 550 InnerShift->setIsExact(false); in foldShiftedShift() 552 return InnerShift; in foldShiftedShift() 573 Value *And = Builder.CreateAnd(InnerShift->getOperand(0), in foldShiftedShift() 576 AndI->moveBefore(InnerShift); in foldShiftedShift() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 5520 unsigned InnerShift; // The opposite direction to the OuterShift. in unfoldExtremeBitClearingToShifts() local 5522 auto matchMask = [&OuterShift, &InnerShift, &Y](SDValue M) -> bool { in unfoldExtremeBitClearingToShifts() 5527 InnerShift = ISD::SRL; in unfoldExtremeBitClearingToShifts() 5529 InnerShift = ISD::SHL; in unfoldExtremeBitClearingToShifts() 5550 SDValue T0 = DAG.getNode(InnerShift, DL, VT, X, Y); in unfoldExtremeBitClearingToShifts() 8810 SDValue InnerShift = N0.getOperand(0); in visitSRL() local 8812 if (auto *N001C = isConstOrConstSplat(InnerShift.getOperand(1))) { in visitSRL() 8815 EVT InnerShiftVT = InnerShift.getValueType(); in visitSRL() 8816 EVT ShiftAmtVT = InnerShift.getOperand(1).getValueType(); in visitSRL() 8826 InnerShift.getOperand(0), NewShiftAmt); in visitSRL() [all …]
|