|
LLVM
4.0.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 58 of file GenericDomTree.h.
|
inlineexplicitprotected |
Definition at line 62 of file GenericDomTree.h.
|
inlineprotected |
Definition at line 64 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 81 of file GenericDomTree.h.
References llvm::DominatorBase< NodeT >::Roots.
Referenced by llvm::ForwardDominanceFrontierBase< BasicBlock >::analyze(), and llvm::MachineDominatorTree::getRoots().
|
inline |
isPostDominator - Returns true if analysis based of postdoms
Definition at line 85 of file GenericDomTree.h.
References llvm::DominatorBase< NodeT >::IsPostDominators.
Referenced by llvm::DominatorTreeBase< BasicBlock >::findNearestCommonDominator(), llvm::DominatorTreeBase< BasicBlock >::isReachableFromEntry(), llvm::DominatorTreeBase< BasicBlock >::print(), and llvm::DominatorTreeBase< BasicBlock >::setNewRoot().
|
inlineprotected |
Definition at line 69 of file GenericDomTree.h.
References llvm::DominatorBase< NodeT >::IsPostDominators, and llvm::DominatorBase< NodeT >::Roots.
Referenced by llvm::DominatorTreeBase< BasicBlock >::operator=().
|
protected |
Definition at line 61 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 60 of file GenericDomTree.h.
Referenced by llvm::DominatorTreeBase< BasicBlock >::addRoot(), llvm::DominatorTreeBase< BasicBlock >::getRoot(), llvm::DominatorBase< NodeT >::getRoots(), llvm::DominatorBase< NodeT >::operator=(), llvm::DominatorTreeBase< BasicBlock >::reset(), and llvm::DominatorTreeBase< BasicBlock >::setNewRoot().
1.8.6