Searched refs:InnerShift (Results 1 – 2 of 2) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 432 Instruction *InnerShift, in canEvaluateShiftedShift() argument 434 assert(InnerShift->isLogicalShift() && "Unexpected instruction type"); in canEvaluateShiftedShift() 438 if (!match(InnerShift->getOperand(1), m_APInt(InnerShiftConst))) in canEvaluateShiftedShift() 444 bool IsInnerShl = InnerShift->getOpcode() == Instruction::Shl; in canEvaluateShiftedShift() 460 unsigned TypeWidth = InnerShift->getType()->getScalarSizeInBits(); in canEvaluateShiftedShift() 466 if (IC.MaskedValueIsZero(InnerShift->getOperand(0), Mask, 0, CxtI)) in canEvaluateShiftedShift() 531 static Value *foldShiftedShift(BinaryOperator *InnerShift, unsigned OuterShAmt, in foldShiftedShift() argument 534 bool IsInnerShl = InnerShift->getOpcode() == Instruction::Shl; in foldShiftedShift() 535 Type *ShType = InnerShift->getType(); in foldShiftedShift() 540 match(InnerShift->getOperand(1), m_APInt(C1)); in foldShiftedShift() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 5490 unsigned InnerShift; // The opposite direction to the OuterShift. in unfoldExtremeBitClearingToShifts() local 5492 auto matchMask = [&OuterShift, &InnerShift, &Y](SDValue M) -> bool { in unfoldExtremeBitClearingToShifts() 5497 InnerShift = ISD::SRL; in unfoldExtremeBitClearingToShifts() 5499 InnerShift = ISD::SHL; in unfoldExtremeBitClearingToShifts() 5520 SDValue T0 = DAG.getNode(InnerShift, DL, VT, X, Y); in unfoldExtremeBitClearingToShifts() 8767 SDValue InnerShift = N0.getOperand(0); in visitSRL() local 8769 if (auto *N001C = isConstOrConstSplat(InnerShift.getOperand(1))) { in visitSRL() 8772 EVT InnerShiftVT = InnerShift.getValueType(); in visitSRL() 8773 EVT ShiftAmtVT = InnerShift.getOperand(1).getValueType(); in visitSRL() 8783 InnerShift.getOperand(0), NewShiftAmt); in visitSRL() [all …]
|