[Polly][NewPM] Pull references to the legacy PM interface from utilities and helpers
authorPhilip Pfaffe <philip.pfaffe@gmail.com>
Tue, 4 Apr 2017 10:01:53 +0000 (10:01 +0000)
committerPhilip Pfaffe <philip.pfaffe@gmail.com>
Tue, 4 Apr 2017 10:01:53 +0000 (10:01 +0000)
commit2d950f36ee1611e57134992f2b9d1f8525c70b44
tree72f92f7f43418eef6c1c1f5545bfb11eb17f47d0
parent43ba52535792a35d6b70a72695c8760dac326330
[Polly][NewPM] Pull references to the legacy PM interface from utilities and helpers

Summary:
A couple of the utilities used to analyze or build IR make explicit use of the legacy PM on their interface, to access analysis results. This patch removes the legacy PM from the interface, and just passes the required results directly.

This shouldn't introduce any function changes, although the API technically allowed to obtain two different analysis results before, one passed by reference and one through the PM. I don't believe that was ever intended, however.

Reviewers: grosser, Meinersbur

Reviewed By: grosser

Subscribers: nemanjai, pollydev, llvm-commits

Tags: #polly

Differential Revision: https://reviews.llvm.org/D31653

llvm-svn: 299423
polly/include/polly/CodeGen/IslNodeBuilder.h
polly/include/polly/CodeGen/LoopGenerators.h
polly/include/polly/CodeGen/Utils.h
polly/lib/CodeGen/CodeGeneration.cpp
polly/lib/CodeGen/IslNodeBuilder.cpp
polly/lib/CodeGen/LoopGenerators.cpp
polly/lib/CodeGen/PPCGCodeGeneration.cpp
polly/lib/CodeGen/Utils.cpp