Displaying 5 results from an estimated 5 matches for "run_my_pass".
2012 Mar 08
2
[LLVMdev] Alias analysis result
...d 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 are
several). Try something like this:
opt -load=my_pass.so -basic-aa -run_my_pass ...
Ciao, Duncan.
2012 Sep 18
0
[LLVMdev] Alias analysis result
...;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
> are
> 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
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
--
Welson
Phone: (408) 418-8385
Email: welson.sun at gmail.com...
2012 Sep 19
1
[LLVMdev] Alias analysis result
...> 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 are
> 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 <mailto:LLVMdev at cs.uiuc.edu> http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
>
>
>...
2012 Mar 08
0
[LLVMdev] Alias analysis result
That's the reason I have defined getAnalysisUsage method. Isn't that the
right way to do it?
borya043 wrote:
>
> Hello everyone,
> I am trying to find the alias between a store instruction's pointer
> operand
> and function arguments. This is the code,
> virtual void getAnalysisUsage(AnalysisUsage &AU) const {
>
>
2012 Mar 07
3
[LLVMdev] Alias analysis result
Hello everyone,
I am trying to find the alias between a store instruction's pointer operand
and function arguments. This is the code,
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequiredTransitive<AliasAnalysis>();
AU.addPreserved<AliasAnalysis>();
}
virtual bool runOnFunction(Function &F) {
AliasAnalysis &AA =