• Home
  • Raw
  • Download

Lines Matching refs:DestReg

132   bool emitCmp(unsigned DestReg, const CmpInst *CI);
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);
147 unsigned DestReg);
149 unsigned DestReg);
348 unsigned DestReg = createResultReg(RC); in materializeFP() local
350 emitInst(Mips::MTC1, DestReg).addReg(TempReg); in materializeFP()
351 return DestReg; in materializeFP()
354 unsigned DestReg = createResultReg(RC); in materializeFP() local
358 emitInst(Mips::BuildPairF64, DestReg).addReg(TempReg2).addReg(TempReg1); in materializeFP()
359 return DestReg; in materializeFP()
369 unsigned DestReg = createResultReg(RC); in materializeGV() local
375 emitInst(Mips::LW, DestReg) in materializeGV()
382 .addReg(DestReg) in materializeGV()
384 DestReg = TempReg; in materializeGV()
386 return DestReg; in materializeGV()
391 unsigned DestReg = createResultReg(RC); in materializeExternalCallSym() local
392 emitInst(Mips::LW, DestReg) in materializeExternalCallSym()
395 return DestReg; in materializeExternalCallSym()
964 unsigned DestReg = createResultReg(&Mips::AFGR64RegClass); in selectFPExt() local
965 emitInst(Mips::CVT_D32_S, DestReg).addReg(SrcReg); in selectFPExt()
966 updateValueMap(I, DestReg); in selectFPExt()
1036 unsigned DestReg = createResultReg(&Mips::FGR32RegClass); in selectFPTrunc() local
1037 if (!DestReg) in selectFPTrunc()
1040 emitInst(Mips::CVT_S_D32, DestReg).addReg(SrcReg); in selectFPTrunc()
1041 updateValueMap(I, DestReg); in selectFPTrunc()
1074 unsigned DestReg = createResultReg(&Mips::GPR32RegClass); in selectFPToInt() local
1080 emitInst(Mips::MFC1, DestReg).addReg(TempReg); in selectFPToInt()
1082 updateValueMap(I, DestReg); in selectFPToInt()
1356 unsigned DestReg = createResultReg(&Mips::GPR32RegClass); in fastLowerIntrinsicCall() local
1357 if (DestReg == 0) in fastLowerIntrinsicCall()
1361 emitInst(Mips::WSBH, DestReg).addReg(SrcReg); in fastLowerIntrinsicCall()
1362 updateValueMap(II, DestReg); in fastLowerIntrinsicCall()
1374 emitInst(Mips::ANDi, DestReg).addReg(TempReg[2]).addImm(0xFFFF); in fastLowerIntrinsicCall()
1375 updateValueMap(II, DestReg); in fastLowerIntrinsicCall()
1382 emitInst(Mips::ROTR, DestReg).addReg(TempReg).addImm(16); in fastLowerIntrinsicCall()
1383 updateValueMap(II, DestReg); in fastLowerIntrinsicCall()
1403 emitInst(Mips::OR, DestReg).addReg(TempReg[6]).addReg(TempReg[7]); in fastLowerIntrinsicCall()
1404 updateValueMap(II, DestReg); in fastLowerIntrinsicCall()
1482 unsigned DestReg = VA.getLocReg(); in selectRet() local
1484 if (!MRI.getRegClass(SrcReg)->contains(DestReg)) in selectRet()
1514 TII.get(TargetOpcode::COPY), DestReg).addReg(SrcReg); in selectRet()
1576 unsigned DestReg) { in emitIntSExt32r1() argument
1590 emitInst(Mips::SRA, DestReg).addReg(TempReg).addImm(ShiftAmt); in emitIntSExt32r1()
1595 unsigned DestReg) { in emitIntSExt32r2() argument
1600 emitInst(Mips::SEB, DestReg).addReg(SrcReg); in emitIntSExt32r2()
1603 emitInst(Mips::SEH, DestReg).addReg(SrcReg); in emitIntSExt32r2()
1610 unsigned DestReg) { in emitIntSExt() argument
1614 return emitIntSExt32r2(SrcVT, SrcReg, DestVT, DestReg); in emitIntSExt()
1615 return emitIntSExt32r1(SrcVT, SrcReg, DestVT, DestReg); in emitIntSExt()
1619 unsigned DestReg) { in emitIntZExt() argument
1636 emitInst(Mips::ANDi, DestReg).addReg(SrcReg).addImm(Imm); in emitIntZExt()
1641 unsigned DestReg, bool IsZExt) { in emitIntExt() argument
1650 return emitIntZExt(SrcVT, SrcReg, DestVT, DestReg); in emitIntExt()
1651 return emitIntSExt(SrcVT, SrcReg, DestVT, DestReg); in emitIntExt()
1656 unsigned DestReg = createResultReg(&Mips::GPR32RegClass); in emitIntExt() local
1657 bool Success = emitIntExt(SrcVT, SrcReg, DestVT, DestReg, isZExt); in emitIntExt()
1658 return Success ? DestReg : 0; in emitIntExt()
1859 unsigned DestReg = createResultReg(&Mips::GPR32RegClass); in simplifyAddress() local
1860 emitInst(Mips::ADDu, DestReg).addReg(TempReg).addReg(Addr.getReg()); in simplifyAddress()
1861 Addr.setReg(DestReg); in simplifyAddress()