LLVM
8.0.1
|
Classes | |
struct | WasmDataReference |
struct | WasmDataSegment |
struct | WasmDylinkInfo |
struct | WasmElemSegment |
struct | WasmEvent |
struct | WasmEventType |
struct | WasmExport |
struct | WasmFunction |
struct | WasmFunctionName |
struct | WasmGlobal |
struct | WasmGlobalType |
struct | WasmImport |
struct | WasmInitExpr |
struct | WasmInitFunc |
struct | WasmLimits |
struct | WasmLinkingData |
struct | WasmLocalDecl |
struct | WasmObjectHeader |
struct | WasmRelocation |
struct | WasmSignature |
struct | WasmSymbolInfo |
struct | WasmTable |
Functions | |
bool | operator== (const WasmSignature &LHS, const WasmSignature &RHS) |
bool | operator!= (const WasmSignature &LHS, const WasmSignature &RHS) |
bool | operator== (const WasmGlobalType &LHS, const WasmGlobalType &RHS) |
bool | operator!= (const WasmGlobalType &LHS, const WasmGlobalType &RHS) |
std::string | toString (wasm::WasmSymbolType type) |
std::string | relocTypetoString (uint32_t type) |
Variables | |
const char | WasmMagic [] = {'\0', 'a', 's', 'm'} |
const uint32_t | WasmVersion = 0x1 |
const uint32_t | WasmMetadataVersion = 0x2 |
const uint32_t | WasmPageSize = 65536 |
const unsigned | WASM_SYMBOL_BINDING_MASK = 0x3 |
const unsigned | WASM_SYMBOL_VISIBILITY_MASK = 0xc |
const unsigned | WASM_SYMBOL_BINDING_GLOBAL = 0x0 |
const unsigned | WASM_SYMBOL_BINDING_WEAK = 0x1 |
const unsigned | WASM_SYMBOL_BINDING_LOCAL = 0x2 |
const unsigned | WASM_SYMBOL_VISIBILITY_DEFAULT = 0x0 |
const unsigned | WASM_SYMBOL_VISIBILITY_HIDDEN = 0x4 |
const unsigned | WASM_SYMBOL_UNDEFINED = 0x10 |
const unsigned | WASM_SYMBOL_EXPLICIT_NAME = 0x40 |
anonymous enum : unsigned |
anonymous enum : unsigned |
anonymous enum : unsigned |
anonymous enum : unsigned |
anonymous enum : unsigned |
anonymous enum : unsigned |
anonymous enum : unsigned |
anonymous enum : unsigned |
|
strong |
|
inline |
|
inline |
Definition at line 334 of file Wasm.h.
References relocTypetoString(), and toString().
|
inline |
Definition at line 321 of file Wasm.h.
References llvm::wasm::WasmSignature::Params, llvm::wasm::WasmSignature::Returns, and llvm::wasm::WasmSignature::State.
|
inline |
Definition at line 330 of file Wasm.h.
References llvm::wasm::WasmGlobalType::Mutable, and llvm::wasm::WasmGlobalType::Type.
std::string llvm::wasm::relocTypetoString | ( | uint32_t | type | ) |
std::string llvm::wasm::toString | ( | wasm::WasmSymbolType | type | ) |
Definition at line 12 of file Wasm.cpp.
References llvm_unreachable, WASM_SYMBOL_TYPE_DATA, WASM_SYMBOL_TYPE_EVENT, WASM_SYMBOL_TYPE_FUNCTION, WASM_SYMBOL_TYPE_GLOBAL, and WASM_SYMBOL_TYPE_SECTION.
Referenced by llvm::AMDGPUTargetAsmStreamer::EmitHSAMetadata(), llvm::AMDGPUTargetELFStreamer::EmitHSAMetadata(), llvm::AMDGPUTargetAsmStreamer::EmitPALMetadata(), and operator!=().
Definition at line 282 of file Wasm.h.
Referenced by llvm::object::WasmSymbol::isBindingGlobal().
Definition at line 284 of file Wasm.h.
Referenced by llvm::object::WasmSymbol::isBindingLocal(), and isInSymtab().
Definition at line 279 of file Wasm.h.
Referenced by llvm::object::WasmSymbol::getBinding().
Definition at line 283 of file Wasm.h.
Referenced by llvm::object::WasmSymbol::isBindingWeak(), and isInSymtab().
Definition at line 288 of file Wasm.h.
Referenced by addData(), and isInSymtab().
Definition at line 287 of file Wasm.h.
Referenced by addData(), isInSymtab(), llvm::object::WasmSymbol::isUndefined(), and llvm::yaml::MappingTraits< WasmYAML::SymbolInfo >::mapping().
Definition at line 286 of file Wasm.h.
Referenced by llvm::object::WasmSymbol::isHidden(), and isInSymtab().
Definition at line 280 of file Wasm.h.
Referenced by llvm::object::WasmSymbol::getVisibility().