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" OpenCL supported extensions and optional core features.
Options for controlling the target.
std::string HostTriple
When compiling for the device side, contains the triple used to compile for the host.
std::string FPMath
If given, the unit to use for floating point math.
OpenCLOptions SupportedOpenCLOptions
Supported OpenCL extensions and optional core features.
std::string LinkerVersion
If given, the version string of the linker in use.
bool ForceEnableInt128
If given, enables support for __int128_t and __uint128_t types.
std::string CPU
If given, the name of the target CPU to generate code for.
Defines the clang::OpenCLOptions class.
std::string ABI
If given, the name of the target ABI to use.
std::vector< std::string > OpenCLExtensionsAsWritten
The list of OpenCL extensions to enable or disable, as written on the command line.
std::vector< std::string > Features
The list of target specific features to enable or disable – this should be a list of strings startin...
std::vector< std::string > FeaturesAsWritten
The list of target specific features to enable or disable, as written on the command line...
llvm::EABI EABIVersion
The EABI version to use.
Dataflow Directional Tag Classes.
bool NVPTXUseShortPointers
If enabled, use 32-bit pointers for accessing const/local/shared address space.
llvm::VersionTuple SDKVersion
The version of the SDK which was used during the compilation.
std::string Triple
The name of the target triple to compile for.