14#ifndef LLVM_BINARYFORMAT_WASM_H 
   15#define LLVM_BINARYFORMAT_WASM_H 
  254#define WASM_RELOC(name, value) name = value, 
  257#include "WasmRelocs.def" 
 
  305  std::vector<std::pair<std::string, std::string>> 
Languages;
 
  306  std::vector<std::pair<std::string, std::string>> 
Tools;
 
  307  std::vector<std::pair<std::string, std::string>> 
SDKs;
 
 
  524  return LHS.State == 
RHS.State && 
LHS.Returns == 
RHS.Returns &&
 
 
  533  return LHS.Type == 
RHS.Type && 
LHS.Mutable == 
RHS.Mutable;
 
 
  541  return LHS.Flags == 
RHS.Flags && 
LHS.Minimum == 
RHS.Minimum &&
 
  545              ? 
LHS.PageSize == 
RHS.PageSize
 
 
  550  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.
 
LLVM Value Representation.
 
const unsigned WASM_SYMBOL_UNDEFINED
 
const unsigned WASM_SYMBOL_NO_STRIP
 
@ WASM_TYPE_NULLEXTERNREF
 
@ WASM_OPCODE_CATCH_ALL_REF
 
const unsigned WASM_SYMBOL_BINDING_GLOBAL
 
@ WASM_TAG_ATTRIBUTE_EXCEPTION
 
const unsigned WASM_SYMBOL_TLS
 
const uint32_t WasmMetadataVersion
 
const unsigned WASM_SYMBOL_BINDING_WEAK
 
const unsigned WASM_SYMBOL_BINDING_LOCAL
 
@ WASM_LIMITS_FLAG_HAS_MAX
 
@ WASM_LIMITS_FLAG_IS_SHARED
 
@ WASM_LIMITS_FLAG_HAS_PAGE_SIZE
 
@ WASM_DATA_SEGMENT_IS_PASSIVE
 
@ WASM_DATA_SEGMENT_HAS_MEMINDEX
 
LLVM_ABI llvm::StringRef toString(WasmSymbolType type)
 
@ WASM_FEATURE_PREFIX_USED
 
@ WASM_FEATURE_PREFIX_DISALLOWED
 
@ WASM_SYMBOL_TYPE_GLOBAL
 
@ WASM_SYMBOL_TYPE_SECTION
 
@ WASM_SYMBOL_TYPE_FUNCTION
 
const uint32_t WasmVersion
 
const unsigned WASM_SYMBOL_EXPORTED
 
const unsigned WASM_SYMBOL_BINDING_MASK
 
@ WASM_ELEM_SEGMENT_HAS_INIT_EXPRS
 
@ WASM_ELEM_SEGMENT_IS_DECLARATIVE
 
@ WASM_ELEM_SEGMENT_HAS_TABLE_NUMBER
 
@ WASM_ELEM_SEGMENT_IS_PASSIVE
 
LLVM_ABI bool relocTypeHasAddend(uint32_t type)
 
@ WASM_DYLINK_RUNTIME_PATH
 
@ WASM_DYLINK_EXPORT_INFO
 
@ WASM_DYLINK_IMPORT_INFO
 
@ WASM_OPCODE_ARRAY_NEW_FIXED
 
@ WASM_OPCODE_ARRAY_NEW_DEFAULT
 
@ WASM_OPCODE_STRUCT_NEW_DEFAULT
 
@ WASM_NAMES_DATA_SEGMENT
 
bool operator!=(const WasmSignature &LHS, const WasmSignature &RHS)
 
LLVM_ABI llvm::StringRef sectionTypeToString(uint32_t type)
 
const uint32_t WasmDefaultPageSize
 
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
 
const unsigned WASM_ELEM_SEGMENT_MASK_HAS_ELEM_DESC
 
LLVM_ABI llvm::StringRef relocTypetoString(uint32_t type)
 
const unsigned WASM_SYMBOL_VISIBILITY_DEFAULT
 
@ 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
 
This is an optimization pass for GlobalISel generic memory operations.
 
ArrayRef< uint8_t > Content
 
std::vector< StringRef > Needed
 
std::vector< StringRef > RuntimePath
 
std::vector< WasmDylinkExportInfo > ExportInfo
 
std::vector< WasmDylinkImportInfo > ImportInfo
 
std::vector< uint32_t > Functions
 
std::optional< StringRef > ExportName
 
std::vector< WasmLocalDecl > Locals
 
uint32_t CodeSectionOffset
 
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
 
WasmRelocType getType() const
 
WasmSignature(SmallVector< ValType, 1 > &&InReturns, SmallVector< ValType, 4 > &&InParams)
 
SmallVector< ValType, 1 > Returns
 
SmallVector< ValType, 4 > Params
 
std::optional< StringRef > ExportName
 
WasmDataReference DataRef
 
std::optional< StringRef > ImportModule
 
std::optional< StringRef > ImportName