Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp8062 static SDValue extractShiftForRotate(SelectionDAG &DAG, SDValue OppShift, in extractShiftForRotate() argument
8065 assert(OppShift && ExtractFrom && "Empty SDValue"); in extractShiftForRotate()
8066 if (OppShift.getOpcode() != ISD::SHL && OppShift.getOpcode() != ISD::SRL) in extractShiftForRotate()
8072 SDValue OppShiftLHS = OppShift.getOperand(0); in extractShiftForRotate()
8076 ConstantSDNode *OppShiftCst = isConstOrConstSplat(OppShift.getOperand(1)); in extractShiftForRotate()
8080 if (OppShift.getOpcode() == ISD::SRL && OppShiftCst && in extractShiftForRotate()
8105 if ((OppShift.getOpcode() != ISD::SRL || !SelectOpcode(ISD::SHL, ISD::MUL)) && in extractShiftForRotate()
8106 (OppShift.getOpcode() != ISD::SHL || !SelectOpcode(ISD::SRL, ISD::UDIV))) in extractShiftForRotate()
8162 EVT ShiftVT = OppShift.getOperand(1).getValueType(); in extractShiftForRotate()