Lines Matching refs:DestReg
180 bool emitCmp(unsigned DestReg, const CmpInst *CI);
188 bool emitIntExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, unsigned DestReg,
191 bool emitIntZExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, unsigned DestReg);
193 bool emitIntSExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, unsigned DestReg);
195 unsigned DestReg);
197 unsigned DestReg);
395 unsigned DestReg = createResultReg(RC); in materializeFP() local
397 emitInst(Mips::MTC1, DestReg).addReg(TempReg); in materializeFP()
398 return DestReg; in materializeFP()
401 unsigned DestReg = createResultReg(RC); in materializeFP() local
405 emitInst(Mips::BuildPairF64, DestReg).addReg(TempReg2).addReg(TempReg1); in materializeFP()
406 return DestReg; in materializeFP()
416 unsigned DestReg = createResultReg(RC); in materializeGV() local
422 emitInst(Mips::LW, DestReg) in materializeGV()
429 .addReg(DestReg) in materializeGV()
431 DestReg = TempReg; in materializeGV()
433 return DestReg; in materializeGV()
438 unsigned DestReg = createResultReg(RC); in materializeExternalCallSym() local
439 emitInst(Mips::LW, DestReg) in materializeExternalCallSym()
442 return DestReg; in materializeExternalCallSym()
1010 unsigned DestReg = createResultReg(&Mips::AFGR64RegClass); in selectFPExt() local
1011 emitInst(Mips::CVT_D32_S, DestReg).addReg(SrcReg); in selectFPExt()
1012 updateValueMap(I, DestReg); in selectFPExt()
1087 unsigned DestReg = createResultReg(&Mips::FGR32RegClass); in selectFPTrunc() local
1088 if (!DestReg) in selectFPTrunc()
1091 emitInst(Mips::CVT_S_D32, DestReg).addReg(SrcReg); in selectFPTrunc()
1092 updateValueMap(I, DestReg); in selectFPTrunc()
1125 unsigned DestReg = createResultReg(&Mips::GPR32RegClass); in selectFPToInt() local
1131 emitInst(Mips::MFC1, DestReg).addReg(TempReg); in selectFPToInt()
1133 updateValueMap(I, DestReg); in selectFPToInt()
1601 unsigned DestReg = createResultReg(&Mips::GPR32RegClass); in fastLowerIntrinsicCall() local
1602 if (DestReg == 0) in fastLowerIntrinsicCall()
1606 emitInst(Mips::WSBH, DestReg).addReg(SrcReg); in fastLowerIntrinsicCall()
1607 updateValueMap(II, DestReg); in fastLowerIntrinsicCall()
1619 emitInst(Mips::ANDi, DestReg).addReg(TempReg[2]).addImm(0xFFFF); in fastLowerIntrinsicCall()
1620 updateValueMap(II, DestReg); in fastLowerIntrinsicCall()
1627 emitInst(Mips::ROTR, DestReg).addReg(TempReg).addImm(16); in fastLowerIntrinsicCall()
1628 updateValueMap(II, DestReg); in fastLowerIntrinsicCall()
1648 emitInst(Mips::OR, DestReg).addReg(TempReg[6]).addReg(TempReg[7]); in fastLowerIntrinsicCall()
1649 updateValueMap(II, DestReg); in fastLowerIntrinsicCall()
1729 Register DestReg = VA.getLocReg(); in selectRet() local
1731 if (!MRI.getRegClass(SrcReg)->contains(DestReg)) in selectRet()
1767 TII.get(TargetOpcode::COPY), DestReg).addReg(SrcReg); in selectRet()
1831 unsigned DestReg) { in emitIntSExt32r1() argument
1845 emitInst(Mips::SRA, DestReg).addReg(TempReg).addImm(ShiftAmt); in emitIntSExt32r1()
1850 unsigned DestReg) { in emitIntSExt32r2() argument
1855 emitInst(Mips::SEB, DestReg).addReg(SrcReg); in emitIntSExt32r2()
1858 emitInst(Mips::SEH, DestReg).addReg(SrcReg); in emitIntSExt32r2()
1865 unsigned DestReg) { in emitIntSExt() argument
1869 return emitIntSExt32r2(SrcVT, SrcReg, DestVT, DestReg); in emitIntSExt()
1870 return emitIntSExt32r1(SrcVT, SrcReg, DestVT, DestReg); in emitIntSExt()
1874 unsigned DestReg) { in emitIntZExt() argument
1891 emitInst(Mips::ANDi, DestReg).addReg(SrcReg).addImm(Imm); in emitIntZExt()
1896 unsigned DestReg, bool IsZExt) { in emitIntExt() argument
1905 return emitIntZExt(SrcVT, SrcReg, DestVT, DestReg); in emitIntExt()
1906 return emitIntSExt(SrcVT, SrcReg, DestVT, DestReg); in emitIntExt()
1911 unsigned DestReg = createResultReg(&Mips::GPR32RegClass); in emitIntExt() local
1912 bool Success = emitIntExt(SrcVT, SrcReg, DestVT, DestReg, isZExt); in emitIntExt()
1913 return Success ? DestReg : 0; in emitIntExt()
2116 unsigned DestReg = createResultReg(&Mips::GPR32RegClass); in simplifyAddress() local
2117 emitInst(Mips::ADDu, DestReg).addReg(TempReg).addReg(Addr.getReg()); in simplifyAddress()
2118 Addr.setReg(DestReg); in simplifyAddress()