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;
35 this->DoubleAlign = 64;
36 this->LongDoubleWidth = 64;
37 this->LongDoubleAlign = 64;
48 getArchDefines(Opts, Builder);
52 return Feature ==
"pnacl";
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.
@ PNaClABIBuiltinVaList
__builtin_va_list as defined by the PNaCl ABI: http://www.chromium.org/nativeclient/pnacl/bitcode-abi...
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)
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.
ArrayRef< Builtin::Info > getTargetBuiltins() const override
Return information about target-specific builtins for the current primary target, and info about whic...
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.