Home
last modified time | relevance | path

Searched refs:IsPostDom (Results 1 – 8 of 8) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
DIteratedDominanceFrontier.h22 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 …]
DDominanceFrontierImpl.h49 template <class BlockT, bool IsPostDom>
50 void DominanceFrontierBase<BlockT, IsPostDom>::removeBlock(BlockT *BB) { in removeBlock()
57 template <class BlockT, bool IsPostDom>
58 void DominanceFrontierBase<BlockT, IsPostDom>::addToFrontier(iterator I, in addToFrontier()
65 template <class BlockT, bool IsPostDom>
66 void DominanceFrontierBase<BlockT, IsPostDom>::removeFromFrontier( in removeFromFrontier()
73 template <class BlockT, bool IsPostDom>
74 bool DominanceFrontierBase<BlockT, IsPostDom>::compareDomSet( in compareDomSet()
98 template <class BlockT, bool IsPostDom>
99 bool DominanceFrontierBase<BlockT, IsPostDom>::compare( in compare()
[all …]
DDominanceFrontier.h39 template <class BlockT, bool IsPostDom>
50 SmallVector<BlockT *, IsPostDom ? 4 : 1> Roots;
51 static constexpr bool IsPostDominators = IsPostDom;
DLoopInfo.h65 template <class N, bool IsPostDom> class DominatorTreeBase;
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/
DGenericIteratedDominanceFrontier.h39 template <class NodeTy, bool IsPostDom> struct ChildrenGetterTy {
57 template <class NodeTy, bool IsPostDom> class IDFCalculatorBase {
60 std::conditional_t<IsPostDom, Inverse<NodeTy *>, NodeTy *>;
62 IDFCalculatorDetail::ChildrenGetterTy<NodeTy, IsPostDom>;
64 IDFCalculatorBase(DominatorTreeBase<NodeTy, IsPostDom> &DT) : DT(DT) {} in IDFCalculatorBase()
66 IDFCalculatorBase(DominatorTreeBase<NodeTy, IsPostDom> &DT, in IDFCalculatorBase()
105 DominatorTreeBase<NodeTy, IsPostDom> &DT;
118 template <class NodeTy, bool IsPostDom>
119 typename ChildrenGetterTy<NodeTy, IsPostDom>::ChildrenTy
120 ChildrenGetterTy<NodeTy, IsPostDom>::get(const NodeRef &N) { in get()
[all …]
DGenericDomTreeConstruction.h60 static constexpr bool IsPostDom = DomTreeT::IsPostDominator; member
61 using GraphDiffT = GraphDiff<NodePtr, IsPostDom>;
196 constexpr bool Direction = IsReverse != IsPostDom; // XOR.
324 assert(IsPostDom && "Only postdominators have a virtual root"); in addVirtualRoot()
355 if (!IsPostDom) { in FindRoots()
510 assert(IsPostDom && "This function is for postdominators only"); in RemoveRedundantRoots()
549 if (!IsPostDom) { in doFullDFSWalk()
593 NodePtr Root = IsPostDom ? nullptr : DT.Roots[0]; in CalculateFromScratch()
653 assert((From || IsPostDom) && in InsertEdge()
662 if (!IsPostDom) return; in InsertEdge()
[all …]
DGenericDomTree.h44 template <typename NodeT, bool IsPostDom>
227 template <typename NodeT, bool IsPostDom>
238 static constexpr bool IsPostDominator = IsPostDom;
249 SmallVector<NodeT *, IsPostDom ? 4 : 1> Roots;
558 GraphDiff<NodePtr, IsPostDom> PostViewCFG(PostViewUpdates);
568 GraphDiff<NodePtr, IsPostDom> PreViewCFG(AllUpdates,
570 GraphDiff<NodePtr, IsPostDom> PostViewCFG(PostViewUpdates);
688 if (!IsPostDom) return;
922 template <typename NodeT, bool IsPostDom>
923 bool DominatorTreeBase<NodeT, IsPostDom>::dominates(const NodeT *A,
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
DDominators.h41 template <bool IsPostDom>
46 using DominatorTreeBase = llvm::DominatorTreeBase<CFGBlock, IsPostDom>;
95 llvm::errs() << "Immediate " << (IsPostDom ? "post " : "") in dump()
114 bool IsDomTreeRoot = !IDom && !IsPostDom && IsEntryBlock; in dump()
116 IDom && !IDom->getBlock() && IsPostDom && IsExitBlock; in dump()
194 template <bool IsPostDom>
195 struct ChildrenGetterTy<clang::CFGBlock, IsPostDom> {
201 typename IDFCalculatorBase<clang::CFGBlock, IsPostDom>::OrderedNodeTy;