[LLVMdev] Looking for a Reaching Definition Analysis

Shone Sadler shone.sadler at gmail.com
Wed Mar 18 06:01:06 PDT 2009


Great! Both are good reference points. Thanks for the help!

On Wed, Mar 18, 2009 at 12:01 AM, Eli Friedman <eli.friedman at gmail.com>wrote:

> 2009/3/17 Shone Sadler <shone.sadler at gmail.com>:
> > I was more specifically looking through the source
> > code for a place where Reaching Definitions was implemented to derive
> those
> > uses and/or to generate the SSA.
>
> mem2reg (llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp)
> transforms to SSA form, but that's the conventional SSA construction
> algorithm, which doesn't really use reaching definitions.  The closest
> thing to what you're looking for is probably memdep
> (llvm/lib/Analysis/MemoryDependenceAnalysis.cpp).
>
> -Eli
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090318/51f802ba/attachment.html>


More information about the llvm-dev mailing list