Lines Matching refs:DestReg

180   bool emitCmp(unsigned DestReg, const CmpInst *CI);
184 bool emitIntExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, unsigned DestReg,
187 bool emitIntZExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, unsigned DestReg);
189 bool emitIntSExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, unsigned DestReg);
191 unsigned DestReg);
193 unsigned DestReg);
390 Register DestReg = createResultReg(RC); in materializeFP() local
392 emitInst(Mips::MTC1, DestReg).addReg(TempReg); in materializeFP()
393 return DestReg; in materializeFP()
396 Register DestReg = createResultReg(RC); in materializeFP() local
400 emitInst(Mips::BuildPairF64, DestReg).addReg(TempReg2).addReg(TempReg1); in materializeFP()
401 return DestReg; in materializeFP()
411 Register DestReg = createResultReg(RC); in materializeGV() local
417 emitInst(Mips::LW, DestReg) in materializeGV()
424 .addReg(DestReg) in materializeGV()
426 DestReg = TempReg; in materializeGV()
428 return DestReg; in materializeGV()
433 Register DestReg = createResultReg(RC); in materializeExternalCallSym() local
434 emitInst(Mips::LW, DestReg) in materializeExternalCallSym()
437 return DestReg; in materializeExternalCallSym()
1003 Register DestReg = createResultReg(&Mips::AFGR64RegClass); in selectFPExt() local
1004 emitInst(Mips::CVT_D32_S, DestReg).addReg(SrcReg); in selectFPExt()
1005 updateValueMap(I, DestReg); in selectFPExt()
1080 Register DestReg = createResultReg(&Mips::FGR32RegClass); in selectFPTrunc() local
1081 if (!DestReg) in selectFPTrunc()
1084 emitInst(Mips::CVT_S_D32, DestReg).addReg(SrcReg); in selectFPTrunc()
1085 updateValueMap(I, DestReg); in selectFPTrunc()
1118 Register DestReg = createResultReg(&Mips::GPR32RegClass); in selectFPToInt() local
1124 emitInst(Mips::MFC1, DestReg).addReg(TempReg); in selectFPToInt()
1126 updateValueMap(I, DestReg); in selectFPToInt()
1594 Register DestReg = createResultReg(&Mips::GPR32RegClass); in fastLowerIntrinsicCall() local
1595 if (DestReg == 0) in fastLowerIntrinsicCall()
1599 emitInst(Mips::WSBH, DestReg).addReg(SrcReg); in fastLowerIntrinsicCall()
1600 updateValueMap(II, DestReg); in fastLowerIntrinsicCall()
1612 emitInst(Mips::OR, DestReg).addReg(TempReg[0]).addReg(TempReg[2]); in fastLowerIntrinsicCall()
1613 updateValueMap(II, DestReg); in fastLowerIntrinsicCall()
1620 emitInst(Mips::ROTR, DestReg).addReg(TempReg).addImm(16); in fastLowerIntrinsicCall()
1621 updateValueMap(II, DestReg); in fastLowerIntrinsicCall()
1641 emitInst(Mips::OR, DestReg).addReg(TempReg[6]).addReg(TempReg[7]); in fastLowerIntrinsicCall()
1642 updateValueMap(II, DestReg); in fastLowerIntrinsicCall()
1722 Register DestReg = VA.getLocReg(); in selectRet() local
1724 if (!MRI.getRegClass(SrcReg)->contains(DestReg)) in selectRet()
1760 TII.get(TargetOpcode::COPY), DestReg).addReg(SrcReg); in selectRet()
1824 unsigned DestReg) { in emitIntSExt32r1() argument
1838 emitInst(Mips::SRA, DestReg).addReg(TempReg).addImm(ShiftAmt); in emitIntSExt32r1()
1843 unsigned DestReg) { in emitIntSExt32r2() argument
1848 emitInst(Mips::SEB, DestReg).addReg(SrcReg); in emitIntSExt32r2()
1851 emitInst(Mips::SEH, DestReg).addReg(SrcReg); in emitIntSExt32r2()
1858 unsigned DestReg) { in emitIntSExt() argument
1862 return emitIntSExt32r2(SrcVT, SrcReg, DestVT, DestReg); in emitIntSExt()
1863 return emitIntSExt32r1(SrcVT, SrcReg, DestVT, DestReg); in emitIntSExt()
1867 unsigned DestReg) { in emitIntZExt() argument
1884 emitInst(Mips::ANDi, DestReg).addReg(SrcReg).addImm(Imm); in emitIntZExt()
1889 unsigned DestReg, bool IsZExt) { in emitIntExt() argument
1898 return emitIntZExt(SrcVT, SrcReg, DestVT, DestReg); in emitIntExt()
1899 return emitIntSExt(SrcVT, SrcReg, DestVT, DestReg); in emitIntExt()
1904 unsigned DestReg = createResultReg(&Mips::GPR32RegClass); in emitIntExt() local
1905 bool Success = emitIntExt(SrcVT, SrcReg, DestVT, DestReg, isZExt); in emitIntExt()
1906 return Success ? DestReg : 0; in emitIntExt()
2109 Register DestReg = createResultReg(&Mips::GPR32RegClass); in simplifyAddress() local
2110 emitInst(Mips::ADDu, DestReg).addReg(TempReg).addReg(Addr.getReg()); in simplifyAddress()
2111 Addr.setReg(DestReg); in simplifyAddress()