[Polly][NewPM] Port CodeGen to the new PM
commitd5697ad75610123080f86cf2ecb85107bb9bea45
authorPhilip Pfaffe <philip.pfaffe@gmail.com>
Tue, 23 May 2017 10:18:12 +0000 (23 10:18 +0000)
committerPhilip Pfaffe <philip.pfaffe@gmail.com>
Tue, 23 May 2017 10:18:12 +0000 (23 10:18 +0000)
tree9775cb702df9ea0e9b93f9473db289471c3d6e82
parent8283a12c3d602949386e203d1389de5aad8f0f1e
[Polly][NewPM] Port CodeGen to the new PM

Summary: To move CG to the new PM I outlined the various helper that were previously members of the CG class into free static functions. The CG class itself I moved into a header, which is required because we need to include it in `RegisterPasses` eventually.

Reviewers: grosser, Meinersbur

Reviewed By: grosser

Subscribers: pollydev, llvm-commits, sanjoy

Tags: #polly

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

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@303624 91177308-0d34-0410-b5e6-96231b3b80d8
include/polly/CodeGen/CodeGeneration.h
lib/CodeGen/CodeGeneration.cpp