Lines Matching refs:ElementIndex

53     Out << ", ElemIndex=" << Info.ElementIndex;  in print()
735 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
736 if (!isValidFunctionIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()
737 IsDefined != isDefinedFunctionIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()
742 unsigned FuncIndex = Info.ElementIndex - NumImportedFunctions; in parseLinkingSectionSymtab()
748 wasm::WasmImport &Import = *ImportedFunctions[Info.ElementIndex]; in parseLinkingSectionSymtab()
761 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
762 if (!isValidGlobalIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()
763 IsDefined != isDefinedGlobalIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()
772 unsigned GlobalIndex = Info.ElementIndex - NumImportedGlobals; in parseLinkingSectionSymtab()
778 wasm::WasmImport &Import = *ImportedGlobals[Info.ElementIndex]; in parseLinkingSectionSymtab()
791 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
792 if (!isValidTableNumber(Info.ElementIndex) || in parseLinkingSectionSymtab()
793 IsDefined != isDefinedTableNumber(Info.ElementIndex)) in parseLinkingSectionSymtab()
802 unsigned TableNumber = Info.ElementIndex - NumImportedTables; in parseLinkingSectionSymtab()
808 wasm::WasmImport &Import = *ImportedTables[Info.ElementIndex]; in parseLinkingSectionSymtab()
849 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
851 StringRef SectionName = Sections[Info.ElementIndex].Name; in parseLinkingSectionSymtab()
857 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
858 if (!isValidTagIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()
859 IsDefined != isDefinedTagIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()
868 unsigned TagIndex = Info.ElementIndex - NumImportedTags; in parseLinkingSectionSymtab()
875 wasm::WasmImport &Import = *ImportedTags[Info.ElementIndex]; in parseLinkingSectionSymtab()
1460 Info.ElementIndex = Ex.Index; in parseExportSection()
1463 unsigned FuncIndex = Info.ElementIndex - NumImportedFunctions; in parseExportSection()
1497 Info.ElementIndex = Ex.Index; in parseExportSection()
1503 Info.ElementIndex = Ex.Index; in parseExportSection()
1855 isDefinedFunctionIndex(Sym.Info.ElementIndex)) { in getSymbolAddress()
1856 return getDefinedFunction(Sym.Info.ElementIndex).CodeSectionOffset + in getSymbolAddress()
1860 isDefinedGlobalIndex(Sym.Info.ElementIndex)) { in getSymbolAddress()
1861 return getDefinedGlobal(Sym.Info.ElementIndex).Offset + SectionAddress; in getSymbolAddress()
1873 return Sym.Info.ElementIndex; in getWasmSymbolValue()
1959 return Sym.Info.ElementIndex; in getSymbolSectionIdImpl()
1974 return getDefinedGlobal(Sym.Info.ElementIndex).Size; in getSymbolSize()
1978 return functions()[Sym.Info.ElementIndex - getNumImportedFunctions()].Size; in getSymbolSize()