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" 54 LongWidth = LongLongWidth = 32;
57 LongAlign = LongLongAlign = 32;
60 SizeType = UnsignedInt;
61 IntMaxType = SignedLong;
62 IntPtrType = SignedInt;
63 PtrDiffType = SignedInt;
70 FloatFormat = &llvm::APFloat::IEEEsingle();
71 DoubleFormat = &llvm::APFloat::IEEEsingle();
72 LongDoubleFormat = &llvm::APFloat::IEEEsingle();
73 resetDataLayout(
"E-p:32:32:32-i1:8:8-i8:8:32-" 74 "i16:16:32-i32:32:32-i64:32:32-" 75 "f32:32:32-f64:32:32-v64:32:32-" 76 "v128:32:32-v256:32:32-v512:32:32-" 77 "v1024:32:32-a0:0:32-n32");
79 UseAddrSpaceMapMangling =
true;
85 bool hasFeature(StringRef Feature)
const override {
return Feature ==
"tce"; }
113 resetDataLayout(
"e-p:32:32:32-i1:8:8-i8:8:32-" 114 "i16:16:32-i32:32:32-i64:32:32-" 115 "f32:32:32-f64:32:32-v64:32:32-" 116 "v128:32:32-v256:32:32-v512:32:32-" 117 "v1024:32:32-a0:0:32-n32");
125 #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.