| 27 | /// reservations on a physical register. |
| 28 | #[derive(Debug, Clone, Copy)] |
| 29 | pub struct Interference<S> { |
| 30 | /// Subset of the live range at which the interference occurs. |
| 31 | pub range: LiveRangeSegment, |
| 32 | |
| 33 | /// Whether this is fixed interference or virtual register inteference. |
| 34 | pub kind: InterferenceKind, |
| 35 | |
| 36 | /// The register unit in which the interference occurs. |
| 37 | pub unit: RegUnit, |
| 38 | |
| 39 | /// The segment at which the interference occurred. |
| 40 | pub segment: S, |
| 41 | } |
| 42 | |
| 43 | /// A live range segment that interference should be checked against. |
| 44 | pub trait InterferenceSegment: Copy + Debug { |
nothing calls this directly
no outgoing calls
no test coverage detected