llvm-project/openmp/libomptarget/deviceRTLs
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
..
amdgcn [openmp][devicertl] Handle missing clang_tool 2022-01-13 22:43:26 +00:00
common [Libomptarget] Add `cold` to KeepAlive attributes 2022-01-17 17:29:26 -05:00
nvptx [OpenMP] Lower printf to __llvm_omp_vprintf 2021-11-10 15:30:56 +00:00
CMakeLists.txt [libomptarget] Enable AMDGPU devicertl 2021-04-24 02:24:44 +01:00
interface.h [OpenMP][FIX] Pass the num_threads value directly to parallel_51 2021-12-09 16:30:29 -05:00
target_interface.h [Libomptarget] Remove undefined symbol in old runtime 2021-11-20 08:26:57 -05:00