LLVM API Documentation

llvm::PostDominatorSet Struct Reference

#include <PostDominators.h>

Inheritance diagram for llvm::PostDominatorSet:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PostDominatorSet ()
virtual bool runOnFunction (Function &F)
virtual void getAnalysisUsage (AnalysisUsage &AU) const

Static Public Member Functions

static void stub ()

Detailed Description

PostDominatorSet Class - Concrete subclass of DominatorSetBase that is used to compute the post-dominator set. Because there can be multiple exit nodes in an LLVM function, we calculate post dominators with a special null block which is the virtual exit node that the real exit nodes all virtually branch to. Clients should be prepared to see an entry in the dominator sets with a null BasicBlock*.

Definition at line 48 of file PostDominators.h.


Constructor & Destructor Documentation

llvm::PostDominatorSet::PostDominatorSet (  )  [inline]

Definition at line 49 of file PostDominators.h.


Member Function Documentation

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

runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass.

Implements llvm::FunctionPass.

Definition at line 155 of file PostDominators.cpp.

References llvm::DominatorSetBase::Doms, DS, E, F, llvm::DominatorBase::Roots, llvm::succ_begin(), and llvm::succ_end().

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

getAnalysisUsage - This simply provides a dominator set

Reimplemented from llvm::Pass.

Definition at line 55 of file PostDominators.h.

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

static void llvm::PostDominatorSet::stub (  )  [static]


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