Lines Matching refs:ElementIndex
43 Out << ", ElemIndex=" << Info.ElementIndex; in print()
622 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
623 if (!isValidFunctionIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()
624 IsDefined != isDefinedFunctionIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()
629 unsigned FuncIndex = Info.ElementIndex - NumImportedFunctions; in parseLinkingSectionSymtab()
635 wasm::WasmImport &Import = *ImportedFunctions[Info.ElementIndex]; in parseLinkingSectionSymtab()
650 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
651 if (!isValidGlobalIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()
652 IsDefined != isDefinedGlobalIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()
661 unsigned GlobalIndex = Info.ElementIndex - NumImportedGlobals; in parseLinkingSectionSymtab()
667 wasm::WasmImport &Import = *ImportedGlobals[Info.ElementIndex]; in parseLinkingSectionSymtab()
682 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
683 if (!isValidTableNumber(Info.ElementIndex) || in parseLinkingSectionSymtab()
684 IsDefined != isDefinedTableNumber(Info.ElementIndex)) in parseLinkingSectionSymtab()
693 unsigned TableNumber = Info.ElementIndex - NumImportedTables; in parseLinkingSectionSymtab()
699 wasm::WasmImport &Import = *ImportedTables[Info.ElementIndex]; in parseLinkingSectionSymtab()
738 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
740 StringRef SectionName = Sections[Info.ElementIndex].Name; in parseLinkingSectionSymtab()
746 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
747 if (!isValidTagIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()
748 IsDefined != isDefinedTagIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()
757 unsigned TagIndex = Info.ElementIndex - NumImportedTags; in parseLinkingSectionSymtab()
764 wasm::WasmImport &Import = *ImportedTags[Info.ElementIndex]; in parseLinkingSectionSymtab()
1610 isDefinedFunctionIndex(Sym.Info.ElementIndex)) in getSymbolAddress()
1611 return getDefinedFunction(Sym.Info.ElementIndex).CodeSectionOffset; in getSymbolAddress()
1622 return Sym.Info.ElementIndex; in getWasmSymbolValue()
1706 return Sym.Info.ElementIndex; in getSymbolSectionIdImpl()