13#ifndef LLVM_CLANG_LIB_BASIC_TARGETS_XCORE_H
14#define LLVM_CLANG_LIB_BASIC_TARGETS_XCORE_H
18#include "llvm/Support/Compiler.h"
19#include "llvm/TargetParser/Triple.h"
40 "-f64:32-a:0:32-n32");
56 "r0",
"r1",
"r2",
"r3",
"r4",
"r5",
"r6",
"r7",
57 "r8",
"r9",
"r10",
"r11",
"cp",
"dp",
"sp",
"lr"
73 return (RegNo < 2) ? RegNo : -1;
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...
TargetInfo(const llvm::Triple &T)
void resetDataLayout(StringRef DL, const char *UserLabelPrefix="")
BuiltinVaListKind
The different kinds of __builtin_va_list types defined by the target implementation.
@ VoidPtrBuiltinVaList
typedef void* __builtin_va_list;
Options for controlling the target.
std::string_view getClobbers() const override
Returns a string of target-specific clobbers, in LLVM format.
ArrayRef< const char * > getGCCRegNames() const override
bool validateAsmConstraint(const char *&Name, TargetInfo::ConstraintInfo &Info) const override
ArrayRef< TargetInfo::GCCRegAlias > getGCCRegAliases() const override
XCoreTargetInfo(const llvm::Triple &Triple, const TargetOptions &)
int getEHDataRegisterNumber(unsigned RegNo) const override
Return the register number that __builtin_eh_return_regno would return with the specified argument.
bool allowsLargerPreferedTypeAlignment() const override
Whether target allows to overalign ABI-specified preferred alignment.
bool hasBitIntType() const override
Determine whether the _BitInt type is supported on this target.
BuiltinVaListKind getBuiltinVaListKind() const override
Returns the kind of __builtin_va_list type that should be used with this target.
Defines the clang::TargetInfo interface.
static const char *const GCCRegNames[]
The JSON file list parser is used to communicate input to InstallAPI.
unsigned UseZeroLengthBitfieldAlignment
Whether zero length bitfields (e.g., int : 0;) force alignment of the next bitfield.
unsigned short SuitableAlign
unsigned char LongLongAlign
unsigned char LongDoubleAlign
unsigned char DoubleAlign