LLVM 22.0.0git
OffloadBundle.h File Reference

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.