|
LLVM 24.0.0git
|
Base class for the actual dominator tree node. More...
#include "llvm/Support/GenericDomTree.h"
Classes | |
| class | const_iterator |
Public Types | |
| using | iterator = const_iterator |
Public Member Functions | |
| DomTreeNodeBase (NodeT *BB, DomTreeNodeBase *iDom) | |
| DomTreeNodeBase (const DomTreeNodeBase &)=delete | |
| DomTreeNodeBase & | operator= (const DomTreeNodeBase &)=delete |
| iterator | begin () const |
| iterator | end () const |
| iterator_range< iterator > | children () |
| iterator_range< const_iterator > | children () const |
| NodeT * | getBlock () const |
| DomTreeNodeBase * | getIDom () const |
| unsigned | getLevel () const |
| bool | isLeaf () const |
| bool | compare (const DomTreeNodeBase *Other) const |
| void | setIDom (DomTreeNodeBase *NewIDom) |
| unsigned | getDFSNumIn () const |
| getDFSNumIn/getDFSNumOut - These return the DFS visitation order for nodes in the dominator tree. | |
| unsigned | getDFSNumOut () const |
Base class for the actual dominator tree node.
Definition at line 57 of file GenericDomTree.h.
| using llvm::DomTreeNodeBase< NodeT >::iterator = const_iterator |
Definition at line 101 of file GenericDomTree.h.
|
inline |
Definition at line 73 of file GenericDomTree.h.
Referenced by llvm::DomTreeNodeBase< NodeT >::const_iterator::const_iterator(), and llvm::DomTreeNodeBase< NodeT >::const_iterator::operator*().
|
delete |
|
inline |
Definition at line 103 of file GenericDomTree.h.
Referenced by llvm::DomTreeNodeBase< BlockT >::children(), llvm::DomTreeNodeBase< BlockT >::children(), loadCSE(), and llvm::DominatorTreeBase< BlockT, false >::updateDFSNumbers().
|
inline |
Definition at line 106 of file GenericDomTree.h.
Referenced by llvm::collectChildrenInLoop(), findBestInsertionSet(), getDominatees(), llvm::MergeBlockIntoPredecessor(), and llvm::UnrollLoop().
|
inline |
Definition at line 107 of file GenericDomTree.h.
|
inline |
Definition at line 117 of file GenericDomTree.h.
|
inline |
Definition at line 104 of file GenericDomTree.h.
Referenced by llvm::DomTreeNodeBase< BlockT >::children(), llvm::DomTreeNodeBase< BlockT >::children(), and loadCSE().
|
inline |
Definition at line 111 of file GenericDomTree.h.
Referenced by llvm::DominanceFrontierBase< BlockT, IsPostDom >::analyze(), llvm::IDFCalculatorBase< NodeTy, IsPostDom >::calculate(), CloneLoopBlocks(), cloneLoopBlocks(), llvm::cloneLoopWithPreheader(), computeBlocksDominatingExits(), containsUnconditionalCallSafepoint(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::DeleteReachable(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::DeleteUnreachable(), findBestInsertionSet(), llvm::AMDGPU::LoopFinder::findLoop(), llvm::DominatorTreeBase< BlockT, false >::findNearestCommonDominator(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::HasProperSupport(), llvm::hoistRegion(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::InsertReachable(), loadCSE(), preheader(), llvm::SSAUpdaterBulk::RewriteAllUses(), simplifyUsingControlFlow(), SinkInstruction(), UpdateAnalysisInformation(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::UpdateRootsBeforeInsertion(), and llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::VerifyLevels().
|
inline |
getDFSNumIn/getDFSNumOut - These return the DFS visitation order for nodes in the dominator tree.
They are only guaranteed valid if updateDFSNumbers() has been called.
Definition at line 151 of file GenericDomTree.h.
Referenced by llvm::IDFCalculatorBase< NodeTy, IsPostDom >::calculate(), checkAndReplaceCondition(), compareCmp(), llvm::ValueDFS_Compare::comparePHIRelated(), and llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::VerifyDFSNumbers().
|
inline |
Definition at line 152 of file GenericDomTree.h.
Referenced by checkAndReplaceCondition().
|
inline |
Definition at line 112 of file GenericDomTree.h.
Referenced by llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::attachNewSubtree(), CloneLoopBlocks(), cloneLoopBlocks(), llvm::cloneLoopWithPreheader(), computeBlocksDominatingExits(), containsUnconditionalCallSafepoint(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::DeleteEdge(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::DeleteReachable(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::DeleteUnreachable(), findBestInsertionSet(), llvm::AMDGPU::LoopFinder::findLoop(), llvm::hoistRegion(), isGuaranteedNotToBeUndefOrPoison(), preheader(), llvm::SSAUpdaterBulk::RewriteAllUses(), simplifyUsingControlFlow(), SinkInstruction(), llvm::UnrollAndJamLoop(), llvm::UnrollLoop(), and llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::UpdateRootsBeforeInsertion().
|
inline |
Definition at line 113 of file GenericDomTree.h.
Referenced by llvm::IDFCalculatorBase< NodeTy, IsPostDom >::calculate(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::DeleteReachable(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::DeleteUnreachable(), llvm::DominatorTreeBase< BlockT, false >::findNearestCommonDominator(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::InsertReachable(), and llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::VerifyLevels().
|
inline |
Definition at line 115 of file GenericDomTree.h.
|
delete |
|
inline |
Definition at line 136 of file GenericDomTree.h.
|
friend |
Definition at line 58 of file GenericDomTree.h.
|
friend |
Definition at line 58 of file GenericDomTree.h.
|
friend |
Definition at line 58 of file GenericDomTree.h.
|
friend |
Definition at line 58 of file GenericDomTree.h.
|
friend |
Definition at line 58 of file GenericDomTree.h.