|
LLVM 23.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 |
| void | addChild (DomTreeNodeBase *C) |
| void | removeChild (DomTreeNodeBase *C) |
| 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 55 of file GenericDomTree.h.
| using llvm::DomTreeNodeBase< NodeT >::iterator = const_iterator |
Definition at line 100 of file GenericDomTree.h.
|
inline |
Definition at line 72 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 115 of file GenericDomTree.h.
Referenced by llvm::DominatorTreeBase< BlockT, false >::createNode(), llvm::DomTreeNodeBase< BlockT >::setIDom(), and llvm::DominatorTreeBase< BlockT, false >::setNewRoot().
|
inline |
Definition at line 102 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 105 of file GenericDomTree.h.
Referenced by llvm::collectChildrenInLoop(), findBestInsertionSet(), getDominatees(), llvm::MergeBlockIntoPredecessor(), and llvm::UnrollLoop().
|
inline |
Definition at line 106 of file GenericDomTree.h.
|
inline |
Definition at line 140 of file GenericDomTree.h.
|
inline |
Definition at line 103 of file GenericDomTree.h.
Referenced by llvm::DomTreeNodeBase< BlockT >::children(), llvm::DomTreeNodeBase< BlockT >::children(), and loadCSE().
|
inline |
Definition at line 110 of file GenericDomTree.h.
Referenced by llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::attachNewSubtree(), llvm::IDFCalculatorBase< NodeTy, IsPostDom >::calculate(), CloneLoopBlocks(), cloneLoopBlocks(), llvm::cloneLoopWithPreheader(), computeBlocksDominatingExits(), containsUnconditionalCallSafepoint(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::DeleteReachable(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::DeleteUnreachable(), findBestInsertionSet(), llvm::DominatorTreeBase< BlockT, false >::findNearestCommonDominator(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::HasProperSupport(), llvm::hoistRegion(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::InsertReachable(), loadCSE(), preheader(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::reattachExistingSubtree(), 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 174 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 175 of file GenericDomTree.h.
Referenced by checkAndReplaceCondition().
|
inline |
Definition at line 111 of file GenericDomTree.h.
Referenced by CloneLoopBlocks(), cloneLoopBlocks(), llvm::cloneLoopWithPreheader(), computeBlocksDominatingExits(), containsUnconditionalCallSafepoint(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::DeleteEdge(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::DeleteReachable(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::DeleteUnreachable(), findBestInsertionSet(), llvm::hoistRegion(), isGuaranteedNotToBeUndefOrPoison(), preheader(), llvm::SSAUpdaterBulk::RewriteAllUses(), simplifyUsingControlFlow(), SinkInstruction(), llvm::UnrollAndJamLoop(), llvm::UnrollLoop(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::UpdateInsertion(), and llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::UpdateRootsBeforeInsertion().
|
inline |
Definition at line 112 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(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::UpdateInsertion(), and llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::VerifyLevels().
|
inline |
Definition at line 138 of file GenericDomTree.h.
|
delete |
|
inline |
Definition at line 123 of file GenericDomTree.h.
Referenced by llvm::DominatorTreeBase< BlockT, false >::eraseNode().
|
inline |
Definition at line 159 of file GenericDomTree.h.
Referenced by llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::reattachExistingSubtree(), and llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::UpdateInsertion().
|
friend |
Definition at line 56 of file GenericDomTree.h.
|
friend |
Definition at line 56 of file GenericDomTree.h.
|
friend |
Definition at line 56 of file GenericDomTree.h.
|
friend |
Definition at line 56 of file GenericDomTree.h.
|
friend |
Definition at line 56 of file GenericDomTree.h.