<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br>Hi All,<br>I am reposting my question again since i think my question was not clear enough. <br>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 /<br><br>Thanks in advance,<br>Any comment suggestion would be appreciated.<br><br>Jan Ma.<br><br><div><font color="#00007f"></font> </div><br><div><font color="#00007f">===========================================</font></div><br><br>--- On <b>Thu, 6/30/11, janarbek <i><canarbekmatay@yahoo.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: janarbek <canarbekmatay@yahoo.com><br>Subject: Generating DFG or CDFG from C code<br>To: llvmdev@cs.uiuc.edu<br>Date: Thursday, June 30, 2011, 11:55 AM<br><br><div
 id="yiv1485380273"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">Hi All,<div><br></div><div>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 "<span class="yiv1485380273Apple-style-span" style="border-collapse: collapse; font-family: 'Times New Roman'; font-size: medium;"><a rel="nofollow" target="_blank" href="http://llvm.org/docs/Passes.html#dot-cfg">-dot-cfg</a></span>" but it doesn't give what I want. I want to generate a node for each operation in C code. </div><div><br></div><div>Thanks in advance.</div><div>JM.</div><div><br></div></td></tr></tbody></table></div></blockquote></td></tr></table>