llvm/clang/test/CodeGenCUDA
Nikita Popov 41d5033eb1 [IR] Enable opaque pointers by default
This enabled opaque pointers by default in LLVM. The effect of this
is twofold:

* If IR that contains *neither* explicit ptr nor %T* types is passed
  to tools, we will now use opaque pointer mode, unless
  -opaque-pointers=0 has been explicitly passed.
* Users of LLVM as a library will now default to opaque pointers.
  It is possible to opt-out by calling setOpaquePointers(false) on
  LLVMContext.

A cmake option to toggle this default will not be provided. Frontends
or other tools that want to (temporarily) keep using typed pointers
should disable opaque pointers via LLVMContext.

Differential Revision: https://reviews.llvm.org/D126689
2022-06-02 09:40:56 +02:00
..
Inputs
address-spaces.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
alias.cu
amdgpu-alias-undef-symbols.cu [Driver][test] Remove unused/obsoleted REQUIRES: clang-driver 2022-04-12 13:29:46 -07:00
amdgpu-asan.cu [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
amdgpu-atomic-ops.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
amdgpu-code-object-version.cu
amdgpu-func-attrs.cu
amdgpu-kernel-arg-pointer-type.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
amdgpu-kernel-attrs.cu
amdgpu-visibility.cu
amdgpu-workgroup-size.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
atomic-ops.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
atomics-remarks-gfx90a.cu
builtin-mangled-name.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
builtins-amdgcn.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
builtins-unsafe-atomics-gfx90a.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
const-var.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
constexpr-variables.cu
convergent.cu
correctly-rounded-div.cu
cuda-builtin-vars.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
cxx-call-kernel.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
debug-info-address-class.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
debug-info-template.cu
deferred-diag.cu
dependent-libs.cu
device-fun-linkage.cu [Cuda] Use fallback method to mangle externalized decls if no CUID given 2022-05-26 09:18:22 -04:00
device-init-fun.cu
device-stub.cu [CUDA/HIP] Remove argument from module ctor/dtor signatures 2022-04-09 12:34:41 +02:00
device-use-host-var.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
device-var-init.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
device-var-linkage.cu [CUDA][HIP] Externalize kernels with internal linkage 2022-04-22 17:05:36 -04:00
device-vtable.cu
dft-func-attr-skip-intrinsic.hip
filter-decl.cu
flush-denormals.cu
fp-contract.cu [NFC] Rename Instrinsic to Intrinsic 2022-04-25 18:13:23 +01:00
function-overload.cu
host-used-device-var.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
host-used-extern.cu [CUDA][HIP] Fix linkage of __clang_gpu_used_external 2022-04-26 20:43:39 -04:00
kernel-amdgcn.cu
kernel-args-alignment.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
kernel-args.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
kernel-call.cu
kernel-dbg-info.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
kernel-in-anon-ns.cu [CUDA][HIP] Externalize kernels with internal linkage 2022-04-22 17:05:36 -04:00
kernel-stub-name.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
lambda-reference-var.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
lambda.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
launch-bounds.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
library-builtin.cu
link-device-bitcode.cu
llvm-used.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
managed-var.cu [CUDA][HIP] Externalize kernels with internal linkage 2022-04-22 17:05:36 -04:00
ms-linker-options.cu
noinline.cu [CUDA][HIP] support __noinline__ as keyword 2022-05-10 14:32:27 -04:00
norecurse.cu
nothrow.cu
offloading-entries.cu [CUDA] Create offloading entries when using the new driver 2022-05-11 07:30:21 -04:00
openmp-parallel.cu [CUDA][HIP] Fix hostness check with -fopenmp 2022-03-24 15:19:47 -04:00
openmp-target.cu
printf-aggregate.cu
printf.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
profile-coverage-mapping.cu
propagate-metadata.cu
ptx-kernels.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
redux-builtins.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
static-device-var-no-rdc.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
static-device-var-rdc.cu [Cuda] Use fallback method to mangle externalized decls if no CUID given 2022-05-26 09:18:22 -04:00
struct-mangling-number.cu [CUDA][HIP] Fix mangling number for local struct 2022-04-28 19:54:43 -04:00
surface.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
texture.cu [IR] Require intrinsic struct return type to be anonymous 2022-03-30 09:51:24 +02:00
types.cu
unnamed-types.cu
unused-global-var.cu
usual-deallocators.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
vtbl.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00