Add a def that can be allocated to either a register or a spillslot, at the end of the instruction (`After` position). Use only when this def will be written after all uses are read.
(&mut self, reg: &mut Writable<impl AsMut<Reg>>)
| 514 | /// position). Use only when this def will be written after all |
| 515 | /// uses are read. |
| 516 | fn any_def(&mut self, reg: &mut Writable<impl AsMut<Reg>>) { |
| 517 | self.add_operand( |
| 518 | reg.reg.as_mut(), |
| 519 | OperandConstraint::Any, |
| 520 | OperandKind::Def, |
| 521 | OperandPos::Late, |
| 522 | ); |
| 523 | } |
| 524 | |
| 525 | /// Add a use that can be allocated to either a register or a |
| 526 | /// spillslot, at the end of the instruction (`After` position). |
no test coverage detected