Searched refs:ElementIndex (Results 1 – 12 of 12) sorted by relevance
53 unsigned ElementIndex;57 ElementIndex = ~0U; in SparseBitVectorElement()63 ElementIndex = Idx; in SparseBitVectorElement()69 if (ElementIndex != RHS.ElementIndex)88 return ElementIndex; in index()271 ElementListIter FindLowerBoundImpl(unsigned ElementIndex) const { in FindLowerBoundImpl() argument295 if (CurrElementIter->index() == ElementIndex) { in FindLowerBoundImpl()297 } else if (CurrElementIter->index() > ElementIndex) { in FindLowerBoundImpl()299 && ElementIter->index() > ElementIndex) in FindLowerBoundImpl()303 ElementIter->index() < ElementIndex) in FindLowerBoundImpl()[all …]
44 Out << ", ElemIndex=" << Info.ElementIndex; in print()497 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()498 if (!isValidFunctionIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()499 IsDefined != isDefinedFunctionIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()504 unsigned FuncIndex = Info.ElementIndex - NumImportedFunctions; in parseLinkingSectionSymtab()510 wasm::WasmImport &Import = *ImportedFunctions[Info.ElementIndex]; in parseLinkingSectionSymtab()522 Info.ElementIndex = readVaruint32(Ctx); in parseLinkingSectionSymtab()523 if (!isValidGlobalIndex(Info.ElementIndex) || in parseLinkingSectionSymtab()524 IsDefined != isDefinedGlobalIndex(Info.ElementIndex)) in parseLinkingSectionSymtab()533 unsigned GlobalIndex = Info.ElementIndex - NumImportedGlobals; in parseLinkingSectionSymtab()[all …]
362 static constexpr size_t ElementIndex() {421 return Offset<ElementIndex<T>()>();454 return Size<ElementIndex<T>()>();502 return Pointer<ElementIndex<T>()>(p);560 return Slice<ElementIndex<T>()>(p);
491 IO.mapRequired("Function", Info.ElementIndex); in mapping()493 IO.mapRequired("Global", Info.ElementIndex); in mapping()495 IO.mapRequired("Event", Info.ElementIndex); in mapping()503 IO.mapRequired("Section", Info.ElementIndex); in mapping()
191 encodeULEB128(Info.ElementIndex, SubSection.getStream()); in writeSectionContent()205 encodeULEB128(Info.ElementIndex, SubSection.getStream()); in writeSectionContent()
187 uint32_t ElementIndex; member
1974 unsigned ElementIndex = getTypeSizeIndex(Shift, VecEltTy); in collectInsertionElements() local1976 ElementIndex = Elements.size() - ElementIndex - 1; in collectInsertionElements()1979 if (Elements[ElementIndex]) in collectInsertionElements()1982 Elements[ElementIndex] = V; in collectInsertionElements()
948 encodeULEB128(Sym.ElementIndex, W.OS); in writeLinkingMetaDataSection()963 CustomSections[Sym.ElementIndex].OutputIndex; in writeLinkingMetaDataSection()1474 Info.ElementIndex = WasmIndices.find(&WS)->second; in writeObject()
157 uint32_t ElementIndex; member
2695 auto *ElementIndex = llvm::dyn_cast<ConstantInteger32>(Instr->getSrc(1)); in lowerExtractElement() local2697 assert(ElementIndex); in lowerExtractElement()2699 unsigned Index = ElementIndex->getValue(); in lowerExtractElement()3195 auto *ElementIndex = llvm::dyn_cast<ConstantInteger32>(Instr->getSrc(2)); in lowerInsertElement() local3197 assert(ElementIndex); in lowerInsertElement()3198 unsigned Index = ElementIndex->getValue(); in lowerInsertElement()
2992 auto *ElementIndex = llvm::dyn_cast<ConstantInteger32>(Instr->getSrc(1)); in lowerExtractElement() local2994 assert(ElementIndex); in lowerExtractElement()2996 unsigned Index = ElementIndex->getValue(); in lowerExtractElement()3639 auto *ElementIndex = llvm::dyn_cast<ConstantInteger32>(Instr->getSrc(2)); in lowerInsertElement() local3641 assert(ElementIndex); in lowerInsertElement()3642 unsigned Index = ElementIndex->getValue(); in lowerInsertElement()