Lines Matching full:offloading
9 #include "llvm/Frontend/Offloading/OffloadWrapper.h"
12 #include "llvm/Frontend/Offloading/Utility.h"
24 using namespace llvm::offloading;
77 /// is an object that is passed to the offloading runtime at program startup
127 // We embed the full offloading entry so the binary utilities can parse it. in createBinDesc()
133 Image->setSection(Relocatable ? ".llvm.offloading.relocatable" in createBinDesc()
134 : ".llvm.offloading"); in createBinDesc()
305 /// Create the register globals function. We will iterate all of the offloading
398 Builder.CreateInBoundsGEP(offloading::getEntryTy(M), Entry, in createRegisterGlobalsFunction()
403 Builder.CreateInBoundsGEP(offloading::getEntryTy(M), Entry, in createRegisterGlobalsFunction()
408 Builder.CreateInBoundsGEP(offloading::getEntryTy(M), Entry, in createRegisterGlobalsFunction()
413 Builder.CreateInBoundsGEP(offloading::getEntryTy(M), Entry, in createRegisterGlobalsFunction()
418 Builder.CreateInBoundsGEP(offloading::getEntryTy(M), Entry, in createRegisterGlobalsFunction()
428 llvm::offloading::OffloadGlobalExtern)); in createRegisterGlobalsFunction()
433 llvm::offloading::OffloadGlobalConstant)); in createRegisterGlobalsFunction()
438 llvm::offloading::OffloadGlobalNormalized)); in createRegisterGlobalsFunction()
464 Switch->addCase(Builder.getInt32(llvm::offloading::OffloadGlobalEntry), in createRegisterGlobalsFunction()
470 Switch->addCase(Builder.getInt32(llvm::offloading::OffloadGlobalManagedEntry), in createRegisterGlobalsFunction()
478 Switch->addCase(Builder.getInt32(llvm::offloading::OffloadGlobalSurfaceEntry), in createRegisterGlobalsFunction()
487 Switch->addCase(Builder.getInt32(llvm::offloading::OffloadGlobalTextureEntry), in createRegisterGlobalsFunction()
492 offloading::getEntryTy(M), Entry, ConstantInt::get(getSizeTTy(M), 1)); in createRegisterGlobalsFunction()
496 ArrayType::get(offloading::getEntryTy(M), 0), EntriesE, in createRegisterGlobalsFunction()
501 ArrayType::get(offloading::getEntryTy(M), 0), EntriesB, in createRegisterGlobalsFunction()
591 Error offloading::wrapOpenMPBinaries(Module &M, ArrayRef<ArrayRef<char>> Images, in wrapOpenMPBinaries()
603 Error offloading::wrapCudaBinary(Module &M, ArrayRef<char> Image, in wrapCudaBinary()
617 Error offloading::wrapHIPBinary(Module &M, ArrayRef<char> Image, in wrapHIPBinary()