Displaying 5 results from an estimated 5 matches for "fgind".
2007 Sep 14
2
[LLVMdev] RegisterAnalysisGroup
...t; Y(X);
>
> The "true" says that it is the default,
Right, I get that. My question is how a pass that requires AliasAnalysis
gets Andersens when -anders-aa is passed on the command-line.
Someone has to call setNormalCtor on the PassInfo for the AliasAnalysis
group but I can't fgind that code anywhere.
Another question:
I'm debugging some analysis group code and I instrumented the
registration constructors. I see weird things like this:
Adding No Alias Analysis (always returns 'may' alias) to group
Adding Basic Alias Analysis (default AA impl) to group
Set ctor...
2007 Sep 14
0
[LLVMdev] RegisterAnalysisGroup
...quot;true" says that it is the default,
>
> Right, I get that. My question is how a pass that requires AliasAnalysis
> gets Andersens when -anders-aa is passed on the command-line.
> Someone has to call setNormalCtor on the PassInfo for the AliasAnalysis
> group but I can't fgind that code anywhere.
Hmm, I'm not quite correct here. I seem to recall someone at some point
saying that when searching for a member of an analysis group, the first
implementation constructed will be used.
Is the searching code implemented by AnalysisResolver::findImplPass?
> I'm deb...
2007 Sep 14
2
[LLVMdev] RegisterAnalysisGroup
Can someone explain how RegisterPass and RegisterAnalysisGroup
conspire to pick the right member of an analysis group when command-line
options dictate non-default implementations?
For example, when I pass -anders-aa to opt, where in the code is that option
parsed and setNormalCtor called on the analysis group to change from the
default basicaa?
2007 Sep 14
0
[LLVMdev] RegisterAnalysisGroup
On Sep 14, 2007, at 1:43 PM, David Greene wrote:
> Can someone explain how RegisterPass and RegisterAnalysisGroup
> conspire to pick the right member of an analysis group when command-
> line
> options dictate non-default implementations?
>
> For example, when I pass -anders-aa to opt, where in the code is
> that option
> parsed and setNormalCtor called on the analysis
2007 Sep 15
1
[LLVMdev] RegisterAnalysisGroup
...t,
>>
>> Right, I get that. My question is how a pass that requires
>> AliasAnalysis
>> gets Andersens when -anders-aa is passed on the command-line.
>> Someone has to call setNormalCtor on the PassInfo for the
>> AliasAnalysis
>> group but I can't fgind that code anywhere.
>
> Hmm, I'm not quite correct here. I seem to recall someone at some
> point
> saying that when searching for a member of an analysis group, the
> first
> implementation constructed will be used.
>
> Is the searching code implemented by Analysis...