• Home
  • Raw
  • Download

Lines Matching refs:SrcVT

164     bool PPCEmitIntExt(MVT SrcVT, unsigned SrcReg, MVT DestVT,
819 MVT SrcVT = SrcEVT.getSimpleVT(); in PPCEmitCmp() local
821 if (SrcVT == MVT::i1 && PPCSubTarget->useCRBits()) in PPCEmitCmp()
834 if (SrcVT == MVT::i64 || SrcVT == MVT::i32 || SrcVT == MVT::i16 || in PPCEmitCmp()
835 SrcVT == MVT::i8 || SrcVT == MVT::i1) { in PPCEmitCmp()
845 switch (SrcVT.SimpleTy) { in PPCEmitCmp()
885 if (!PPCEmitIntExt(SrcVT, SrcReg1, MVT::i32, ExtReg, IsZExt)) in PPCEmitCmp()
891 if (!PPCEmitIntExt(SrcVT, SrcReg2, MVT::i32, ExtReg, IsZExt)) in PPCEmitCmp()
910 EVT SrcVT = TLI.getValueType(DL, Src->getType(), true); in SelectFPExt() local
913 if (SrcVT != MVT::f32 || DestVT != MVT::f64) in SelectFPExt()
928 EVT SrcVT = TLI.getValueType(DL, Src->getType(), true); in SelectFPTrunc() local
931 if (SrcVT != MVT::f64 || DestVT != MVT::f32) in SelectFPTrunc()
954 unsigned PPCFastISel::PPCMoveToFPReg(MVT SrcVT, unsigned SrcReg, in PPCMoveToFPReg() argument
958 if (SrcVT == MVT::i32) { in PPCMoveToFPReg()
978 if (SrcVT == MVT::i32) { in PPCMoveToFPReg()
1013 MVT SrcVT = SrcEVT.getSimpleVT(); in SelectIToFP() local
1015 if (SrcVT != MVT::i8 && SrcVT != MVT::i16 && in SelectIToFP()
1016 SrcVT != MVT::i32 && SrcVT != MVT::i64) in SelectIToFP()
1037 if (SrcVT == MVT::i8 || SrcVT == MVT::i16) { in SelectIToFP()
1039 if (!PPCEmitIntExt(SrcVT, SrcReg, MVT::i64, TmpReg, !IsSigned)) in SelectIToFP()
1041 SrcVT = MVT::i64; in SelectIToFP()
1046 unsigned FPReg = PPCMoveToFPReg(SrcVT, SrcReg, IsSigned); in SelectIToFP()
1109 MVT DstVT, SrcVT; in SelectFPToI() local
1123 if (!isTypeLegal(SrcTy, SrcVT)) in SelectFPToI()
1126 if (SrcVT != MVT::f32 && SrcVT != MVT::f64) in SelectFPToI()
1714 bool PPCFastISel::PPCEmitIntExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, in PPCEmitIntExt() argument
1718 if (SrcVT != MVT::i8 && SrcVT != MVT::i16 && SrcVT != MVT::i32) in PPCEmitIntExt()
1724 if (SrcVT == MVT::i8) in PPCEmitIntExt()
1726 else if (SrcVT == MVT::i16) in PPCEmitIntExt()
1738 if (SrcVT == MVT::i8) in PPCEmitIntExt()
1741 assert(SrcVT == MVT::i16 && "Unsigned extend from i32 to i32??"); in PPCEmitIntExt()
1751 if (SrcVT == MVT::i8) in PPCEmitIntExt()
1753 else if (SrcVT == MVT::i16) in PPCEmitIntExt()
1785 EVT SrcVT = TLI.getValueType(DL, Src->getType(), true); in SelectTrunc() local
1788 if (SrcVT != MVT::i64 && SrcVT != MVT::i32 && SrcVT != MVT::i16) in SelectTrunc()
1799 if (SrcVT == MVT::i64) { in SelectTrunc()
1829 MVT SrcVT = SrcEVT.getSimpleVT(); in SelectIntExt() local
1843 if (!PPCEmitIntExt(SrcVT, SrcReg, DestVT, ResultReg, IsZExt)) in SelectIntExt()