[OpenMP] Refactored the function `targetDataEnd`
authorShilei Tian <tianshilei1992@gmail.com>
Fri, 31 Jul 2020 01:37:01 +0000 (21:37 -0400)
committerShilei Tian <tianshilei1992@gmail.com>
Fri, 31 Jul 2020 01:39:26 +0000 (21:39 -0400)
commit0f1016562648e0c5ab0618823d5d6b7280ca86ba
treeb6233a0f5320cae973cda4e23794417abae2e7af
parent61cab352e377d5a37d47555bc56e11f052d7eb8b
[OpenMP] Refactored the function `targetDataEnd`

Refactored the function `targetDataEnd` to make preparation of fixing
the issue of ahead-of-time target memory deallocation. This patch only
renamed `targetDataEnd` related variables and functions to conform
with LLVM code standard.

Reviewed By: ye-luo

Differential Revision: https://reviews.llvm.org/D84991
openmp/libomptarget/src/api.cpp
openmp/libomptarget/src/device.cpp
openmp/libomptarget/src/device.h
openmp/libomptarget/src/omptarget.cpp
openmp/libomptarget/src/private.h