Searched refs:OuterShift (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 189 dropRedundantMaskingOfLeftShiftInput(BinaryOperator *OuterShift, in dropRedundantMaskingOfLeftShiftInput() argument 192 assert(OuterShift->getOpcode() == Instruction::BinaryOps::Shl && in dropRedundantMaskingOfLeftShiftInput() 196 match(OuterShift, in dropRedundantMaskingOfLeftShiftInput() 206 Type *NarrowestTy = OuterShift->getType(); in dropRedundantMaskingOfLeftShiftInput() 234 if (!canTryToConstantAddTwoShiftAmounts(OuterShift, ShiftShAmt, Masked, in dropRedundantMaskingOfLeftShiftInput() 273 if (!canTryToConstantAddTwoShiftAmounts(OuterShift, ShiftShAmt, Masked, in dropRedundantMaskingOfLeftShiftInput() 334 auto *NewShift = BinaryOperator::Create(OuterShift->getOpcode(), X, in dropRedundantMaskingOfLeftShiftInput() 335 OuterShift->getOperand(1)); in dropRedundantMaskingOfLeftShiftInput()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 6720 unsigned OuterShift; in unfoldExtremeBitClearingToShifts() local 6723 auto matchMask = [&OuterShift, &InnerShift, &Y](SDValue M) -> bool { in unfoldExtremeBitClearingToShifts() 6726 OuterShift = M->getOpcode(); in unfoldExtremeBitClearingToShifts() 6727 if (OuterShift == ISD::SHL) in unfoldExtremeBitClearingToShifts() 6729 else if (OuterShift == ISD::SRL) in unfoldExtremeBitClearingToShifts() 6753 SDValue T1 = DAG.getNode(OuterShift, DL, VT, T0, Y); in unfoldExtremeBitClearingToShifts()
|