Home | History | Annotate | Download | only in Basic

Lines Matching refs:Builtin

1 //===--- Builtins.h - Builtin function header -------------------*- C++ -*-===//
11 /// \brief Defines enum values for all the target-independent builtin
34 GNU_LANG = 0x1, // builtin requires GNU mode.
35 C_LANG = 0x2, // builtin for c only.
36 CXX_LANG = 0x4, // builtin for cplusplus only.
37 OBJC_LANG = 0x8, // builtin for objective-c and objective-c++
38 MS_LANG = 0x10, // builtin requires MS mode.
39 OCLC20_LANG = 0x20, // builtin for OpenCL C only.
40 ALL_LANGUAGES = C_LANG | CXX_LANG | OBJC_LANG, // builtin for all languages.
41 ALL_GNU_LANGUAGES = ALL_LANGUAGES | GNU_LANG, // builtin requires GNU mode.
42 ALL_MS_LANGUAGES = ALL_LANGUAGES | MS_LANG // builtin requires MS mode.
45 namespace Builtin {
47 NotBuiltin = 0, // This is not a builtin function.
48 #define BUILTIN(ID, TYPE, ATTRS) BI##ID,
77 /// appropriate builtin ID # and mark any non-portable builtin identifiers as
81 /// \brief Return the identifier name for the specified builtin,
87 /// \brief Get the type descriptor string for the specified builtin.
92 /// \brief Return true if this function is a target-specific builtin.
94 return ID >= Builtin::FirstTSBuiltin;
108 /// \brief Return true if we know this builtin never throws an exception.
113 /// \brief Return true if we know this builtin never returns.
118 /// \brief Return true if we know this builtin can return twice.
123 /// \brief Returns true if this builtin does not perform the side-effects
129 /// \brief Return true if this is a builtin for a libc/libm function,
135 /// \brief Determines whether this builtin is a predefined libc/libm
142 /// \brief Returns true if this builtin requires appropriate header in other
149 /// \brief Determines whether this builtin is a predefined compiler-rt/libgcc
156 /// \brief Determines whether this builtin has custom typechecking.
161 /// \brief Determines whether this builtin has a result or any arguments which
167 /// \brief Completely forget that the given ID was ever considered a builtin,
177 /// \brief Determine whether this builtin is like printf in its
182 /// \brief Determine whether this builtin is like scanf in its
199 /// \brief Return true if builtin ID belongs to AuxTarget.
201 return ID >= (Builtin::FirstTSBuiltin + TSRecords.size());
215 /// \brief Is this builtin supported according to the given language options?
216 bool builtinIsSupported(const Builtin::Info &BuiltinInfo,