|
clang 24.0.0git
|
Defines enum values for all the target-independent builtin functions. More...
#include "llvm/ADT/ArrayRef.h"#include "llvm/ADT/SmallString.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 |
| Top level wrappers for InstallAPI frontend operations. | |
| 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::C2Y_LANG = 0x4000 , clang::REFLECTION_LANG = 0x8000 , 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 499 of file Builtins.h.
| #define CLANG_BUILTIN_DETAIL_STR_OFFSETS | ( | ID, | |
| TYPE, | |||
| ATTRS ) |
Definition at line 193 of file Builtins.h.
| #define CLANG_BUILTIN_DETAIL_STR_TABLE | ( | S | ) |
Definition at line 161 of file Builtins.h.
| #define CLANG_BUILTIN_ENTRY | ( | ID, | |
| TYPE, | |||
| ATTRS ) |
Definition at line 213 of file Builtins.h.
| #define CLANG_BUILTIN_STR_TABLE | ( | ID, | |
| TYPE, | |||
| ATTRS ) |
Definition at line 174 of file Builtins.h.
| #define CLANG_BUILTIN_STR_TABLE_START CLANG_BUILTIN_DETAIL_STR_TABLE("\0") |
Definition at line 168 of file Builtins.h.
| #define CLANG_LANGBUILTIN_ENTRY | ( | ID, | |
| TYPE, | |||
| ATTRS, | |||
| LANG ) |
Definition at line 216 of file Builtins.h.
Definition at line 219 of file Builtins.h.
Definition at line 200 of file Builtins.h.
Definition at line 222 of file Builtins.h.
Definition at line 180 of file Builtins.h.
Definition at line 226 of file Builtins.h.
Definition at line 187 of file Builtins.h.
| #define GET_BUILTIN_ENUMERATORS |
Definition at line 73 of file Builtins.h.
| #define HEADER | ( | ID, | |
| NAME ) |
Definition at line 59 of file Builtins.h.