llvm-project/polly/lib/Support
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
..
DumpModulePass.cpp [Support] Add -polly-dump-module pass. 2017-03-09 22:29:58 +00:00
GICHelper.cpp Fix a lot of typos. NFC. 2017-06-08 12:06:15 +00:00
ISLTools.cpp Use isl C++ foreach implementation 2017-04-14 13:39:40 +00:00
Mainpage.h docs: Add doxygen mainpage 2016-03-07 21:17:48 +00:00
RegisterPasses.cpp Introduce a hybrid target to generate code for either the GPU or CPU 2017-06-30 19:42:21 +00:00
SCEVAffinator.cpp [SCEVAffinator] Do not scan redundantly for parameters 2016-11-13 21:28:07 +00:00
SCEVValidator.cpp Don't check side effects for functions outside of SCoP 2017-06-14 22:43:28 +00:00
ScopHelper.cpp [ScopInfo] Do not use ScopStmt in Domain derivation of ScopInfo. NFC 2017-06-29 12:47:41 +00:00
ScopLocation.cpp clang-tidy: Add llvm namespace comments 2016-06-23 22:17:27 +00:00
VirtualInstruction.cpp [VirtualInstruction] Do a lookup instead of a linear search. NFC. 2017-05-11 22:56:27 +00:00