13#ifndef LLVM_CLANG_LIB_BASIC_TARGETS_DIRECTX_H
14#define LLVM_CLANG_LIB_BASIC_TARGETS_DIRECTX_H
17#include "llvm/Support/Compiler.h"
18#include "llvm/TargetParser/Triple.h"
66 PlatformName = llvm::Triple::getOSTypeName(Triple.getOS());
68 TheCXXABI.set(TargetCXXABI::GenericItanium);
102 Opts.ThreadsafeStatics =
false;
Defines the clang::TargetOptions class.
Concrete class used by the front-end to report problems and issues.
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
BuiltinVaListKind
The different kinds of __builtin_va_list types defined by the target implementation.
@ VoidPtrBuiltinVaList
typedef void* __builtin_va_list;
VersionTuple PlatformMinVersion
virtual void adjust(DiagnosticsEngine &Diags, LangOptions &Opts, const TargetInfo *Aux)
Set forced language options.
void resetDataLayout(StringRef DL)
Set the data layout to the given string.
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.
std::string_view getClobbers() const override
Returns a string of target-specific clobbers, in LLVM format.
BuiltinVaListKind getBuiltinVaListKind() const override
Returns the kind of __builtin_va_list type that should be used with this target.
ArrayRef< TargetInfo::GCCRegAlias > getGCCRegAliases() const override
bool useFP16ConversionIntrinsics() const override
Check whether llvm intrinsics such as llvm.convert.to.fp16 should be used to convert to and from __fp...
ArrayRef< const char * > getGCCRegNames() const override
bool hasFeature(StringRef Feature) const override
Determine whether the given target has the given feature.
bool validateAsmConstraint(const char *&Name, TargetInfo::ConstraintInfo &info) const override
DirectXTargetInfo(const llvm::Triple &Triple, const TargetOptions &)
void adjust(DiagnosticsEngine &Diags, LangOptions &Opts, const TargetInfo *Aux) override
Set forced language options.
Defines the clang::TargetInfo interface.
static const unsigned DirectXAddrSpaceMap[]
The JSON file list parser is used to communicate input to InstallAPI.