Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp6598 static SDValue extractShiftForRotate(SelectionDAG &DAG, SDValue OppShift, in extractShiftForRotate() argument
6601 assert(OppShift && ExtractFrom && "Empty SDValue"); in extractShiftForRotate()
6603 (OppShift.getOpcode() == ISD::SHL || OppShift.getOpcode() == ISD::SRL) && in extractShiftForRotate()
6609 SDValue OppShiftLHS = OppShift.getOperand(0); in extractShiftForRotate()
6613 ConstantSDNode *OppShiftCst = isConstOrConstSplat(OppShift.getOperand(1)); in extractShiftForRotate()
6617 if (OppShift.getOpcode() == ISD::SRL && OppShiftCst && in extractShiftForRotate()
6642 if ((OppShift.getOpcode() != ISD::SRL || !SelectOpcode(ISD::SHL, ISD::MUL)) && in extractShiftForRotate()
6643 (OppShift.getOpcode() != ISD::SHL || !SelectOpcode(ISD::SRL, ISD::UDIV))) in extractShiftForRotate()
6699 EVT ShiftVT = OppShift.getOperand(1).getValueType(); in extractShiftForRotate()