Struct twiggy_ir::Items[][src]

pub struct Items { /* fields omitted */ }
Expand description

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

Constructed with ItemsBuilder.

Implementations

Iterate over all of the IR items.

Iterate over an item’s neighbors.

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

Formats the value using the given formatter. Read more

edge identifier

node identifier

The returned type after indexing.

Performs the indexing (container[index]) operation. Read more

Return an iterator of the neighbors of node a.

The associated map type

Create a new visitor map

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.