Lines Matching defs:SRA
880 if (Opc == ISD::SRA)
1122 case ISD::SRA: return visitSRA(N);
1205 case ISD::SRA:
1895 SDValue SGN = DAG.getNode(ISD::SRA, N->getDebugLoc(), VT, N0,
1907 SDValue SRA = DAG.getNode(ISD::SRA, N->getDebugLoc(), VT, ADD,
1913 return SRA;
1915 AddToWorkList(SRA.getNode());
1917 DAG.getConstant(0, VT), SRA);
2096 return DAG.getNode(ISD::SRA, N->getDebugLoc(), N0.getValueType(), N0,
2346 // For each of OP in SHL/SRL/SRA/AND...
2351 N0.getOpcode() == ISD::SRA || N0.getOpcode() == ISD::AND) &&
3533 BinOpLHSVal->getOpcode() != ISD::SRA &&
3544 if (N->getOpcode() == ISD::SRA) {
3675 if (N1C && N0.getOpcode() == ISD::SRA && N1 == N0.getOperand(1)) {
3704 return DAG.FoldConstantArithmetic(ISD::SRA, VT, N0C, N1C);
3732 if (N1C && N0.getOpcode() == ISD::SRA) {
3736 return DAG.getNode(ISD::SRA, N->getDebugLoc(), VT, N0.getOperand(0),
3788 return DAG.getNode(ISD::SRA, N->getDebugLoc(), VT, N0,
3802 N0.getOperand(0).getOpcode() == ISD::SRA) &&
3815 SDValue SRA = DAG.getNode(ISD::SRA, N->getDebugLoc(), LargeVT,
3817 return DAG.getNode(ISD::TRUNCATE, N->getDebugLoc(), VT, SRA);
3925 if (N0.getOpcode() == ISD::SRA)
5239 // We can turn this into an SRA iff the input to the SRL is already sign
5243 return DAG.getNode(ISD::SRA, N->getDebugLoc(), VT,
9632 SDValue Shift = DAG.getNode(ISD::SRA, N0.getDebugLoc(),
9672 SDValue Shr = DAG.getNode(ISD::SRA, N0.getDebugLoc(), VT, Shl, ShrAmt);
9783 SDValue Shift = DAG.getNode(ISD::SRA, N0.getDebugLoc(), XType,