| 18 | /// [`Allocation`]: super::output::Allocation |
| 19 | #[derive(Debug, Clone, Copy)] |
| 20 | pub struct Use { |
| 21 | /// The position of the use in the function. |
| 22 | pub pos: Inst, |
| 23 | |
| 24 | /// How the value is used in the instruction. |
| 25 | pub kind: UseKind, |
| 26 | } |
| 27 | |
| 28 | /// Cost of a spill/reload of a register from memory. |
| 29 | pub const SPILL_RELOAD_COST: f32 = 1.0; |
no outgoing calls
no test coverage detected