LLVM API Documentation
#include <IPModRef.h>
Inheritance diagram for llvm::IPModRef:
Public Member Functions | |
IPModRef () | |
~IPModRef () | |
virtual bool | runOnModule (Module &M) |
const FunctionModRefInfo & | getFunctionModRefInfo (const Function &func) |
const DSGraph & | getBUDSGraph (const Function &F) |
void | print (std::ostream &O) const |
void | dump () const |
virtual void | releaseMemory () |
virtual void | getAnalysisUsage (AnalysisUsage &AU) const |
Given the DSGraph of a function, this class can be queried for a ModRefInfo object describing all the nodes in the DSGraph that are (a) modified, and (b) referenced during an execution of the function from an arbitrary callsite, or during an execution of a single call-site within the function.
Definition at line 186 of file IPModRef.h.
|
Definition at line 193 of file IPModRef.h. |
|
Definition at line 194 of file IPModRef.h. |
|
Reimplemented from llvm::Pass. Definition at line 440 of file IPModRef.cpp. References print(). |
|
getAnalysisUsage - This pass requires top-down data structure graphs. It modifies nothing. Reimplemented from llvm::Pass. Definition at line 419 of file IPModRef.cpp. References llvm::AnalysisUsage::addRequired(), and llvm::AnalysisUsage::setPreservesAll(). |
|
getBUDSGraph - This method returns the BU data structure graph for F through the use of the BUDataStructures object. Definition at line 411 of file IPModRef.cpp. |
|
getFunctionModRefInfo - Retrieve the Mod/Ref information for a single function Definition at line 205 of file IPModRef.h. |
|
Reimplemented from llvm::Pass. Definition at line 427 of file IPModRef.cpp. Referenced by dump(). |
|
releaseMemory - Release memory held by this pass when the pass pipeline is done Reimplemented from llvm::Pass. Definition at line 363 of file IPModRef.cpp. References E. |
|
run - Driver function to run IP Mod/Ref on a Module. This initializes the module reference, and then computes IPModRef results immediately if demand-driven analysis was *not* specified. Implements llvm::ModulePass. Definition at line 377 of file IPModRef.cpp. References llvm::Module::begin(), and llvm::Module::end(). |