Home
last modified time | relevance | path

Searched defs:GraphTraits (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/Serialization/
DModuleManager.cpp214 struct GraphTraits<ModuleManager> { struct
215 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()
/external/llvm/include/llvm/ADT/
DGraphTraits.h27 struct GraphTraits { struct
60 typedef typename GraphType::UnknownGraphTypeError NodeType;
DTrie.h33 friend class GraphTraits<Trie<Payload> >; variable
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp313 template<> struct GraphTraits<ArgumentGraphNode*> { struct
314 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*> struct
327 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()
/external/llvm/unittests/ADT/
DSCCIteratorTest.cpp233 struct GraphTraits<Graph<N> > { struct
234 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()