LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::CompleteBUDataStructures Struct Reference

#include <DataStructure.h>

Inheritance diagram for llvm::CompleteBUDataStructures:

Inheritance graph
[legend]
Collaboration diagram for llvm::CompleteBUDataStructures:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual bool runOnModule (Module &M)
bool hasGraph (const Function &F) const
DSGraphgetDSGraph (const Function &F) const
virtual void getAnalysisUsage (AnalysisUsage &AU) const
void print (std::ostream &O, const Module *M) const

Detailed Description

CompleteBUDataStructures - This is the exact same as the bottom-up graphs, but we use take a completed call graph and inline all indirect callees into their callers graphs, making the result more useful for things like pool allocation.

Definition at line 209 of file DataStructure.h.


Member Function Documentation

virtual void llvm::CompleteBUDataStructures::getAnalysisUsage AnalysisUsage AU  )  const [inline, virtual]
 

getAnalysisUsage - This function should be overriden by passes that need analysis information to do their job. If a pass specifies that it uses a particular analysis result to this function, it can then use the getAnalysis<AnalysisType>() function, below.

Reimplemented from llvm::BUDataStructures.

Definition at line 225 of file DataStructure.h.

References llvm::AnalysisUsage::addRequired(), and llvm::AnalysisUsage::setPreservesAll().

DSGraph& llvm::CompleteBUDataStructures::getDSGraph const Function F  )  const [inline]
 

getDSGraph - Return the data structure graph for the specified function.

Reimplemented from llvm::BUDataStructures.

Definition at line 218 of file DataStructure.h.

References llvm::BUDataStructures::DSInfo, and I.

bool llvm::CompleteBUDataStructures::hasGraph const Function F  )  const [inline]
 

Reimplemented from llvm::BUDataStructures.

Definition at line 212 of file DataStructure.h.

References llvm::BUDataStructures::DSInfo.

void CompleteBUDataStructures::print std::ostream &  O,
const Module M
const [virtual]
 

print - Print out the analysis results...

Reimplemented from llvm::BUDataStructures.

Definition at line 323 of file Printer.cpp.

References DontPrintAnything, and printCollection().

bool CompleteBUDataStructures::runOnModule Module M  )  [virtual]
 

runOnModule - Virtual method overriden by subclasses to process the module being operated on.

Reimplemented from llvm::BUDataStructures.

Definition at line 35 of file CompleteBottomUp.cpp.

References llvm::BUDataStructures::ActualCallees, llvm::Module::begin(), llvm::BUDataStructures::DSInfo, E, llvm::Module::end(), F, llvm::BUDataStructures::getActualCallees(), llvm::TDDataStructures::getDSGraph(), llvm::DSGraph::getFunctionCalls(), llvm::BUDataStructures::getGlobalsGraph(), llvm::Module::getMainFunction(), llvm::BUDataStructures::GlobalsGraph, I, llvm::DSGraph::removeTriviallyDeadNodes(), and llvm::DSGraph::setPrintAuxCalls().


The documentation for this struct was generated from the following files: