Displaying 5 results from an estimated 5 matches for "youraliasanalysispass".
2008 Dec 09
0
[LLVMdev] AliasAnalysis tutorial 2
...g your own C++ tool that creates a PassManager object and
then explicitly adds passes using the add() method of PassManager. Is
this correct?
In that case, I think all you need to do is to explicitly specify your
alias analysis as one of the passes to run:
PassManager Passes;
Passes.add (new YourAliasAnalysisPass());
Passes.add (new WhateverPassUsesTheAliasAnalysisInterface());
Creating a pass in the AliasAnalysis group doesn't mean that it will
automatically be run when an alias analysis is needed. Rather, what it
means is that *if* a pass requests an AliasAnalysis group pass *and*
your pass has a...
2008 Dec 09
1
[LLVMdev] AliasAnalysis tutorial 2
Hi !
In my quest of implementing my own AA, i understood that it doesn't work
because i don't use the 'opt' tool but i create my own PassManager (this
for other reasons).
The problem is the same with other existing AA (AndersensPass or
globalModRefPass) :
these AApasses are not chained with the basicAA when they are created in
PassManager ...
So my question is now : how to
2008 Dec 10
2
[LLVMdev] AliasAnalysis tutorial 2
...Manager object and
> then explicitly adds passes using the add() method of PassManager. Is
> this correct?
>
> In that case, I think all you need to do is to explicitly specify your
> alias analysis as one of the passes to run:
>
> PassManager Passes;
>
> Passes.add (new YourAliasAnalysisPass());
> Passes.add (new WhateverPassUsesTheAliasAnalysisInterface());
>
> Creating a pass in the AliasAnalysis group doesn't mean that it will
> automatically be run when an alias analysis is needed. Rather, what it
> means is that *if* a pass requests an AliasAnalysis group pass...
2008 Dec 10
0
[LLVMdev] AliasAnalysis tutorial 2
...licitly adds passes using the add() method of PassManager. Is
>> this correct?
>>
>> In that case, I think all you need to do is to explicitly specify your
>> alias analysis as one of the passes to run:
>>
>> PassManager Passes;
>>
>> Passes.add (new YourAliasAnalysisPass());
>> Passes.add (new WhateverPassUsesTheAliasAnalysisInterface());
>>
>> Creating a pass in the AliasAnalysis group doesn't mean that it will
>> automatically be run when an alias analysis is needed. Rather, what it
>> means is that *if* a pass requests an Alias...
2008 Dec 09
2
[LLVMdev] AliasAnalysis tutorial
Hi !
I'm writting an AliasAnalysis using the online tutorial
(http://www.llvm.org/docs/AliasAnalysis.html).
My problem is to chain this pass (function Pass in my case) with the
basicAA ...
I know that my pass is running (runOnFunction) but the virtual methods
derived from AliasAnalysis
(alias, getModRefInfo, etc ... ) are never called (even in the case
wherer the basicAA reaches the end