llvm-project/openmp/libomptarget/deviceRTLs/common
Joseph Huber 4869a22d1d [Libomptarget] Add `cold` to KeepAlive attributes
This patch adds the `cold` attribute to the keepAlive functions in the
RTL. This dummy function exists to keep certain RTL calls alive without
them being optimized out, but it is never called and can be declared
cold. This also helps some erroneous remarks being given on this
function because it has weak linkage and cannot be made internal.

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D117513
2022-01-17 17:29:26 -05:00
..
include [clang][openmp][NFC] Remove arch-specific CGOpenMPRuntimeGPU files 2021-11-09 15:11:05 -05:00
src [Libomptarget] Add `cold` to KeepAlive attributes 2022-01-17 17:29:26 -05:00
allocator.h [OpenMP][deviceRTLs] Build the deviceRTLs with OpenMP instead of target dependent language 2021-01-26 12:28:47 -05:00
debug.h [libomptarget] Move device environment to shared header, remove divergence 2021-10-07 12:03:48 +01:00
generated_microtask_cases.gen Revert "[OpenMP] Codegen aggregate for outlined function captures" 2021-09-21 13:20:39 -07:00
omptarget.h [OpenMP][FIX] Pass the num_threads value directly to parallel_51 2021-12-09 16:30:29 -05:00
omptargeti.h [OpenMP][FIX] Pass the num_threads value directly to parallel_51 2021-12-09 16:30:29 -05:00
state-queue.h
state-queuei.h [OpenMP][NFC] clang-format the whole openmp project 2021-02-20 12:46:32 -05:00
support.h [OpenMP][Offloading] Change `bool IsSPMD` to `int8_t Mode` in `__kmpc_target_init` and `__kmpc_target_deinit` 2021-09-22 17:16:41 -04:00