Go to the documentation of this file.
13 #ifndef LLVM_CLANG_LIB_BASIC_TARGETS_PNACL_H
14 #define LLVM_CLANG_LIB_BASIC_TARGETS_PNACL_H
19 #include "llvm/ADT/Triple.h"
20 #include "llvm/Support/Compiler.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";
88 #endif // LLVM_CLANG_LIB_BASIC_TARGETS_PNACL_H
@ PNaClABIBuiltinVaList
__builtin_va_list as defined by the PNaCl ABI: http://www.chromium.org/nativeclient/pnacl/bitcode-abi...
PNaClTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
const char * getClobbers() const override
Returns a string of target-specific clobbers, in LLVM format.
Exposes information about the current target.
BuiltinVaListKind getBuiltinVaListKind() const override
Returns the kind of __builtin_va_list type that should be used with this target.
BuiltinVaListKind
The different kinds of __builtin_va_list types defined by the target implementation.
NaClMips32TargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
bool validateAsmConstraint(const char *&Name, TargetInfo::ConstraintInfo &Info) const override
bool hasBitIntType() const override
Determine whether the _BitInt type is supported on this target.
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.
void getTargetDefines(const LangOptions &Opts, MacroBuilder &Builder) const override
===-— Other target property query methods -----------------------—===//
Options for controlling the target.