Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A 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 …]
H A DDominanceFrontierImpl.h48 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()
64 template <class BlockT, bool IsPostDom>
65 void DominanceFrontierBase<BlockT, IsPostDom>::removeFromFrontier( in removeFromFrontier()
72 template <class BlockT, bool IsPostDom>
73 bool DominanceFrontierBase<BlockT, IsPostDom>::compareDomSet( in compareDomSet()
97 template <class BlockT, bool IsPostDom>
98 bool DominanceFrontierBase<BlockT, IsPostDom>::compare( in compare()
[all …]
H A DDominanceFrontier.h39 template <class BlockT, bool IsPostDom>
50 SmallVector<BlockT *, IsPostDom ? 4 : 1> Roots;
51 static constexpr bool IsPostDominators = IsPostDom;
H A DLoopInfo.h66 template <class N, bool IsPostDom> class DominatorTreeBase;
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A 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 …]
H A DGenericDomTreeConstruction.h61 static constexpr bool IsPostDom = DomTreeT::IsPostDominator; member
62 using GraphDiffT = GraphDiff<NodePtr, IsPostDom>;
197 constexpr bool Direction = IsReverse != IsPostDom; // XOR.
325 assert(IsPostDom && "Only postdominators have a virtual root"); in addVirtualRoot()
356 if (!IsPostDom) { in FindRoots()
509 assert(IsPostDom && "This function is for postdominators only"); in RemoveRedundantRoots()
548 if (!IsPostDom) { in doFullDFSWalk()
592 NodePtr Root = IsPostDom ? nullptr : DT.Roots[0]; in CalculateFromScratch()
652 assert((From || IsPostDom) && in InsertEdge()
661 if (!IsPostDom) return; in InsertEdge()
[all …]
H A DGenericDomTree.h45 template <typename NodeT, bool IsPostDom>
242 template <typename NodeT, bool IsPostDom>
254 static constexpr bool IsPostDominator = IsPostDom;
265 SmallVector<NodeT *, IsPostDom ? 4 : 1> Roots;
575 GraphDiff<NodePtr, IsPostDom> PostViewCFG(PostViewUpdates);
585 GraphDiff<NodePtr, IsPostDom> PreViewCFG(AllUpdates,
587 GraphDiff<NodePtr, IsPostDom> PostViewCFG(PostViewUpdates);
705 if (!IsPostDom) return;
939 template <typename NodeT, bool IsPostDom>
940 bool DominatorTreeBase<NodeT, IsPostDom>::dominates(const NodeT *A,
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Analysis/Analyses/
H A 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;