Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp184 dropRedundantMaskingOfLeftShiftInput(BinaryOperator *OuterShift, in dropRedundantMaskingOfLeftShiftInput() argument
187 assert(OuterShift->getOpcode() == Instruction::BinaryOps::Shl && in dropRedundantMaskingOfLeftShiftInput()
191 match(OuterShift, in dropRedundantMaskingOfLeftShiftInput()
201 Type *NarrowestTy = OuterShift->getType(); in dropRedundantMaskingOfLeftShiftInput()
229 if (!canTryToConstantAddTwoShiftAmounts(OuterShift, ShiftShAmt, Masked, in dropRedundantMaskingOfLeftShiftInput()
261 if (!canTryToConstantAddTwoShiftAmounts(OuterShift, ShiftShAmt, Masked, in dropRedundantMaskingOfLeftShiftInput()
316 auto *NewShift = BinaryOperator::Create(OuterShift->getOpcode(), X, in dropRedundantMaskingOfLeftShiftInput()
317 OuterShift->getOperand(1)); in dropRedundantMaskingOfLeftShiftInput()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp6030 unsigned OuterShift; in unfoldExtremeBitClearingToShifts() local
6033 auto matchMask = [&OuterShift, &InnerShift, &Y](SDValue M) -> bool { in unfoldExtremeBitClearingToShifts()
6036 OuterShift = M->getOpcode(); in unfoldExtremeBitClearingToShifts()
6037 if (OuterShift == ISD::SHL) in unfoldExtremeBitClearingToShifts()
6039 else if (OuterShift == ISD::SRL) in unfoldExtremeBitClearingToShifts()
6063 SDValue T1 = DAG.getNode(OuterShift, DL, VT, T0, Y); in unfoldExtremeBitClearingToShifts()