Lines Matching refs:ElementIndex
45 Out << ", ElemIndex=" << Info.ElementIndex; in print()
540 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
541 if (!isValidFunctionIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()
542 IsDefined != isDefinedFunctionIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()
547 unsigned FuncIndex = Info.ElementIndex - NumImportedFunctions; in parseLinkingSectionSymtab()
553 wasm::WasmImport &Import = *ImportedFunctions[Info.ElementIndex]; in parseLinkingSectionSymtab()
568 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
569 if (!isValidGlobalIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()
570 IsDefined != isDefinedGlobalIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()
579 unsigned GlobalIndex = Info.ElementIndex - NumImportedGlobals; in parseLinkingSectionSymtab()
585 wasm::WasmImport &Import = *ImportedGlobals[Info.ElementIndex]; in parseLinkingSectionSymtab()
600 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
601 if (!isValidTableNumber(Info.ElementIndex) || in parseLinkingSectionSymtab()
602 IsDefined != isDefinedTableNumber(Info.ElementIndex)) in parseLinkingSectionSymtab()
611 unsigned TableNumber = Info.ElementIndex - NumImportedTables; in parseLinkingSectionSymtab()
617 wasm::WasmImport &Import = *ImportedTables[Info.ElementIndex]; in parseLinkingSectionSymtab()
656 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
658 StringRef SectionName = Sections[Info.ElementIndex].Name; in parseLinkingSectionSymtab()
664 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
665 if (!isValidTagIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()
666 IsDefined != isDefinedTagIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()
675 unsigned TagIndex = Info.ElementIndex - NumImportedTags; in parseLinkingSectionSymtab()
683 wasm::WasmImport &Import = *ImportedTags[Info.ElementIndex]; in parseLinkingSectionSymtab()
1509 isDefinedFunctionIndex(Sym.Info.ElementIndex)) in getSymbolAddress()
1510 return getDefinedFunction(Sym.Info.ElementIndex).CodeSectionOffset; in getSymbolAddress()
1521 return Sym.Info.ElementIndex; in getWasmSymbolValue()
1603 return Sym.Info.ElementIndex; in getSymbolSectionIdImpl()