Lines Matching refs:CastOpcode
10740 unsigned CastOpcode = Cast->getOpcode(); in matchVSelectOpSizesWithSetCC() local
10741 assert((CastOpcode == ISD::SIGN_EXTEND || CastOpcode == ISD::ZERO_EXTEND || in matchVSelectOpSizesWithSetCC()
10742 CastOpcode == ISD::TRUNCATE || CastOpcode == ISD::FP_EXTEND || in matchVSelectOpSizesWithSetCC()
10743 CastOpcode == ISD::FP_ROUND) && in matchVSelectOpSizesWithSetCC()
10769 if (CastOpcode == ISD::FP_ROUND) { in matchVSelectOpSizesWithSetCC()
10771 CastA = DAG.getNode(CastOpcode, DL, VT, A, Cast->getOperand(1)); in matchVSelectOpSizesWithSetCC()
10772 CastB = DAG.getNode(CastOpcode, DL, VT, B, Cast->getOperand(1)); in matchVSelectOpSizesWithSetCC()
10774 CastA = DAG.getNode(CastOpcode, DL, VT, A); in matchVSelectOpSizesWithSetCC()
10775 CastB = DAG.getNode(CastOpcode, DL, VT, B); in matchVSelectOpSizesWithSetCC()
19925 unsigned CastOpcode = N->getOperand(0).getOpcode(); in combineConcatVectorOfCasts() local
19926 switch (CastOpcode) { in combineConcatVectorOfCasts()
19950 if (Op.getOpcode() != CastOpcode || !Op.hasOneUse() || in combineConcatVectorOfCasts()
19964 switch (CastOpcode) { in combineConcatVectorOfCasts()
19967 if (!TLI.isOperationLegalOrCustom(CastOpcode, ConcatSrcVT) || in combineConcatVectorOfCasts()
19973 if (!TLI.isOperationLegalOrCustom(CastOpcode, VT) || in combineConcatVectorOfCasts()
19984 return DAG.getNode(CastOpcode, DL, VT, NewConcat); in combineConcatVectorOfCasts()