Lines Matching refs:SrcVT
159 bool PPCEmitIntExt(MVT SrcVT, unsigned SrcReg, MVT DestVT,
783 MVT SrcVT = SrcEVT.getSimpleVT(); in PPCEmitCmp() local
785 if (SrcVT == MVT::i1 && PPCSubTarget->useCRBits()) in PPCEmitCmp()
798 if (SrcVT == MVT::i64 || SrcVT == MVT::i32 || SrcVT == MVT::i16 || in PPCEmitCmp()
799 SrcVT == MVT::i8 || SrcVT == MVT::i1) { in PPCEmitCmp()
809 switch (SrcVT.SimpleTy) { in PPCEmitCmp()
849 if (!PPCEmitIntExt(SrcVT, SrcReg1, MVT::i32, ExtReg, IsZExt)) in PPCEmitCmp()
855 if (!PPCEmitIntExt(SrcVT, SrcReg2, MVT::i32, ExtReg, IsZExt)) in PPCEmitCmp()
874 EVT SrcVT = TLI.getValueType(Src->getType(), true); in SelectFPExt() local
877 if (SrcVT != MVT::f32 || DestVT != MVT::f64) in SelectFPExt()
892 EVT SrcVT = TLI.getValueType(Src->getType(), true); in SelectFPTrunc() local
895 if (SrcVT != MVT::f64 || DestVT != MVT::f32) in SelectFPTrunc()
918 unsigned PPCFastISel::PPCMoveToFPReg(MVT SrcVT, unsigned SrcReg, in PPCMoveToFPReg() argument
922 if (SrcVT == MVT::i32) { in PPCMoveToFPReg()
942 if (SrcVT == MVT::i32) { in PPCMoveToFPReg()
977 MVT SrcVT = SrcEVT.getSimpleVT(); in SelectIToFP() local
979 if (SrcVT != MVT::i8 && SrcVT != MVT::i16 && in SelectIToFP()
980 SrcVT != MVT::i32 && SrcVT != MVT::i64) in SelectIToFP()
1001 if (SrcVT == MVT::i8 || SrcVT == MVT::i16) { in SelectIToFP()
1003 if (!PPCEmitIntExt(SrcVT, SrcReg, MVT::i64, TmpReg, !IsSigned)) in SelectIToFP()
1005 SrcVT = MVT::i64; in SelectIToFP()
1010 unsigned FPReg = PPCMoveToFPReg(SrcVT, SrcReg, IsSigned); in SelectIToFP()
1073 MVT DstVT, SrcVT; in SelectFPToI() local
1087 if (!isTypeLegal(SrcTy, SrcVT)) in SelectFPToI()
1090 if (SrcVT != MVT::f32 && SrcVT != MVT::f64) in SelectFPToI()
1679 bool PPCFastISel::PPCEmitIntExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, in PPCEmitIntExt() argument
1683 if (SrcVT != MVT::i8 && SrcVT != MVT::i16 && SrcVT != MVT::i32) in PPCEmitIntExt()
1689 if (SrcVT == MVT::i8) in PPCEmitIntExt()
1691 else if (SrcVT == MVT::i16) in PPCEmitIntExt()
1703 if (SrcVT == MVT::i8) in PPCEmitIntExt()
1706 assert(SrcVT == MVT::i16 && "Unsigned extend from i32 to i32??"); in PPCEmitIntExt()
1716 if (SrcVT == MVT::i8) in PPCEmitIntExt()
1718 else if (SrcVT == MVT::i16) in PPCEmitIntExt()
1750 EVT SrcVT = TLI.getValueType(Src->getType(), true); in SelectTrunc() local
1753 if (SrcVT != MVT::i64 && SrcVT != MVT::i32 && SrcVT != MVT::i16) in SelectTrunc()
1764 if (SrcVT == MVT::i64) { in SelectTrunc()
1794 MVT SrcVT = SrcEVT.getSimpleVT(); in SelectIntExt() local
1808 if (!PPCEmitIntExt(SrcVT, SrcReg, DestVT, ResultReg, IsZExt)) in SelectIntExt()