Displaying 4 results from an estimated 4 matches for "steenaa".
2012 Jan 04
2
[LLVMdev] Comparison of Alias Analysis in LLVM
...r pass (e.g. ds- aa) to have a go at.
> This will continue until it finds a definite answer or runs out of AA
> passes.
Hi David,
At this level, I can understand how it works. I was confused because I
have been looking at the source code for implementing them. All the
globalmodref, scev-aa, steenaa and ds-aa are only subclasses of the
AliasAnalysis class, so I cannot see how ds-aa can automatically call
basicaa.
What I guess is that the order of the flags matters. This means if I
want to chain a simple AA (say, -basicaa) and a fancier one (ds-aa), I
should add the -basicaa before -ds-aa to...
2012 Jan 05
0
[LLVMdev] Comparison of Alias Analysis in LLVM
Jianzhou Zhao <jianzhou <at> seas.upenn.edu> writes:
> At this level, I can understand how it works. I was confused because I
> have been looking at the source code for implementing them. All the
> globalmodref, scev-aa, steenaa and ds-aa are only subclasses of the
> AliasAnalysis class, so I cannot see how ds-aa can automatically call
> basicaa.
There's some magic in the pass registration which adds them with a
`previous' link between AA passes, so the base AliasAnalysis class
ends up calling the previous...
2012 Jan 04
0
[LLVMdev] Comparison of Alias Analysis in LLVM
Jianzhou Zhao <jianzhou <at> seas.upenn.edu> writes:
> The documents say that all the aa analysis are chained, and give an
> example like opt -basicaa -ds-aa -licm. In this case, does ds-aa
> automatically call basicaa for the case when ds-aa can only return
> MayAlias? This looks magic to me. Is this handled by AnalysisGroup
> magically?
As I understand it, the
2012 Jan 04
2
[LLVMdev] Comparison of Alias Analysis in LLVM
On Tue, Jan 3, 2012 at 4:55 PM, Chris Lattner <clattner at apple.com> wrote:
> On Jan 3, 2012, at 1:53 PM, Jianzhou Zhao wrote:
>> I see. I asked the question because LLVM provides several alias
>> analysis, and I was wondering how to decide which one should be used
>> for compiling most programs.
>>
>> I think the basicaa is the default one, but by looking