Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp185 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp5489 unsigned OuterShift; in unfoldExtremeBitClearingToShifts() local
5492 auto matchMask = [&OuterShift, &InnerShift, &Y](SDValue M) -> bool { in unfoldExtremeBitClearingToShifts()
5495 OuterShift = M->getOpcode(); in unfoldExtremeBitClearingToShifts()
5496 if (OuterShift == ISD::SHL) in unfoldExtremeBitClearingToShifts()
5498 else if (OuterShift == ISD::SRL) in unfoldExtremeBitClearingToShifts()
5522 SDValue T1 = DAG.getNode(OuterShift, DL, VT, T0, Y); in unfoldExtremeBitClearingToShifts()