MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / Interference

Class Interference

src/internal/reg_matrix.rs:29–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27/// reservations on a physical register.
28#[derive(Debug, Clone, Copy)]
29pub 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.
44pub trait InterferenceSegment: Copy + Debug {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected