<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 9/15/16 11:55 AM, qamar ilyas via
llvm-dev wrote:<br>
</div>
<blockquote
cite="mid:CAG+icE4Oi3gnhiGOur6SFkg1N2kz0nt6-Crnvnj9FdsvKBLAaA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>Hi everyone,<br>
<br>
</div>
I am new in this group. I have a basic question. Can use-def
chain be used for static data dependency?. Any help
regarding this is greatly appreciated.<br>
</div>
</div>
</div>
</blockquote>
<br>
The def-use chains explicit in the LLVM IR can be used to detect
data dependencies on data that is always held in SSA virtual
registers.<br>
<br>
If you want to analyze the data-flow through memory (e.g., through
memory allocated by the alloca instruction or a call to the heap
allocator), then you need to use iterative data-flow analysis and
alias analysis. For example, if a value is the result of an LLVM
load instruction, you must use iterative data-flow analysis to
determine properties of the value(s) that were stored to that memory
location.<br>
<br>
Regards,<br>
<br>
John Criswell<br>
<br>
<br>
<blockquote
cite="mid:CAG+icE4Oi3gnhiGOur6SFkg1N2kz0nt6-Crnvnj9FdsvKBLAaA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div><br>
</div>
Thanks,<br>
</div>
Qamar<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
</blockquote>
<br>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
John Criswell
Assistant Professor
Department of Computer Science, University of Rochester
<a class="moz-txt-link-freetext" href="http://www.cs.rochester.edu/u/criswell">http://www.cs.rochester.edu/u/criswell</a></pre>
</body>
</html>