Struct llvm_ir_analysis::ModuleAnalysis[][src]

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

Computes (and caches the results of) various analyses on a given Module

Implementations

Create a new ModuleAnalysis for the given Module.

This method itself is cheap; individual analyses will be computed lazily on demand.

Get a reference to the Module which the ModuleAnalysis was created with.

Get the CallGraph for the Module.

Get the FunctionsByType for the Module.

Get the FunctionAnalysis for the function with the given name.

Panics if no function of that name exists in the Module which the ModuleAnalysis was created with.

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.