Lines Matching refs:RHSReg

163                          bool LHSIsKill, unsigned RHSReg, bool RHSIsKill,
169 bool LHSIsKill, unsigned RHSReg, bool RHSIsKill,
174 bool LHSIsKill, unsigned RHSReg, bool RHSIsKill,
199 unsigned RHSReg, bool RHSIsKill, bool WantResult = true);
201 unsigned RHSReg, bool RHSIsKill,
209 bool LHSIsKill, unsigned RHSReg, bool RHSIsKill,
1164 unsigned RHSReg = getRegForValue(SI->getOperand(0)); in emitAddSub() local
1165 if (!RHSReg) in emitAddSub()
1168 return emitAddSub_rx(UseAdd, RetVT, LHSReg, LHSIsKill, RHSReg, in emitAddSub()
1172 unsigned RHSReg = getRegForValue(RHS); in emitAddSub() local
1173 if (!RHSReg) in emitAddSub()
1176 return emitAddSub_rx(UseAdd, RetVT, LHSReg, LHSIsKill, RHSReg, RHSIsKill, in emitAddSub()
1192 unsigned RHSReg = getRegForValue(MulLHS); in emitAddSub() local
1193 if (!RHSReg) in emitAddSub()
1196 ResultReg = emitAddSub_rs(UseAdd, RetVT, LHSReg, LHSIsKill, RHSReg, in emitAddSub()
1217 unsigned RHSReg = getRegForValue(SI->getOperand(0)); in emitAddSub() local
1218 if (!RHSReg) in emitAddSub()
1221 ResultReg = emitAddSub_rs(UseAdd, RetVT, LHSReg, LHSIsKill, RHSReg, in emitAddSub()
1231 unsigned RHSReg = getRegForValue(RHS); in emitAddSub() local
1232 if (!RHSReg) in emitAddSub()
1237 RHSReg = emitIntExt(SrcVT, RHSReg, RetVT, IsZExt); in emitAddSub()
1239 return emitAddSub_rr(UseAdd, RetVT, LHSReg, LHSIsKill, RHSReg, RHSIsKill, in emitAddSub()
1244 bool LHSIsKill, unsigned RHSReg, in emitAddSub_rr() argument
1247 assert(LHSReg && RHSReg && "Invalid register number."); in emitAddSub_rr()
1270 RHSReg = constrainOperandRegClass(II, RHSReg, II.getNumDefs() + 1); in emitAddSub_rr()
1273 .addReg(RHSReg, getKillRegState(RHSIsKill)); in emitAddSub_rr()
1323 bool LHSIsKill, unsigned RHSReg, in emitAddSub_rs() argument
1328 assert(LHSReg && RHSReg && "Invalid register number."); in emitAddSub_rs()
1355 RHSReg = constrainOperandRegClass(II, RHSReg, II.getNumDefs() + 1); in emitAddSub_rs()
1358 .addReg(RHSReg, getKillRegState(RHSIsKill)) in emitAddSub_rs()
1364 bool LHSIsKill, unsigned RHSReg, in emitAddSub_rx() argument
1369 assert(LHSReg && RHSReg && "Invalid register number."); in emitAddSub_rx()
1398 RHSReg = constrainOperandRegClass(II, RHSReg, II.getNumDefs() + 1); in emitAddSub_rx()
1401 .addReg(RHSReg, getKillRegState(RHSIsKill)) in emitAddSub_rx()
1463 unsigned RHSReg = getRegForValue(RHS); in emitFCmp() local
1464 if (!RHSReg) in emitFCmp()
1471 .addReg(RHSReg, getKillRegState(RHSIsKill)); in emitFCmp()
1512 bool LHSIsKill, unsigned RHSReg, in emitSubs_rr() argument
1514 return emitAddSub_rr(/*UseAdd=*/false, RetVT, LHSReg, LHSIsKill, RHSReg, in emitSubs_rr()
1519 bool LHSIsKill, unsigned RHSReg, in emitSubs_rs() argument
1523 return emitAddSub_rs(/*UseAdd=*/false, RetVT, LHSReg, LHSIsKill, RHSReg, in emitSubs_rs()
1571 unsigned RHSReg = getRegForValue(MulLHS); in emitLogicalOp() local
1572 if (!RHSReg) in emitLogicalOp()
1575 ResultReg = emitLogicalOp_rs(ISDOpc, RetVT, LHSReg, LHSIsKill, RHSReg, in emitLogicalOp()
1587 unsigned RHSReg = getRegForValue(SI->getOperand(0)); in emitLogicalOp() local
1588 if (!RHSReg) in emitLogicalOp()
1591 ResultReg = emitLogicalOp_rs(ISDOpc, RetVT, LHSReg, LHSIsKill, RHSReg, in emitLogicalOp()
1598 unsigned RHSReg = getRegForValue(RHS); in emitLogicalOp() local
1599 if (!RHSReg) in emitLogicalOp()
1604 ResultReg = fastEmit_rr(VT, VT, ISDOpc, LHSReg, LHSIsKill, RHSReg, RHSIsKill); in emitLogicalOp()
1660 unsigned RHSReg, bool RHSIsKill, in emitLogicalOp_rs() argument
1692 fastEmitInst_rri(Opc, RC, LHSReg, LHSIsKill, RHSReg, RHSIsKill, in emitLogicalOp_rs()
3558 unsigned RHSReg = getRegForValue(RHS); in fastLowerIntrinsicCall() local
3559 if (!RHSReg) in fastLowerIntrinsicCall()
3564 MulReg = emitSMULL_rr(MVT::i64, LHSReg, LHSIsKill, RHSReg, RHSIsKill); in fastLowerIntrinsicCall()
3577 MulReg = emitMul_rr(VT, LHSReg, /*IsKill=*/false, RHSReg, in fastLowerIntrinsicCall()
3580 RHSReg, RHSIsKill); in fastLowerIntrinsicCall()
3593 unsigned RHSReg = getRegForValue(RHS); in fastLowerIntrinsicCall() local
3594 if (!RHSReg) in fastLowerIntrinsicCall()
3599 MulReg = emitUMULL_rr(MVT::i64, LHSReg, LHSIsKill, RHSReg, RHSIsKill); in fastLowerIntrinsicCall()
3609 MulReg = emitMul_rr(VT, LHSReg, /*IsKill=*/false, RHSReg, in fastLowerIntrinsicCall()
3612 RHSReg, RHSIsKill); in fastLowerIntrinsicCall()