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.