13#ifndef LLVM_CLANG_LIB_BASIC_TARGETS_LANAI_H
14#define LLVM_CLANG_LIB_BASIC_TARGETS_LANAI_H
18#include "llvm/Support/Compiler.h"
19#include "llvm/TargetParser/Triple.h"
33 static const char *
const GCCRegNames[];
65 bool isValidCPUName(StringRef Name)
const override;
69 bool setCPU(
const std::string &Name)
override;
71 bool hasFeature(StringRef Feature)
const override;
78 return TargetInfo::VoidPtrBuiltinVaList;
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.
Defines the clang::TargetOptions class.
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
Exposes information about the current target.
BuiltinVaListKind
The different kinds of __builtin_va_list types defined by the target implementation.
Options for controlling the target.
bool validateAsmConstraint(const char *&Name, TargetInfo::ConstraintInfo &info) const override
bool hasBitIntType() const override
Determine whether the _BitInt type is supported on this target.
ArrayRef< Builtin::Info > getTargetBuiltins() const override
Return information about target-specific builtins for the current primary target, and info about whic...
LanaiTargetInfo(const llvm::Triple &Triple, const TargetOptions &)
BuiltinVaListKind getBuiltinVaListKind() const override
Returns the kind of __builtin_va_list type that should be used with this target.
std::string_view getClobbers() const override
Returns a string of target-specific clobbers, in LLVM format.
Defines the clang::TargetInfo interface.
The JSON file list parser is used to communicate input to InstallAPI.