llvm-project/polly/lib/Transform
Singapuram Sanjay Srivallabh 02ca346e48 Introduce a hybrid target to generate code for either the GPU or CPU
Summary:
Introduce a "hybrid" `-polly-target` option to optimise code for either the GPU or CPU.

When this target is selected, PPCGCodeGeneration will attempt first to optimise a Scop. If the Scop isn't modified, it is then sent to the passes that form the CPU pipeline, i.e. IslScheduleOptimizerPass, IslAstInfoWrapperPass and CodeGeneration.

In case the Scop is modified, it is marked to be skipped by the subsequent CPU optimisation passes.

Reviewers: grosser, Meinersbur, bollu

Reviewed By: grosser

Subscribers: kbarton, nemanjai, pollydev

Tags: #polly

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

llvm-svn: 306863
2017-06-30 19:42:21 +00:00
..
Canonicalization.cpp Rerun mem2reg after the inliner 2016-12-02 17:43:57 +00:00
CodePreparation.cpp Add opt-bisect support to polly. 2017-06-01 21:29:05 +00:00
DeLICM.cpp [DeLICM] Partial writes for PHIs. 2017-05-24 15:23:06 +00:00
DeadCodeElimination.cpp [DeadCodeElimination] Translate to C++ bindings 2017-03-10 15:05:38 +00:00
FlattenAlgo.cpp [isl++] Rebase isl C++ bindings on top of 29aee98ce 2017-05-21 15:59:15 +00:00
FlattenSchedule.cpp [isl++] Move isl raw_ostream printers into separate header 2017-05-21 13:16:05 +00:00
ScheduleOptimizer.cpp Introduce a hybrid target to generate code for either the GPU or CPU 2017-06-30 19:42:21 +00:00
Simplify.cpp [Simplify] Use execution order of memory accesses. 2017-06-06 17:46:42 +00:00