This patch changes the emitTargetDataCalls function in clang to make use of the OpenMPIRBuilder::createTargetData function for Target Data directive code gen. Reapplying commit 0d8d718171192301f2beb10bd08ce62e70281a5e after fixing libomptarget test failure related to debug info. Depends on D146557 Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D150860