• Home
  • Raw
  • Download

Lines Matching refs:SrcVT

645     EVT SrcVT = Src.getValueType();  in SimplifyMultipleUseDemandedBits()  local
647 if (SrcVT == DstVT) in SimplifyMultipleUseDemandedBits()
650 unsigned NumSrcEltBits = SrcVT.getScalarSizeInBits(); in SimplifyMultipleUseDemandedBits()
658 if (SrcVT.isVector() && (NumDstEltBits % NumSrcEltBits) == 0 && in SimplifyMultipleUseDemandedBits()
661 unsigned NumSrcElts = SrcVT.getVectorNumElements(); in SimplifyMultipleUseDemandedBits()
684 unsigned NumSrcElts = SrcVT.isVector() ? SrcVT.getVectorNumElements() : 1; in SimplifyMultipleUseDemandedBits()
794 EVT SrcVT = Src.getValueType(); in SimplifyMultipleUseDemandedBits() local
796 if (DemandedElts == 1 && DstVT.getSizeInBits() == SrcVT.getSizeInBits() && in SimplifyMultipleUseDemandedBits()
798 DemandedBits.getActiveBits() <= SrcVT.getScalarSizeInBits()) { in SimplifyMultipleUseDemandedBits()
1851 EVT SrcVT = Src.getValueType(); in SimplifyDemandedBits() local
1852 unsigned InBits = SrcVT.getScalarSizeInBits(); in SimplifyDemandedBits()
1853 unsigned InElts = SrcVT.isVector() ? SrcVT.getVectorNumElements() : 1; in SimplifyDemandedBits()
1861 VT.getSizeInBits() == SrcVT.getSizeInBits() && in SimplifyDemandedBits()
1889 EVT SrcVT = Src.getValueType(); in SimplifyDemandedBits() local
1890 unsigned InBits = SrcVT.getScalarSizeInBits(); in SimplifyDemandedBits()
1891 unsigned InElts = SrcVT.isVector() ? SrcVT.getVectorNumElements() : 1; in SimplifyDemandedBits()
1899 VT.getSizeInBits() == SrcVT.getSizeInBits() && in SimplifyDemandedBits()
1942 EVT SrcVT = Src.getValueType(); in SimplifyDemandedBits() local
1943 unsigned InBits = SrcVT.getScalarSizeInBits(); in SimplifyDemandedBits()
1944 unsigned InElts = SrcVT.isVector() ? SrcVT.getVectorNumElements() : 1; in SimplifyDemandedBits()
1950 VT.getSizeInBits() == SrcVT.getSizeInBits() && in SimplifyDemandedBits()
2084 EVT SrcVT = Src.getValueType(); in SimplifyDemandedBits() local
2085 unsigned NumSrcEltBits = SrcVT.getScalarSizeInBits(); in SimplifyDemandedBits()
2089 if (!TLO.LegalOperations() && !VT.isVector() && !SrcVT.isVector() && in SimplifyDemandedBits()
2091 SrcVT.isFloatingPoint()) { in SimplifyDemandedBits()
2094 if ((OpVTLegal || i32Legal) && VT.isSimple() && SrcVT != MVT::f16 && in SimplifyDemandedBits()
2095 SrcVT != MVT::f128) { in SimplifyDemandedBits()
2114 if (SrcVT.isVector() && (BitWidth % NumSrcEltBits) == 0 && in SimplifyDemandedBits()
2117 unsigned NumSrcElts = SrcVT.getVectorNumElements(); in SimplifyDemandedBits()
2143 unsigned NumSrcElts = SrcVT.isVector() ? SrcVT.getVectorNumElements() : 1; in SimplifyDemandedBits()
2153 if (SrcVT.isVector()) { in SimplifyDemandedBits()
2411 EVT SrcVT = Src.getValueType(); in SimplifyDemandedVectorElts() local
2415 if (!SrcVT.isVector()) in SimplifyDemandedVectorElts()
2419 unsigned NumSrcElts = SrcVT.getVectorNumElements(); in SimplifyDemandedVectorElts()
2443 unsigned SrcEltSizeInBits = SrcVT.getScalarSizeInBits(); in SimplifyDemandedVectorElts()
6375 EVT SrcVT = Src.getValueType(); in expandFP_TO_SINT() local
6380 if (SrcVT != MVT::f32 || DstVT != MVT::i64) in expandFP_TO_SINT()
6393 unsigned SrcEltBits = SrcVT.getScalarSizeInBits(); in expandFP_TO_SINT()
6394 EVT IntVT = SrcVT.changeTypeToInteger(); in expandFP_TO_SINT()
6449 EVT SrcVT = Src.getValueType(); in expandFP_TO_UINT() local
6452 getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), SrcVT); in expandFP_TO_UINT()
6460 !isOperationLegalOrCustomOrPromote(ISD::XOR, SrcVT))) in expandFP_TO_UINT()
6466 const fltSemantics &APFSem = DAG.EVTToAPFloatSemantics(SrcVT); in expandFP_TO_UINT()
6467 APFloat APF(APFSem, APInt::getNullValue(SrcVT.getScalarSizeInBits())); in expandFP_TO_UINT()
6480 SDValue Cst = DAG.getConstantFP(APF, dl, SrcVT); in expandFP_TO_UINT()
6492 shouldUseStrictFP_TO_INT(SrcVT, DstVT, /*IsSigned*/ false); in expandFP_TO_UINT()
6503 SDValue FltOfs = DAG.getSelect(dl, SrcVT, Sel, in expandFP_TO_UINT()
6504 DAG.getConstantFP(0.0, dl, SrcVT), Cst); in expandFP_TO_UINT()
6511 SDValue Val = DAG.getNode(ISD::STRICT_FSUB, dl, { SrcVT, MVT::Other }, in expandFP_TO_UINT()
6517 SDValue Val = DAG.getNode(ISD::FSUB, dl, SrcVT, Src, FltOfs); in expandFP_TO_UINT()
6530 DAG.getNode(ISD::FSUB, dl, SrcVT, Src, Cst)); in expandFP_TO_UINT()
6549 EVT SrcVT = Src.getValueType(); in expandUINT_TO_FP() local
6552 if (SrcVT.getScalarType() != MVT::i64 || DstVT.getScalarType() != MVT::f64) in expandUINT_TO_FP()
6556 if (SrcVT.isVector() && (!isOperationLegalOrCustom(ISD::SRL, SrcVT) || in expandUINT_TO_FP()
6559 !isOperationLegalOrCustomOrPromote(ISD::OR, SrcVT) || in expandUINT_TO_FP()
6560 !isOperationLegalOrCustomOrPromote(ISD::AND, SrcVT))) in expandUINT_TO_FP()
6564 EVT ShiftVT = getShiftAmountTy(SrcVT, DAG.getDataLayout()); in expandUINT_TO_FP()
6571 SDValue TwoP52 = DAG.getConstant(UINT64_C(0x4330000000000000), dl, SrcVT); in expandUINT_TO_FP()
6574 SDValue TwoP84 = DAG.getConstant(UINT64_C(0x4530000000000000), dl, SrcVT); in expandUINT_TO_FP()
6575 SDValue LoMask = DAG.getConstant(UINT64_C(0x00000000FFFFFFFF), dl, SrcVT); in expandUINT_TO_FP()
6578 SDValue Lo = DAG.getNode(ISD::AND, dl, SrcVT, Src, LoMask); in expandUINT_TO_FP()
6579 SDValue Hi = DAG.getNode(ISD::SRL, dl, SrcVT, Src, HiShift); in expandUINT_TO_FP()
6580 SDValue LoOr = DAG.getNode(ISD::OR, dl, SrcVT, Lo, TwoP52); in expandUINT_TO_FP()
6581 SDValue HiOr = DAG.getNode(ISD::OR, dl, SrcVT, Hi, TwoP84); in expandUINT_TO_FP()
6880 EVT SrcVT = LD->getMemoryVT(); in scalarizeVectorLoad() local
6884 if (SrcVT.isScalableVector()) in scalarizeVectorLoad()
6887 unsigned NumElem = SrcVT.getVectorNumElements(); in scalarizeVectorLoad()
6889 EVT SrcEltVT = SrcVT.getScalarType(); in scalarizeVectorLoad()
6899 unsigned NumLoadBits = SrcVT.getStoreSizeInBits(); in scalarizeVectorLoad()
6902 unsigned NumSrcBits = SrcVT.getSizeInBits(); in scalarizeVectorLoad()