Go to the documentation of this file.
13 #ifndef LLVM_CLANG_LIB_BASIC_TARGETS_DIRECTX_H
14 #define LLVM_CLANG_LIB_BASIC_TARGETS_DIRECTX_H
17 #include "llvm/ADT/Triple.h"
18 #include "llvm/Support/Compiler.h"
52 LongWidth = LongAlign = 64;
54 UseAddrSpaceMapMangling =
true;
55 HasLegalHalfType =
true;
58 resetDataLayout(
"e-m:e-p:32:32-i1:32-i8:8-i16:16-i32:32-i64:64-f16:16-f32:"
59 "32-f64:64-n8:16:32:64");
60 TheCXXABI.set(TargetCXXABI::Microsoft);
67 return Feature ==
"directx";
93 #endif // LLVM_CLANG_LIB_BASIC_TARGETS_DIRECTX_H
ArrayRef< const char * > getGCCRegNames() const override
Exposes information about the current target.
@ VoidPtrBuiltinVaList
typedef void* __builtin_va_list;
static const unsigned DirectXAddrSpaceMap[]
BuiltinVaListKind
The different kinds of __builtin_va_list types defined by the target implementation.
DirectXTargetInfo(const llvm::Triple &Triple, const TargetOptions &)
const char * getClobbers() const override
Returns a string of target-specific clobbers, in LLVM format.
ArrayRef< TargetInfo::GCCRegAlias > getGCCRegAliases() const override
bool validateAsmConstraint(const char *&Name, TargetInfo::ConstraintInfo &info) const override
BuiltinVaListKind getBuiltinVaListKind() const override
Returns the kind of __builtin_va_list type that should be used with this target.
ArrayRef< Builtin::Info > getTargetBuiltins() const override
Return information about target-specific builtins for the current primary target, and info about whic...
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
bool hasFeature(StringRef Feature) const override
Determine whether the given target has the given feature.
Options for controlling the target.
bool useFP16ConversionIntrinsics() const override
Check whether llvm intrinsics such as llvm.convert.to.fp16 should be used to convert to and from __fp...