• Home
  • Raw
  • Download

Lines Matching refs:SrcVT

173     bool PPCEmitIntExt(MVT SrcVT, unsigned SrcReg, MVT DestVT,
830 MVT SrcVT = SrcEVT.getSimpleVT(); in PPCEmitCmp() local
832 if (SrcVT == MVT::i1 && Subtarget->useCRBits()) in PPCEmitCmp()
846 if (SrcVT == MVT::i64 || SrcVT == MVT::i32 || SrcVT == MVT::i16 || in PPCEmitCmp()
847 SrcVT == MVT::i8 || SrcVT == MVT::i1) { in PPCEmitCmp()
872 switch (SrcVT.SimpleTy) { in PPCEmitCmp()
937 if (!PPCEmitIntExt(SrcVT, SrcReg1, MVT::i32, ExtReg, IsZExt)) in PPCEmitCmp()
943 if (!PPCEmitIntExt(SrcVT, SrcReg2, MVT::i32, ExtReg, IsZExt)) in PPCEmitCmp()
962 EVT SrcVT = TLI.getValueType(DL, Src->getType(), true); in SelectFPExt() local
965 if (SrcVT != MVT::f32 || DestVT != MVT::f64) in SelectFPExt()
980 EVT SrcVT = TLI.getValueType(DL, Src->getType(), true); in SelectFPTrunc() local
983 if (SrcVT != MVT::f64 || DestVT != MVT::f32) in SelectFPTrunc()
1021 unsigned PPCFastISel::PPCMoveToFPReg(MVT SrcVT, unsigned SrcReg, in PPCMoveToFPReg() argument
1025 if (SrcVT == MVT::i32) { in PPCMoveToFPReg()
1045 if (SrcVT == MVT::i32) { in PPCMoveToFPReg()
1080 MVT SrcVT = SrcEVT.getSimpleVT(); in SelectIToFP() local
1082 if (SrcVT != MVT::i8 && SrcVT != MVT::i16 && in SelectIToFP()
1083 SrcVT != MVT::i32 && SrcVT != MVT::i64) in SelectIToFP()
1120 if (SrcVT == MVT::i8 || SrcVT == MVT::i16) { in SelectIToFP()
1122 if (!PPCEmitIntExt(SrcVT, SrcReg, MVT::i64, TmpReg, !IsSigned)) in SelectIToFP()
1124 SrcVT = MVT::i64; in SelectIToFP()
1129 unsigned FPReg = PPCMoveToFPReg(SrcVT, SrcReg, IsSigned); in SelectIToFP()
1192 MVT DstVT, SrcVT; in SelectFPToI() local
1207 if (!isTypeLegal(SrcTy, SrcVT)) in SelectFPToI()
1210 if (SrcVT != MVT::f32 && SrcVT != MVT::f64) in SelectFPToI()
1811 bool PPCFastISel::PPCEmitIntExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, in PPCEmitIntExt() argument
1815 if (SrcVT != MVT::i8 && SrcVT != MVT::i16 && SrcVT != MVT::i32) in PPCEmitIntExt()
1821 if (SrcVT == MVT::i8) in PPCEmitIntExt()
1823 else if (SrcVT == MVT::i16) in PPCEmitIntExt()
1835 if (SrcVT == MVT::i8) in PPCEmitIntExt()
1838 assert(SrcVT == MVT::i16 && "Unsigned extend from i32 to i32??"); in PPCEmitIntExt()
1848 if (SrcVT == MVT::i8) in PPCEmitIntExt()
1850 else if (SrcVT == MVT::i16) in PPCEmitIntExt()
1882 EVT SrcVT = TLI.getValueType(DL, Src->getType(), true); in SelectTrunc() local
1885 if (SrcVT != MVT::i64 && SrcVT != MVT::i32 && SrcVT != MVT::i16) in SelectTrunc()
1896 if (SrcVT == MVT::i64) in SelectTrunc()
1921 MVT SrcVT = SrcEVT.getSimpleVT(); in SelectIntExt() local
1935 if (!PPCEmitIntExt(SrcVT, SrcReg, DestVT, ResultReg, IsZExt)) in SelectIntExt()