Searched defs:GraphTraits (Results 1 – 5 of 5) sorted by relevance
214 struct GraphTraits<ModuleManager> { struct215 typedef ModuleFile NodeType;216 typedef llvm::SetVector<ModuleFile *>::const_iterator ChildIteratorType;217 typedef ModuleManager::ModuleConstIterator nodes_iterator;219 static ChildIteratorType child_begin(NodeType *Node) { in child_begin()223 static ChildIteratorType child_end(NodeType *Node) { in child_end()227 static nodes_iterator nodes_begin(const ModuleManager &Manager) { in nodes_begin()231 static nodes_iterator nodes_end(const ModuleManager &Manager) { in nodes_end()
27 struct GraphTraits { struct60 typedef typename GraphType::UnknownGraphTypeError NodeType;
33 friend class GraphTraits<Trie<Payload> >; variable
313 template<> struct GraphTraits<ArgumentGraphNode*> { struct314 typedef ArgumentGraphNode NodeType;315 typedef SmallVectorImpl<ArgumentGraphNode*>::iterator ChildIteratorType;317 static inline NodeType *getEntryNode(NodeType *A) { return A; } in getEntryNode()318 static inline ChildIteratorType child_begin(NodeType *N) { in child_begin()321 static inline ChildIteratorType child_end(NodeType *N) { in child_end()325 template<> struct GraphTraits<ArgumentGraph*> struct327 static NodeType *getEntryNode(ArgumentGraph *AG) { in getEntryNode()330 static ChildIteratorType nodes_begin(ArgumentGraph *AG) { in nodes_begin()333 static ChildIteratorType nodes_end(ArgumentGraph *AG) { in nodes_end()
233 struct GraphTraits<Graph<N> > { struct234 typedef typename Graph<N>::NodeType NodeType;235 typedef typename Graph<N>::ChildIterator ChildIteratorType;237 static inline NodeType *getEntryNode(const Graph<N> &G) { return G.AccessNode(0); } in getEntryNode()238 static inline ChildIteratorType child_begin(NodeType *Node) { in child_begin()241 static inline ChildIteratorType child_end(NodeType *Node) { in child_end()