llvm-project/clang/lib/Driver
Samuel Antao 9c9d9cdcf8 [Driver][CUDA][OpenMP] Reimplement tool selection in the driver.
Summary:
This creates a tool selector in the driver that replaces the existing one. The goal is to better organize the code and make the selector easier to scale, in particular in the presence of offload actions that can be collapsed. 

The current implementation became more confusing when the support for offloading actions was added. This concern was expressed by Eric in http://reviews.llvm.org/D9888.

This patch does not add new testing, it preserves the existing functionality.

Reviewers: echristo, tra, jlebar, rsmith, ABataev, hfinkel

Subscribers: whchung, guansong, mkuron, mehdi_amini, cfe-commits, Hahnfeld, andreybokhanko, caomhin, arpith-jacob, carlo.bertolli

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

llvm-svn: 285307
2016-10-27 16:29:20 +00:00
..
Action.cpp Rename variable to not use C++ reserved name (leading underscore + capital) (NFC) 2016-10-07 22:03:03 +00:00
CMakeLists.txt MSVCToolChain.cpp: Make version.dll generic for win32. 2016-05-14 08:12:37 +00:00
Compilation.cpp Turn ArchName/BoundArch in Driver from raw pointer to StringRef (NFC) 2016-10-07 21:27:26 +00:00
CrossWindowsToolChain.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
Driver.cpp [Driver][CUDA][OpenMP] Reimplement tool selection in the driver. 2016-10-27 16:29:20 +00:00
DriverOptions.cpp Update clang to match llvm r250901. OptTable constructor now takes an ArrayRef. NFC 2015-10-21 16:31:33 +00:00
InputInfo.h Add an Action* member to InputInfo. 2016-01-11 23:15:21 +00:00
Job.cpp Use StringRef in Command::printArg() instead of raw pointer (NFC) 2016-10-08 01:38:43 +00:00
MSVCToolChain.cpp Turn ArchName/BoundArch in Driver from raw pointer to StringRef (NFC) 2016-10-07 21:27:26 +00:00
MinGWToolChain.cpp Revert r253898 and r253899, this breaks mingw compilation on openSUSE. 2016-01-12 10:41:20 +00:00
Multilib.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
Phases.cpp Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
SanitizerArgs.cpp Add -fno-sanitize-address-use-after-scope flag 2016-10-10 21:31:50 +00:00
Tool.cpp Roll-back r250822. 2015-10-20 13:23:58 +00:00
ToolChain.cpp Driver: use StringRef instead of raw pointer in lookupTypeForExtension() (NFC) 2016-10-07 21:41:00 +00:00
ToolChains.cpp [Myriad] Find libc++ adjacent to libstdc++ 2016-10-25 23:02:30 +00:00
ToolChains.h Driver/Darwin: Set the DWARF version based on the deployment target. 2016-10-17 19:36:18 +00:00
Tools.cpp [XRay] Check in Clang whether XRay supports the target when -fxray-instrument is passed 2016-10-27 04:56:14 +00:00
Tools.h [Driver] Add driver support for Fuchsia 2016-10-06 06:08:09 +00:00
Types.cpp Driver: use StringRef instead of raw pointer in lookupTypeForExtension() (NFC) 2016-10-07 21:41:00 +00:00