Displaying 2 results from an estimated 2 matches for "removetriviallydeadnodes".
2002 Nov 11
1
[LLVMdev] top of tree broken?
...FunctionModRefInfo::ResolveCallSiteModRefInfo(CallInst&, std::map<const
DSNode*, DSNodeHandle, std::less<const DSNode*>,
std::allocator<std::pair<const DSNode* const, DSNodeHandle> > >&)':
IPModRef.cpp:163: no matching function for call to `DSGraph::
removeTriviallyDeadNodes(bool)'
../../../include/llvm/Analysis/DSGraph.h:186: candidates are: void
DSGraph::removeTriviallyDeadNodes()
gmake[3]: *** [Debug/IPModRef.o] Error 1
gmake[3]: Target `all' not remade because of errors.
gmake[3]: Leaving directory `/scratch/scratch0/gaeke/llvm-497cz/lib/Analysis/IPA...
2002 Nov 30
1
[LLVMdev] How to get a Module DSGraph?
...or a complete module, but
haven't succeeded. I tried
- getting the DSGraph for each function, and copying the nodes to a
Module graph. But since there are no nodehandles, apparently there is
no merging of nodes.
- modifying BUDataStructure Pass so that it will not execute
removeDeadNodes() or removeTriviallyDeadNodes().
- couldn't get mergeInGraph() to work, but tried.
My main interest is in situations like
void *M(int size) {
return malloc(size);
}
void F() {
void *p = M(....);
}
where I can identify that %p and the object returned by M() are the
same.
nicolas