|
LLVM 23.0.0git
|
Functions | |
| LLVM_ABI Error | containerizeOpenMPSPIRVImage (std::unique_ptr< MemoryBuffer > &Binary, llvm::Triple Triple, StringRef CompileOpts="", StringRef LinkOpts="") |
| Containerizes an OpenMP SPIR-V image into an OffloadBinary image. | |
| Error llvm::offloading::intel::containerizeOpenMPSPIRVImage | ( | std::unique_ptr< MemoryBuffer > & | Binary, |
| llvm::Triple | Triple, | ||
| StringRef | CompileOpts = "", | ||
| StringRef | LinkOpts = "" ) |
Containerizes an OpenMP SPIR-V image into an OffloadBinary image.
| Binary | The SPIR-V binary to containerize. |
| Triple | The target triple to be associated with the image. |
| CompileOpts | Optional compilation options. |
| LinkOpts | Optional linking options. |
Definition at line 408 of file Utility.cpp.
References assert(), llvm::offloading::containerizeImage(), llvm::StringRef::empty(), llvm::Triple::getVendor(), llvm::object::IMG_SPIRV, llvm::Triple::Intel, llvm::Triple::isSPIRV(), and llvm::object::OFK_OpenMP.