LLVM
17.0.0git
|
#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>
Go to the source code of this file.
Classes | |
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... | |
struct | llvm::object::OffloadBinary::Header |
struct | llvm::object::OffloadBinary::Entry |
struct | llvm::object::OffloadBinary::StringEntry |
class | llvm::object::OffloadFile |
A class to contain the binary information for a single OffloadBinary that owns its memory. More... | |
Namespaces | |
llvm | |
This is an optimization pass for GlobalISel generic memory operations. | |
llvm::object | |
Enumerations | |
enum | llvm::object::OffloadKind : uint16_t { llvm::object::OFK_None = 0, llvm::object::OFK_OpenMP, llvm::object::OFK_Cuda, llvm::object::OFK_HIP, llvm::object::OFK_LAST } |
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... | |
Functions | |
Error | llvm::object::extractOffloadBinaries (MemoryBufferRef Buffer, SmallVectorImpl< OffloadFile > &Binaries) |
Extracts embedded device offloading code from a memory Buffer to a list of Binaries . 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... | |