Struct llvm_ir_analysis::CrossModuleAnalysis [−][src]
pub struct CrossModuleAnalysis<'m> { /* fields omitted */ }Expand description
Analyzes multiple Modules, providing a ModuleAnalysis for each; and also
provides a few additional cross-module analyses (e.g., a cross-module call
graph)
Implementations
Create a new CrossModuleAnalysis for the given set of Modules.
This method itself is cheap; individual analyses will be computed lazily on demand.
Iterate over the analyzed Module(s).
Iterate over all the Functions in the analyzed Module(s).
Get the full CallGraph for the Module(s).
This will include both cross-module and within-module calls.
Get the FunctionsByType for the Module(s).
Get the ModuleAnalysis for the module with the given name.
Panics if no module of that name exists in the Module(s) which the
CrossModuleAnalysis was created with.