Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp178 dropRedundantMaskingOfLeftShiftInput(BinaryOperator *OuterShift, in dropRedundantMaskingOfLeftShiftInput() argument
181 assert(OuterShift->getOpcode() == Instruction::BinaryOps::Shl && in dropRedundantMaskingOfLeftShiftInput()
185 match(OuterShift, in dropRedundantMaskingOfLeftShiftInput()
195 Type *NarrowestTy = OuterShift->getType(); in dropRedundantMaskingOfLeftShiftInput()
310 auto *NewShift = BinaryOperator::Create(OuterShift->getOpcode(), X, in dropRedundantMaskingOfLeftShiftInput()
311 OuterShift->getOperand(1)); in dropRedundantMaskingOfLeftShiftInput()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp179 dropRedundantMaskingOfLeftShiftInput(BinaryOperator *OuterShift, in dropRedundantMaskingOfLeftShiftInput() argument
182 assert(OuterShift->getOpcode() == Instruction::BinaryOps::Shl && in dropRedundantMaskingOfLeftShiftInput()
186 match(OuterShift, in dropRedundantMaskingOfLeftShiftInput()
196 Type *NarrowestTy = OuterShift->getType(); in dropRedundantMaskingOfLeftShiftInput()
311 auto *NewShift = BinaryOperator::Create(OuterShift->getOpcode(), X, in dropRedundantMaskingOfLeftShiftInput()
312 OuterShift->getOperand(1)); in dropRedundantMaskingOfLeftShiftInput()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp5054 unsigned OuterShift; in unfoldExtremeBitClearingToShifts() local
5057 auto matchMask = [&OuterShift, &InnerShift, &Y](SDValue M) -> bool { in unfoldExtremeBitClearingToShifts()
5060 OuterShift = M->getOpcode(); in unfoldExtremeBitClearingToShifts()
5061 if (OuterShift == ISD::SHL) in unfoldExtremeBitClearingToShifts()
5063 else if (OuterShift == ISD::SRL) in unfoldExtremeBitClearingToShifts()
5087 SDValue T1 = DAG.getNode(OuterShift, DL, VT, T0, Y); in unfoldExtremeBitClearingToShifts()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp5339 unsigned OuterShift; in unfoldExtremeBitClearingToShifts() local
5342 auto matchMask = [&OuterShift, &InnerShift, &Y](SDValue M) -> bool { in unfoldExtremeBitClearingToShifts()
5345 OuterShift = M->getOpcode(); in unfoldExtremeBitClearingToShifts()
5346 if (OuterShift == ISD::SHL) in unfoldExtremeBitClearingToShifts()
5348 else if (OuterShift == ISD::SRL) in unfoldExtremeBitClearingToShifts()
5372 SDValue T1 = DAG.getNode(OuterShift, DL, VT, T0, Y); in unfoldExtremeBitClearingToShifts()