|
LLVM
3.7.0
|
Base class that other, more interesting dominator analyses inherit from. More...
#include <GenericDomTree.h>
Public Member Functions | |
| const std::vector< NodeT * > & | getRoots () const |
| getRoots - Return the root blocks of the current CFG. More... | |
| bool | isPostDominator () const |
| isPostDominator - Returns true if analysis based of postdoms More... | |
Protected Member Functions | |
| DominatorBase (bool isPostDom) | |
| DominatorBase (DominatorBase &&Arg) | |
| DominatorBase & | operator= (DominatorBase &&RHS) |
Protected Attributes | |
| std::vector< NodeT * > | Roots |
| bool | IsPostDominators |
Base class that other, more interesting dominator analyses inherit from.
Definition at line 35 of file GenericDomTree.h.
|
inlineexplicitprotected |
Definition at line 39 of file GenericDomTree.h.
|
inlineprotected |
Definition at line 41 of file GenericDomTree.h.
|
inline |
getRoots - Return the root blocks of the current CFG.
This may include multiple blocks if we are computing post dominators. For forward dominators, this will always be a single block (the entry node).
Definition at line 58 of file GenericDomTree.h.
References llvm::DominatorBase< NodeT >::Roots.
Referenced by llvm::ForwardDominanceFrontierBase< llvm::MachineBasicBlock >::analyze(), llvm::PostDominatorTree::getRoots(), and llvm::MachineDominatorTree::getRoots().
|
inline |
isPostDominator - Returns true if analysis based of postdoms
Definition at line 62 of file GenericDomTree.h.
References llvm::DominatorBase< NodeT >::IsPostDominators.
Referenced by llvm::DominatorTreeBase< BasicBlock >::findNearestCommonDominator(), llvm::DominatorTreeBase< BasicBlock >::isReachableFromEntry(), and llvm::DominatorTreeBase< BasicBlock >::print().
|
inlineprotected |
Definition at line 46 of file GenericDomTree.h.
References llvm::DominatorBase< NodeT >::IsPostDominators, and llvm::DominatorBase< NodeT >::Roots.
Referenced by llvm::DominatorTreeBase< BasicBlock >::operator=().
|
protected |
Definition at line 38 of file GenericDomTree.h.
Referenced by llvm::DominatorBase< NodeT >::isPostDominator(), llvm::DominatorBase< NodeT >::operator=(), llvm::DominatorTreeBase< BasicBlock >::recalculate(), and llvm::DominatorTreeBase< BasicBlock >::splitBlock().
|
protected |
Definition at line 37 of file GenericDomTree.h.
Referenced by llvm::DominatorTreeBase< BasicBlock >::addRoot(), llvm::DFSPass(), llvm::DominatorTreeBase< BasicBlock >::getRoot(), llvm::DominatorBase< NodeT >::getRoots(), llvm::DominatorBase< NodeT >::operator=(), llvm::DominatorTreeBase< BasicBlock >::recalculate(), and llvm::DominatorTreeBase< BasicBlock >::reset().
1.8.6