Lines Matching refs:WasmIndices
217 DenseMap<const MCSymbolWasm *, uint32_t> WasmIndices; member in __anon335a907b0111::WasmObjectWriter
275 WasmIndices.clear(); in reset()
675 assert(WasmIndices.count(RelEntry.Symbol) > 0 && "symbol not found in wasm index space"); in getProvisionalValue()
676 return WasmIndices[RelEntry.Symbol]; in getProvisionalValue()
1010 assert(WasmIndices.count(IndirectFunctionTable)); in writeElemSection()
1011 uint32_t TableNumber = WasmIndices.find(IndirectFunctionTable)->second; in writeElemSection()
1373 assert(WasmIndices.count(&WS) == 0); in prepareImports()
1374 WasmIndices[&WS] = NumFunctionImports++; in prepareImports()
1385 assert(WasmIndices.count(&WS) == 0); in prepareImports()
1386 WasmIndices[&WS] = NumGlobalImports++; in prepareImports()
1397 assert(WasmIndices.count(&WS) == 0); in prepareImports()
1398 WasmIndices[&WS] = NumTagImports++; in prepareImports()
1409 assert(WasmIndices.count(&WS) == 0); in prepareImports()
1410 WasmIndices[&WS] = NumTableImports++; in prepareImports()
1525 assert(WasmIndices.count(cast<MCSymbolWasm>(Begin)) == 0); in writeOneObject()
1526 WasmIndices[cast<MCSymbolWasm>(Begin)] = CustomSections.size(); in writeOneObject()
1589 assert(WasmIndices.count(&WS) == 0); in writeOneObject()
1590 WasmIndices[&WS] = Index; in writeOneObject()
1608 Index = WasmIndices.find(&WS)->second; in writeOneObject()
1671 assert(WasmIndices.count(&WS) == 0); in writeOneObject()
1672 WasmIndices[&WS] = Global.Index; in writeOneObject()
1677 << WasmIndices.find(&WS)->second << "\n"); in writeOneObject()
1684 assert(WasmIndices.count(&WS) == 0); in writeOneObject()
1685 WasmIndices[&WS] = Table.Index; in writeOneObject()
1689 << WasmIndices.find(&WS)->second << "\n"); in writeOneObject()
1697 assert(WasmIndices.count(&WS) == 0); in writeOneObject()
1698 WasmIndices[&WS] = Index; in writeOneObject()
1702 assert(WasmIndices.count(&WS) > 0); in writeOneObject()
1704 LLVM_DEBUG(dbgs() << " -> tag index: " << WasmIndices.find(&WS)->second in writeOneObject()
1734 assert(WasmIndices.count(Base) > 0); in writeOneObject()
1735 uint32_t WasmIndex = WasmIndices.find(Base)->second; in writeOneObject()
1736 assert(WasmIndices.count(&WS) == 0); in writeOneObject()
1737 WasmIndices[&WS] = WasmIndex; in writeOneObject()
1801 assert(WasmIndices.count(&WS) > 0); in writeOneObject()
1802 Info.ElementIndex = WasmIndices.find(&WS)->second; in writeOneObject()
1826 uint32_t FunctionIndex = WasmIndices.find(Base)->second; in writeOneObject()