search for: getglobalcrc

Displaying 3 results from an estimated 3 matches for "getglobalcrc".

2009 Sep 15
0
[LLVMdev] SCCIterator and unconnected graphs
On Sep 3, 2009, at 4:15 AM, Hans Vandierendonck wrote: Hi, > > I am using the scc_iterator class in my code on a CallGraph, where > some > functions are not called from within the module. It seems that > scc_iterator does not list all SCCs if the graph is not connected; > only > those nodes connected to the node pointed to by > GraphTraits<...>::getEntryNode() are
2009 Sep 15
1
[LLVMdev] SCCIterator and unconnected graphs
...what I found. Attached are 2 .ll files, reduced using bugpoint and a Pass that uses the SCCIterator to traverse the CallGraph SCCs. The pass simply prints all function names as it visits them. The file bugpoint-reduced-simplified.ll has all external functions and one defined *internal* function (getGlobalCRC). The callgraph is not connected as there is no way to call the internal function (it's dead). In bugpoint-reduced-simplified2.ll, the defined function is now not internal, but also exported. There is now theoretically a way to call the function getGlobalCRC, so the callgraph is connected....
2009 Sep 03
3
[LLVMdev] SCCIterator and unconnected graphs
Hi, I am using the scc_iterator class in my code on a CallGraph, where some functions are not called from within the module. It seems that scc_iterator does not list all SCCs if the graph is not connected; only those nodes connected to the node pointed to by GraphTraits<...>::getEntryNode() are returned. Can someone verify this behavior? Any tips on how I should go about extending the