Lines Matching refs:ElementIndex
56 Out << ", ElemIndex=" << Info.ElementIndex; in print()
725 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
726 if (!isValidFunctionIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()
727 IsDefined != isDefinedFunctionIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()
732 unsigned FuncIndex = Info.ElementIndex - NumImportedFunctions; in parseLinkingSectionSymtab()
738 wasm::WasmImport &Import = *ImportedFunctions[Info.ElementIndex]; in parseLinkingSectionSymtab()
751 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
752 if (!isValidGlobalIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()
753 IsDefined != isDefinedGlobalIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()
762 unsigned GlobalIndex = Info.ElementIndex - NumImportedGlobals; in parseLinkingSectionSymtab()
768 wasm::WasmImport &Import = *ImportedGlobals[Info.ElementIndex]; in parseLinkingSectionSymtab()
781 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
782 if (!isValidTableNumber(Info.ElementIndex) || in parseLinkingSectionSymtab()
783 IsDefined != isDefinedTableNumber(Info.ElementIndex)) in parseLinkingSectionSymtab()
792 unsigned TableNumber = Info.ElementIndex - NumImportedTables; in parseLinkingSectionSymtab()
798 wasm::WasmImport &Import = *ImportedTables[Info.ElementIndex]; in parseLinkingSectionSymtab()
839 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
841 StringRef SectionName = Sections[Info.ElementIndex].Name; in parseLinkingSectionSymtab()
847 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
848 if (!isValidTagIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()
849 IsDefined != isDefinedTagIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()
858 unsigned TagIndex = Info.ElementIndex - NumImportedTags; in parseLinkingSectionSymtab()
865 wasm::WasmImport &Import = *ImportedTags[Info.ElementIndex]; in parseLinkingSectionSymtab()
1453 Info.ElementIndex = Ex.Index; in parseExportSection()
1454 unsigned FuncIndex = Info.ElementIndex - NumImportedFunctions; in parseExportSection()
1484 Info.ElementIndex = Ex.Index; in parseExportSection()
1490 Info.ElementIndex = Ex.Index; in parseExportSection()
1834 isDefinedFunctionIndex(Sym.Info.ElementIndex)) { in getSymbolAddress()
1835 return getDefinedFunction(Sym.Info.ElementIndex).CodeSectionOffset + in getSymbolAddress()
1839 isDefinedGlobalIndex(Sym.Info.ElementIndex)) { in getSymbolAddress()
1840 return getDefinedGlobal(Sym.Info.ElementIndex).Offset + SectionAddress; in getSymbolAddress()
1852 return Sym.Info.ElementIndex; in getWasmSymbolValue()
1938 return Sym.Info.ElementIndex; in getSymbolSectionIdImpl()
1953 return getDefinedGlobal(Sym.Info.ElementIndex).Size; in getSymbolSize()
1957 return functions()[Sym.Info.ElementIndex - getNumImportedFunctions()].Size; in getSymbolSize()