clang 20.0.0git
Macros | Variables
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(ID, TYPE, ATTRS)    {#ID, TYPE, ATTRS, nullptr, HeaderDesc::NO_HEADER, ALL_LANGUAGES},
 
#define TARGET_BUILTIN(ID, TYPE, ATTRS, FEATURE)    {#ID, TYPE, ATTRS, FEATURE, HeaderDesc::NO_HEADER, ALL_LANGUAGES},
 
#define LIBBUILTIN(ID, TYPE, ATTRS, HEADER)    {#ID, TYPE, ATTRS, nullptr, HeaderDesc::HEADER, ALL_LANGUAGES},
 

Variables

static constexpr Builtin::Info BuiltinInfo []
 
static constexpr llvm::StringLiteral ValidCPUNames []
 

Macro Definition Documentation

◆ BUILTIN

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)     {#ID, TYPE, ATTRS, nullptr, HeaderDesc::NO_HEADER, ALL_LANGUAGES},

◆ LIBBUILTIN

#define LIBBUILTIN (   ID,
  TYPE,
  ATTRS,
  HEADER 
)     {#ID, TYPE, ATTRS, nullptr, HeaderDesc::HEADER, ALL_LANGUAGES},

◆ TARGET_BUILTIN

#define TARGET_BUILTIN (   ID,
  TYPE,
  ATTRS,
  FEATURE 
)     {#ID, TYPE, ATTRS, FEATURE, HeaderDesc::NO_HEADER, ALL_LANGUAGES},

Variable Documentation

◆ BuiltinInfo

constexpr Builtin::Info BuiltinInfo[]
staticconstexpr
Initial value:
= {
#define BUILTIN(ID, TYPE, ATTRS)
#define TARGET_BUILTIN(ID, TYPE, ATTRS, FEATURE)
#define LIBBUILTIN(ID, TYPE, ATTRS, HEADER)
}

Definition at line 23 of file WebAssembly.cpp.

◆ ValidCPUNames

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

Definition at line 33 of file WebAssembly.cpp.