|
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 57 of file GenericDomTree.h.
| using llvm::DomTreeNodeBase< NodeT >::iterator = const_iterator |
Definition at line 102 of file GenericDomTree.h.
|
inline |
Definition at line 74 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 117 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 104 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 107 of file GenericDomTree.h.
Referenced by llvm::collectChildrenInLoop(), findBestInsertionSet(), getDominatees(), llvm::MergeBlockIntoPredecessor(), and llvm::UnrollLoop().
|
inline |
Definition at line 108 of file GenericDomTree.h.
|
inline |
Definition at line 142 of file GenericDomTree.h.
|
inline |
Definition at line 105 of file GenericDomTree.h.
Referenced by llvm::DomTreeNodeBase< BlockT >::children(), llvm::DomTreeNodeBase< BlockT >::children(), and loadCSE().
|
inline |
Definition at line 112 of file GenericDomTree.h.
Referenced by llvm::DominanceFrontierBase< BlockT, IsPostDom >::analyze(), llvm::LoopInfoBase< BlockT, LoopT >::analyze(), 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 176 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 177 of file GenericDomTree.h.
Referenced by llvm::LoopInfoBase< BlockT, LoopT >::analyze(), and checkAndReplaceCondition().
|
inline |
Definition at line 113 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 114 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 140 of file GenericDomTree.h.
|
delete |
|
inline |
Definition at line 125 of file GenericDomTree.h.
Referenced by llvm::DominatorTreeBase< BlockT, false >::eraseNode().
|
inline |
Definition at line 161 of file GenericDomTree.h.
Referenced by llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::reattachExistingSubtree(), and llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::UpdateInsertion().
|
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.