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>

Iterate over all of the IR items.

Important traits for Neighbors<'a>

Iterate over an item's neighbors.

Important traits for Predecessors<'a>

Iterate over an item's predecessors.

The size of the total binary, containing all items.

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

Force computation of predecessors.

Compute dominators for each item.

Get a refercence to immediate dominators

Force computation of the dominator tree.

Get a reference to the dominator tree.

Must have already called compute_dominator_tree.

Force computation of the retained sizes of each IR item.

Get the given item's retained size.

Get an item with the given name.

Trait Implementations

impl GraphBase for Items
[src]

edge identifier

node identifier

impl Visitable for Items
[src]

The associated map type

Create a new visitor map

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

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

Return an iterator of the neighbors of node a.

impl NodeCount for Items
[src]

impl Debug for Items
[src]

Formats the value using the given formatter. Read more

impl Index<Id> for Items
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

Auto Trait Implementations

impl Send for Items

impl Sync for Items