13 #ifndef LLVM_CLANG_LIB_BASIC_TARGETS_TCE_H 14 #define LLVM_CLANG_LIB_BASIC_TARGETS_TCE_H 18 #include "llvm/ADT/Triple.h" 19 #include "llvm/Support/Compiler.h" 51 LongWidth = LongLongWidth = 32;
54 LongAlign = LongLongAlign = 32;
57 SizeType = UnsignedInt;
58 IntMaxType = SignedLong;
59 IntPtrType = SignedInt;
60 PtrDiffType = SignedInt;
67 FloatFormat = &llvm::APFloat::IEEEsingle();
68 DoubleFormat = &llvm::APFloat::IEEEsingle();
69 LongDoubleFormat = &llvm::APFloat::IEEEsingle();
70 resetDataLayout(
"E-p:32:32:32-i1:8:8-i8:8:32-" 71 "i16:16:32-i32:32:32-i64:32:32-" 72 "f32:32:32-f64:32:32-v64:32:32-" 73 "v128:32:32-v256:32:32-v512:32:32-" 74 "v1024:32:32-a0:0:32-n32");
76 UseAddrSpaceMapMangling =
true;
82 bool hasFeature(StringRef Feature)
const override {
return Feature ==
"tce"; }
110 resetDataLayout(
"e-p:32:32:32-i1:8:8-i8:8:32-" 111 "i16:16:32-i32:32:32-i64:32:32-" 112 "f32:32:32-f64:32:32-v64:32:32-" 113 "v128:32:32-v256:32:32-v512:32:32-" 114 "v1024:32:32-a0:0:32-n32");
122 #endif // LLVM_CLANG_LIB_BASIC_TARGETS_TCE_H static const unsigned TCEOpenCLAddrSpaceMap[]
bool hasFeature(StringRef Feature) const override
Determine whether the given target has the given feature.
TCELETargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
Options for controlling the target.
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
TCETargetInfo(const llvm::Triple &Triple, const TargetOptions &)
typedef void* __builtin_va_list;
Exposes information about the current target.
const char * getClobbers() const override
Returns a string of target-specific clobbers, in LLVM format.
ArrayRef< TargetInfo::GCCRegAlias > getGCCRegAliases() const override
Defines the clang::TargetOptions class.
bool validateAsmConstraint(const char *&Name, TargetInfo::ConstraintInfo &info) const override
ArrayRef< const char * > getGCCRegNames() const override
Dataflow Directional Tag Classes.
BuiltinVaListKind
The different kinds of __builtin_va_list types defined by the target implementation.
ArrayRef< Builtin::Info > getTargetBuiltins() const override
Return information about target-specific builtins for the current primary target, and info about whic...
Defines the clang::TargetInfo interface.
BuiltinVaListKind getBuiltinVaListKind() const override
Returns the kind of __builtin_va_list type that should be used with this target.