Displaying 20 results from an estimated 20 matches for "targetiranalysis".
2017 Dec 15
4
RFC: Exposing TargetTransformInfo factories from TargetMachine
On Fri, Dec 15, 2017 at 5:30 AM, Hal Finkel <hfinkel at anl.gov> wrote:
> Are there reasons why we might not want to do this? Other options we should
> consider?
It does make the TargetMachine -> TargetIRAnalysis path less abstract,
but given that all targets have the same pattern of instantiating a
TargetIRAnalysis with a Function->TargetTransformInfo hook, the
abstraction does not seem particularly useful.
I might do even a simpler form of the patch though -- instead of
returning a function pointer fr...
2017 Dec 15
2
RFC: Exposing TargetTransformInfo factories from TargetMachine
Hi all,
I'd like to be able to use TargetTransformInfo to make architecture
specific code generation decisions from the XLA LLVM IR emitter[0].
However, we don't have a great way to do this today --
TargetTransformInfo is wrapped in a TargetIRAnalysis and getting the
TargetTransformInfo out of it requires something like:
FunctionAnalysisManager DummyFAM;
TTI = TIRA.run(F, DummyFAM);
return *TTI;
which isn't ideal.
Given that all in-tree backends have a factory function to directly
construct a TargetTransformInfo implementation anywa...
2019 Aug 22
3
[RFC] Adding target-specific overrides for Indirect Call Promotion
...t;/div><div style="box-sizing: inherit;"><font face="Verdana, Arial, Helvetica, sans-serif" size="2" style="box-sizing: inherit;"> - make `PGOinstrumentationUse`, `PGOIndirectCallPromotion`, and `ModuleSummaryIndexAnalysis` passes require the `TargetIRAnalysis` pass so that they can access the TTI instance, and pass it to `ICallPromotionAnalysis`.</font></div><div style="box-sizing: inherit;"><font face="Verdana, Arial, Helvetica, sans-serif" size="2" style="box-sizing: inherit;"> The legac...
2016 Jul 13
3
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...lysis: Stores pointers to AliasAnalysis, DominatorTree
> RegionInfoAnalysis: Stores pointers to DomTree, PostDomTree, DomFrontier
> ScalarEvolutionAnalysis: Stores pointers to TargetLibraryInfo,
> AssumptionCache, DominatorTree, LoopInfo
> TargetLibraryAnalysis: Has no dependencies
> TargetIRAnalysis: Has no dependencies.
>
> Function alias analyses: 3/5 keep pointers to other analyses
> BasicAA: Keeps pointers to TargetLibraryInfo, AssumptionCache,
> DominatorTree, LoopInfo
> CFLAA: Keeps pointer to TargetLibraryInfo
> SCEVAA: Keeps pointer to ScalarEvolution
> ScopedNoAli...
2016 Jul 13
3
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
On Tue, Jul 12, 2016 at 11:34 PM Sean Silva <chisophugis at gmail.com> wrote:
> On Tue, Jul 12, 2016 at 11:32 PM, Xinliang David Li <davidxl at google.com>
> wrote:
>
>>
>>
>> On Tue, Jul 12, 2016 at 10:57 PM, Chandler Carruth <chandlerc at gmail.com>
>> wrote:
>>
>>> Yea, this is a nasty problem.
>>>
>>> One
2016 Jul 14
4
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...DominatorTree
>>> RegionInfoAnalysis: Stores pointers to DomTree, PostDomTree, DomFrontier
>>> ScalarEvolutionAnalysis: Stores pointers to TargetLibraryInfo,
>>> AssumptionCache, DominatorTree, LoopInfo
>>> TargetLibraryAnalysis: Has no dependencies
>>> TargetIRAnalysis: Has no dependencies.
>>>
>>> Function alias analyses: 3/5 keep pointers to other analyses
>>> BasicAA: Keeps pointers to TargetLibraryInfo, AssumptionCache,
>>> DominatorTree, LoopInfo
>>> CFLAA: Keeps pointer to TargetLibraryInfo
>>> SCEVAA: K...
2016 Jul 13
4
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...tores pointers to AliasAnalysis, DominatorTree
> RegionInfoAnalysis: Stores pointers to DomTree, PostDomTree,
> DomFrontier
> ScalarEvolutionAnalysis: Stores pointers to TargetLibraryInfo,
> AssumptionCache, DominatorTree, LoopInfo
> TargetLibraryAnalysis: Has no dependencies
> TargetIRAnalysis: Has no dependencies.
> Function alias analyses: 3/5 keep pointers to other analyses
> BasicAA: Keeps pointers to TargetLibraryInfo, AssumptionCache,
> DominatorTree, LoopInfo
> CFLAA: Keeps pointer to TargetLibraryInfo
> SCEVAA: Keeps pointer to ScalarEvolution
> ScopedNoAliasAA...
2016 Jul 16
3
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...s pointers to DomTree, PostDomTree,
>>>>> DomFrontier
>>>>> ScalarEvolutionAnalysis: Stores pointers to TargetLibraryInfo,
>>>>> AssumptionCache, DominatorTree, LoopInfo
>>>>> TargetLibraryAnalysis: Has no dependencies
>>>>> TargetIRAnalysis: Has no dependencies.
>>>>>
>>>>> Function alias analyses: 3/5 keep pointers to other analyses
>>>>> BasicAA: Keeps pointers to TargetLibraryInfo, AssumptionCache,
>>>>> DominatorTree, LoopInfo
>>>>> CFLAA: Keeps pointer to...
2016 Jul 15
5
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...t; > > TargetLibraryInfo,
> > > > > AssumptionCache, DominatorTree, LoopInfo
> > > >
> > >
> >
>
> > > > > TargetLibraryAnalysis: Has no dependencies
> > > >
> > >
> >
>
> > > > > TargetIRAnalysis: Has no dependencies.
> > > >
> > >
> >
>
> > > > > Function alias analyses: 3/5 keep pointers to other analyses
> > > >
> > >
> >
>
> > > > > BasicAA: Keeps pointers to TargetLibraryInfo,
> > &...
2016 Jul 25
2
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...> > > >
> > > >
> > >
> >
>
> > > > > > > TargetLibraryAnalysis: Has no dependencies
> > > > > >
> > > > >
> > > >
> > >
> >
>
> > > > > > > TargetIRAnalysis: Has no dependencies.
> > > > > >
> > > > >
> > > >
> > >
> >
>
> > > > > > > Function alias analyses: 3/5 keep pointers to other
> > > > > > > analyses
> > > > > >
>...
2016 Jul 15
2
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...> > > >
> > > >
> > >
> >
>
> > > > > > > TargetLibraryAnalysis: Has no dependencies
> > > > > >
> > > > >
> > > >
> > >
> >
>
> > > > > > > TargetIRAnalysis: Has no dependencies.
> > > > > >
> > > > >
> > > >
> > >
> >
>
> > > > > > > Function alias analyses: 3/5 keep pointers to other
> > > > > > > analyses
> > > > > >
>...
2016 Jul 15
2
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...> > > >
> > > >
> > >
> >
>
> > > > > > > TargetLibraryAnalysis: Has no dependencies
> > > > > >
> > > > >
> > > >
> > >
> >
>
> > > > > > > TargetIRAnalysis: Has no dependencies.
> > > > > >
> > > > >
> > > >
> > >
> >
>
> > > > > > > Function alias analyses: 3/5 keep pointers to other
> > > > > > > analyses
> > > > > >
>...
2016 Jul 15
4
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...e, PostDomTree,
>>>>>> DomFrontier
>>>>>> ScalarEvolutionAnalysis: Stores pointers to TargetLibraryInfo,
>>>>>> AssumptionCache, DominatorTree, LoopInfo
>>>>>> TargetLibraryAnalysis: Has no dependencies
>>>>>> TargetIRAnalysis: Has no dependencies.
>>>>>>
>>>>>> Function alias analyses: 3/5 keep pointers to other analyses
>>>>>> BasicAA: Keeps pointers to TargetLibraryInfo, AssumptionCache,
>>>>>> DominatorTree, LoopInfo
>>>>>> CFLA...
2016 Jul 22
4
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...>>>>>> DomFrontier
>>>>>>> ScalarEvolutionAnalysis: Stores pointers to TargetLibraryInfo,
>>>>>>> AssumptionCache, DominatorTree, LoopInfo
>>>>>>> TargetLibraryAnalysis: Has no dependencies
>>>>>>> TargetIRAnalysis: Has no dependencies.
>>>>>>>
>>>>>>> Function alias analyses: 3/5 keep pointers to other analyses
>>>>>>> BasicAA: Keeps pointers to TargetLibraryInfo, AssumptionCache,
>>>>>>> DominatorTree, LoopInfo
>>>&...
2016 Aug 08
2
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...>>>>>> DomFrontier
>>>>>>> ScalarEvolutionAnalysis: Stores pointers to TargetLibraryInfo,
>>>>>>> AssumptionCache, DominatorTree, LoopInfo
>>>>>>> TargetLibraryAnalysis: Has no dependencies
>>>>>>> TargetIRAnalysis: Has no dependencies.
>>>>>>>
>>>>>>> Function alias analyses: 3/5 keep pointers to other analyses
>>>>>>> BasicAA: Keeps pointers to TargetLibraryInfo, AssumptionCache,
>>>>>>> DominatorTree, LoopInfo
>>>&...
2016 Jul 13
5
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
With D21921 and a couple other pending patches, we now have the full LTO
pipeline converted to the new PM. I was trying it out on test-suite and
SPEC2006. Yay!
This email is about one issue that I ran into testing the pipeline on
test-suite. The issue arose in the wild as an interaction between lcssa and
gvn. But the issue is extremely general.
What happened is that BasicAA uses
2016 Jul 26
3
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...tier
>>>>>>>>> ScalarEvolutionAnalysis: Stores pointers to TargetLibraryInfo,
>>>>>>>>> AssumptionCache, DominatorTree, LoopInfo
>>>>>>>>> TargetLibraryAnalysis: Has no dependencies
>>>>>>>>> TargetIRAnalysis: Has no dependencies.
>>>>>>>>>
>>>>>>>>> Function alias analyses: 3/5 keep pointers to other analyses
>>>>>>>>> BasicAA: Keeps pointers to TargetLibraryInfo, AssumptionCache,
>>>>>>>>> Domin...
2016 Jul 27
0
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...;>>>>>>> ScalarEvolutionAnalysis: Stores pointers to TargetLibraryInfo,
>>>>>>>>>> AssumptionCache, DominatorTree, LoopInfo
>>>>>>>>>> TargetLibraryAnalysis: Has no dependencies
>>>>>>>>>> TargetIRAnalysis: Has no dependencies.
>>>>>>>>>>
>>>>>>>>>> Function alias analyses: 3/5 keep pointers to other analyses
>>>>>>>>>> BasicAA: Keeps pointers to TargetLibraryInfo, AssumptionCache,
>>>>>>>&g...
2016 Jul 29
1
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...;>>>> ScalarEvolutionAnalysis: Stores pointers to TargetLibraryInfo,
>>>>>>>>>>> AssumptionCache, DominatorTree, LoopInfo
>>>>>>>>>>> TargetLibraryAnalysis: Has no dependencies
>>>>>>>>>>> TargetIRAnalysis: Has no dependencies.
>>>>>>>>>>>
>>>>>>>>>>> Function alias analyses: 3/5 keep pointers to other analyses
>>>>>>>>>>> BasicAA: Keeps pointers to TargetLibraryInfo, AssumptionCache,
>>>>&g...
2016 Jul 25
3
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...ree, PostDomTree, DomFrontier
>>>>>>>>>> ScalarEvolutionAnalysis: Stores pointers to TargetLibraryInfo, AssumptionCache, DominatorTree, LoopInfo
>>>>>>>>>> TargetLibraryAnalysis: Has no dependencies
>>>>>>>>>> TargetIRAnalysis: Has no dependencies.
>>>>>>>>>>
>>>>>>>>>> Function alias analyses: 3/5 keep pointers to other analyses
>>>>>>>>>> BasicAA: Keeps pointers to TargetLibraryInfo, AssumptionCache, DominatorTree, LoopInfo
>&g...