LLVM 22.0.0git
|
#include "llvm/MC/MCSymbolWasm.h"
Additional Inherited Members | |
Protected Types inherited from llvm::MCSymbol | |
enum | Kind : uint8_t { Regular , Equated , Common } |
enum | : unsigned { NumCommonAlignmentBits = 5 } |
The alignment of the symbol if it is 'common'. More... | |
enum | : unsigned { NumFlagsBits = 16 } |
The Flags field is used by object file implementations to store additional per symbol information which is not easily classified. More... | |
using | NameEntryStorageTy |
The name for a symbol. | |
Protected Member Functions inherited from llvm::MCSymbol | |
MCSymbol (const MCSymbolTableEntry *Name, bool isTemporary) | |
MCSymbol (const MCSymbol &)=default | |
MCSymbol & | operator= (const MCSymbol &)=delete |
LLVM_ABI void * | operator new (size_t s, const MCSymbolTableEntry *Name, MCContext &Ctx) |
uint32_t | getFlags () const |
Get the (implementation defined) symbol flags. | |
void | setFlags (uint32_t Value) const |
Set the (implementation defined) symbol flags. | |
void | modifyFlags (uint32_t Value, uint32_t Mask) const |
Modify the flags via a mask. | |
Protected Attributes inherited from llvm::MCSymbol | |
MCFragment * | Fragment = nullptr |
If a symbol has a Fragment, the section is implied, so we only need one pointer. | |
unsigned | kind: 2 |
The symbol kind. | |
unsigned | HasName: 1 |
True if this symbol is named. | |
unsigned | IsTemporary: 1 |
IsTemporary - True if this is an assembler temporary label, which typically does not survive in the .o file's symbol table. | |
unsigned | IsRedefinable: 1 |
True if this symbol can be redefined. | |
unsigned | IsRegistered: 1 |
unsigned | IsExternal: 1 |
True if this symbol is visible outside this translation unit. | |
unsigned | IsPrivateExtern: 1 |
Mach-O specific: This symbol is private extern. | |
unsigned | IsWeakExternal: 1 |
This symbol is weak external. | |
unsigned | IsUsedInReloc: 1 |
True if we have created a relocation that uses this symbol. | |
unsigned | IsResolving: 1 |
Used to detect cyclic dependency like a = a + 1 and a = b; b = a. | |
unsigned | CommonAlignLog2: NumCommonAlignmentBits |
uint32_t | Flags: NumFlagsBits |
uint32_t | Index = 0 |
Index field, for use by the object file implementation. | |
union { | |
uint64_t Offset | |
The offset to apply to the fragment address to form this symbol's value. More... | |
uint64_t CommonSize | |
The size of the symbol, if it is 'common'. More... | |
const MCExpr * Value | |
If non-null, the value for a variable symbol. More... | |
}; | |
Static Protected Attributes inherited from llvm::MCSymbol | |
static LLVM_ABI MCFragment * | AbsolutePseudoFragment = &SentinelFragment |
Definition at line 17 of file MCSymbolWasm.h.
|
inline |
Definition at line 37 of file MCSymbolWasm.h.
References llvm::MCSymbol::isTemporary(), and llvm::MCSymbol::MCSymbol().
|
inline |
Definition at line 112 of file MCSymbolWasm.h.
|
inline |
Definition at line 135 of file MCSymbolWasm.h.
References assert().
Referenced by llvm::WebAssemblyTargetAsmStreamer::emitGlobalType().
|
inline |
Definition at line 92 of file MCSymbolWasm.h.
|
inline |
Definition at line 104 of file MCSymbolWasm.h.
References llvm::MCSymbol::getName().
|
inline |
Definition at line 132 of file MCSymbolWasm.h.
Referenced by llvm::WebAssemblyTargetAsmStreamer::emitFunctionType(), and llvm::WebAssemblyTargetAsmStreamer::emitTagType().
Definition at line 42 of file MCSymbolWasm.h.
References llvm::MCSymbol::MCExpr.
|
inline |
Definition at line 142 of file MCSymbolWasm.h.
References assert(), and hasTableType().
Referenced by llvm::WebAssemblyTargetAsmStreamer::emitTableType(), and isFunctionTable().
|
inline |
Definition at line 53 of file MCSymbolWasm.h.
Referenced by llvm::WebAssemblyAsmPrinter::emitSymbolType(), llvm::MCContext::getWasmSection(), and llvm::WebAssembly::wasmSymbolSetType().
|
inline |
Definition at line 111 of file MCSymbolWasm.h.
|
inline |
Definition at line 91 of file MCSymbolWasm.h.
|
inline |
Definition at line 103 of file MCSymbolWasm.h.
|
inline |
Definition at line 141 of file MCSymbolWasm.h.
Referenced by getTableType(), and isFunctionTable().
|
inline |
Definition at line 82 of file MCSymbolWasm.h.
Referenced by isInSymtab(), and setComdat().
|
inline |
Definition at line 47 of file MCSymbolWasm.h.
References llvm::wasm::WASM_SYMBOL_TYPE_DATA.
|
inline |
Definition at line 57 of file MCSymbolWasm.h.
References llvm::MCSymbol::getFlags(), and llvm::wasm::WASM_SYMBOL_EXPORTED.
|
inline |
Definition at line 40 of file MCSymbolWasm.h.
References llvm::MCSymbol::IsExternal.
|
inline |
Definition at line 45 of file MCSymbolWasm.h.
References llvm::wasm::WASM_SYMBOL_TYPE_FUNCTION.
Referenced by llvm::WebAssemblyTargetAsmStreamer::emitFunctionType().
|
inline |
Definition at line 115 of file MCSymbolWasm.h.
References llvm::wasm::WasmTableType::ElemType, llvm::wasm::FUNCREF, getTableType(), hasTableType(), and isTable().
|
inline |
Definition at line 48 of file MCSymbolWasm.h.
References llvm::wasm::WASM_SYMBOL_TYPE_GLOBAL.
Referenced by llvm::WebAssemblyTargetAsmStreamer::emitGlobalType().
|
inline |
Definition at line 79 of file MCSymbolWasm.h.
Referenced by setHidden().
|
inline |
Definition at line 64 of file MCSymbolWasm.h.
References llvm::MCSymbol::getFlags(), and llvm::wasm::WASM_SYMBOL_NO_STRIP.
|
inline |
Definition at line 50 of file MCSymbolWasm.h.
References llvm::wasm::WASM_SYMBOL_TYPE_SECTION.
Referenced by isInSymtab().
|
inline |
Definition at line 49 of file MCSymbolWasm.h.
References llvm::wasm::WASM_SYMBOL_TYPE_TABLE.
Referenced by llvm::WebAssemblyTargetAsmStreamer::emitTableType(), and isFunctionTable().
|
inline |
Definition at line 51 of file MCSymbolWasm.h.
References llvm::wasm::WASM_SYMBOL_TYPE_TAG.
Referenced by llvm::WebAssemblyTargetAsmStreamer::emitTagType().
|
inline |
Definition at line 71 of file MCSymbolWasm.h.
References llvm::MCSymbol::getFlags(), and llvm::wasm::WASM_SYMBOL_TLS.
|
inline |
Definition at line 127 of file MCSymbolWasm.h.
|
inline |
Definition at line 130 of file MCSymbolWasm.h.
Referenced by isInSymtab().
|
inline |
Definition at line 76 of file MCSymbolWasm.h.
Referenced by setWeak().
|
inline |
Definition at line 88 of file MCSymbolWasm.h.
Referenced by isInSymtab().
|
inline |
Definition at line 83 of file MCSymbolWasm.h.
References isComdat().
Referenced by llvm::MCContext::getWasmSection().
|
inline |
Definition at line 60 of file MCSymbolWasm.h.
References llvm::MCSymbol::modifyFlags(), and llvm::wasm::WASM_SYMBOL_EXPORTED.
|
inline |
Definition at line 113 of file MCSymbolWasm.h.
|
inline |
Definition at line 41 of file MCSymbolWasm.h.
References llvm::MCSymbol::IsExternal, and llvm::MCSymbol::Value.
|
inline |
Definition at line 119 of file MCSymbolWasm.h.
References llvm::wasm::FUNCREF, setTableType(), setType(), llvm::wasm::WASM_LIMITS_FLAG_IS_64, llvm::wasm::WASM_LIMITS_FLAG_NONE, and llvm::wasm::WASM_SYMBOL_TYPE_TABLE.
Referenced by llvm::WebAssembly::getOrCreateFunctionTableSymbol().
|
inline |
Definition at line 139 of file MCSymbolWasm.h.
Referenced by llvm::WebAssembly::wasmSymbolSetType().
|
inline |
Definition at line 80 of file MCSymbolWasm.h.
References isHidden().
|
inline |
Definition at line 101 of file MCSymbolWasm.h.
|
inline |
Definition at line 109 of file MCSymbolWasm.h.
|
inline |
Definition at line 67 of file MCSymbolWasm.h.
References llvm::MCSymbol::modifyFlags(), and llvm::wasm::WASM_SYMBOL_NO_STRIP.
Referenced by LowerCallResults().
|
inline |
Definition at line 89 of file MCSymbolWasm.h.
Referenced by llvm::WebAssembly::getOrCreateFuncrefCallTableSymbol(), and llvm::WebAssembly::getOrCreateFunctionTableSymbol().
|
inline |
Definition at line 133 of file MCSymbolWasm.h.
Referenced by llvm::WebAssemblyAsmPrinter::emitFunctionBodyStart().
Definition at line 43 of file MCSymbolWasm.h.
References llvm::MCSymbol::MCExpr.
|
inline |
Definition at line 147 of file MCSymbolWasm.h.
References setTableType(), and llvm::wasm::WASM_LIMITS_FLAG_NONE.
|
inline |
Definition at line 146 of file MCSymbolWasm.h.
Referenced by setFunctionTable(), setTableType(), and llvm::WebAssembly::wasmSymbolSetType().
|
inline |
Definition at line 72 of file MCSymbolWasm.h.
References llvm::MCSymbol::modifyFlags(), and llvm::wasm::WASM_SYMBOL_TLS.
|
inline |
Definition at line 55 of file MCSymbolWasm.h.
Referenced by llvm::MCContext::getWasmSection(), setFunctionTable(), and llvm::WebAssembly::wasmSymbolSetType().
|
inline |
Definition at line 126 of file MCSymbolWasm.h.
|
inline |
Definition at line 129 of file MCSymbolWasm.h.
|
inline |
Definition at line 77 of file MCSymbolWasm.h.
References isWeak().
Referenced by llvm::WebAssembly::getOrCreateFuncrefCallTableSymbol().