Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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.h40 template <class BlockT, bool IsPostDom>
51 SmallVector<BlockT *, IsPostDom ? 4 : 1> Roots;
52 static constexpr bool IsPostDominators = IsPostDom;
DLoopInfo.h66 template <class N, bool IsPostDom> class DominatorTreeBase;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DGenericIteratedDominanceFrontier.h39 template <class NodeTy, bool IsPostDom> struct ChildrenGetterTy {
57 template <class NodeTy, bool IsPostDom> class IDFCalculatorBase {
60 typename std::conditional<IsPostDom, Inverse<NodeTy *>, NodeTy *>::type;
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.h58 static constexpr bool IsPostDom = DomTreeT::IsPostDominator; member
136 auto &FutureChildren = (Inverse != IsPostDom) ? BUI->FuturePredecessors in Get()
235 constexpr bool Direction = IsReverse != IsPostDom; // XOR. in runDFS()
357 assert(IsPostDom && "Only postdominators have a virtual root"); in addVirtualRoot()
388 if (!IsPostDom) { in FindRoots()
512 assert(IsPostDom && "This function is for postdominators only"); in RemoveRedundantRoots()
551 if (!IsPostDom) { in doFullDFSWalk()
586 NodePtr Root = IsPostDom ? nullptr : DT.Roots[0]; in CalculateFromScratch()
651 assert((From || IsPostDom) && in InsertEdge()
660 if (!IsPostDom) return; in InsertEdge()
[all …]
DGenericDomTree.h45 template <typename NodeT, bool IsPostDom>
218 template <typename NodeT, bool IsPostDom>
229 static constexpr bool IsPostDominator = IsPostDom;
240 SmallVector<NodeT *, IsPostDom ? 4 : 1> Roots;
639 if (!IsPostDom) return;
863 template <typename NodeT, bool IsPostDom>
864 bool DominatorTreeBase<NodeT, IsPostDom>::dominates(const NodeT *A,
875 template <typename NodeT, bool IsPostDom>
876 bool DominatorTreeBase<NodeT, IsPostDom>::properlyDominates(
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DSampleProfile.cpp347 template <bool IsPostDom>
349 DominatorTreeBase<BasicBlock, IsPostDom> *DomTree);
1141 template <bool IsPostDom>
1144 DominatorTreeBase<BasicBlock, IsPostDom> *DomTree) { in findEquivalencesFor()