14#ifndef LLVM_CLANG_BASIC_TARGETOPTIONS_H
15#define LLVM_CLANG_BASIC_TARGETOPTIONS_H
18#include "llvm/Support/VersionTuple.h"
19#include "llvm/Target/TargetOptions.h"
83 llvm::CodeObjectVersionKind::COV_None;
Defines the clang::OpenCLOptions class.
Options for controlling the target.
std::string Triple
The name of the target triple to compile for.
std::string DxilValidatorVersion
The validator version for dxil.
bool AllowAMDGPUUnsafeFPAtomics
If enabled, allow AMDGPU unsafe floating point atomics.
llvm::VersionTuple SDKVersion
The version of the SDK which was used during the compilation.
uint64_t LargeDataThreshold
std::string LinkerVersion
If given, the version string of the linker in use.
std::vector< std::string > Features
The list of target specific features to enable or disable – this should be a list of strings starting...
std::string DarwinTargetVariantTriple
The name of the darwin target- ariant triple to compile for.
std::string ABI
If given, the name of the target ABI to use.
std::string TuneCPU
If given, the name of the target CPU to tune code for.
std::string CPU
If given, the name of the target CPU to generate code for.
llvm::VersionTuple DarwinTargetVariantSDKVersion
The version of the darwin target variant SDK which was used during the compilation.
std::string FPMath
If given, the unit to use for floating point math.
llvm::EABI EABIVersion
The EABI version to use.
bool ForceEnableInt128
If given, enables support for __int128_t and __uint128_t types.
llvm::CodeObjectVersionKind CodeObjectVersion
Code object version for AMDGPU.
std::string HostTriple
When compiling for the device side, contains the triple used to compile for the host.
std::vector< std::string > FeaturesAsWritten
The list of target specific features to enable or disable, as written on the command line.
bool NVPTXUseShortPointers
If enabled, use 32-bit pointers for accessing const/local/shared address space.
std::vector< std::string > OpenCLExtensionsAsWritten
The list of OpenCL extensions to enable or disable, as written on the command line.
AMDGPUPrintfKind
Enumeration values for AMDGPU printf lowering scheme.
@ Hostcall
printf lowering scheme involving hostcalls, currently used by HIP programs by default
@ Buffered
printf lowering scheme involving implicit printf buffers,
llvm::StringMap< bool > OpenCLFeaturesMap
Supported OpenCL extensions and optional core features.
llvm::StringMap< bool > FeatureMap
The map of which features have been enabled disabled based on the command line.
std::string HLSLEntry
The entry point name for HLSL shader being compiled as specified by -E.
AMDGPUPrintfKind AMDGPUPrintfKindVal
AMDGPU Printf lowering scheme.
The JSON file list parser is used to communicate input to InstallAPI.