llvm-project/clang/lib/Driver
Justin Lebar 629076178a [CUDA] Add utility functions for dealing with CUDA versions / architectures.
Summary:
Currently our handling of CUDA architectures is scattered all around
clang.  This patch centralizes it.

A key advantage of this centralization is that you can now write a C++
switch on e.g. CudaArch and get a compile error if you don't handle one
of the enum values.

Reviewers: tra

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D21867

llvm-svn: 274681
2016-07-06 21:21:39 +00:00
..
Action.cpp [CUDA] Add utility functions for dealing with CUDA versions / architectures. 2016-07-06 21:21:39 +00:00
CMakeLists.txt MSVCToolChain.cpp: Make version.dll generic for win32. 2016-05-14 08:12:37 +00:00
Compilation.cpp [Driver] Add method to redirect output of Compilation. 2016-06-28 08:00:42 +00:00
CrossWindowsToolChain.cpp Driver: introduce and use `-isystem-after` for cross-windows 2016-06-17 17:23:16 +00:00
Driver.cpp [CUDA] Add utility functions for dealing with CUDA versions / architectures. 2016-07-06 21:21:39 +00:00
DriverOptions.cpp
InputInfo.h
Job.cpp [CrashReproducer] Pass -I, -F and -resource-dir to the reproducer script when using modules/vfs 2016-04-04 20:26:57 +00:00
MSVCToolChain.cpp Fixing a FIXME related to Unicode support on Windows. Converted the Win32 APIs to explicitly use the W version when it involves strings that can hold non-ASCII characters (like file paths). Now explicitly using the A version for strings that will always be ASCII (like registry key paths). 2016-06-23 14:33:53 +00:00
MinGWToolChain.cpp
Multilib.cpp
Phases.cpp
SanitizerArgs.cpp Fix linking of DFSan + coverage. 2016-06-15 23:05:21 +00:00
Tool.cpp
ToolChain.cpp Compilation for Intel MCU (Part 2/3) 2016-06-16 10:36:09 +00:00
ToolChains.cpp [CUDA] Add support for CUDA 8 and sm_60-62. 2016-07-06 21:21:14 +00:00
ToolChains.h Compilation for Intel MCU (Part 2/3) 2016-06-16 10:36:09 +00:00
Tools.cpp [CUDA] Add utility functions for dealing with CUDA versions / architectures. 2016-07-06 21:21:39 +00:00
Tools.h [mips] Compact branch policy setting. 2016-05-27 15:13:31 +00:00
Types.cpp Add a RenderScript language type 2016-06-09 21:57:40 +00:00