Lines Matching refs:SrcTy
499 EVT SrcTy = TLI->getValueType(DL, Src); in getCastInstrCost() local
502 if (!SrcTy.isSimple() || !DstTy.isSimple()) in getCastInstrCost()
514 IsLegalFPType(SrcTy) && IsLegalFPType(DstTy))) in getCastInstrCost()
537 LoadConversionTbl, ISD, DstTy.getSimpleVT(), SrcTy.getSimpleVT())) in getCastInstrCost()
557 if (SrcTy.isVector() && ST->hasMVEIntegerOps()) { in getCastInstrCost()
560 DstTy.getSimpleVT(), SrcTy.getSimpleVT())) in getCastInstrCost()
569 if (SrcTy.isVector() && ST->hasMVEFloatOps()) { in getCastInstrCost()
572 DstTy.getSimpleVT(), SrcTy.getSimpleVT())) in getCastInstrCost()
586 if (SrcTy.isVector() && ST->hasMVEIntegerOps()) { in getCastInstrCost()
589 SrcTy.getSimpleVT(), DstTy.getSimpleVT())) in getCastInstrCost()
597 if (SrcTy.isVector() && ST->hasMVEFloatOps()) { in getCastInstrCost()
600 SrcTy.getSimpleVT(), DstTy.getSimpleVT())) in getCastInstrCost()
607 I && I->hasOneUse() && ST->hasNEON() && SrcTy.isVector()) { in getCastInstrCost()
627 SrcTy.getSimpleVT())) { in getCastInstrCost()
634 ((ISD == ISD::FP_ROUND && SrcTy.getScalarType() == MVT::f64 && in getCastInstrCost()
636 (ISD == ISD::FP_EXTEND && SrcTy.getScalarType() == MVT::f32 && in getCastInstrCost()
735 if (SrcTy.isVector() && ST->hasNEON()) { in getCastInstrCost()
738 SrcTy.getSimpleVT())) in getCastInstrCost()
765 if (SrcTy.isFloatingPoint() && ST->hasNEON()) { in getCastInstrCost()
768 SrcTy.getSimpleVT())) in getCastInstrCost()
796 if (SrcTy.isInteger() && ST->hasNEON()) { in getCastInstrCost()
799 SrcTy.getSimpleVT())) in getCastInstrCost()
821 if (SrcTy.isVector() && ST->hasMVEIntegerOps()) { in getCastInstrCost()
824 SrcTy.getSimpleVT())) in getCastInstrCost()
835 if (SrcTy.isFixedLengthVector()) in getCastInstrCost()
836 Lanes = SrcTy.getVectorNumElements(); in getCastInstrCost()
838 if (IsLegalFPType(SrcTy) && IsLegalFPType(DstTy)) in getCastInstrCost()
845 SrcTy.isFixedLengthVector()) { in getCastInstrCost()
848 if ((SrcTy.getScalarType() == MVT::i8 || in getCastInstrCost()
849 SrcTy.getScalarType() == MVT::i16 || in getCastInstrCost()
850 SrcTy.getScalarType() == MVT::i32) && in getCastInstrCost()
851 SrcTy.getSizeInBits() > 128 && in getCastInstrCost()
852 SrcTy.getSizeInBits() > DstTy.getSizeInBits()) in getCastInstrCost()
853 return SrcTy.getVectorNumElements() * 2; in getCastInstrCost()
868 if (SrcTy.isInteger()) { in getCastInstrCost()
871 SrcTy.getSimpleVT())) in getCastInstrCost()