Lines Matching refs:ElementIndex
54 Out << ", ElemIndex=" << Info.ElementIndex; in print()
641 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
642 if (!isValidFunctionIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()
643 IsDefined != isDefinedFunctionIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()
648 unsigned FuncIndex = Info.ElementIndex - NumImportedFunctions; in parseLinkingSectionSymtab()
654 wasm::WasmImport &Import = *ImportedFunctions[Info.ElementIndex]; in parseLinkingSectionSymtab()
667 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
668 if (!isValidGlobalIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()
669 IsDefined != isDefinedGlobalIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()
678 unsigned GlobalIndex = Info.ElementIndex - NumImportedGlobals; in parseLinkingSectionSymtab()
684 wasm::WasmImport &Import = *ImportedGlobals[Info.ElementIndex]; in parseLinkingSectionSymtab()
697 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
698 if (!isValidTableNumber(Info.ElementIndex) || in parseLinkingSectionSymtab()
699 IsDefined != isDefinedTableNumber(Info.ElementIndex)) in parseLinkingSectionSymtab()
708 unsigned TableNumber = Info.ElementIndex - NumImportedTables; in parseLinkingSectionSymtab()
714 wasm::WasmImport &Import = *ImportedTables[Info.ElementIndex]; in parseLinkingSectionSymtab()
755 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
757 StringRef SectionName = Sections[Info.ElementIndex].Name; in parseLinkingSectionSymtab()
763 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
764 if (!isValidTagIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()
765 IsDefined != isDefinedTagIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()
774 unsigned TagIndex = Info.ElementIndex - NumImportedTags; in parseLinkingSectionSymtab()
781 wasm::WasmImport &Import = *ImportedTags[Info.ElementIndex]; in parseLinkingSectionSymtab()
1317 Info.ElementIndex = Ex.Index; in parseExportSection()
1318 unsigned FuncIndex = Info.ElementIndex - NumImportedFunctions; in parseExportSection()
1348 Info.ElementIndex = Ex.Index; in parseExportSection()
1354 Info.ElementIndex = Ex.Index; in parseExportSection()
1672 isDefinedFunctionIndex(Sym.Info.ElementIndex)) { in getSymbolAddress()
1680 return getDefinedFunction(Sym.Info.ElementIndex).CodeSectionOffset + in getSymbolAddress()
1692 return Sym.Info.ElementIndex; in getWasmSymbolValue()
1778 return Sym.Info.ElementIndex; in getSymbolSectionIdImpl()