[LLVMdev] Generating DFG or CDFG from C code

janarbek canarbekmatay at yahoo.com
Thu Jun 30 22:05:40 PDT 2011

Hi All,
I am reposting my question again since i think my question was not clear enough. 
I am wondering is it possible to generate Control Data Flow Graph from C using LLVM? or is it possible to get web-like structure of C code using llvm /

Thanks in advance,
Any comment suggestion would be appreciated.

Jan Ma.


--- On Thu, 6/30/11, janarbek <canarbekmatay at yahoo.com> wrote:

From: janarbek <canarbekmatay at yahoo.com>
Subject: Generating DFG or CDFG from C code
To: llvmdev at cs.uiuc.edu
Date: Thursday, June 30, 2011, 11:55 AM

Hi All,
I am new to LLVM. I want to generate a Dataflow graph or Control Dataflow graph from C code using LLVM. I have no idea how to do it in LLVM. I tried to use analysis and transform passes such as "-dot-cfg" but it doesn't give what I want. I want to generate a node for each operation in C code. 
Thanks in advance.JM.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110630/e71338cf/attachment.html>

More information about the llvm-dev mailing list