clang API Documentation
Options for controlling the target. More...
#include <TargetOptions.h>
Public Attributes | |
std::string | Triple |
std::string | CPU |
If given, the name of the target CPU to generate code for. | |
std::string | FPMath |
If given, the unit to use for floating point math. | |
std::string | ABI |
If given, the name of the target ABI to use. | |
std::string | LinkerVersion |
If given, the version string of the linker in use. | |
std::vector< std::string > | FeaturesAsWritten |
The list of target specific features to enable or disable, as written on the command line. | |
std::vector< std::string > | Features |
Options for controlling the target.
Definition at line 24 of file TargetOptions.h.
std::string clang::TargetOptions::ABI |
If given, the name of the target ABI to use.
Definition at line 37 of file TargetOptions.h.
Referenced by ParseTargetArgs().
std::string clang::TargetOptions::CPU |
If given, the name of the target CPU to generate code for.
Definition at line 31 of file TargetOptions.h.
Referenced by ParseTargetArgs().
std::vector<std::string> clang::TargetOptions::Features |
The list of target specific features to enable or disable -- this should be a list of strings starting with by '+' or '-'.
Definition at line 47 of file TargetOptions.h.
std::vector<std::string> clang::TargetOptions::FeaturesAsWritten |
The list of target specific features to enable or disable, as written on the command line.
Definition at line 43 of file TargetOptions.h.
Referenced by checkTargetOptions(), and ParseTargetArgs().
std::string clang::TargetOptions::FPMath |
If given, the unit to use for floating point math.
Definition at line 34 of file TargetOptions.h.
Referenced by ParseTargetArgs().
std::string clang::TargetOptions::LinkerVersion |
If given, the version string of the linker in use.
Definition at line 40 of file TargetOptions.h.
Referenced by ParseTargetArgs().
std::string clang::TargetOptions::Triple |
If given, the name of the target triple to compile for. If not given the target will be selected to match the host.
Definition at line 28 of file TargetOptions.h.
Referenced by clang::CodeGenAction::ExecuteAction(), HasARCRuntime(), ParseCodeGenArgs(), and ParseTargetArgs().