Home
last modified time | relevance | path

Searched refs:InnerShift (Results 1 – 3 of 3) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp83 bool IsInnerShl = InnerShift->getOpcode() == Instruction::Shl; in canEvaluateShiftedShift()
199 Type *ShType = InnerShift->getType(); in foldShiftedShift()
204 match(InnerShift->getOperand(1), m_APInt(C1)); in foldShiftedShift()
209 InnerShift->setOperand(1, ConstantInt::get(ShType, ShAmt)); in foldShiftedShift()
211 InnerShift->setHasNoUnsignedWrap(false); in foldShiftedShift()
212 InnerShift->setHasNoSignedWrap(false); in foldShiftedShift()
214 InnerShift->setIsExact(false); in foldShiftedShift()
216 return InnerShift; in foldShiftedShift()
237 Value *And = Builder.CreateAnd(InnerShift->getOperand(0), in foldShiftedShift()
240 AndI->moveBefore(InnerShift); in foldShiftedShift()
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp4488 unsigned InnerShift; // The opposite direction to the OuterShift. in unfoldExtremeBitClearingToShifts() local
4490 auto matchMask = [&OuterShift, &InnerShift, &Y](SDValue M) -> bool { in unfoldExtremeBitClearingToShifts()
4495 InnerShift = ISD::SRL; in unfoldExtremeBitClearingToShifts()
4497 InnerShift = ISD::SHL; in unfoldExtremeBitClearingToShifts()
4518 SDValue T0 = DAG.getNode(InnerShift, DL, VT, X, Y); in unfoldExtremeBitClearingToShifts()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp36818 unsigned InnerShift = (X86ISD::SHLD == Opc ? ISD::SRL : ISD::SHL); in combineOr() local
36824 if (Op1.getOpcode() == InnerShift && in combineOr()
36831 if (InnerShift == ISD::SHL && Op1.getOpcode() == ISD::ADD && in combineOr()