[llvm-commits] [llvm] r42519 - /llvm/trunk/docs/AliasAnalysis.html

Chris Lattner clattner at apple.com
Tue Oct 2 20:49:04 PDT 2007


Hi Owen,

Can you please expound a bit on what sort of clients should use  
memdep and why?  The goal of this document is so that people can  
understand how the pieces fit together and have an idea of what  to  
use when they have a particular problem to solve, thanks!

-Chris


On Oct 1, 2007, at 5:43 PM, Owen Anderson wrote:

> Author: resistor
> Date: Mon Oct  1 19:43:25 2007
> New Revision: 42519
>
> URL: http://llvm.org/viewvc/llvm-project?rev=42519&view=rev
> Log:
> Mention memdep in the AA documentation.
>
> Modified:
>     llvm/trunk/docs/AliasAnalysis.html
>
> Modified: llvm/trunk/docs/AliasAnalysis.html
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/ 
> AliasAnalysis.html?rev=42519&r1=42518&r2=42519&view=diff
>
> ====================================================================== 
> ========
> --- llvm/trunk/docs/AliasAnalysis.html (original)
> +++ llvm/trunk/docs/AliasAnalysis.html Mon Oct  1 19:43:25 2007
> @@ -50,6 +50,7 @@
>      implementations</a></li>
>      </ul>
>    </li>
> +  <li><a hread="#memdep">Memory Dependence Analysis</a></li>
>  </ol>
>
>  <div class="doc_author">
> @@ -948,6 +949,24 @@
>  </div>
>
>  <!--  
> ********************************************************************** 
> * -->
> +<div class="doc_section">
> +  <a name="memdep">Memory Dependence Analysis</a>
> +</div>
> +<!--  
> ********************************************************************** 
> * -->
> +
> +<div class="doc_text">
> +
> +<p>If you're just looking to be a client of alias analysis  
> information, consider
> +using the Memory Dependence Analysis interface instead.  MemDep is  
> a lazy,
> +caching layer on top of alias analysis that is able to answer the  
> question of
> +what preceding memory operations a given instruction depends on,  
> either at an
> +intra- or inter-block level.  Because of its laziness and caching
> +policy, using MemDep can be a significant performance win over  
> accessing alias
> +analysis directly.</p>
> +
> +</div>
> +
> +<!--  
> ********************************************************************** 
> * -->
>
>  <hr>
>  <address>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list