[OpenMP][OMPIRBuilder] Migrate target outlined function registration to OMPIRBuilder...
authorJan Sjodin <jan_sjodin@yahoo.com>
Mon, 7 Nov 2022 20:27:50 +0000 (15:27 -0500)
committerJan Sjodin <jan_sjodin@yahoo.com>
Tue, 29 Nov 2022 19:20:34 +0000 (14:20 -0500)
commit2166d9529a60d1cdedb733d2e4134c971f0969ec
treeae6907034a2bba8cc279e515e69622e3a18f47f8
parentc702bf1400fbc7fc1e54b0efc8cd934291fd81a2
[OpenMP][OMPIRBuilder] Migrate target outlined function registration to OMPIRBuilder from clang

This patch moves the outlined function registration, function attribute
configuration and function ID creation to the OpenMPIRBuilder. This will later
be used by flag as well.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D137587
clang/lib/CodeGen/CGOpenMPRuntime.cpp
llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp