Struct llvm_ir_analysis::CallGraph [−][src]
pub struct CallGraph<'m> { /* fields omitted */ }
Expand description
The call graph for the analyzed Module
(s): which functions may call which
other functions.
To construct a CallGraph
, use ModuleAnalysis
or CrossModuleAnalysis
.
Implementations
Get the names of functions in the analyzed Module
(s) which may call the
given function.
This analysis conservatively assumes that function pointers may point to
any function in the analyzed Module
(s) that has the appropriate type.
Panics if the given function is not found in the analyzed Module
(s).
Get the names of functions in the analyzed Module
(s) which may be
called by the given function.
This analysis conservatively assumes that function pointers may point to
any function in the analyzed Module
(s) that has the appropriate type.
Panics if the given function is not found in the analyzed Module
(s).