Lines Matching refs:SrcVT
120 unsigned emitIntExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, bool isZExt);
121 bool emitIntExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, unsigned DestReg,
124 bool emitIntZExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, unsigned DestReg);
126 bool emitIntSExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, unsigned DestReg);
127 bool emitIntSExt32r1(MVT SrcVT, unsigned SrcReg, MVT DestVT,
129 bool emitIntSExt32r2(MVT SrcVT, unsigned SrcReg, MVT DestVT,
854 EVT SrcVT = TLI.getValueType(Src->getType(), true);
857 if (SrcVT != MVT::f32 || DestVT != MVT::f64)
877 EVT SrcVT = TLI.getValueType(Src->getType(), true);
880 if (SrcVT != MVT::f64 || DestVT != MVT::f32)
900 MVT DstVT, SrcVT;
913 if (!isTypeLegal(SrcTy, SrcVT))
916 if (SrcVT != MVT::f32 && SrcVT != MVT::f64)
929 if (SrcVT == MVT::f32)
1009 MVT SrcVT = ArgVT;
1010 ArgReg = emitIntExt(SrcVT, ArgReg, DestVT, /*isZExt=*/false);
1017 MVT SrcVT = ArgVT;
1018 ArgReg = emitIntExt(SrcVT, ArgReg, DestVT, /*isZExt=*/true);
1269 EVT SrcVT, DestVT;
1270 SrcVT = TLI.getValueType(Op->getType(), true);
1273 if (SrcVT != MVT::i32 && SrcVT != MVT::i16 && SrcVT != MVT::i8)
1305 MVT SrcVT = SrcEVT.getSimpleVT();
1309 if (!emitIntExt(SrcVT, SrcReg, DestVT, ResultReg, isZExt))
1314 bool MipsFastISel::emitIntSExt32r1(MVT SrcVT, unsigned SrcReg, MVT DestVT,
1317 switch (SrcVT.SimpleTy) {
1333 bool MipsFastISel::emitIntSExt32r2(MVT SrcVT, unsigned SrcReg, MVT DestVT,
1335 switch (SrcVT.SimpleTy) {
1348 bool MipsFastISel::emitIntSExt(MVT SrcVT, unsigned SrcReg, MVT DestVT,
1353 return emitIntSExt32r2(SrcVT, SrcReg, DestVT, DestReg);
1354 return emitIntSExt32r1(SrcVT, SrcReg, DestVT, DestReg);
1357 bool MipsFastISel::emitIntZExt(MVT SrcVT, unsigned SrcReg, MVT DestVT,
1359 switch (SrcVT.SimpleTy) {
1375 bool MipsFastISel::emitIntExt(MVT SrcVT, unsigned SrcReg, MVT DestVT,
1378 return emitIntZExt(SrcVT, SrcReg, DestVT, DestReg);
1379 return emitIntSExt(SrcVT, SrcReg, DestVT, DestReg);
1382 unsigned MipsFastISel::emitIntExt(MVT SrcVT, unsigned SrcReg, MVT DestVT,
1385 bool Success = emitIntExt(SrcVT, SrcReg, DestVT, DestReg, isZExt);