LLVM API Documentation
#include <DataStructure.h>
Inheritance diagram for llvm::TDDataStructures:
Public Member Functions | |
~TDDataStructures () | |
virtual bool | runOnModule (Module &M) |
bool | hasGraph (const Function &F) const |
DSGraph & | getDSGraph (const Function &F) const |
DSGraph & | getGlobalsGraph () const |
void | print (std::ostream &O, const Module *M) const |
virtual void | releaseMyMemory () |
virtual void | getAnalysisUsage (AnalysisUsage &AU) const |
Definition at line 152 of file DataStructure.h.
|
Definition at line 158 of file DataStructure.h. References releaseMyMemory(). |
|
getAnalysisUsage - This obviously provides a data structure graph. Reimplemented from llvm::Pass. Definition at line 187 of file DataStructure.h. References llvm::AnalysisUsage::addRequired(), and llvm::AnalysisUsage::setPreservesAll(). |
|
getDSGraph - Return the data structure graph for the specified function. Definition at line 168 of file DataStructure.h. References I. Referenced by llvm::CompleteBUDataStructures::runOnModule(). |
|
Definition at line 175 of file DataStructure.h. |
|
Definition at line 162 of file DataStructure.h. |
|
print - Print out the analysis results... Reimplemented from llvm::Pass. Definition at line 318 of file Printer.cpp. References DontPrintAnything, and printCollection(). |
|
If the pass pipeline is done with this pass, we can release our memory... Definition at line 164 of file TopDownClosure.cpp. Referenced by ~TDDataStructures(). |
|
runOnModule - Virtual method overriden by subclasses to process the module being operated on. Implements llvm::ModulePass. Definition at line 54 of file TopDownClosure.cpp. References llvm::Module::begin(), E, llvm::Module::end(), F, llvm::DSScalarMap::find(), llvm::DSGraph::getAuxFunctionCalls(), llvm::BUDataStructures::getGlobalsGraph(), llvm::Module::getMainFunction(), llvm::DSNodeHandle::getNode(), llvm::DSCallSite::getNumPtrArgs(), llvm::DSCallSite::getPtrArg(), llvm::DSGraph::getScalarMap(), llvm::DSScalarMap::global_begin(), llvm::DSScalarMap::global_end(), I, llvm::DSGraph::removeTriviallyDeadNodes(), and llvm::DSGraph::setPrintAuxCalls(). |