LLVM API Documentation
#include <DataStructure.h>
Inheritance diagram for llvm::LocalDataStructures:
Public Member Functions | |
~LocalDataStructures () | |
virtual bool | runOnModule (Module &M) |
bool | hasGraph (const Function &F) const |
DSGraph & | getDSGraph (const Function &F) const |
DSGraph & | getGlobalsGraph () const |
EquivalenceClasses< GlobalValue * > & | getGlobalECs () |
void | print (std::ostream &O, const Module *M) const |
virtual void | releaseMemory () |
virtual void | getAnalysisUsage (AnalysisUsage &AU) const |
Definition at line 53 of file DataStructure.h.
llvm::LocalDataStructures::~LocalDataStructures | ( | ) | [inline] |
virtual void llvm::LocalDataStructures::getAnalysisUsage | ( | AnalysisUsage & | AU | ) | const [inline, virtual] |
getAnalysisUsage - This obviously provides a data structure graph.
Reimplemented from llvm::Pass.
Definition at line 94 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 72 of file DataStructure.h.
EquivalenceClasses<GlobalValue*>& llvm::LocalDataStructures::getGlobalECs | ( | ) | [inline] |
DSGraph& llvm::LocalDataStructures::getGlobalsGraph | ( | ) | const [inline] |
bool llvm::LocalDataStructures::hasGraph | ( | const Function & | F | ) | const [inline] |
void LocalDataStructures::print | ( | std::ostream & | O, | |
const Module * | M | |||
) | const [virtual] |
print - Print out the analysis results...
Reimplemented from llvm::Pass.
Definition at line 338 of file Printer.cpp.
References DontPrintAnything, M, and printCollection().
void LocalDataStructures::releaseMemory | ( | ) | [virtual] |
releaseMemory - if the pass pipeline is done with this pass, we can release our memory...
Reimplemented from llvm::Pass.
Definition at line 1277 of file Analysis/DataStructure/Local.cpp.
References E.
Referenced by ~LocalDataStructures().
bool LocalDataStructures::runOnModule | ( | Module & | M | ) | [virtual] |
runOnModule - Virtual method overriden by subclasses to process the module being operated on.
Implements llvm::ModulePass.
Definition at line 1228 of file Analysis/DataStructure/Local.cpp.
References llvm::Module::begin(), BuildGlobalECs(), DEBUG, E, EliminateUsesOfECGlobals(), llvm::Module::end(), llvm::Module::global_begin(), llvm::Module::global_end(), GlobalECs, M, llvm::DSGraph::MarkFormalArgs, and TD.