Struct llvm_ir_analysis::ControlDependenceGraph[][src]

pub struct ControlDependenceGraph<'m> { /* fields omitted */ }
Expand description

The control dependence graph for a particular function. https://en.wikipedia.org/wiki/Data_dependency#Control_Dependency

To construct a ControlDependenceGraph, use FunctionAnalysis, which you can get from ModuleAnalysis.

Implementations

Get the blocks that block has an immediate control dependency on.

Get the blocks that block has a control dependency on (including transitively).

This is the block’s immediate control dependencies, along with all the control dependencies of those dependencies, and so on recursively.

Get the blocks that have an immediate control dependency on block.

Get the blocks that have a control dependency on block (including transitively).

This is the block’s immediate control dependents, along with all the control dependents of those dependents, and so on recursively.

Does block_a have a control dependency on block_b?

Get the Name of the entry block for the function

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.