clang 24.0.0git
OffloadArch.h File Reference
#include "llvm/ADT/StringRef.h"
#include <cstdint>
#include <tuple>

Go to the source code of this file.

Classes

class  clang::OffloadArch
 A processor an offloading action can target. More...
struct  clang::BoundArch
 Represents a bound architecture for offload / multiple architecture compilation. More...

Namespaces

namespace  llvm
 Diagnostic wrappers for TextAPI types for error reporting.
namespace  llvm::NVPTX
namespace  llvm::AMDGPU
namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.

Functions

const char * clang::OffloadArchToString (OffloadArch A)
const char * clang::OffloadArchToVirtualArchString (OffloadArch A)
OffloadArch clang::StringToOffloadArch (llvm::StringRef S)
void clang::fillValidOffloadArchList (llvm::SmallVectorImpl< llvm::StringRef > &Values)
 Append the canonical names of all NVIDIA and AMDGPU GPUs.
llvm::Triple clang::OffloadArchToTriple (const llvm::Triple &DefaultToolchainTriple, OffloadArch ID)