Lines Matching refs:ElementIndex
45 Out << ", ElemIndex=" << Info.ElementIndex; in print()
530 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
531 if (!isValidFunctionIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()
532 IsDefined != isDefinedFunctionIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()
537 unsigned FuncIndex = Info.ElementIndex - NumImportedFunctions; in parseLinkingSectionSymtab()
543 wasm::WasmImport &Import = *ImportedFunctions[Info.ElementIndex]; in parseLinkingSectionSymtab()
558 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
559 if (!isValidGlobalIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()
560 IsDefined != isDefinedGlobalIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()
569 unsigned GlobalIndex = Info.ElementIndex - NumImportedGlobals; in parseLinkingSectionSymtab()
575 wasm::WasmImport &Import = *ImportedGlobals[Info.ElementIndex]; in parseLinkingSectionSymtab()
590 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
591 if (!isValidTableIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()
592 IsDefined != isDefinedTableIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()
601 unsigned TableIndex = Info.ElementIndex - NumImportedTables; in parseLinkingSectionSymtab()
607 wasm::WasmImport &Import = *ImportedTables[Info.ElementIndex]; in parseLinkingSectionSymtab()
644 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
646 StringRef SectionName = Sections[Info.ElementIndex].Name; in parseLinkingSectionSymtab()
652 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()
653 if (!isValidEventIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()
654 IsDefined != isDefinedEventIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()
663 unsigned EventIndex = Info.ElementIndex - NumImportedEvents; in parseLinkingSectionSymtab()
671 wasm::WasmImport &Import = *ImportedEvents[Info.ElementIndex]; in parseLinkingSectionSymtab()
1448 isDefinedFunctionIndex(Sym.Info.ElementIndex)) in getSymbolAddress()
1449 return getDefinedFunction(Sym.Info.ElementIndex).CodeSectionOffset; in getSymbolAddress()
1460 return Sym.Info.ElementIndex; in getWasmSymbolValue()
1542 return Sym.Info.ElementIndex; in getSymbolSectionIdImpl()