search for: map_iterator

Displaying 5 results from an estimated 5 matches for "map_iterator".

Did you mean: rmap_iterator
2017 May 24
3
GraphTraits dereferencing
...all nodes in the graph typedef mapped_iterator<DSGraph::node_iterator, DerefFun> nodes_iterator; static nodes_iterator nodes_begin(DSGraph *G) { return map_iterator( G->node_begin(), DerefFun(dereference) ); } static nodes_iterator nodes_end(DSGraph *G) { return map_iterator( G->node_end(), DerefFun(dereference) ); } static ChildIteratorType child_begin(NodeType *N) { return N->begin(); } static ChildIteratorType child_end(NodeType *N)...
2008 Sep 15
2
[LLVMdev] DOTGraphTraits and GraphWriter
...y, I have a graph representing a program dependence graph like structure with (a) multiple edges between the same pair of nodes (b) each edge having a special (different) text/label I implemented a template-specialized version of DotGraphTraits for the my graph structure which given a node, uses a map_iterator (similar to the one used in CallGraph) to get the destination node of an outgoing edge. This works fine except that I have no clue how to support (a) and (b) since once the destination node is returned I lose access to the edge and cannot do any text annotation onto an edge of the graph. Is there...
2008 Sep 16
2
[LLVMdev] DOTGraphTraits and GraphWriter
...endence graph like structure with >> (a) multiple edges between the same pair of nodes >> (b) each edge having a special (different) text/label >> >> I implemented a template-specialized version of DotGraphTraits for the >> my graph structure which given a node, uses a map_iterator (similar to >> the one used in CallGraph) to get the destination node of an outgoing >> edge. This works fine except that I have no clue how to support (a) >> and (b) since once the destination node is returned I lose access to >> the edge and cannot do any text annotation o...
2008 Sep 16
0
[LLVMdev] DOTGraphTraits and GraphWriter
...enting a program dependence graph like structure with > (a) multiple edges between the same pair of nodes > (b) each edge having a special (different) text/label > > I implemented a template-specialized version of DotGraphTraits for the > my graph structure which given a node, uses a map_iterator (similar to > the one used in CallGraph) to get the destination node of an outgoing > edge. This works fine except that I have no clue how to support (a) > and (b) since once the destination node is returned I lose access to > the edge and cannot do any text annotation onto an edge of t...
2008 Sep 22
0
[LLVMdev] DOTGraphTraits and GraphWriter
...gt;>> (a) multiple edges between the same pair of nodes >>> (b) each edge having a special (different) text/label >>> >>> I implemented a template-specialized version of DotGraphTraits for >>> the >>> my graph structure which given a node, uses a map_iterator >>> (similar to >>> the one used in CallGraph) to get the destination node of an >>> outgoing >>> edge. This works fine except that I have no clue how to support (a) >>> and (b) since once the destination node is returned I lose access to >>&gt...