14 #ifndef LLVM_CLANG_LIB_BASIC_TARGETS_LANAI_H 15 #define LLVM_CLANG_LIB_BASIC_TARGETS_LANAI_H 19 #include "llvm/ADT/Triple.h" 20 #include "llvm/Support/Compiler.h" 66 bool isValidCPUName(StringRef Name)
const override;
70 bool setCPU(
const std::string &Name)
override;
72 bool hasFeature(StringRef Feature)
const override;
94 #endif // LLVM_CLANG_LIB_BASIC_TARGETS_LANAI_H
static bool hasFeature(StringRef Feature, const LangOptions &LangOpts, const TargetInfo &Target)
Determine whether a translation unit built using the current language options has the given feature...
const char * getClobbers() const override
Returns a string of target-specific clobbers, in LLVM format.
Options for controlling the target.
ArrayRef< Builtin::Info > getTargetBuiltins() const override
Return information about target-specific builtins for the current primary target, and info about whic...
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
BuiltinVaListKind getBuiltinVaListKind() const override
Returns the kind of __builtin_va_list type that should be used with this target.
LanaiTargetInfo(const llvm::Triple &Triple, const TargetOptions &)
bool validateAsmConstraint(const char *&Name, TargetInfo::ConstraintInfo &info) const override
static const char *const GCCRegNames[]
typedef void* __builtin_va_list;
Exposes information about the current target.
Defines the clang::TargetOptions class.
Dataflow Directional Tag Classes.
BuiltinVaListKind
The different kinds of __builtin_va_list types defined by the target implementation.
Defines the clang::TargetInfo interface.