llvm-project/clang/test/SemaSYCL
Aaron Ballman c165a99a1b [SYCL] Rework the SYCL driver options
SYCL compilations initiated by the driver will spawn off one or more
frontend compilation jobs (one for device and one for host). This patch
reworks the driver options to make upstreaming this from the downstream
SYCL fork easier.

This patch introduces a language option to identify host executions
(SYCLIsHost) and a -cc1 frontend option to enable this mode. -fsycl and
-fno-sycl become driver-only options that are rejected when passed to
-cc1. This is because the frontend and beyond should be looking at
whether the user is doing a device or host compilation specifically.
Because the frontend should only ever be in one mode or the other,
-fsycl-is-device and -fsycl-is-host are mutually exclusive options.
2021-03-17 08:27:19 -04:00
..
float128.cpp [SYCL] Rework the SYCL driver options 2021-03-17 08:27:19 -04:00
int128.cpp [SYCL] Rework the SYCL driver options 2021-03-17 08:27:19 -04:00
kernel-attribute-on-non-sycl.cpp
kernel-attribute.cpp [SYCL] Rework the SYCL driver options 2021-03-17 08:27:19 -04:00
prohibit-thread-local.cpp [SYCL] Rework the SYCL driver options 2021-03-17 08:27:19 -04:00