Displaying 18 results from an estimated 18 matches for "usecflaa".
2015 Jan 17
3
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
Hi Danny,
// Add TypeBasedAliasAnalysis before BasicAliasAnalysis so that
// BasicAliasAnalysis wins if they disagree. This is intended to help
// support "obvious" type-punning idioms.
- if (UseCFLAA)
- addPass(createCFLAliasAnalysisPass());
addPass(createTypeBasedAliasAnalysisPass());
addPass(createScopedNoAliasAAPass());
+ if (UseCFLAA)
+ addPass(createCFLAliasAnalysisPass());
addPass(createBasicAliasAnalysisPass());
Do we really want to change the order here? I had originall...
2015 Jan 15
3
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
On Thu, Jan 15, 2015 at 1:26 PM, Nick Lewycky <nlewycky at google.com> wrote:
> On 15 January 2015 at 13:10, Daniel Berlin <dberlin at dberlin.org> wrote:
>
>> Yes.
>> I've attached an updated patch that does the following:
>>
>> 1. Fixes the partialalias of globals/arguments
>> 2. Enables partialalias for cases where nothing has been unified to
2015 Jan 17
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...AM Hal Finkel < hfinkel at anl.gov >
> wrote:
>
>
> Hi Danny,
>
> // Add TypeBasedAliasAnalysis before BasicAliasAnalysis so that
> // BasicAliasAnalysis wins if they disagree. This is intended to help
> // support "obvious" type-punning idioms.
> - if (UseCFLAA)
> - addPass( createCFLAliasAnalysisPass());
> addPass( createTypeBasedAliasAnalysisPa ss());
> addPass( createScopedNoAliasAAPass());
> + if (UseCFLAA)
> + addPass( createCFLAliasAnalysisPass());
> addPass( createBasicAliasAnalysisPass() );
>
> Do we really want to change...
2015 Jan 20
4
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...>> >
>> > Hi Danny,
>> >
>> > // Add TypeBasedAliasAnalysis before BasicAliasAnalysis so that
>> > // BasicAliasAnalysis wins if they disagree. This is intended to help
>> > // support "obvious" type-punning idioms.
>> > - if (UseCFLAA)
>> > - addPass( createCFLAliasAnalysisPass());
>> > addPass( createTypeBasedAliasAnalysisPa ss());
>> > addPass( createScopedNoAliasAAPass());
>> > + if (UseCFLAA)
>> > + addPass( createCFLAliasAnalysisPass());
>> > addPass( createBasicAliasAna...
2015 Jan 14
3
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...> > the trunk code that processes the flags -mllvm use-cfl-aa-in-codegen
> > and –mllvm use-cfl-aa, right?
> >
> >
> >
> > In Transforms/IPO/PassManagerBuilder.cpp and CodeGen/Passes.cpp we see
> > this sequence:
> >
> >
> >
> > if (UseCFLAA)
> >
> > PM.add(createCFLAliasAnalysisPass());
> >
> > PM.add(createTypeBasedAliasAnalysisPass());
> >
> > PM.add(createScopedNoAliasAAPass());
> >
> > PM.add(createBasicAliasAnalysisPass());
> >
> >
> >
> > So are you recommen...
2015 Jan 14
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...the flags -mllvm use-cfl-aa-in-codegen
>> > and –mllvm use-cfl-aa, right?
>> >
>> >
>> >
>> > In Transforms/IPO/PassManagerBuilder.cpp and CodeGen/Passes.cpp we see
>> > this sequence:
>> >
>> >
>> >
>> > if (UseCFLAA)
>> >
>> > PM.add(createCFLAliasAnalysisPass());
>> >
>> > PM.add(createTypeBasedAliasAnalysisPass());
>> >
>> > PM.add(createScopedNoAliasAAPass());
>> >
>> > PM.add(createBasicAliasAnalysisPass());
>> >
>> >...
2015 Jan 15
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...> > the trunk code that processes the flags -mllvm use-cfl-aa-in-codegen
> > and –mllvm use-cfl-aa, right?
> >
> >
> >
> > In Transforms/IPO/PassManagerBuilder.cpp and CodeGen/Passes.cpp we see
> > this sequence:
> >
> >
> >
> > if (UseCFLAA)
> >
> > PM.add(createCFLAliasAnalysisPass());
> >
> > PM.add(createTypeBasedAliasAnalysisPass());
> >
> > PM.add(createScopedNoAliasAAPass());
> >
> > PM.add(createBasicAliasAnalysisPass());
> >
> >
> >
> > So are you recommen...
2015 Jan 21
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...t; > Hi Danny,
> > >
> > > // Add TypeBasedAliasAnalysis before BasicAliasAnalysis so that
> > > // BasicAliasAnalysis wins if they disagree. This is intended to
> > > help
> > > // support "obvious" type-punning idioms.
> > > - if (UseCFLAA)
> > > - addPass( createCFLAliasAnalysisPass());
> > > addPass( createTypeBasedAliasAnalysisPa ss());
> > > addPass( createScopedNoAliasAAPass());
> > > + if (UseCFLAA)
> > > + addPass( createCFLAliasAnalysisPass());
> > > addPass( createBasicAl...
2015 Jan 13
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...is “–basicaa –cfla-aa” it means we should fix
> the trunk code that processes the flags -mllvm use-cfl-aa-in-codegen
> and –mllvm use-cfl-aa, right?
>
>
>
> In Transforms/IPO/PassManagerBuilder.cpp and CodeGen/Passes.cpp we see
> this sequence:
>
>
>
> if (UseCFLAA)
>
> PM.add(createCFLAliasAnalysisPass());
>
> PM.add(createTypeBasedAliasAnalysisPass());
>
> PM.add(createScopedNoAliasAAPass());
>
> PM.add(createBasicAliasAnalysisPass());
>
>
>
> So are you recommending changing to the sequence below instead?
>
&g...
2015 Apr 21
2
[LLVMdev] Using an alias analysis pass
Hello LLVMdev,
I’m using LLVM to do static analysis exclusively (without any code generation). To implement this analysis, I’m using multiple address spaces to disambiguate the purpose of the pointed memory. Since address spaces never alias in my model, I set on to implement an alias analysis pass that would exactly provide this information, as I’m seeing a couple of otherwise dead store that
2015 Jan 14
4
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...>>>>>> >
>>>>>> > In Transforms/IPO/PassManagerBuilder.cpp and CodeGen/Passes.cpp we see
>>>>>> > this sequence:
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> > if (UseCFLAA)
>>>>>> >
>>>>>> > PM.add(createCFLAliasAnalysisPass());
>>>>>> >
>>>>>> > PM.add(createTypeBasedAliasAnalysisPass());
>>>>>> >
>>>>>> > PM.add(createScopedNoAliasAAPass());...
2015 Jan 21
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...t; >
> > > > // Add TypeBasedAliasAnalysis before BasicAliasAnalysis so that
> > > > // BasicAliasAnalysis wins if they disagree. This is intended to
> > > > help
> > > > // support "obvious" type-punning idioms.
> > > > - if (UseCFLAA)
> > > > - addPass( createCFLAliasAnalysisPass());
> > > > addPass( createTypeBasedAliasAnalysisPa ss());
> > > > addPass( createScopedNoAliasAAPass());
> > > > + if (UseCFLAA)
> > > > + addPass( createCFLAliasAnalysisPass());
> > &g...
2015 Jan 23
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...t; // Add TypeBasedAliasAnalysis before BasicAliasAnalysis so that
> > > > // BasicAliasAnalysis wins if they disagree. This is intended
> > > > to
> > > > help
> > > > // support "obvious" type-punning idioms.
> > > > - if (UseCFLAA)
> > > > - addPass( createCFLAliasAnalysisPass());
> > > > addPass( createTypeBasedAliasAnalysisPa ss());
> > > > addPass( createScopedNoAliasAAPass());
> > > > + if (UseCFLAA)
> > > > + addPass( createCFLAliasAnalysisPass());
> &...
2015 Jan 14
3
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...gt;>> >
>>>> >
>>>> >
>>>> > In Transforms/IPO/PassManagerBuilder.cpp and CodeGen/Passes.cpp we
>>>> see
>>>> > this sequence:
>>>> >
>>>> >
>>>> >
>>>> > if (UseCFLAA)
>>>> >
>>>> > PM.add(createCFLAliasAnalysisPass());
>>>> >
>>>> > PM.add(createTypeBasedAliasAnalysisPass());
>>>> >
>>>> > PM.add(createScopedNoAliasAAPass());
>>>> >
>>>> > PM....
2015 Jan 23
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...BasicAliasAnalysis so that
>>> > > > // BasicAliasAnalysis wins if they disagree. This is intended
>>> > > > to
>>> > > > help
>>> > > > // support "obvious" type-punning idioms.
>>> > > > - if (UseCFLAA)
>>> > > > - addPass( createCFLAliasAnalysisPass());
>>> > > > addPass( createTypeBasedAliasAnalysisPa ss());
>>> > > > addPass( createScopedNoAliasAAPass());
>>> > > > + if (UseCFLAA)
>>> > > > + addPass...
2015 Jan 23
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...t; // Add TypeBasedAliasAnalysis before BasicAliasAnalysis so that
> > > > // BasicAliasAnalysis wins if they disagree. This is intended
> > > > to
> > > > help
> > > > // support "obvious" type-punning idioms.
> > > > - if (UseCFLAA)
> > > > - addPass( createCFLAliasAnalysisPass());
> > > > addPass( createTypeBasedAliasAnalysisPa ss());
> > > > addPass( createScopedNoAliasAAPass());
> > > > + if (UseCFLAA)
> > > > + addPass( createCFLAliasAnalysisPass());
> &...
2015 Jan 24
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...liasAnalysis before BasicAliasAnalysis so that
> > > > > // BasicAliasAnalysis wins if they disagree. This is intended
> > > > > to
> > > > > help
> > > > > // support "obvious" type-punning idioms.
> > > > > - if (UseCFLAA)
> > > > > - addPass( createCFLAliasAnalysisPass());
> > > > > addPass( createTypeBasedAliasAnalysisPa ss());
> > > > > addPass( createScopedNoAliasAAPass());
> > > > > + if (UseCFLAA)
> > > > > + addPass( createCFLAliasAnal...
2015 Jan 26
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...; > > > that
> > > > > > // BasicAliasAnalysis wins if they disagree. This is intended
> > > > > > to
> > > > > > help
> > > > > > // support "obvious" type-punning idioms.
> > > > > > - if (UseCFLAA)
> > > > > > - addPass( createCFLAliasAnalysisPass());
> > > > > > addPass( createTypeBasedAliasAnalysisPa ss());
> > > > > > addPass( createScopedNoAliasAAPass());
> > > > > > + if (UseCFLAA)
> > > > > > + ad...