14#ifndef LLVM_BINARYFORMAT_WASM_H
15#define LLVM_BINARYFORMAT_WASM_H
61 std::vector<std::pair<std::string, std::string>>
Languages;
62 std::vector<std::pair<std::string, std::string>>
Tools;
63 std::vector<std::pair<std::string, std::string>>
SDKs;
417#define WASM_RELOC(name, value) name = value,
420#include "WasmRelocs.def"
450 return LHS.State ==
RHS.State &&
LHS.Returns ==
RHS.Returns &&
459 return LHS.Type ==
RHS.Type &&
LHS.Mutable ==
RHS.Mutable;
467 return LHS.Flags ==
RHS.Flags &&
LHS.Minimum ==
RHS.Minimum &&
473 return LHS.ElemType ==
RHS.ElemType &&
LHS.Limits ==
RHS.Limits;
This file defines the SmallVector class.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
StringRef - Represent a constant reference to a string, i.e.
const unsigned WASM_SYMBOL_UNDEFINED
const uint32_t WasmPageSize
const unsigned WASM_SYMBOL_NO_STRIP
@ WASM_OPCODE_I32_ATOMIC_STORE
@ WASM_OPCODE_MEMORY_FILL
@ WASM_OPCODE_I32_ATOMIC_WAIT
@ WASM_OPCODE_MISC_PREFIX
@ WASM_OPCODE_ATOMIC_NOTIFY
@ WASM_OPCODE_I32_RMW_CMPXCHG
@ WASM_OPCODE_MEMORY_INIT
@ WASM_OPCODE_ATOMICS_PREFIX
@ WASM_FEATURE_PREFIX_USED
@ WASM_FEATURE_PREFIX_REQUIRED
@ WASM_FEATURE_PREFIX_DISALLOWED
@ WASM_DATA_SEGMENT_IS_PASSIVE
@ WASM_DATA_SEGMENT_HAS_MEMINDEX
@ WASM_NAMES_DATA_SEGMENT
const unsigned WASM_SYMBOL_BINDING_GLOBAL
const unsigned WASM_ELEM_SEGMENT_MASK_HAS_ELEM_KIND
@ WASM_TAG_ATTRIBUTE_EXCEPTION
const unsigned WASM_SYMBOL_TLS
@ WASM_LIMITS_FLAG_HAS_MAX
@ WASM_LIMITS_FLAG_IS_SHARED
const uint32_t WasmMetadataVersion
const unsigned WASM_SYMBOL_BINDING_WEAK
const unsigned WASM_SYMBOL_BINDING_LOCAL
llvm::StringRef toString(WasmSymbolType type)
@ WASM_SYMBOL_TYPE_GLOBAL
@ WASM_SYMBOL_TYPE_SECTION
@ WASM_SYMBOL_TYPE_FUNCTION
const uint32_t WasmVersion
@ WASM_ELEM_SEGMENT_HAS_INIT_EXPRS
@ WASM_ELEM_SEGMENT_HAS_TABLE_NUMBER
@ WASM_ELEM_SEGMENT_IS_PASSIVE
@ WASM_DYLINK_EXPORT_INFO
@ WASM_DYLINK_IMPORT_INFO
const unsigned WASM_SYMBOL_EXPORTED
const unsigned WASM_SYMBOL_BINDING_MASK
bool relocTypeHasAddend(uint32_t type)
bool operator!=(const WasmSignature &LHS, const WasmSignature &RHS)
llvm::StringRef sectionTypeToString(uint32_t type)
const unsigned WASM_SYMBOL_EXPLICIT_NAME
const unsigned WASM_SYMBOL_ABSOLUTE
bool operator==(const WasmSignature &LHS, const WasmSignature &RHS)
const unsigned WASM_SYMBOL_VISIBILITY_MASK
const unsigned WASM_SYMBOL_VISIBILITY_HIDDEN
llvm::StringRef relocTypetoString(uint32_t type)
const unsigned WASM_SYMBOL_VISIBILITY_DEFAULT
This is an optimization pass for GlobalISel generic memory operations.
ArrayRef< uint8_t > Content
std::vector< StringRef > Needed
std::vector< WasmDylinkExportInfo > ExportInfo
std::vector< WasmDylinkImportInfo > ImportInfo
std::vector< uint32_t > Functions
std::optional< StringRef > ExportName
std::vector< WasmLocalDecl > Locals
uint32_t CodeSectionOffset
union llvm::wasm::WasmInitExprMVP::@178 Value
std::vector< WasmSymbolInfo > SymbolTable
std::vector< WasmInitFunc > InitFunctions
std::vector< StringRef > Comdats
std::vector< std::pair< std::string, std::string > > SDKs
std::vector< std::pair< std::string, std::string > > Languages
std::vector< std::pair< std::string, std::string > > Tools
WasmSignature(SmallVector< ValType, 1 > &&InReturns, SmallVector< ValType, 4 > &&InParams)
enum llvm::wasm::WasmSignature::@183 State
SmallVector< ValType, 1 > Returns
SmallVector< ValType, 4 > Params
std::optional< StringRef > ExportName
WasmDataReference DataRef
std::optional< StringRef > ImportModule
std::optional< StringRef > ImportName