14 #ifndef LLVM_CLANG_LIB_BASIC_TARGETS_TCE_H 15 #define LLVM_CLANG_LIB_BASIC_TARGETS_TCE_H 19 #include "llvm/ADT/Triple.h" 20 #include "llvm/Support/Compiler.h" 52 LongWidth = LongLongWidth = 32;
55 LongAlign = LongLongAlign = 32;
58 SizeType = UnsignedInt;
59 IntMaxType = SignedLong;
60 IntPtrType = SignedInt;
61 PtrDiffType = SignedInt;
68 FloatFormat = &llvm::APFloat::IEEEsingle();
69 DoubleFormat = &llvm::APFloat::IEEEsingle();
70 LongDoubleFormat = &llvm::APFloat::IEEEsingle();
71 resetDataLayout(
"E-p:32:32:32-i1:8:8-i8:8:32-" 72 "i16:16:32-i32:32:32-i64:32:32-" 73 "f32:32:32-f64:32:32-v64:32:32-" 74 "v128:32:32-v256:32:32-v512:32:32-" 75 "v1024:32:32-a0:0:32-n32");
77 UseAddrSpaceMapMangling =
true;
83 bool hasFeature(StringRef Feature)
const override {
return Feature ==
"tce"; }
111 resetDataLayout(
"e-p:32:32:32-i1:8:8-i8:8:32-" 112 "i16:16:32-i32:32:32-i64:32:32-" 113 "f32:32:32-f64:32:32-v64:32:32-" 114 "v128:32:32-v256:32:32-v512:32:32-" 115 "v1024:32:32-a0:0:32-n32");
123 #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.