clang: include/clang/Sema/SemaWasm.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_CLANG_SEMA_SEMAWASM_H

14#define LLVM_CLANG_SEMA_SEMAWASM_H

15

18

20class ParsedAttr;

21class TargetInfo;

22

24public:

26

28 unsigned BuiltinID,

30

39

40 WebAssemblyImportNameAttr *

42 WebAssemblyImportModuleAttr *

44

48};

49}

50

51#endif

Forward declaration of all AST node types.

CallExpr - Represents a function call (C99 6.5.2.2, C++ [expr.call]).

Decl - This represents one declaration (or definition), e.g.

ParsedAttr - Represents a syntactic attribute.

void handleWebAssemblyImportNameAttr(Decl *D, const ParsedAttr &AL)

bool BuiltinWasmRefNullExtern(CallExpr *TheCall)

bool CheckWebAssemblyBuiltinFunctionCall(const TargetInfo &TI, unsigned BuiltinID, CallExpr *TheCall)

bool BuiltinWasmTableGet(CallExpr *TheCall)

Check that the first argument is a WebAssembly table, and the second is an index to use as index into...

bool BuiltinWasmTableFill(CallExpr *TheCall)

Check that the first argument is a WebAssembly table, the second is an integer, the third is the valu...

bool BuiltinWasmTableSize(CallExpr *TheCall)

Check that the argument is a WebAssembly table.

void handleWebAssemblyImportModuleAttr(Decl *D, const ParsedAttr &AL)

bool BuiltinWasmRefNullFunc(CallExpr *TheCall)

bool BuiltinWasmTableSet(CallExpr *TheCall)

Check that the first argumnet is a WebAssembly table, the second is an index to use as index into the...

void handleWebAssemblyExportNameAttr(Decl *D, const ParsedAttr &AL)

WebAssemblyImportNameAttr * mergeImportNameAttr(Decl *D, const WebAssemblyImportNameAttr &AL)

WebAssemblyImportModuleAttr * mergeImportModuleAttr(Decl *D, const WebAssemblyImportModuleAttr &AL)

bool BuiltinWasmTableGrow(CallExpr *TheCall)

Check that the first argument is a WebAssembly table, the second is the value to use for new elements...

bool BuiltinWasmTableCopy(CallExpr *TheCall)

Check that the first argument is a WebAssembly table, the second is also a WebAssembly table (of the ...

Sema - This implements semantic analysis and AST building for C.

Exposes information about the current target.

The JSON file list parser is used to communicate input to InstallAPI.