13#ifndef LLVM_CLANG_LIB_BASIC_TARGETS_ARC_H
14#define LLVM_CLANG_LIB_BASIC_TARGETS_ARC_H
18#include "llvm/Support/Compiler.h"
19#include "llvm/TargetParser/Triple.h"
31 DoubleAlign = LongDoubleAlign = 32;
32 SizeType = UnsignedInt;
33 PtrDiffType = SignedInt;
34 IntPtrType = SignedInt;
35 UseZeroLengthBitfieldAlignment =
true;
36 resetDataLayout(
"e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-"
37 "i32:32:32-f32:32:32-i64:32-f64:32-a:0:32-n32");
48 return TargetInfo::VoidPtrBuiltinVaList;
54 static const char *
const GCCRegNames[] = {
55 "r0",
"r1",
"r2",
"r3",
"r4",
"r5",
"r6",
"r7",
56 "r8",
"r9",
"r10",
"r11",
"r12",
"r13",
"r14",
"r15",
57 "r16",
"r17",
"r18",
"r19",
"r20",
"r21",
"r22",
"r23",
58 "r24",
"r25",
"gp",
"sp",
"fp",
"ilink1",
"r30",
"blink"};
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 isCLZForZeroUndef() const override
The __builtin_clz* and __builtin_ctz* built-in functions are specified to have undefined results for ...
ArrayRef< TargetInfo::GCCRegAlias > getGCCRegAliases() const override
bool hasBitIntType() const override
Determine whether the _BitInt type is supported on this target.
std::string_view getClobbers() const override
Returns a string of target-specific clobbers, in LLVM format.
ArrayRef< Builtin::Info > getTargetBuiltins() const override
Return information about target-specific builtins for the current primary target, and info about whic...
ArrayRef< const char * > getGCCRegNames() const override
ARCTargetInfo(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.
Defines the clang::TargetInfo interface.
The JSON file list parser is used to communicate input to InstallAPI.