llvm-project/clang/test
Yaxun (Sam) Liu d55f05d9f7 [CUDA][HIP] Add pre-defined macro `__CLANG_RDC__`
nvcc defines __CUDACC_RDC__ for both host and
device compilation when -rdc=true is specified
(https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html#nvcc-identification-macro)

This patch defines __CLANG_RDC__ when -fgpu-rdc
is specified for CUDA/HIP.

Reviewed by: Artem Belevich

Differential Revision: https://reviews.llvm.org/D114812
2021-12-07 18:08:16 -05:00
..
APINotes
ARCMT [NFC][clang] Inclusive language: replace masterPort with mainPort 2021-11-18 11:51:06 -06:00
AST Allow __attribute__((swift_attr)) in attribute push pragmas 2021-11-19 13:00:26 -08:00
ASTMerge Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
Analysis [Analysis] Ignore casts and unary ops for uninitialized values 2021-12-07 11:49:18 -08:00
CXX Do not check if we are in a discared context in non-immediate contexts 2021-12-07 12:13:35 -05:00
ClangScanDeps [NFC][AIX]Disable precompiled module file tests on AIX 2021-11-24 13:22:09 -05:00
CodeCompletion [clang][clangd] Improve signature help for variadic functions. 2021-11-18 15:50:47 +01:00
CodeGen [IR] Remove unbounded as possible value for vscale_range minimum 2021-12-07 09:52:21 +00:00
CodeGenCUDA [HIP] Fix -fgpu-rdc for Windows 2021-12-06 16:42:23 -05:00
CodeGenCUDASPIRV [CUDA][SPIRV] Use OpenCLKernel CC for CUDA -> SPIRV 2021-12-06 15:06:57 -08:00
CodeGenCXX Introduce _BitInt, deprecate _ExtInt 2021-12-06 12:52:01 -05:00
CodeGenCoroutines [Coroutines] Make suspend_always in test noexcept (NFC) 2021-12-01 16:16:36 +08:00
CodeGenHIP [HIPSPV] Add CUDA->SPIR-V address space mapping 2021-12-02 13:34:27 +00:00
CodeGenObjC [NFC][clang] Inclusive language: rename master variable to controller in debug-info tests 2021-11-22 14:02:54 -06:00
CodeGenObjCXX [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
CodeGenOpenCL Introduce _BitInt, deprecate _ExtInt 2021-12-06 12:52:01 -05:00
CodeGenOpenCLCXX [OpenCL] Constructor address space test adjusted for C++ for OpenCL 2021 2021-11-12 14:31:50 +00:00
CodeGenSYCL [CFE][Codegen] Make sure to maintain the contiguity of all the static allocas 2021-11-10 08:45:21 +05:30
Coverage
CoverageMapping [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
Driver [HIP] Fix -fgpu-rdc for Windows 2021-12-06 16:42:23 -05:00
FixIt
Format
Frontend [IR] Remove unbounded as possible value for vscale_range minimum 2021-12-07 09:52:21 +00:00
Headers [ARM/AArch64] Move REQUIRES after update_cc_test_checks line. NFC 2021-11-13 19:09:01 +00:00
Import Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
Index [clang] retain type sugar in auto / template argument deduction 2021-11-15 23:07:45 +01:00
Integration
InterfaceStubs
Interpreter Reland "[clang-repl] Allow loading of plugins in clang-repl." 2021-10-05 13:04:01 +00:00
Layout Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
Lexer Emit final macro diagnostics in system headers 2021-11-11 13:51:26 -06:00
LibClang
Misc Reapply 'Implement target_clones multiversioning' 2021-11-29 06:30:01 -08:00
Modules [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
OpenMP Introduce _BitInt, deprecate _ExtInt 2021-12-06 12:52:01 -05:00
PCH [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
Parser Introduce _BitInt, deprecate _ExtInt 2021-12-06 12:52:01 -05:00
ParserSYCL
Preprocessor [CUDA][HIP] Add pre-defined macro `__CLANG_RDC__` 2021-12-07 18:08:16 -05:00
Profile [InstrProf] Use i32 for GEP index from lowering llvm.instrprof.increment 2021-11-19 15:45:14 -08:00
Refactor
Rewriter [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
Sema Fixing this test which failed due to different warnings 2021-12-06 14:13:29 -05:00
SemaCUDA [HIP] Add atomic load, atomic store and atomic cmpxchng_weak builtin support in HIP-clang 2021-11-29 12:07:13 -07:00
SemaCXX Add diagnostic groups for attribute extensions 2021-12-07 11:49:53 -05:00
SemaObjC Revert "Use VersionTuple for parsing versions in Triple, fixing issues that caused the original change to be reverted. This makes it possible to distinguish between "16" and "16.0" after parsing, which previously was not possible." 2021-12-06 17:35:26 +00:00
SemaObjCXX Revert "[Sema] check PseudoObject when rebuilding CXXOperatorCallExpr in template instantiation" 2021-12-01 11:18:30 +01:00
SemaOpenCL Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
SemaOpenCLCXX Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
SemaSYCL [X86][clang] Disable long double type for -mno-x87 option 2021-11-03 12:08:39 +03:00
SemaTemplate [clang] retain type sugar in auto / template argument deduction 2021-11-15 23:07:45 +01:00
TableGen
Templight
Tooling [clang] Allow clang-check to customize analyzer output file or dir name 2021-11-15 16:49:41 +01:00
Unit
VFS reland: [VFS] Use original path when falling back to external FS 2021-11-13 12:14:34 -08:00
clang-rename
utils/update_cc_test_checks Revert "[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default" 2021-11-09 02:15:55 +09:00
.clang-format
CMakeLists.txt Reinstate "[clang-repl] Re-implement clang-interpreter as a test case." 2021-10-26 19:29:56 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py Reinstate "[clang-repl] Re-implement clang-interpreter as a test case." 2021-10-26 19:29:56 +00:00
lit.site.cfg.py.in
make_test_dirs.pl