clang 24.0.0git
OffloadBundler.h File Reference

This file defines an offload bundling API that bundles different files that relate with the same source code but different targets into a single one. More...

#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Compression.h"
#include "llvm/Support/Error.h"
#include "llvm/TargetParser/Triple.h"
#include <llvm/Support/MemoryBuffer.h>
#include <string>

Go to the source code of this file.

Classes

class  clang::OffloadBundlerConfig
class  clang::OffloadBundler
struct  clang::OffloadTargetInfo
 Obtain the offload kind, real machine triple, and an optional TargetID out of the target information specified by the user. More...

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.

Functions

bool clang::checkOffloadBundleID (const llvm::StringRef Str)
 Check whether the bundle id is in the following format: <kind>-<triple>[-<target id>[:target features]] <triple> := <arch>-<vendor>-<os>-<env>

Detailed Description

This file defines an offload bundling API that bundles different files that relate with the same source code but different targets into a single one.

Also the implements the opposite functionality, i.e. unbundle files previous created by this API.

Definition in file OffloadBundler.h.