13#ifndef LLVM_CLANG_LIB_BASIC_TARGETS_TCE_H
14#define LLVM_CLANG_LIB_BASIC_TARGETS_TCE_H
18#include "llvm/Support/Compiler.h"
19#include "llvm/TargetParser/Triple.h"
89 "i16:16:32-i32:32:32-i64:32:32-"
90 "f32:32:32-f64:32:32-v64:32:32-"
91 "v128:32:32-v256:32:32-v512:32:32-"
92 "v1024:32:32-a0:0:32-n32");
131 "i16:16:32-i32:32:32-i64:32:32-"
132 "f32:32:32-f64:32:32-v64:32:32-"
133 "v128:32:32-v256:32:32-v512:32:32-"
134 "v1024:32:32-a0:0:32-n32");
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)
const LangASMap * AddrSpaceMap
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;
bool UseAddrSpaceMapMangling
Specify if mangling based on address space map should be used or not for language specific address sp...
Options for controlling the target.
TCELETargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
ArrayRef< const char * > getGCCRegNames() const override
BuiltinVaListKind getBuiltinVaListKind() const override
Returns the kind of __builtin_va_list type that should be used with this target.
TCETargetInfo(const llvm::Triple &Triple, const TargetOptions &)
ArrayRef< TargetInfo::GCCRegAlias > getGCCRegAliases() const override
llvm::SmallVector< Builtin::InfosShard > getTargetBuiltins() const override
Return information about target-specific builtins for the current primary target, and info about whic...
std::string_view getClobbers() const override
Returns a string of target-specific clobbers, in LLVM format.
bool validateAsmConstraint(const char *&Name, TargetInfo::ConstraintInfo &info) const override
bool hasFeature(StringRef Feature) const override
Determine whether the given target has the given feature.
Defines the clang::TargetInfo interface.
static const unsigned TCEOpenCLAddrSpaceMap[]
The JSON file list parser is used to communicate input to InstallAPI.
const llvm::fltSemantics * DoubleFormat
unsigned short SuitableAlign
unsigned char PointerWidth
const llvm::fltSemantics * LongDoubleFormat
unsigned char DoubleWidth
unsigned char LongLongAlign
unsigned char PointerAlign
unsigned char LongDoubleAlign
unsigned char LongDoubleWidth
unsigned char DoubleAlign
const llvm::fltSemantics * FloatFormat
unsigned char LongLongWidth