You should probably be able to iterate the uses of an llvm::Function
On Mon, Jan 4, 2021 at 10:37 AM Rotate Right via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> I intend to write a simple module pass which should print callees of each
> function in it. Basically I want a call graph in CSV format. How do I do
> this? Do I HAVE to iterate over all instructions in all functions to its
> callees? Can I use CallGraph class here? If I use SCC pass then would it be
> simpler?
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20210104/b6353413/attachment.html>