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

Method inst

src/internal/live_range.rs:91–93  ·  view source on GitHub ↗

Returns the instruction that this `LiveRangePoint` is in. In the case of a [`LiveRangeSlot::Boundary`], this returns the following instruction.

(self)

Source from the content-addressed store, hash-verified

89 /// In the case of a [`LiveRangeSlot::Boundary`], this returns the following
90 /// instruction.
91 pub fn inst(self) -> Inst {
92 Inst::new((self.bits >> 2) as usize)
93 }
94
95 /// Returns the slot inside an instruction that this `LiveRangePoint` points
96 /// to.

Callers 11

value_locationsMethod · 0.45
hints_for_segmentMethod · 0.45
hints_for_splitMethod · 0.45
process_operandMethod · 0.45
first_instMethod · 0.45
split_segments_atMethod · 0.45
componentsMethod · 0.45
collect_usesMethod · 0.45
count_live_instsMethod · 0.45
isolate_group_usesMethod · 0.45
spillMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected