[OpenACC] Refactor 'present_create_copy' into 'goacc_enter_data'
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 18 Dec 2019 17:01:51 +0000 (18:01 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Wed, 18 Dec 2019 17:01:51 +0000 (18:01 +0100)
commitaaf0e9d7081755e4a95c236cfe623923a0fe6f32
treeac2839a571c66079ec04bdf449848047c98da185
parent83d1d065df01e4f21afd763c17f1d48e0a1161aa
[OpenACC] Refactor 'present_create_copy' into 'goacc_enter_data'

Every caller passes in 'FLAG_PRESENT', 'FLAG_CREATE'.  Change the remaining
'FLAG_COPY' into the usual map kind.

No functional changes.

libgomp/
* oacc-mem.c (present_create_copy): Refactor into...
(goacc_enter_data): ... this.  Adjust all users.

From-SVN: r279535
libgomp/ChangeLog
libgomp/oacc-mem.c