13#ifndef LLVM_CLANG_LIB_BASIC_TARGETS_PNACL_H
14#define LLVM_CLANG_LIB_BASIC_TARGETS_PNACL_H
19#include "llvm/Support/Compiler.h"
20#include "llvm/TargetParser/Triple.h"
31 this->PointerAlign = 32;
32 this->PointerWidth = 32;
33 this->IntMaxType = TargetInfo::SignedLongLong;
34 this->Int64Type = TargetInfo::SignedLongLong;
35 this->DoubleAlign = 64;
36 this->LongDoubleWidth = 64;
37 this->LongDoubleAlign = 64;
38 this->SizeType = TargetInfo::UnsignedInt;
39 this->PtrDiffType = TargetInfo::SignedInt;
40 this->IntPtrType = TargetInfo::SignedInt;
48 getArchDefines(Opts, Builder);
52 return Feature ==
"pnacl";
60 return TargetInfo::PNaClABIBuiltinVaList;
84 return TargetInfo::PNaClABIBuiltinVaList;
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...
Exposes information about the current target.
BuiltinVaListKind
The different kinds of __builtin_va_list types defined by the target implementation.
Options for controlling the target.
BuiltinVaListKind getBuiltinVaListKind() const override
Returns the kind of __builtin_va_list type that should be used with this target.
NaClMips32TargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
ArrayRef< Builtin::Info > getTargetBuiltins() const override
Return information about target-specific builtins for the current primary target, and info about whic...
bool validateAsmConstraint(const char *&Name, TargetInfo::ConstraintInfo &Info) const override
std::string_view getClobbers() const override
Returns a string of target-specific clobbers, in LLVM format.
bool hasBitIntType() const override
Determine whether the _BitInt type is supported on this target.
bool hasFeature(StringRef Feature) const override
Determine whether the given target has the given feature.
BuiltinVaListKind getBuiltinVaListKind() const override
Returns the kind of __builtin_va_list type that should be used with this target.
PNaClTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
void getTargetDefines(const LangOptions &Opts, MacroBuilder &Builder) const override
===-— Other target property query methods -----------------------—===//
Defines the clang::TargetInfo interface.
The JSON file list parser is used to communicate input to InstallAPI.