[LLVMdev] Alias analysis result
welson.sun at gmail.com
Tue Sep 18 12:17:22 PDT 2012
In case "my_pass" is compiled into a standalone executable, how can I run
the specific alias analysis in the code?
On Thu, Mar 8, 2012 at 8:55 AM, Duncan Sands <baldrick at free.fr> wrote:
> > That's the reason I have defined getAnalysisUsage method. Isn't that the
> > right way to do it?
> no, that gives you access to whatever alias analysis has been computed, but
> it doesn't specify what kind of alias analysis should be computed (there
> several). Try something like this:
> opt -load=my_pass.so -basic-aa -run_my_pass ...
> Ciao, Duncan.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
Phone: (408) 418-8385
Email: welson.sun at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev