Lines Matching refs:MCSymbolWasm

121   const MCSymbolWasm *Sym;
141 const MCSymbolWasm *Symbol; // The symbol to relocate with.
146 WasmRelocationEntry(uint64_t Offset, const MCSymbolWasm *Symbol, in WasmRelocationEntry()
214 DenseMap<const MCSymbolWasm *, uint32_t> TypeIndices;
217 DenseMap<const MCSymbolWasm *, uint32_t> TableIndices;
220 DenseMap<const MCSymbolWasm *, uint32_t> WasmIndices;
222 DenseMap<const MCSymbolWasm *, wasm::WasmDataReference> DataLocations;
325 uint32_t getFunctionType(const MCSymbolWasm &Symbol);
326 uint32_t getEventType(const MCSymbolWasm &Symbol);
327 void registerFunctionType(const MCSymbolWasm &Symbol);
328 void registerEventType(const MCSymbolWasm &Symbol);
403 const auto &WS = static_cast<const MCSymbolWasm &>(S); in executePostLayoutBinding()
449 const auto &SymB = cast<MCSymbolWasm>(RefB->getSymbol()); in recordRelocation()
474 const auto *SymA = RefA ? cast<MCSymbolWasm>(&RefA->getSymbol()) : nullptr; in recordRelocation()
511 SymA = cast<MCSymbolWasm>(SectionSymbol); in recordRelocation()
565 static const MCSymbolWasm *ResolveSymbol(const MCSymbolWasm &Symbol) { in ResolveSymbol()
569 return cast<MCSymbolWasm>(&Inner->getSymbol()); in ResolveSymbol()
584 const MCSymbolWasm *Sym = ResolveSymbol(*RelEntry.Symbol); in getProvisionalValue()
609 const MCSymbolWasm *Sym = ResolveSymbol(*RelEntry.Symbol); in getProvisionalValue()
1076 uint32_t WasmObjectWriter::getFunctionType(const MCSymbolWasm &Symbol) { in getFunctionType()
1082 uint32_t WasmObjectWriter::getEventType(const MCSymbolWasm &Symbol) { in getEventType()
1088 void WasmObjectWriter::registerFunctionType(const MCSymbolWasm &Symbol) { in registerFunctionType()
1092 const MCSymbolWasm *ResolvedSym = ResolveSymbol(Symbol); in registerFunctionType()
1108 void WasmObjectWriter::registerEventType(const MCSymbolWasm &Symbol) { in registerEventType()
1129 static bool isInSymtab(const MCSymbolWasm &Sym) { in isInSymtab()
1169 MCSymbolWasm *MemorySym = in writeObject()
1170 cast<MCSymbolWasm>(Ctx.getOrCreateSymbol("__linear_memory")); in writeObject()
1180 MCSymbolWasm *TableSym = in writeObject()
1181 cast<MCSymbolWasm>(Ctx.getOrCreateSymbol("__indirect_function_table")); in writeObject()
1193 const auto &WS = static_cast<const MCSymbolWasm &>(S); in writeObject()
1271 if (const MCSymbolWasm *C = Section.getGroup()) { in writeObject()
1287 WasmIndices[cast<MCSymbolWasm>(Begin)] = CustomSections.size(); in writeObject()
1303 const auto &WS = static_cast<const MCSymbolWasm &>(S); in writeObject()
1336 if (const MCSymbolWasm *C = Section.getGroup()) { in writeObject()
1419 const auto &WS = static_cast<const MCSymbolWasm &>(S); in writeObject()
1420 const MCSymbolWasm *ResolvedSym = ResolveSymbol(WS); in writeObject()
1442 const auto &WS = static_cast<const MCSymbolWasm &>(S); in writeObject()
1485 const MCSymbolWasm &WS = *ResolveSymbol(*Rel.Symbol); in writeObject()