Home
last modified time | relevance | path

Searched refs:child_begin (Results 1 – 25 of 80) sorted by relevance

1234

/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmtGraphTraits.h30 static ChildIteratorType child_begin(NodeRef N) {
31 if (N) return N->child_begin();
56 static ChildIteratorType child_begin(NodeRef N) {
57 if (N) return N->child_begin();
H A DComment.h229 child_iterator child_begin() const;
235 return child_end() - child_begin(); in child_count()
282 child_iterator child_begin() const { return nullptr; } in child_begin() function
334 child_iterator child_begin() const { return nullptr; } in child_begin() function
460 child_iterator child_begin() const { return nullptr; } in child_begin() function
515 child_iterator child_begin() const { return nullptr; } in child_begin() function
564 child_iterator child_begin() const { in child_begin() function
625 child_iterator child_begin() const { in child_begin() function
862 child_iterator child_begin() const { return nullptr; } in child_begin() function
893 child_iterator child_begin() const { in child_begin() function
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DRegionInfoImpl.h165 for (BlockT *Pred : make_range(InvBlockTraits::child_begin(entry), in getEnteringBlock()
186 for (PredIterTy PI = InvBlockTraits::child_begin(exit), in getExitingBlocks()
209 for (BlockT *Pred : make_range(InvBlockTraits::child_begin(exit), in getExitingBlock()
267 for (BlockT *Pred : make_range(InvBlockTraits::child_begin(BB), in verifyBBInRegion()
466 for (BlockT *Pred : make_range(InvBlockTraits::child_begin(getExit()), in getExpandedRegion()
478 for (BlockT *Pred : make_range(InvBlockTraits::child_begin(getExit()), in getExpandedRegion()
566 for (BlockT *P : make_range(InvBlockTraits::child_begin(BB), in isCommonDomFrontier()
650 BlockTraits::child_end(entry) - BlockTraits::child_begin(entry); in isTrivialRegion()
652 if (num_successors <= 1 && exit == *(BlockTraits::child_begin(entry))) in isTrivialRegion()
844 Exit = *BlockTraits::child_begin(BB); in getMaxRegionExit()
[all …]
H A DInterval.h123 static ChildIteratorType child_begin(NodeRef N) { return succ_begin(N); }
132 static ChildIteratorType child_begin(NodeRef N) { return pred_begin(N); }
H A DIntervalIterator.h183 for (typename GT::ChildIteratorType I = GT::child_begin(Node), in ProcessInterval()
213 for (typename IGT::ChildIteratorType I = IGT::child_begin(Node), in ProcessNode()
234 for (typename GT::ChildIteratorType It = GT::child_begin(Node), in ProcessNode()
H A DRegionIterator.h111 BItor(BlockTraits::child_begin(node->getEntry())) { in RNSuccIterator()
191 : Node(node), Itor(BlockTraits::child_begin(node->getEntry())) { in RNSuccIterator()
270 static inline ChildIteratorType child_begin(NodeRef N) { \
282 static inline ChildIteratorType child_begin(NodeRef N) { \
H A DLoopInfoImpl.h179 typename BlockTraits::ChildIteratorType SI = BlockTraits::child_begin(Out); in getLoopPreheader()
306 assert(std::any_of(GraphTraits<BlockT *>::child_begin(BB), in verifyLoop()
311 assert(std::any_of(GraphTraits<Inverse<BlockT *>>::child_begin(BB), in verifyLoop()
318 llvm::make_range(GraphTraits<Inverse<BlockT *>>::child_begin(BB), in verifyLoop()
452 InvBlockTraits::child_begin(PredBB), in discoverAndMapSubloop()
H A DCFG.h151 for (NodeT Succ : make_range(GT::child_begin(Node), GT::child_end(Node))) { in containsIrreducibleCFG()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DMCF.cpp110 for (typename GraphT::ChildIteratorType CI = GraphT::child_begin(BB), in computeEdgeWeights()
118 } else if (GraphT::child_end(BB) - GraphT::child_begin(BB) > 1 && in computeEdgeWeights()
119 InvTraits::child_end(Child) - InvTraits::child_begin(Child) > in computeEdgeWeights()
126 II = InvTraits::child_begin(Child), in computeEdgeWeights()
144 for (typename GraphT::ChildIteratorType CI = GraphT::child_begin(BB), in computeEdgeWeights()
161 for (typename GraphT::ChildIteratorType CI = GraphT::child_begin(BB), in computeEdgeWeights()
165 double Weight = 1 / (GraphT::child_end(BB) - GraphT::child_begin(BB)); in computeEdgeWeights()
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DTestGraph.h224 static ChildIterator child_begin(NodeType *Parent) { in child_begin() function
240 static ChildIteratorType child_begin(NodeRef Node) {
241 return Graph<N>::child_begin(Node);
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DGraphTraits.h124 return make_range(GraphTraits<GraphType>::child_begin(G),
131 return make_range(GraphTraits<Inverse<GraphType>>::child_begin(G),
H A DGenericCycleInfo.h157 const_child_iterator child_begin() const { in child_begin() function
318 static ChildIteratorType child_begin(NodeRef Ref) { in child_begin() function
319 return Ref->child_begin(); in child_begin()
H A DPostOrderIterator.h114 VisitStack.push_back(std::make_pair(BB, GT::child_begin(BB))); in po_iterator()
123 VisitStack.push_back(std::make_pair(BB, GT::child_begin(BB))); in po_iterator()
137 VisitStack.push_back(std::make_pair(BB, GT::child_begin(BB))); in traverseChild()
H A DSCCIterator.h154 VisitStack.push_back(StackElement(N, GT::child_begin(N), visitNum)); in DFSVisitOne()
224 for (ChildItTy CI = GT::child_begin(N), CE = GT::child_end(N); CI != CE; in hasCycle()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DRegionGraphTraits.h30 static ChildIteratorType child_begin(NodeRef node) {
44 static inline ChildIteratorType child_begin(NodeRef node) {
H A DDominance.h211 static inline ChildIteratorType child_begin(NodeRef N) { return N->begin(); }
221 static inline ChildIteratorType child_begin(NodeRef N) { return N->begin(); }
/llvm-project-15.0.7/clang/lib/AST/
H A DComment.cpp71 ASSERT_IMPLEMENTS_child_begin(&CLASS::child_begin); \ in CheckCommentASTNodes()
82 Comment::child_iterator Comment::child_begin() const { in child_begin() function in clang::comments::Comment
88 return static_cast<const CLASS *>(this)->child_begin(); in child_begin()
115 for (child_iterator I = child_begin(), E = child_end(); I != E; ++I) { in isWhitespaceNoCache()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DCFG.h305 static ChildIteratorType child_begin(NodeRef N) { return succ_begin(N); }
315 static ChildIteratorType child_begin(NodeRef N) { return succ_begin(N); }
329 static ChildIteratorType child_begin(NodeRef N) { return pred_begin(N); }
338 static ChildIteratorType child_begin(NodeRef N) { return pred_begin(N); }
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DGraphWriter.h84 child_iterator EI = GTraits::child_begin(Node); in getEdgeSourceLabels()
190 child_iterator EI = GTraits::child_begin(Node); in writeNode()
278 child_iterator EI = GTraits::child_begin(Node); in writeNode()
296 (unsigned)std::distance(GTraits::child_begin(TargetNode), TargetIt); in writeEdge()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineLoopInfo.h189 static ChildIteratorType child_begin(NodeRef N) { return N->begin(); }
198 static ChildIteratorType child_begin(NodeRef N) { return N->begin(); }
H A DMachineBasicBlock.h1166 static ChildIteratorType child_begin(NodeRef N) { return N->succ_begin(); }
1175 static ChildIteratorType child_begin(NodeRef N) { return N->succ_begin(); }
1193 static ChildIteratorType child_begin(NodeRef N) { return N->pred_begin(); }
1205 static ChildIteratorType child_begin(NodeRef N) { return N->pred_begin(); }
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DCallGraphTest.cpp35 auto S = GraphTraits<NodeRef>::child_begin(N); in canSpecializeGraphTraitsIterators()
/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DCallGraph.h249 static ChildIteratorType child_begin(NodeType *N) { return N->begin(); }
259 static ChildIteratorType child_begin(NodeType *N) { return N->begin();}
/llvm-project-15.0.7/llvm/unittests/Object/
H A DArchiveTest.cpp46 auto Child = A->child_begin(ChildErr); in createChild()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinaryBasicBlock.h990 static inline ChildIteratorType child_begin(NodeRef N) {
1001 static inline ChildIteratorType child_begin(NodeRef N) {
1013 static inline ChildIteratorType child_begin(NodeRef N) {
1025 static inline ChildIteratorType child_begin(NodeRef N) {

1234