Lines Matching refs:DestVT
139 unsigned emitIntExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, bool isZExt);
140 bool emitIntExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, unsigned DestReg,
143 bool emitIntZExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, unsigned DestReg);
145 bool emitIntSExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, unsigned DestReg);
146 bool emitIntSExt32r1(MVT SrcVT, unsigned SrcReg, MVT DestVT,
148 bool emitIntSExt32r2(MVT SrcVT, unsigned SrcReg, MVT DestVT,
953 EVT DestVT = TLI.getValueType(DL, I->getType(), true); in selectFPExt() local
955 if (SrcVT != MVT::f32 || DestVT != MVT::f64) in selectFPExt()
1027 EVT DestVT = TLI.getValueType(DL, I->getType(), true); in selectFPTrunc() local
1029 if (SrcVT != MVT::f64 || DestVT != MVT::f32) in selectFPTrunc()
1153 MVT DestVT = VA.getLocVT(); in processCallArgs() local
1155 ArgReg = emitIntExt(SrcVT, ArgReg, DestVT, /*isZExt=*/false); in processCallArgs()
1161 MVT DestVT = VA.getLocVT(); in processCallArgs() local
1163 ArgReg = emitIntExt(SrcVT, ArgReg, DestVT, /*isZExt=*/true); in processCallArgs()
1498 MVT DestVT = VA.getValVT(); in selectRet() local
1500 if (RVVT != DestVT) { in selectRet()
1506 SrcReg = emitIntExt(RVVT, SrcReg, DestVT, IsZExt); in selectRet()
1530 EVT SrcVT, DestVT; in selectTrunc() local
1532 DestVT = TLI.getValueType(DL, I->getType(), true); in selectTrunc()
1536 if (DestVT != MVT::i16 && DestVT != MVT::i8 && DestVT != MVT::i1) in selectTrunc()
1567 MVT DestVT = DestEVT.getSimpleVT(); in selectIntExt() local
1570 if (!emitIntExt(SrcVT, SrcReg, DestVT, ResultReg, isZExt)) in selectIntExt()
1575 bool MipsFastISel::emitIntSExt32r1(MVT SrcVT, unsigned SrcReg, MVT DestVT, in emitIntSExt32r1() argument
1594 bool MipsFastISel::emitIntSExt32r2(MVT SrcVT, unsigned SrcReg, MVT DestVT, in emitIntSExt32r2() argument
1609 bool MipsFastISel::emitIntSExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, in emitIntSExt() argument
1611 if ((DestVT != MVT::i32) && (DestVT != MVT::i16)) in emitIntSExt()
1614 return emitIntSExt32r2(SrcVT, SrcReg, DestVT, DestReg); in emitIntSExt()
1615 return emitIntSExt32r1(SrcVT, SrcReg, DestVT, DestReg); in emitIntSExt()
1618 bool MipsFastISel::emitIntZExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, in emitIntZExt() argument
1640 bool MipsFastISel::emitIntExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, in emitIntExt() argument
1646 if (((DestVT != MVT::i8) && (DestVT != MVT::i16) && (DestVT != MVT::i32)) || in emitIntExt()
1650 return emitIntZExt(SrcVT, SrcReg, DestVT, DestReg); in emitIntExt()
1651 return emitIntSExt(SrcVT, SrcReg, DestVT, DestReg); in emitIntExt()
1654 unsigned MipsFastISel::emitIntExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, in emitIntExt() argument
1657 bool Success = emitIntExt(SrcVT, SrcReg, DestVT, DestReg, isZExt); in emitIntExt()
1666 MVT DestVT = DestEVT.getSimpleVT(); in selectDivRem() local
1667 if (DestVT != MVT::i32) in selectDivRem()