|
clang 22.0.0git
|
Defines enum values for all the target-independent builtin functions. More...
#include "llvm/ADT/ArrayRef.h"#include "llvm/ADT/StringMap.h"#include "llvm/ADT/StringRef.h"#include "llvm/ADT/StringTable.h"#include "llvm/TargetParser/Triple.h"#include <cstring>#include "clang/Basic/BuiltinHeaders.def"#include "clang/Basic/Builtins.inc"#include "clang/Basic/BuiltinTemplates.inc"Go to the source code of this file.
Classes | |
| struct | clang::HeaderDesc |
| struct | clang::Builtin::Info |
| The info used to represent each builtin. More... | |
| struct | clang::Builtin::Info::StrOffsets |
| struct | clang::Builtin::InfosShard |
| A shard of a target's builtins string table and info. More... | |
| class | clang::Builtin::Context |
| Holds information about both target-independent and target-specific builtins, allowing easy queries by clients. More... | |
Namespaces | |
| namespace | clang |
| The JSON file list parser is used to communicate input to InstallAPI. | |
| namespace | clang::Builtin |
Macros | |
| #define | HEADER(ID, NAME) |
| #define | GET_BUILTIN_ENUMERATORS |
| #define | CLANG_BUILTIN_DETAIL_STR_TABLE(S) |
| #define | CLANG_BUILTIN_STR_TABLE_START CLANG_BUILTIN_DETAIL_STR_TABLE("\0") |
| #define | CLANG_BUILTIN_STR_TABLE(ID, TYPE, ATTRS) |
| #define | CLANG_TARGET_BUILTIN_STR_TABLE(ID, TYPE, ATTRS, FEATURE) |
| #define | CLANG_TARGET_HEADER_BUILTIN_STR_TABLE(ID, TYPE, ATTRS, HEADER, LANGS, FEATURE) |
| #define | CLANG_BUILTIN_DETAIL_STR_OFFSETS(ID, TYPE, ATTRS) |
| #define | CLANG_TARGET_BUILTIN_DETAIL_STR_OFFSETS(ID, TYPE, ATTRS, FEATURE) |
| #define | CLANG_BUILTIN_ENTRY(ID, TYPE, ATTRS) |
| #define | CLANG_LANGBUILTIN_ENTRY(ID, TYPE, ATTRS, LANG) |
| #define | CLANG_LIBBUILTIN_ENTRY(ID, TYPE, ATTRS, HEADER, LANG) |
| #define | CLANG_TARGET_BUILTIN_ENTRY(ID, TYPE, ATTRS, FEATURE) |
| #define | CLANG_TARGET_HEADER_BUILTIN_ENTRY(ID, TYPE, ATTRS, HEADER, LANG, FEATURE) |
| #define | BuiltinTemplate(BTName) |
Enumerations | |
| enum | clang::LanguageID : uint16_t { clang::GNU_LANG = 0x1 , clang::C_LANG = 0x2 , clang::CXX_LANG = 0x4 , clang::OBJC_LANG = 0x8 , clang::MS_LANG = 0x10 , clang::OMP_LANG = 0x20 , clang::CUDA_LANG = 0x40 , clang::COR_LANG = 0x80 , clang::OCL_GAS = 0x100 , clang::OCL_PIPE = 0x200 , clang::OCL_DSE = 0x400 , clang::ALL_OCL_LANGUAGES = 0x800 , clang::HLSL_LANG = 0x1000 , clang::C23_LANG = 0x2000 , clang::ALL_LANGUAGES = C_LANG | CXX_LANG | OBJC_LANG , clang::ALL_GNU_LANGUAGES = ALL_LANGUAGES | GNU_LANG , clang::ALL_MS_LANGUAGES = ALL_LANGUAGES | MS_LANG } |
| enum | clang::Builtin::ID { clang::Builtin::NotBuiltin = 0 , clang::Builtin::FirstTSBuiltin } |
| enum | clang::BuiltinTemplateKind : int |
| Kinds of BuiltinTemplateDecl. More... | |
Functions | |
| template<size_t N> | |
| static constexpr std::array< Info, N > | clang::Builtin::MakeInfos (std::array< Info, N > Infos) |
| A constexpr function to construct an infos array from X-macros. | |
| bool | clang::Builtin::evaluateRequiredTargetFeatures (llvm::StringRef RequiredFatures, const llvm::StringMap< bool > &TargetFetureMap) |
| Returns true if the required target features of a builtin function are enabled. | |
Defines enum values for all the target-independent builtin functions.
Definition in file Builtins.h.
| #define BuiltinTemplate | ( | BTName | ) |
Definition at line 480 of file Builtins.h.
| #define CLANG_BUILTIN_DETAIL_STR_OFFSETS | ( | ID, | |
| TYPE, | |||
| ATTRS ) |
Definition at line 184 of file Builtins.h.
| #define CLANG_BUILTIN_DETAIL_STR_TABLE | ( | S | ) |
Definition at line 152 of file Builtins.h.
| #define CLANG_BUILTIN_ENTRY | ( | ID, | |
| TYPE, | |||
| ATTRS ) |
Definition at line 204 of file Builtins.h.
| #define CLANG_BUILTIN_STR_TABLE | ( | ID, | |
| TYPE, | |||
| ATTRS ) |
Definition at line 165 of file Builtins.h.
| #define CLANG_BUILTIN_STR_TABLE_START CLANG_BUILTIN_DETAIL_STR_TABLE("\0") |
Definition at line 159 of file Builtins.h.
| #define CLANG_LANGBUILTIN_ENTRY | ( | ID, | |
| TYPE, | |||
| ATTRS, | |||
| LANG ) |
Definition at line 207 of file Builtins.h.
Definition at line 210 of file Builtins.h.
Definition at line 191 of file Builtins.h.
Definition at line 213 of file Builtins.h.
Definition at line 171 of file Builtins.h.
Definition at line 217 of file Builtins.h.
Definition at line 178 of file Builtins.h.
| #define GET_BUILTIN_ENUMERATORS |
Definition at line 70 of file Builtins.h.
| #define HEADER | ( | ID, | |
| NAME ) |
Definition at line 56 of file Builtins.h.