reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 7289   unsigned OpSizeInBits = VT.getScalarSizeInBits();
 7292   if (VT.isVector()) {
 7308           if (SDValue C = DAG.FoldConstantArithmetic(ISD::SHL, SDLoc(N), VT,
 7310             return DAG.getNode(ISD::AND, SDLoc(N), VT, N00, C);
 7322     return DAG.FoldConstantArithmetic(ISD::SHL, SDLoc(N), VT, N0C, N1C);
 7330     return DAG.getConstant(0, SDLoc(N), VT);
 7336       return DAG.getNode(ISD::SHL, SDLoc(N), VT, N0, NewOp1);
 7353       return DAG.getConstant(0, SDLoc(N), VT);
 7365       return DAG.getNode(ISD::SHL, DL, VT, N0.getOperand(0), Sum);
 7394       return DAG.getConstant(0, SDLoc(N), VT);
 7408       SDValue Ext = DAG.getNode(N0.getOpcode(), DL, VT, N0Op0.getOperand(0));
 7411       return DAG.getNode(ISD::SHL, DL, VT, Ext, Sum);
 7423     auto MatchEqual = [VT](ConstantSDNode *LHS, ConstantSDNode *RHS) {
 7427       return c1.ult(VT.getScalarSizeInBits()) && (c1 == c2);
 7437       return DAG.getNode(ISD::ZERO_EXTEND, SDLoc(N0), VT, NewSHL);
 7451         return DAG.getNode(ISD::SHL, DL, VT, N0.getOperand(0),
 7453       return DAG.getNode(N0.getOpcode(), DL, VT, N0.getOperand(0),
 7475           Shift = DAG.getNode(ISD::SHL, DL, VT, N0.getOperand(0),
 7480           Shift = DAG.getNode(ISD::SRL, DL, VT, N0.getOperand(0),
 7484         return DAG.getNode(ISD::AND, DL, VT, Shift,
 7485                            DAG.getConstant(Mask, DL, VT));
 7494     SDValue AllBits = DAG.getAllOnesConstant(DL, VT);
 7495     SDValue HiBitsMask = DAG.getNode(ISD::SHL, DL, VT, AllBits, N1);
 7496     return DAG.getNode(ISD::AND, DL, VT, N0.getOperand(0), HiBitsMask);
 7508     SDValue Shl0 = DAG.getNode(ISD::SHL, SDLoc(N0), VT, N0.getOperand(0), N1);
 7509     SDValue Shl1 = DAG.getNode(ISD::SHL, SDLoc(N1), VT, N0.getOperand(1), N1);
 7512     return DAG.getNode(N0.getOpcode(), SDLoc(N), VT, Shl0, Shl1);
 7519     SDValue Shl = DAG.getNode(ISD::SHL, SDLoc(N1), VT, N0.getOperand(1), N1);
 7521       return DAG.getNode(ISD::MUL, SDLoc(N), VT, N0.getOperand(0), Shl);