Changeset View
Changeset View
Standalone View
Standalone View
include/clang/Basic/TargetInfo.h
Show First 20 Lines • Show All 587 Lines • ▼ Show 20 Lines | public: | ||||
/// The __builtin_clz* and __builtin_ctz* built-in | /// The __builtin_clz* and __builtin_ctz* built-in | ||||
/// functions are specified to have undefined results for zero inputs, but | /// functions are specified to have undefined results for zero inputs, but | ||||
/// on targets that support these operations in a way that provides | /// on targets that support these operations in a way that provides | ||||
/// well-defined results for zero without loss of performance, it is a good | /// well-defined results for zero without loss of performance, it is a good | ||||
/// idea to avoid optimizing based on that undef behavior. | /// idea to avoid optimizing based on that undef behavior. | ||||
virtual bool isCLZForZeroUndef() const { return true; } | virtual bool isCLZForZeroUndef() const { return true; } | ||||
/// \brief Check whether this target supports the __builtin_load_no_speculate | |||||
/// intrinsic. | |||||
virtual bool hasBuiltinLoadNoSpeculate() const { return false; } | |||||
/// \brief Returns the kind of __builtin_va_list type that should be used | /// \brief Returns the kind of __builtin_va_list type that should be used | ||||
/// with this target. | /// with this target. | ||||
virtual BuiltinVaListKind getBuiltinVaListKind() const = 0; | virtual BuiltinVaListKind getBuiltinVaListKind() const = 0; | ||||
/// Returns whether or not type \c __builtin_ms_va_list type is | /// Returns whether or not type \c __builtin_ms_va_list type is | ||||
/// available on this target. | /// available on this target. | ||||
bool hasBuiltinMSVaList() const { return HasBuiltinMSVaList; } | bool hasBuiltinMSVaList() const { return HasBuiltinMSVaList; } | ||||
▲ Show 20 Lines • Show All 517 Lines • Show Last 20 Lines |