13 #ifndef LLVM_CLANG_LIB_BASIC_TARGETS_MSP430_H
14 #define LLVM_CLANG_LIB_BASIC_TARGETS_MSP430_H
18 #include "llvm/Support/Compiler.h"
19 #include "llvm/TargetParser/Triple.h"
35 LongAlign = LongLongAlign = 16;
38 DoubleWidth = LongDoubleWidth = 64;
39 DoubleAlign = LongDoubleAlign = 16;
43 SizeType = UnsignedInt;
44 IntMaxType = SignedLongLong;
45 IntPtrType = SignedInt;
46 PtrDiffType = SignedInt;
48 resetDataLayout(
"e-m:e-p:16:16-i32:16-i64:16-f32:16-f64:16-a:8-n8:16-S16");
61 return Feature ==
"msp430";
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.
@ CharPtrBuiltinVaList
typedef char* __builtin_va_list;
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...
bool validateAsmConstraint(const char *&Name, TargetInfo::ConstraintInfo &info) const override
bool hasFeature(StringRef Feature) const override
Determine whether the given target has the given feature.
bool allowsLargerPreferedTypeAlignment() const override
Whether target allows to overalign ABI-specified preferred alignment.
ArrayRef< TargetInfo::GCCRegAlias > getGCCRegAliases() const override
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.
MSP430TargetInfo(const llvm::Triple &Triple, const TargetOptions &)
Defines the clang::TargetInfo interface.
static const char *const GCCRegNames[]
The JSON file list parser is used to communicate input to InstallAPI.