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

Method len

src/internal/uses.rs:417–419  ·  view source on GitHub ↗

Returns the number of [`Use`]s in this list.

(self)

Source from the content-addressed store, hash-verified

415
416 /// Returns the number of [`Use`]s in this list.
417 pub fn len(self) -> usize {
418 self.indices().len()
419 }
420
421 /// Returns a [`UseIndex`] pointing to a single [`Use`] in this list.
422 pub fn index(self, index: usize) -> UseIndex {

Callers 15

add_fixed_useMethod · 0.45
runMethod · 0.45
compute_block_orderMethod · 0.45
coalesce_in_blockMethod · 0.45
mergeFunction · 0.45
compute_alloc_offsetsMethod · 0.45
iterMethod · 0.45
add_use_listMethod · 0.45
split_segments_atMethod · 0.45
prepare_forward_passMethod · 0.45
propagate_to_succsMethod · 0.45

Calls 1

indicesMethod · 0.80

Tested by

no test coverage detected