<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 10/30/12 3:47 AM, Milad Mohammadi
wrote:<br>
</div>
<blockquote
cite="mid:CAGBbjoAPutHXkgnOjZ_pJqgDDx7Z2L2Wa7agsnHhc6B9favhiQ@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">Hi,
<div><br>
</div>
<div>Is there a way to use LLVM to build the visual
representation of program dependence graph (PDG) of a
routine/program?</div>
<div><br>
</div>
<div>From looking at <a moz-do-not-send="true"
href="https://llvm.org/svn/llvm-project/poolalloc/branches/release_14/lib/DSA/PgmDependenceGraph.cpp">https://llvm.org/svn/llvm-project/poolalloc/branches/release_14/lib/DSA/PgmDependenceGraph.cpp</a>,
it looks like there is an incomplete implementation of PDG in
LLVM. However, when I search within LLVM3.0 package, I don't
find the .cpp/h code. So, I also wonder if this code is no
longer supported.</div>
</div>
</blockquote>
<br>
No, I don't think we maintain this code anymore, and I'm pretty sure
it's not in mainline LLVM, either.<br>
<br>
People are welcome, of course, to get it working again and to
contribute it. Poolalloc has a release_30 branch for LLVM 3.0, and
poolalloc mainline is following LLVM mainline (although compilation
sometimes breaks because we have limited bandwidth for updating our
code to handle LLVM API changes).<br>
<br>
If someone were to work on a Program Dependence Graph analysis, they
may wish to examine one of the other pointer analysis
implementations for LLVM (e.g., Hardekopf's Anderson's analysis) to
see if it will yield better results than DSA.<br>
<br>
-- John T.<br>
<br>
<blockquote
cite="mid:CAGBbjoAPutHXkgnOjZ_pJqgDDx7Z2L2Wa7agsnHhc6B9favhiQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>Thanks!</div>
<div>M.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
</blockquote>
<br>
</body>
</html>