diff options
author | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2018-06-19 19:08:17 +0000 |
---|---|---|
committer | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2018-06-19 19:08:17 +0000 |
commit | d03cbf2cfe227605cacd52d4f69c7b0182ec2b66 (patch) | |
tree | 35e7efcb8cccb428468f5774569c92a17c383225 /openmp/offload/src/compiler_if_target.cpp | |
parent | 858afbd16521ded4f4b4d149b26e8a96c7957a75 (diff) | |
download | bcm5719-llvm-d03cbf2cfe227605cacd52d4f69c7b0182ec2b66.tar.gz bcm5719-llvm-d03cbf2cfe227605cacd52d4f69c7b0182ec2b66.zip |
Remove liboffload from repository
See the mailing list for the proposal and discussion:
http://lists.llvm.org/pipermail/openmp-dev/2018-June/002041.html
llvm-svn: 335069
Diffstat (limited to 'openmp/offload/src/compiler_if_target.cpp')
-rw-r--r-- | openmp/offload/src/compiler_if_target.cpp | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/openmp/offload/src/compiler_if_target.cpp b/openmp/offload/src/compiler_if_target.cpp deleted file mode 100644 index 1af82b80a30..00000000000 --- a/openmp/offload/src/compiler_if_target.cpp +++ /dev/null @@ -1,44 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is dual licensed under the MIT and the University of Illinois Open -// Source Licenses. See LICENSE.txt for details. -// -//===----------------------------------------------------------------------===// - - -#include "compiler_if_target.h" - -extern "C" void OFFLOAD_TARGET_ENTER( - OFFLOAD ofld, - int vars_total, - VarDesc *vars, - VarDesc2 *vars2 -) -{ - OFFLOAD_DEBUG_TRACE(3, "%s(%p, %d, %p, %p)\n", __func__, ofld, - vars_total, vars, vars2); - ofld->merge_var_descs(vars, vars2, vars_total); - ofld->scatter_copyin_data(); -} - -extern "C" void OFFLOAD_TARGET_LEAVE( - OFFLOAD ofld -) -{ - OFFLOAD_DEBUG_TRACE(3, "%s(%p)\n", __func__, ofld); - ofld->gather_copyout_data(); -} - -extern "C" void OFFLOAD_TARGET_MAIN(void) -{ - // initialize target part - __offload_target_init(); - - // pass control to COI - PipelineStartExecutingRunFunctions(); - ProcessWaitForShutdown(); - - OFFLOAD_DEBUG_TRACE(2, "Exiting main...\n"); -} |