Lines Matching refs:RHSReg

162                          bool LHSIsKill, unsigned RHSReg, bool RHSIsKill,
168 bool LHSIsKill, unsigned RHSReg, bool RHSIsKill,
173 bool LHSIsKill, unsigned RHSReg, bool RHSIsKill,
198 unsigned RHSReg, bool RHSIsKill, bool WantResult = true);
200 unsigned RHSReg, bool RHSIsKill,
208 bool LHSIsKill, unsigned RHSReg, bool RHSIsKill,
1159 unsigned RHSReg = getRegForValue(SI->getOperand(0)); in emitAddSub() local
1160 if (!RHSReg) in emitAddSub()
1163 return emitAddSub_rx(UseAdd, RetVT, LHSReg, LHSIsKill, RHSReg, in emitAddSub()
1167 unsigned RHSReg = getRegForValue(RHS); in emitAddSub() local
1168 if (!RHSReg) in emitAddSub()
1171 return emitAddSub_rx(UseAdd, RetVT, LHSReg, LHSIsKill, RHSReg, RHSIsKill, in emitAddSub()
1187 unsigned RHSReg = getRegForValue(MulLHS); in emitAddSub() local
1188 if (!RHSReg) in emitAddSub()
1191 return emitAddSub_rs(UseAdd, RetVT, LHSReg, LHSIsKill, RHSReg, RHSIsKill, in emitAddSub()
1208 unsigned RHSReg = getRegForValue(SI->getOperand(0)); in emitAddSub() local
1209 if (!RHSReg) in emitAddSub()
1212 return emitAddSub_rs(UseAdd, RetVT, LHSReg, LHSIsKill, RHSReg, in emitAddSub()
1219 unsigned RHSReg = getRegForValue(RHS); in emitAddSub() local
1220 if (!RHSReg) in emitAddSub()
1225 RHSReg = emitIntExt(SrcVT, RHSReg, RetVT, IsZExt); in emitAddSub()
1227 return emitAddSub_rr(UseAdd, RetVT, LHSReg, LHSIsKill, RHSReg, RHSIsKill, in emitAddSub()
1232 bool LHSIsKill, unsigned RHSReg, in emitAddSub_rr() argument
1235 assert(LHSReg && RHSReg && "Invalid register number."); in emitAddSub_rr()
1258 RHSReg = constrainOperandRegClass(II, RHSReg, II.getNumDefs() + 1); in emitAddSub_rr()
1261 .addReg(RHSReg, getKillRegState(RHSIsKill)); in emitAddSub_rr()
1311 bool LHSIsKill, unsigned RHSReg, in emitAddSub_rs() argument
1316 assert(LHSReg && RHSReg && "Invalid register number."); in emitAddSub_rs()
1339 RHSReg = constrainOperandRegClass(II, RHSReg, II.getNumDefs() + 1); in emitAddSub_rs()
1342 .addReg(RHSReg, getKillRegState(RHSIsKill)) in emitAddSub_rs()
1348 bool LHSIsKill, unsigned RHSReg, in emitAddSub_rx() argument
1353 assert(LHSReg && RHSReg && "Invalid register number."); in emitAddSub_rx()
1379 RHSReg = constrainOperandRegClass(II, RHSReg, II.getNumDefs() + 1); in emitAddSub_rx()
1382 .addReg(RHSReg, getKillRegState(RHSIsKill)) in emitAddSub_rx()
1444 unsigned RHSReg = getRegForValue(RHS); in emitFCmp() local
1445 if (!RHSReg) in emitFCmp()
1452 .addReg(RHSReg, getKillRegState(RHSIsKill)); in emitFCmp()
1493 bool LHSIsKill, unsigned RHSReg, in emitSubs_rr() argument
1495 return emitAddSub_rr(/*UseAdd=*/false, RetVT, LHSReg, LHSIsKill, RHSReg, in emitSubs_rr()
1500 bool LHSIsKill, unsigned RHSReg, in emitSubs_rs() argument
1504 return emitAddSub_rs(/*UseAdd=*/false, RetVT, LHSReg, LHSIsKill, RHSReg, in emitSubs_rs()
1552 unsigned RHSReg = getRegForValue(MulLHS); in emitLogicalOp() local
1553 if (!RHSReg) in emitLogicalOp()
1556 return emitLogicalOp_rs(ISDOpc, RetVT, LHSReg, LHSIsKill, RHSReg, in emitLogicalOp()
1565 unsigned RHSReg = getRegForValue(SI->getOperand(0)); in emitLogicalOp() local
1566 if (!RHSReg) in emitLogicalOp()
1569 return emitLogicalOp_rs(ISDOpc, RetVT, LHSReg, LHSIsKill, RHSReg, in emitLogicalOp()
1573 unsigned RHSReg = getRegForValue(RHS); in emitLogicalOp() local
1574 if (!RHSReg) in emitLogicalOp()
1579 ResultReg = fastEmit_rr(VT, VT, ISDOpc, LHSReg, LHSIsKill, RHSReg, RHSIsKill); in emitLogicalOp()
1635 unsigned RHSReg, bool RHSIsKill, in emitLogicalOp_rs() argument
1662 fastEmitInst_rri(Opc, RC, LHSReg, LHSIsKill, RHSReg, RHSIsKill, in emitLogicalOp_rs()
3581 unsigned RHSReg = getRegForValue(RHS); in fastLowerIntrinsicCall() local
3582 if (!RHSReg) in fastLowerIntrinsicCall()
3587 MulReg = emitSMULL_rr(MVT::i64, LHSReg, LHSIsKill, RHSReg, RHSIsKill); in fastLowerIntrinsicCall()
3598 MulReg = emitMul_rr(VT, LHSReg, LHSIsKill, RHSReg, RHSIsKill); in fastLowerIntrinsicCall()
3600 RHSReg, RHSIsKill); in fastLowerIntrinsicCall()
3613 unsigned RHSReg = getRegForValue(RHS); in fastLowerIntrinsicCall() local
3614 if (!RHSReg) in fastLowerIntrinsicCall()
3619 MulReg = emitUMULL_rr(MVT::i64, LHSReg, LHSIsKill, RHSReg, RHSIsKill); in fastLowerIntrinsicCall()
3627 MulReg = emitMul_rr(VT, LHSReg, LHSIsKill, RHSReg, RHSIsKill); in fastLowerIntrinsicCall()
3629 RHSReg, RHSIsKill); in fastLowerIntrinsicCall()