Lines Matching defs:ShiftOpc

3521     EVT VT, unsigned ShiftOpc, bool MayTransformRotate,
3524 return ShiftOpc;
3543 if (ShiftOpc == ISD::SHL || ShiftOpc == ISD::SRL) {
3553 return ShiftOpc;
3556 if (ShiftOpc == ISD::SHL) {
3561 : ShiftOpc;
3566 return ShiftOrRotateAmt.uge(7) ? (unsigned)ISD::SRL : ShiftOpc;
3572 return AndMask->getSignificantBits() > 33 ? (unsigned)ISD::SHL : ShiftOpc;
3575 return ShiftOrRotateAmt.ult(7) ? (unsigned)ISD::SHL : ShiftOpc;
3581 return ShiftOpc;
25699 unsigned ShiftOpc;
25703 ShiftOpc = ISD::SHL;
25706 ShiftOpc = ISD::SRL;
25709 ShiftOpc = ISD::SRA;
25714 if (SDValue C = DAG.FoldConstantArithmetic(ShiftOpc, dl, VT, {SrcOp, Amt}))
30863 unsigned ShiftOpc = IsFSHR ? ISD::SRL : ISD::SHL;
30879 if (supportedVectorShiftWithBaseAmnt(ExtVT, Subtarget, ShiftOpc)) {
30888 Lo = getTargetVShiftNode(ShiftOpc, DL, ExtVT, Lo, ScalarAmt,
30890 Hi = getTargetVShiftNode(ShiftOpc, DL, ExtVT, Hi, ScalarAmt,
30901 if (supportedVectorVarShift(VT, Subtarget, ShiftOpc) || Subtarget.hasXOP())
30907 if (supportedVectorVarShift(WideVT, Subtarget, ShiftOpc) &&
30908 supportedVectorShiftWithImm(WideVT, Subtarget, ShiftOpc)) {
30915 Res = DAG.getNode(ShiftOpc, DL, WideVT, Res, AmtMod);
30924 supportedVectorVarShift(ExtVT, Subtarget, ShiftOpc)) {
30930 SDValue Lo = DAG.getNode(ShiftOpc, DL, ExtVT, RLo, ALo);
30931 SDValue Hi = DAG.getNode(ShiftOpc, DL, ExtVT, RHi, AHi);
31121 unsigned ShiftOpc = IsROTL ? ISD::SHL : ISD::SRL;
31128 !supportedVectorVarShift(VT, Subtarget, ShiftOpc) &&
31129 (ConstantAmt || supportedVectorVarShift(ExtVT, Subtarget, ShiftOpc))) {
31134 SDValue Lo = DAG.getNode(ShiftOpc, DL, ExtVT, RLo, ALo);
31135 SDValue Hi = DAG.getNode(ShiftOpc, DL, ExtVT, RHi, AHi);
31149 if (supportedVectorVarShift(WideVT, Subtarget, ShiftOpc) &&
31150 supportedVectorShiftWithImm(WideVT, Subtarget, ShiftOpc)) {
31160 R = DAG.getNode(ShiftOpc, DL, WideVT, R, Amt);