Searched refs:OuterShift (Results 1 – 2 of 2) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 185 dropRedundantMaskingOfLeftShiftInput(BinaryOperator *OuterShift, in dropRedundantMaskingOfLeftShiftInput() argument 188 assert(OuterShift->getOpcode() == Instruction::BinaryOps::Shl && in dropRedundantMaskingOfLeftShiftInput() 192 match(OuterShift, in dropRedundantMaskingOfLeftShiftInput() 202 Type *NarrowestTy = OuterShift->getType(); in dropRedundantMaskingOfLeftShiftInput() 230 if (!canTryToConstantAddTwoShiftAmounts(OuterShift, ShiftShAmt, Masked, in dropRedundantMaskingOfLeftShiftInput() 262 if (!canTryToConstantAddTwoShiftAmounts(OuterShift, ShiftShAmt, Masked, in dropRedundantMaskingOfLeftShiftInput() 317 auto *NewShift = BinaryOperator::Create(OuterShift->getOpcode(), X, in dropRedundantMaskingOfLeftShiftInput() 318 OuterShift->getOperand(1)); in dropRedundantMaskingOfLeftShiftInput()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 5519 unsigned OuterShift; in unfoldExtremeBitClearingToShifts() local 5522 auto matchMask = [&OuterShift, &InnerShift, &Y](SDValue M) -> bool { in unfoldExtremeBitClearingToShifts() 5525 OuterShift = M->getOpcode(); in unfoldExtremeBitClearingToShifts() 5526 if (OuterShift == ISD::SHL) in unfoldExtremeBitClearingToShifts() 5528 else if (OuterShift == ISD::SRL) in unfoldExtremeBitClearingToShifts() 5552 SDValue T1 = DAG.getNode(OuterShift, DL, VT, T0, Y); in unfoldExtremeBitClearingToShifts()
|