Searched refs:IsPostDom (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | IteratedDominanceFrontier.h | 22 template <bool IsPostDom> struct ChildrenGetterTy<BasicBlock, IsPostDom> { 27 ChildrenGetterTy(const GraphDiff<BasicBlock *, IsPostDom> *GD) : GD(GD) { 33 const GraphDiff<BasicBlock *, IsPostDom> *GD = nullptr; 38 template <bool IsPostDom> 39 class IDFCalculator final : public IDFCalculatorBase<BasicBlock, IsPostDom> { 42 typename llvm::IDFCalculatorBase<BasicBlock, IsPostDom>; 45 IDFCalculator(DominatorTreeBase<BasicBlock, IsPostDom> &DT) 48 IDFCalculator(DominatorTreeBase<BasicBlock, IsPostDom> &DT, 49 const GraphDiff<BasicBlock *, IsPostDom> *GD) 64 template <bool IsPostDom> [all …]
|
H A D | DominanceFrontierImpl.h | 48 template <class BlockT, bool IsPostDom> 49 void DominanceFrontierBase<BlockT, IsPostDom>::removeBlock(BlockT *BB) { in removeBlock() 56 template <class BlockT, bool IsPostDom> 57 void DominanceFrontierBase<BlockT, IsPostDom>::addToFrontier(iterator I, in addToFrontier() 63 template <class BlockT, bool IsPostDom> 64 void DominanceFrontierBase<BlockT, IsPostDom>::removeFromFrontier( 71 template <class BlockT, bool IsPostDom> 72 bool DominanceFrontierBase<BlockT, IsPostDom>::compareDomSet( 96 template <class BlockT, bool IsPostDom> 97 bool DominanceFrontierBase<BlockT, IsPostDom> [all...] |
H A D | DominanceFrontier.h | 40 template <class BlockT, bool IsPostDom> 53 SmallVector<BlockT *, IsPostDom ? 4 : 1> Roots; 54 static constexpr bool IsPostDominators = IsPostDom;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | GenericIteratedDominanceFrontier.h | 39 template <class NodeTy, bool IsPostDom> struct ChildrenGetterTy { 58 template <class NodeTy, bool IsPostDom> class IDFCalculatorBase { 61 std::conditional_t<IsPostDom, Inverse<NodeTy *>, NodeTy *>; 63 IDFCalculatorDetail::ChildrenGetterTy<NodeTy, IsPostDom>; 65 IDFCalculatorBase(DominatorTreeBase<NodeTy, IsPostDom> &DT) : DT(DT) {} in IDFCalculatorBase() 67 IDFCalculatorBase(DominatorTreeBase<NodeTy, IsPostDom> &DT, in IDFCalculatorBase() 106 DominatorTreeBase<NodeTy, IsPostDom> &DT; 119 template <class NodeTy, bool IsPostDom> 120 typename ChildrenGetterTy<NodeTy, IsPostDom>::range 121 ChildrenGetterTy<NodeTy, IsPostDom>::get(const NodeRef &N) { in get() [all …]
|
H A D | GenericDomTreeConstruction.h | 60 static constexpr bool IsPostDom = DomTreeT::IsPostDominator; member 61 using GraphDiffT = GraphDiff<NodePtr, IsPostDom>; 197 constexpr bool Direction = IsReverse != IsPostDom; // XOR. 311 assert(IsPostDom && "Only postdominators have a virtual root"); in addVirtualRoot() 341 if (!IsPostDom) { in FindRoots() 494 assert(IsPostDom && "This function is for postdominators only"); in RemoveRedundantRoots() 533 if (!IsPostDom) { in doFullDFSWalk() 577 NodePtr Root = IsPostDom ? nullptr : DT.Roots[0]; in CalculateFromScratch() 634 assert((From || IsPostDom) && in InsertEdge() 643 if (!IsPostDom) return; in InsertEdge() [all …]
|
H A D | GenericDomTree.h | 45 template <typename NodeT, bool IsPostDom> 240 template <typename NodeT, bool IsPostDom> 252 static constexpr bool IsPostDominator = IsPostDom; 263 SmallVector<NodeT *, IsPostDom ? 4 : 1> Roots; 573 GraphDiff<NodePtr, IsPostDom> PostViewCFG(PostViewUpdates); 583 GraphDiff<NodePtr, IsPostDom> PreViewCFG(AllUpdates, 585 GraphDiff<NodePtr, IsPostDom> PostViewCFG(PostViewUpdates); 703 if (!IsPostDom) return; 936 template <typename NodeT, bool IsPostDom> 937 bool DominatorTreeBase<NodeT, IsPostDom>::dominates(const NodeT *A, [all …]
|