search for: setpreserv

Displaying 20 results from an estimated 24 matches for "setpreserv".

Did you mean: setpreserved
2009 Nov 17
4
[LLVMdev] PassManager again...
...39; on Function 'main'... >> > 0x1c301a0 Executing Pass 'Dominator Tree Construction' on Function 'main'... > ... > > Did you update all these function passes to preserve profile info ? Ja, they are all either PreserveAll or I have updated them to AU.setPreserved<ProfileInfo>(). Andi
2015 Dec 03
3
GlobalsAA from GVN
...jamesmolloy.co.uk> wrote: > Hi Vaivaswatha, > > GlobalsAA is not an immutable pass because it needs to cache queries to > avoid them being unusably slow. It therefore relies on passes explicitly > preserving it. Most of the passes in the scalar pipeline have been modified > to setPreserved<GlobalsAA>() and I know the pass gets preserved at least > until LICM. > > You can use -debug-pass=Executions to determine at what point GlobalsAA is > not preserved (which pass clobbers it) - you'd then need to add GlobalsAA > to its preserved pass list. > > Cheers...
2015 Dec 02
2
GlobalsAA from GVN
Hi, I've noticed that alias analysis queries arising from GVN do not use the results from GlobalsAA. The last call to AAResultsWrapperPass::runOnFunction() before GVN does not add GlobalsAAWrapperPass due to unavailability. This leads to the alias queries from GVN not having any globals mod-ref info. Is this a known issue? and is there any way to have globals mod-ref info available for GVN?
2015 Dec 03
2
GlobalsAA from GVN
...Hi Vaivaswatha, > > > > > > GlobalsAA is not an immutable pass because it needs to cache queries > > to avoid them being unusably slow. It therefore relies on passes > > explicitly preserving it. Most of the passes in the scalar pipeline > > have been modified to setPreserved<GlobalsAA>() and I know the pass > > gets preserved at least until LICM. > > > > > > You can use -debug-pass=Executions to determine at what point > > GlobalsAA is not preserved (which pass clobbers it) - you'd then > > need to add GlobalsAA to its pr...
2015 Dec 03
2
GlobalsAA from GVN
...> >> > >> > GlobalsAA is not an immutable pass because it needs to cache queries >> > to avoid them being unusably slow. It therefore relies on passes >> > explicitly preserving it. Most of the passes in the scalar pipeline >> > have been modified to setPreserved<GlobalsAA>() and I know the pass >> > gets preserved at least until LICM. >> > >> > >> > You can use -debug-pass=Executions to determine at what point >> > GlobalsAA is not preserved (which pass clobbers it) - you'd then >> > need to...
2009 Nov 17
0
[LLVMdev] PassManager again...
On Tue, Nov 17, 2009 at 9:03 AM, Andreas Neustifter <astifter-llvm at gmx.at> wrote: > > Okay, so the ProfileInfoLoader is working, but when I examine the executions more closely I see that the ProfileInfo generated by the ProfileInfoLoader is immediately discarded, when the SelectionDAGISel kicks in the "No Profile Info"-Implementation is used: > >  > 0x1c1a740  
2015 Dec 04
2
GlobalsAA from GVN
...gt; >>> > GlobalsAA is not an immutable pass because it needs to cache queries >>> > to avoid them being unusably slow. It therefore relies on passes >>> > explicitly preserving it. Most of the passes in the scalar pipeline >>> > have been modified to setPreserved<GlobalsAA>() and I know the pass >>> > gets preserved at least until LICM. >>> > >>> > >>> > You can use -debug-pass=Executions to determine at what point >>> > GlobalsAA is not preserved (which pass clobbers it) - you'd then &...
2009 Nov 20
0
[LLVMdev] PassManager again...
..... >>> > 0x1c301a0 Executing Pass 'Dominator Tree Construction' on Function 'main'... >> ... >> >> Did you update all these function passes to preserve profile info ? > > Ja, they are all either PreserveAll or I have updated them to > AU.setPreserved<ProfileInfo>(). So I have tried this for some days now, I don't get it: If I use AU.addRequired<ProfileInfo>() in SelectionDAGISel.cpp the wrong ProfileInfo is used. It uses the "No ProfileInfo" implementation if ProfileInfo but not the one from ProfileInfoLoaderPas...
2015 Aug 06
2
Benchmark GlobalsModRef in non-LTO pass pipeline
Greetings folks! I would like to enable globalsmodref-aa in the non-LTO pass pipeline so that it gets tested more and there are fewer differences between the two. For all of my benchmarks, this is performance neutral, but I'd appreciate others benchmarking this combination to see if they see any benefits or regressions. You can demo this mode easily: -mllvm -enable-non-lto-gmr Please let me
2016 Jul 14
4
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...doesn't have the right semantics for even an error-prone solution :( We are going to need to make some significant changes to even get basic sanity I think. Perhaps each analysis can expose a "preserve" static function. E.g. instead of `PA.preserve<Foo>();` you have to do `Foo::setPreserved(PA);`. I'm actually not quite sure that that will even work. Once I have test-suite fully building successfully with the LTO pipeline in the new PM I'll be able to give a more confident answer (esp. w.r.t. the manager for different IRUnitT's). But at this point I'm not confident r...
2009 Nov 17
2
[LLVMdev] PassManager again...
Hi, I have trouble making my ProfileInfo-Analysis available in the backend, I have changed llc so it loads the ProfileInfo if requested, the PassManger gives this output: > Target Data Layout > Create Garbage Collector Module Metadata > Basic Alias Analysis (default AA impl) > DWARF Information Writer > No Profile Information > Module Information > ModulePass
2016 Jul 16
3
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...s for >> even an error-prone solution :( We are going to need to make some >> significant changes to even get basic sanity I think. Perhaps each analysis >> can expose a "preserve" static function. E.g. instead of >> `PA.preserve<Foo>();` you have to do `Foo::setPreserved(PA);`. >> I'm actually not quite sure that that will even work. Once I have >> test-suite fully building successfully with the LTO pipeline in the new PM >> I'll be able to give a more confident answer (esp. w.r.t. the manager for >> different IRUnitT's). >&...
2016 Jul 15
5
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...r > > even an error-prone solution :( We are going to need to make some > > significant changes to even get basic sanity I think. Perhaps each > > analysis can expose a "preserve" static function. E.g. instead of > > `PA.preserve<Foo>();` you have to do `Foo::setPreserved(PA);`. > > > I'm actually not quite sure that that will even work. Once I have > > test-suite fully building successfully with the LTO pipeline in the > > new PM I'll be able to give a more confident answer (esp. w.r.t. > > the > > manager for different I...
2016 Jul 25
2
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...t; some > > > > significant changes to even get basic sanity I think. Perhaps > > > > each > > > > analysis can expose a "preserve" static function. E.g. instead > > > > of > > > > `PA.preserve<Foo>();` you have to do `Foo::setPreserved(PA);`. > > > > > > > > > > I'm actually not quite sure that that will even work. Once I > > > > have > > > > test-suite fully building successfully with the LTO pipeline in > > > > the > > > > new PM I'll be...
2016 Jul 15
2
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...t; some > > > > significant changes to even get basic sanity I think. Perhaps > > > > each > > > > analysis can expose a "preserve" static function. E.g. instead > > > > of > > > > `PA.preserve<Foo>();` you have to do `Foo::setPreserved(PA);`. > > > > > > > > > > I'm actually not quite sure that that will even work. Once I > > > > have > > > > test-suite fully building successfully with the LTO pipeline in > > > > the > > > > new PM I'll be...
2016 Jul 15
2
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...t; some > > > > significant changes to even get basic sanity I think. Perhaps > > > > each > > > > analysis can expose a "preserve" static function. E.g. instead > > > > of > > > > `PA.preserve<Foo>();` you have to do `Foo::setPreserved(PA);`. > > > > > > > > > > I'm actually not quite sure that that will even work. Once I > > > > have > > > > test-suite fully building successfully with the LTO pipeline in > > > > the > > > > new PM I'll be...
2016 Jul 15
4
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...t; even an error-prone solution :( We are going to need to make some >>> significant changes to even get basic sanity I think. Perhaps each analysis >>> can expose a "preserve" static function. E.g. instead of >>> `PA.preserve<Foo>();` you have to do `Foo::setPreserved(PA);`. >>> I'm actually not quite sure that that will even work. Once I have >>> test-suite fully building successfully with the LTO pipeline in the new PM >>> I'll be able to give a more confident answer (esp. w.r.t. the manager for >>> different IRUni...
2016 Jul 22
4
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...rror-prone solution :( We are going to need to make some >>>> significant changes to even get basic sanity I think. Perhaps each analysis >>>> can expose a "preserve" static function. E.g. instead of >>>> `PA.preserve<Foo>();` you have to do `Foo::setPreserved(PA);`. >>>> I'm actually not quite sure that that will even work. Once I have >>>> test-suite fully building successfully with the LTO pipeline in the new PM >>>> I'll be able to give a more confident answer (esp. w.r.t. the manager for >>>>...
2016 Aug 08
2
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...rror-prone solution :( We are going to need to make some >>>> significant changes to even get basic sanity I think. Perhaps each analysis >>>> can expose a "preserve" static function. E.g. instead of >>>> `PA.preserve<Foo>();` you have to do `Foo::setPreserved(PA);`. >>>> I'm actually not quite sure that that will even work. Once I have >>>> test-suite fully building successfully with the LTO pipeline in the new PM >>>> I'll be able to give a more confident answer (esp. w.r.t. the manager for >>>>...
2016 Jul 26
3
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...e are going to need to make some >>>>>> significant changes to even get basic sanity I think. Perhaps each analysis >>>>>> can expose a "preserve" static function. E.g. instead of >>>>>> `PA.preserve<Foo>();` you have to do `Foo::setPreserved(PA);`. >>>>>> I'm actually not quite sure that that will even work. Once I have >>>>>> test-suite fully building successfully with the LTO pipeline in the new PM >>>>>> I'll be able to give a more confident answer (esp. w.r.t. the mana...