Struct twiggy_ir::Items [] [src]

pub struct Items { /* fields omitted */ }

The architecture- and target-independent internal representation of functions, sections, etc in a file that is being size profiled.

Constructed with ItemsBuilder.

Methods

impl Items
[src]

Important traits for Iter<'a>
[src]

Iterate over all of the IR items.

Important traits for Neighbors<'a>
[src]

Iterate over an item's neighbors.

Important traits for Predecessors<'a>
[src]

Iterate over an item's neighbors.

[src]

The size of the total binary, containing all items.

[src]

Get the id of the "meta root" which is a single root item with edges to all of the real roots.

[src]

Force computation of predecessors.

[src]

Force computation of the dominator tree.

[src]

Get a reference to the dominator tree.

Must have already called compute_dominator_tree.

[src]

Force computation of the retained sizes of each IR item.

[src]

Get the given item's retained size.

Trait Implementations

impl GraphBase for Items
[src]

edge identifier

node identifier

impl Visitable for Items
[src]

The associated map type

[src]

Create a new visitor map

[src]

Reset the visitor map (and resize to new size of graph if needed)

impl<'a> IntoNeighbors for &'a Items
[src]

[src]

Return an iterator of the neighbors of node a.

impl NodeCount for Items
[src]

[src]

impl Debug for Items
[src]

[src]

Formats the value using the given formatter. Read more

impl Index<Id> for Items
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

Auto Trait Implementations

impl Send for Items

impl Sync for Items