14 #ifndef LLVM_CLANG_LIB_BASIC_TARGETS_PNACL_H 15 #define LLVM_CLANG_LIB_BASIC_TARGETS_PNACL_H 20 #include "llvm/ADT/Triple.h" 21 #include "llvm/Support/Compiler.h" 32 this->PointerAlign = 32;
33 this->PointerWidth = 32;
36 this->DoubleAlign = 64;
37 this->LongDoubleWidth = 64;
38 this->LongDoubleAlign = 64;
49 getArchDefines(Opts, Builder);
53 return Feature ==
"pnacl";
87 #endif // LLVM_CLANG_LIB_BASIC_TARGETS_PNACL_H PNaClTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
__builtin_va_list as defined by the PNaCl ABI: http://www.chromium.org/nativeclient/pnacl/bitcode-abi...
const char * getClobbers() const override
Returns a string of target-specific clobbers, in LLVM format.
NaClMips32TargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
Options for controlling the target.
BuiltinVaListKind getBuiltinVaListKind() const override
Returns the kind of __builtin_va_list type that should be used with this target.
bool validateAsmConstraint(const char *&Name, TargetInfo::ConstraintInfo &Info) const override
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
ArrayRef< Builtin::Info > getTargetBuiltins() const override
Return information about target-specific builtins for the current primary target, and info about whic...
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.
Defines the clang::TargetOptions class.
Dataflow Directional Tag Classes.
void getTargetDefines(const LangOptions &Opts, MacroBuilder &Builder) const override
===-— Other target property query methods --------------------——===//
BuiltinVaListKind
The different kinds of __builtin_va_list types defined by the target implementation.
bool hasFeature(StringRef Feature) const override
Determine whether the given target has the given feature.
Defines the clang::TargetInfo interface.