LLVM API Documentation

llvm::LPPassManager Class Reference

#include <LoopPass.h>

Inheritance diagram for llvm::LPPassManager:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LPPassManager (int Depth)
 LPPassManager manages FPPassManagers and CalLGraphSCCPasses.
bool runOnFunction (Function &F)
void getAnalysisUsage (AnalysisUsage &Info) const
 Pass Manager itself does not invalidate any analysis info.
virtual const char * getPassName () const
void dumpPassStructure (unsigned Offset)
PassgetContainedPass (unsigned N)
virtual PassManagerType getPassManagerType () const
void deleteLoopFromQueue (Loop *L)
 Delete loop from the loop queue and loop hierarchy (LoopInfo).
void insertLoop (Loop *L, Loop *ParentLoop)
void redoLoop (Loop *L)
void cloneBasicBlockSimpleAnalysis (BasicBlock *From, BasicBlock *To, Loop *L)
void deleteSimpleAnalysisValue (Value *V, Loop *L)
 deleteSimpleAnalysisValue - Invoke deleteAnalysisValue hook for all passes.

Static Public Attributes

static char ID = 0


Detailed Description

Definition at line 84 of file LoopPass.h.


Constructor & Destructor Documentation

LPPassManager::LPPassManager ( int  Depth  )  [explicit]

LPPassManager manages FPPassManagers and CalLGraphSCCPasses.

Definition at line 27 of file LoopPass.cpp.

References LI.


Member Function Documentation

bool LPPassManager::runOnFunction ( Function F  )  [virtual]

void LPPassManager::getAnalysisUsage ( AnalysisUsage Info  )  const [virtual]

Pass Manager itself does not invalidate any analysis info.

Reimplemented from llvm::Pass.

Definition at line 172 of file LoopPass.cpp.

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

virtual const char* llvm::LPPassManager::getPassName (  )  const [inline, virtual]

getPassName - Return a nice clean name for a pass. This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly.

getPassName - Return a nice clean name for a pass. This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly.

Reimplemented from llvm::Pass.

Definition at line 98 of file LoopPass.h.

void llvm::LPPassManager::dumpPassStructure ( unsigned  Offset  )  [inline, virtual]

Pass* llvm::LPPassManager::getContainedPass ( unsigned  N  )  [inline]

virtual PassManagerType llvm::LPPassManager::getPassManagerType (  )  const [inline, virtual]

Reimplemented from llvm::PMDataManager.

Definition at line 118 of file LoopPass.h.

References llvm::PMT_LoopPassManager.

void LPPassManager::deleteLoopFromQueue ( Loop L  ) 

void LPPassManager::insertLoop ( Loop L,
Loop ParentLoop 
)

void LPPassManager::redoLoop ( Loop L  ) 

Definition at line 138 of file LoopPass.cpp.

Referenced by insertLoop().

void LPPassManager::cloneBasicBlockSimpleAnalysis ( BasicBlock From,
BasicBlock To,
Loop L 
)

SimpleAnalysis - Provides simple interface to update analysis info maintained by various passes. Note, if required this interface can be extracted into a separate abstract class but it would require additional use of multiple inheritance in Pass class hierarchy, something we are trying to avoid. cloneBasicBlockSimpleAnalysis - Invoke cloneBasicBlockAnalysis hook for all passes that implement simple analysis interface.

cloneBasicBlockSimpleAnalysis - Invoke cloneBasicBlockAnalysis hook for all loop passes.

Definition at line 145 of file LoopPass.cpp.

References llvm::LoopPass::cloneBasicBlockAnalysis(), getContainedPass(), llvm::PMDataManager::getNumContainedPasses(), and Index.

Referenced by llvm::CloneLoop().

void LPPassManager::deleteSimpleAnalysisValue ( Value V,
Loop L 
)

deleteSimpleAnalysisValue - Invoke deleteAnalysisValue hook for all passes.

deleteSimpleAnalysisValue - Invoke deleteAnalysisValue hook for all passes that implement simple analysis interface.

Definition at line 155 of file LoopPass.cpp.

References llvm::LoopPass::deleteAnalysisValue(), getContainedPass(), llvm::PMDataManager::getNumContainedPasses(), and Index.

Referenced by ReplaceUsesOfWith().


Member Data Documentation

char LPPassManager::ID = 0 [static]

Definition at line 87 of file LoopPass.h.


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



This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.