llvm-project/clang/lib/Driver
Gheorghe-Teodor Bercea f0f29608d0 [OpenMP] Extend CLANG target options with device offloading kind.
Summary: Pass the type of the device offloading when building the tool chain for a particular target architecture. This is required when supporting multiple tool chains that target a single device type. In our particular use case, the OpenMP and CUDA tool chains will use the same ```addClangTargetOptions ``` method. This enables the reuse of common options and ensures control over options only supported by a particular tool chain.

Reviewers: arpith-jacob, caomhin, carlo.bertolli, ABataev, jlebar, hfinkel, tstellar, Hahnfeld

Reviewed By: hfinkel

Subscribers: jgravelle-google, aheejin, rengolin, jfb, dschuff, sbc100, cfe-commits

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

llvm-svn: 307272
2017-07-06 16:22:21 +00:00
..
ToolChains [OpenMP] Extend CLANG target options with device offloading kind. 2017-07-06 16:22:21 +00:00
Action.cpp Fix MSVC "not all control paths return a value" warning 2016-10-28 10:09:35 +00:00
CMakeLists.txt Add support for Ananas platform 2017-06-25 08:29:09 +00:00
Compilation.cpp [Driver] Actually report errors during parsing instead of stopping when there's an error somewhere. 2017-06-30 13:21:27 +00:00
Distro.cpp Add support of the next Ubuntu (Ubuntu 17.10 - Artful Aardvark) 2017-05-04 12:46:38 +00:00
Driver.cpp [OpenMP] Customize CUDA-based tool chain selection 2017-07-06 16:08:15 +00:00
DriverOptions.cpp [GSoC] Flag value completion for clang 2017-06-20 16:31:31 +00:00
InputInfo.h Add an Action* member to InputInfo. 2016-01-11 23:15:21 +00:00
Job.cpp The -coverage-file flag was removed in r280306, and this piece was missed; NFC. 2017-05-01 13:05:04 +00:00
Multilib.cpp Multilib: add dump methods 2017-05-05 21:30:13 +00:00
Phases.cpp Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
SanitizerArgs.cpp [libFuzzer] Add Fuzzer to the list of sanitizers which support coverage. 2017-06-29 19:58:20 +00:00
Tool.cpp Rename the version of ConstructJob for multiple outputs to ConstructJobMultipleOutputs. 2016-11-03 15:41:50 +00:00
ToolChain.cpp [OpenMP] Extend CLANG target options with device offloading kind. 2017-07-06 16:22:21 +00:00
Types.cpp [Driver][OpenMP] Update actions builder to create unbundling action when necessary. 2016-10-27 18:00:51 +00:00
XRayArgs.cpp [XRay][clang] Fix the -fxray-instruction-threshold flag processing 2017-03-30 22:46:45 +00:00