LLVM  15.0.0git
Classes | Namespaces | Enumerations | Functions
OffloadBinary.h File Reference
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Object/Binary.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/MemoryBuffer.h"
#include <memory>
Include dependency graph for OffloadBinary.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  llvm::object::OffloadBinary
 A simple binary serialization of an offloading file. More...
struct  llvm::object::OffloadBinary::OffloadingImage
 The offloading metadata that will be serialized to a memory buffer. More...


 This is an optimization pass for GlobalISel generic memory operations.


enum  llvm::object::OffloadKind : uint16_t {
  llvm::object::OFK_None = 0, llvm::object::OFK_OpenMP, llvm::object::OFK_Cuda, llvm::object::OFK_HIP,
 The producer of the associated offloading image. More...
enum  llvm::object::ImageKind : uint16_t {
  llvm::object::IMG_None = 0, llvm::object::IMG_Object, llvm::object::IMG_Bitcode, llvm::object::IMG_Cubin,
  llvm::object::IMG_Fatbinary, llvm::object::IMG_PTX, llvm::object::IMG_LAST
 The type of contents the offloading image contains. More...


ImageKind llvm::object::getImageKind (StringRef Name)
 Convert a string Name to an image kind. More...
StringRef llvm::object::getImageKindName (ImageKind Name)
 Convert an image kind to its string representation. More...
OffloadKind llvm::object::getOffloadKind (StringRef Name)
 Convert a string Name to an offload kind. More...
StringRef llvm::object::getOffloadKindName (OffloadKind Name)
 Convert an offload kind to its string representation. More...