15 #ifndef LLVM_CLANG_BASIC_TARGETOPTIONS_H 16 #define LLVM_CLANG_BASIC_TARGETOPTIONS_H 21 #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.
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.
std::string Triple
The name of the target triple to compile for.