LLVM 22.0.0git
Classes | Namespaces | Enumerations | Functions
OffloadBundle.h File Reference
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Object/Binary.h"
#include "llvm/Object/ObjectFile.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Compression.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::CompressedOffloadBundle
 
struct  llvm::object::OffloadBundleEntry
 Bundle entry in binary clang-offload-bundler format. More...
 
class  llvm::object::OffloadBundleFatBin
 Fat binary embedded in object files in clang-offload-bundler format. More...
 
struct  llvm::object::OffloadBundleURI
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::object
 

Enumerations

enum  llvm::object::UriTypeT { llvm::object::FILE_URI , llvm::object::MEMORY_URI }
 

Functions

LLVM_ABI Error llvm::object::extractOffloadBundleFatBinary (const ObjectFile &Obj, SmallVectorImpl< OffloadBundleFatBin > &Bundles)
 Extracts fat binary in binary clang-offload-bundler format from object Obj and return it in Bundles.
 
LLVM_ABI Error llvm::object::extractCodeObject (const ObjectFile &Source, int64_t Offset, int64_t Size, StringRef OutputFileName)
 Extract code object memory from the given Source object file at Offset and of Size, and copy into OutputFileName.
 
LLVM_ABI Error llvm::object::extractOffloadBundleByURI (StringRef URIstr)
 Extracts an Offload Bundle Entry given by URI.