|
LLVM 22.0.0git
|
Base class for the actual dominator tree node. More...
#include "llvm/Support/GenericDomTree.h"
Public Types | |
| using | iterator = typename SmallVector<DomTreeNodeBase *, 4>::iterator |
| using | const_iterator |
Public Member Functions | |
| DomTreeNodeBase (NodeT *BB, DomTreeNodeBase *iDom) | |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| DomTreeNodeBase *const & | back () const |
| DomTreeNodeBase *& | back () |
| iterator_range< iterator > | children () |
| iterator_range< const_iterator > | children () const |
| NodeT * | getBlock () const |
| DomTreeNodeBase * | getIDom () const |
| unsigned | getLevel () const |
| void | addChild (DomTreeNodeBase *C) |
| bool | isLeaf () const |
| size_t | getNumChildren () const |
| void | clearAllChildren () |
| 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 53 of file GenericDomTree.h.
| using llvm::DomTreeNodeBase< NodeT >::const_iterator |
Definition at line 72 of file GenericDomTree.h.
| using llvm::DomTreeNodeBase< NodeT >::iterator = typename SmallVector<DomTreeNodeBase *, 4>::iterator |
Definition at line 71 of file GenericDomTree.h.
|
inline |
Definition at line 68 of file GenericDomTree.h.
|
inline |
Definition at line 92 of file GenericDomTree.h.
Referenced by llvm::DominatorTreeBase< BlockT, false >::createNode(), and llvm::DominatorTreeBase< BlockT, false >::setNewRoot().
|
inline |
Definition at line 81 of file GenericDomTree.h.
|
inline |
Definition at line 80 of file GenericDomTree.h.
Referenced by llvm::DomTreeNodeBase< BlockT >::back(), and llvm::DomTreeNodeBase< BlockT >::back().
|
inline |
Definition at line 75 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 77 of file GenericDomTree.h.
|
inline |
Definition at line 83 of file GenericDomTree.h.
Referenced by llvm::collectChildrenInLoop(), findBestInsertionSet(), getDominatees(), llvm::MergeBlockIntoPredecessor(), llvm::UnrollLoop(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::verifyParentProperty(), and llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::verifySiblingProperty().
|
inline |
Definition at line 84 of file GenericDomTree.h.
|
inline |
Definition at line 97 of file GenericDomTree.h.
|
inline |
Definition at line 99 of file GenericDomTree.h.
|
inline |
Definition at line 76 of file GenericDomTree.h.
Referenced by llvm::DomTreeNodeBase< BlockT >::children(), llvm::DomTreeNodeBase< BlockT >::children(), and loadCSE().
|
inline |
Definition at line 78 of file GenericDomTree.h.
|
inline |
Definition at line 88 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(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::VerifyLevels(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::verifyParentProperty(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::verifyReachability(), and llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::verifySiblingProperty().
|
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 139 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 140 of file GenericDomTree.h.
Referenced by checkAndReplaceCondition().
|
inline |
Definition at line 89 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(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::UpdateRootsBeforeInsertion(), and llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::VerifyLevels().
|
inline |
Definition at line 90 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 95 of file GenericDomTree.h.
Referenced by llvm::DomTreeNodeBase< BlockT >::compare().
|
inline |
Definition at line 94 of file GenericDomTree.h.
Referenced by llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::verifyParentProperty(), and llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::verifySiblingProperty().
|
inline |
Definition at line 119 of file GenericDomTree.h.
Referenced by llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::reattachExistingSubtree(), and llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::UpdateInsertion().
|
friend |
Definition at line 54 of file GenericDomTree.h.
|
friend |
Definition at line 54 of file GenericDomTree.h.
|
friend |
Definition at line 54 of file GenericDomTree.h.
|
friend |
Definition at line 54 of file GenericDomTree.h.
|
friend |
Definition at line 54 of file GenericDomTree.h.