search for: __callgraph

Displaying 2 results from an estimated 2 matches for "__callgraph".

2013 Apr 26
0
[LLVMdev] CallGraph
...t; > > calls don't have to be terminators, so that wouldn't work properly anyway. > > > > There must be there a better way to get the linkage between BBs that are in > different functions. > > > Sure, take a look at include/llvm/Analysis/__CallGraph.h > > Ciao, Duncan. > _________________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu> http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/__mailman/listinfo/llvmdev > <http...
2013 Apr 26
2
[LLVMdev] CallGraph
Thanks for the response. I looked and I cannot see what exactly I need. I saw getCalledFunction() so I need CallSite CS(cast<Value>(II)) where II is a basic block iterator, so an instruction. It seems not easier than the "unelegant" version....if I am still at the Instruction level... I need a method that takes from a "leaf" basic block from a function (Maybe there is