Lines Matching refs:MCSymbolWasm
75 const MCSymbolWasm *Sym;
95 const MCSymbolWasm *Symbol; // The symbol to relocate with.
100 WasmRelocationEntry(uint64_t Offset, const MCSymbolWasm *Symbol, in WasmRelocationEntry()
212 DenseMap<const MCSymbolWasm *, uint32_t> TypeIndices;
215 DenseMap<const MCSymbolWasm *, uint32_t> TableIndices;
218 DenseMap<const MCSymbolWasm *, uint32_t> WasmIndices;
219 DenseMap<const MCSymbolWasm *, uint32_t> GOTIndices;
221 DenseMap<const MCSymbolWasm *, wasm::WasmDataReference> DataLocations;
335 void writeElemSection(const MCSymbolWasm *IndirectFunctionTable,
360 uint32_t getFunctionType(const MCSymbolWasm &Symbol);
361 uint32_t getTagType(const MCSymbolWasm &Symbol);
362 void registerFunctionType(const MCSymbolWasm &Symbol);
363 void registerTagType(const MCSymbolWasm &Symbol);
464 const auto *WasmSym = static_cast<const MCSymbolWasm *>(Sym); in executePostLayoutBinding()
472 const auto &WS = static_cast<const MCSymbolWasm &>(S); in executePostLayoutBinding()
500 const auto &SymB = cast<MCSymbolWasm>(RefB->getSymbol()); in recordRelocation()
529 const auto *SymA = cast<MCSymbolWasm>(&RefA->getSymbol()); in recordRelocation()
582 SymA = cast<MCSymbolWasm>(SectionSymbol); in recordRelocation()
594 MCSymbolWasm *Sym = cast_or_null<MCSymbolWasm>(Ctx.lookupSymbol(TableName)); in recordRelocation()
661 const MCSymbolWasm *Base = in getProvisionalValue()
662 cast<MCSymbolWasm>(Layout.getBaseSymbol(*RelEntry.Symbol)); in getProvisionalValue()
1000 const MCSymbolWasm *IndirectFunctionTable, ArrayRef<uint32_t> TableElems) { in writeElemSection()
1262 uint32_t WasmObjectWriter::getFunctionType(const MCSymbolWasm &Symbol) { in getFunctionType()
1268 uint32_t WasmObjectWriter::getTagType(const MCSymbolWasm &Symbol) { in getTagType()
1274 void WasmObjectWriter::registerFunctionType(const MCSymbolWasm &Symbol) { in registerFunctionType()
1294 void WasmObjectWriter::registerTagType(const MCSymbolWasm &Symbol) { in registerTagType()
1315 static bool isInSymtab(const MCSymbolWasm &Sym) { in isInSymtab()
1352 const auto &WS = static_cast<const MCSymbolWasm &>(S); in prepareImports()
1361 registerFunctionType(*cast<MCSymbolWasm>(BS)); in prepareImports()
1423 const auto &WS = static_cast<const MCSymbolWasm &>(S); in prepareImports()
1519 if (const MCSymbolWasm *C = Section.getGroup()) { in writeOneObject()
1535 assert(WasmIndices.count(cast<MCSymbolWasm>(Begin)) == 0); in writeOneObject()
1536 WasmIndices[cast<MCSymbolWasm>(Begin)] = CustomSections.size(); in writeOneObject()
1554 if (const MCSymbolWasm *C = Section.getGroup()) { in writeOneObject()
1572 const auto &WS = static_cast<const MCSymbolWasm &>(S); in writeOneObject()
1608 if (const MCSymbolWasm *C = Section.getGroup()) { in writeOneObject()
1740 const MCSymbolWasm *Base = cast<MCSymbolWasm>(BS); in writeOneObject()
1743 const auto &WS = static_cast<const MCSymbolWasm &>(S); in writeOneObject()
1781 const auto &WS = static_cast<const MCSymbolWasm &>(S); in writeOneObject()
1838 const MCSymbolWasm *Base = in writeOneObject()
1839 cast<MCSymbolWasm>(Layout.getBaseSymbol(*Rel.Symbol)); in writeOneObject()
1912 const auto &TargetSym = cast<const MCSymbolWasm>(SymRef->getSymbol()); in writeOneObject()
1937 writeElemSection(cast_or_null<const MCSymbolWasm>(IndirectFunctionTable), in writeOneObject()