LLVM API Documentation

llvm::ETForest Struct Reference

#include <Dominators.h>

Inheritance diagram for llvm::ETForest:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ETForest ()
BasicBlockgetRoot () const
virtual bool runOnFunction (Function &F)
void calculate (const ImmediateDominators &ID)
ETNodegetNodeForBlock (BasicBlock *BB)

Detailed Description

ETForest Class - Concrete subclass of ETForestBase that is used to compute a forwards ET-Forest.

Definition at line 494 of file Dominators.h.


Constructor & Destructor Documentation

llvm::ETForest::ETForest (  )  [inline]

Definition at line 495 of file Dominators.h.


Member Function Documentation

void ETForest::calculate ( const ImmediateDominators ID  ) 

Definition at line 853 of file Dominators.cpp.

References E, F, getNodeForBlock(), llvm::ETForestBase::Nodes, llvm::DominatorBase::Roots, and llvm::ETForestBase::updateDFSNumbers().

Referenced by runOnFunction().

ETNode * ETForest::getNodeForBlock ( BasicBlock BB  ) 

Definition at line 831 of file Dominators.cpp.

References BB, llvm::ETForestBase::Nodes, and llvm::ETNode::setFather().

Referenced by calculate().

BasicBlock* llvm::ETForest::getRoot (  )  const [inline]

Definition at line 497 of file Dominators.h.

References llvm::DominatorBase::Roots.

virtual bool llvm::ETForest::runOnFunction ( Function F  )  [inline, virtual]

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

Implements llvm::FunctionPass.

Definition at line 502 of file Dominators.h.

References calculate(), llvm::ETForestBase::reset(), and llvm::DominatorBase::Roots.


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