clang 22.0.0git
WebAssembly.cpp File Reference
#include "WebAssembly.h"
#include "Targets.h"
#include "clang/Basic/Builtins.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/TargetBuiltins.h"
#include "llvm/ADT/StringSwitch.h"
#include "clang/Basic/BuiltinsWebAssembly.def"

Go to the source code of this file.

Macros

#define BUILTIN   CLANG_BUILTIN_STR_TABLE
#define TARGET_BUILTIN   CLANG_TARGET_BUILTIN_STR_TABLE
#define BUILTIN   CLANG_BUILTIN_ENTRY
#define TARGET_BUILTIN   CLANG_TARGET_BUILTIN_ENTRY
#define LIBBUILTIN   CLANG_LIBBUILTIN_ENTRY

Variables

static constexpr int NumBuiltins
static constexpr llvm::StringTable BuiltinStrings
static constexpr auto BuiltinInfos
static constexpr llvm::StringLiteral ValidCPUNames []

Macro Definition Documentation

◆ BUILTIN [1/2]

#define BUILTIN   CLANG_BUILTIN_STR_TABLE

◆ BUILTIN [2/2]

#define BUILTIN   CLANG_BUILTIN_ENTRY

◆ LIBBUILTIN

#define LIBBUILTIN   CLANG_LIBBUILTIN_ENTRY

◆ TARGET_BUILTIN [1/2]

#define TARGET_BUILTIN   CLANG_TARGET_BUILTIN_STR_TABLE

◆ TARGET_BUILTIN [2/2]

#define TARGET_BUILTIN   CLANG_TARGET_BUILTIN_ENTRY

Variable Documentation

◆ BuiltinInfos

auto BuiltinInfos
staticconstexpr
Initial value:
#define BUILTIN
#define TARGET_BUILTIN
#define LIBBUILTIN
})
static constexpr std::array< Info, N > MakeInfos(std::array< Info, N > Infos)
A constexpr function to construct an infos array from X-macros.
Definition Builtins.h:107

Definition at line 33 of file WebAssembly.cpp.

◆ BuiltinStrings

llvm::StringTable BuiltinStrings
staticconstexpr
Initial value:
=
#define BUILTIN
#define TARGET_BUILTIN
#define CLANG_BUILTIN_STR_TABLE_START
Definition Builtins.h:158

Definition at line 26 of file WebAssembly.cpp.

◆ NumBuiltins

int NumBuiltins
staticconstexpr

◆ ValidCPUNames

llvm::StringLiteral ValidCPUNames[]
staticconstexpr
Initial value:
= {
{"mvp"}, {"bleeding-edge"}, {"generic"}, {"lime1"}}

Definition at line 40 of file WebAssembly.cpp.