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

References

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
17872     if (!LegalOperations && Scalar.getOpcode() == ISD::SCALAR_TO_VECTOR &&
17873          Scalar.hasOneUse()) {
17874       EVT SVT = Scalar.getValueType().getVectorElementType();
17875       if (SVT == Scalar.getOperand(0).getValueType())
17876         Scalar = Scalar.getOperand(0);
17876         Scalar = Scalar.getOperand(0);
17880     if (!Scalar.getValueType().isVector()) {
17884       if (Scalar->getOpcode() == ISD::TRUNCATE &&
17885           !TLI.isTypeLegal(Scalar.getValueType()) &&
17886           TLI.isTypeLegal(Scalar->getOperand(0).getValueType()))
17887         Scalar = Scalar->getOperand(0);
17887         Scalar = Scalar->getOperand(0);
17889       EVT SclTy = Scalar.getValueType();
17903       if (!TLI.isTypeLegal(NVT) || !TLI.isTypeLegal(Scalar.getValueType()))
17906       SDValue Res = DAG.getNode(ISD::SCALAR_TO_VECTOR, SDLoc(N), NVT, Scalar);