Searched refs:ExpectedIndex (Results 1 – 9 of 9) sorted by relevance
42 auto ExpectedIndex = translateOffsetIndex(Offset); in readBytes() 43 if (!ExpectedIndex) in readBytes() local 44 return ExpectedIndex.takeError(); in readBytes() 45 const auto &Item = Items[*ExpectedIndex]; in readBytes() 56 auto ExpectedIndex = translateOffsetIndex(Offset); in readLongestContiguousChunk() 57 if (!ExpectedIndex) in readLongestContiguousChunk() local 58 return ExpectedIndex.takeError(); in readLongestContiguousChunk() 59 Buffer = Traits::bytes(Items[*ExpectedIndex]); in readLongestContiguousChunk()
153 auto ExpectedIndex = Msf.addStream(HashStreamSize); in finalizeMsfLayout() local154 if (!ExpectedIndex) in finalizeMsfLayout()155 return ExpectedIndex.takeError(); in finalizeMsfLayout()156 HashStreamIndex = *ExpectedIndex; in finalizeMsfLayout()
101 Expected<uint32_t> ExpectedIndex = allocateNamedStream(Name, Data.size()); in addNamedStream() local102 if (!ExpectedIndex) in addNamedStream()103 return ExpectedIndex.takeError(); in addNamedStream()104 assert(NamedStreamData.count(*ExpectedIndex) == 0); in addNamedStream()105 NamedStreamData[*ExpectedIndex] = std::string(Data); in addNamedStream()
312 auto ExpectedIndex = Msf.addStream(S->Size); in finalizeMsfLayout() 313 if (!ExpectedIndex) in finalizeMsfLayout() 314 return ExpectedIndex.takeError(); in finalizeMsfLayout() 315 S->StreamNumber = *ExpectedIndex; in finalizeMsfLayout() 311 auto ExpectedIndex = Msf.addStream(S->Size); finalizeMsfLayout() local
375 uint32_t ExpectedIndex = 0; in writeSectionContent() local377 if (Sig.Index != ExpectedIndex) { in writeSectionContent()381 ++ExpectedIndex; in writeSectionContent()454 uint32_t ExpectedIndex = NumImportedTables; in writeSectionContent() local456 if (Table.Index != ExpectedIndex) { in writeSectionContent()460 ++ExpectedIndex; in writeSectionContent()485 uint32_t ExpectedIndex = NumImportedGlobals; in writeSectionContent() local487 if (Global.Index != ExpectedIndex) { in writeSectionContent()491 ++ExpectedIndex; in writeSectionContent()529 uint32_t ExpectedIndex = NumImportedFunctions; in writeSectionContent() local[all …]
2649 ValType ExpectedIndex, unsigned ExpectedIndexStride) { in fitsRegularPattern() argument2653 if (*I != -1 && *I != ExpectedIndex) in fitsRegularPattern()2655 ExpectedIndex += ExpectedIndexStride; in fitsRegularPattern()
1070 ValType ExpectedIndex, unsigned ExpectedIndexStride) { in fitsRegularPattern() argument1074 if (*I != -1 && *I != ExpectedIndex) in fitsRegularPattern()1076 ExpectedIndex += ExpectedIndexStride; in fitsRegularPattern()
363 SmallBitVector ExpectedIndex(GroupSize); in getShufflevectorNumGroups() local372 ExpectedIndex.set(Index / ShuffleMaskSize); in getShufflevectorNumGroups()376 if (!ExpectedIndex.all()) in getShufflevectorNumGroups()
8526 unsigned ExpectedIndex = i * NumEltsIn128Bits + in isHopBuildVector() local8528 if (ExpectedIndex == ExtIndex0 && ExtIndex1 == ExtIndex0 + 1) in isHopBuildVector()8537 if (ExpectedIndex == ExtIndex1 && ExtIndex0 == ExtIndex1 + 1) in isHopBuildVector()