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

References

lib/CodeGen/SelectionDAG/TargetLowering.cpp
 5806   SDValue BitWidthC = DAG.getConstant(EltSizeInBits, DL, ShVT);
 5807   SDValue Zero = DAG.getConstant(0, DL, ShVT);
 5811     SDValue Mask = DAG.getConstant(EltSizeInBits - 1, DL, ShVT);
 5812     ShAmt = DAG.getNode(ISD::AND, DL, ShVT, Z, Mask);
 5814     ShAmt = DAG.getNode(ISD::UREM, DL, ShVT, Z, BitWidthC);
 5817   SDValue InvShAmt = DAG.getNode(ISD::SUB, DL, ShVT, BitWidthC, ShAmt);
 5818   SDValue ShX = DAG.getNode(ISD::SHL, DL, VT, X, IsFSHL ? ShAmt : InvShAmt);
 5819   SDValue ShY = DAG.getNode(ISD::SRL, DL, VT, Y, IsFSHL ? InvShAmt : ShAmt);
 5820   SDValue Or = DAG.getNode(ISD::OR, DL, VT, ShX, ShY);
 5824   EVT CCVT = getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), ShVT);
 5824   EVT CCVT = getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), ShVT);
 5828   SDValue IsZeroShift = DAG.getSetCC(DL, CCVT, ShAmt, Zero, ISD::SETEQ);
 5829   Result = DAG.getSelect(DL, VT, IsZeroShift, IsFSHL ? X : Y, Or);