Home
last modified time | relevance | path

Searched refs:ExpectedIndex (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DBinaryItemStream.h43 auto ExpectedIndex = translateOffsetIndex(Offset); in readBytes() local
44 if (!ExpectedIndex) in readBytes()
45 return ExpectedIndex.takeError(); in readBytes()
46 const auto &Item = Items[*ExpectedIndex]; in readBytes()
57 auto ExpectedIndex = translateOffsetIndex(Offset); in readLongestContiguousChunk() local
58 if (!ExpectedIndex) in readLongestContiguousChunk()
59 return ExpectedIndex.takeError(); in readLongestContiguousChunk()
60 Buffer = Traits::bytes(Items[*ExpectedIndex]); in readLongestContiguousChunk()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DTpiStreamBuilder.cpp153 auto ExpectedIndex = Msf.addStream(HashStreamSize); in finalizeMsfLayout() local
154 if (!ExpectedIndex) in finalizeMsfLayout()
155 return ExpectedIndex.takeError(); in finalizeMsfLayout()
156 HashStreamIndex = *ExpectedIndex; in finalizeMsfLayout()
H A DPDBFileBuilder.cpp99 Expected<uint32_t> ExpectedIndex = allocateNamedStream(Name, Data.size()); in addNamedStream() local
100 if (!ExpectedIndex) in addNamedStream()
101 return ExpectedIndex.takeError(); in addNamedStream()
102 assert(NamedStreamData.count(*ExpectedIndex) == 0); in addNamedStream()
103 NamedStreamData[*ExpectedIndex] = std::string(Data); in addNamedStream()
H A DDbiStreamBuilder.cpp311 auto ExpectedIndex = Msf.addStream(S->Size); in finalizeMsfLayout() local
312 if (!ExpectedIndex) in finalizeMsfLayout()
313 return ExpectedIndex.takeError(); in finalizeMsfLayout()
314 S->StreamNumber = *ExpectedIndex; in finalizeMsfLayout()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp367 uint32_t ExpectedIndex = 0; in writeSectionContent() local
369 if (Sig.Index != ExpectedIndex) { in writeSectionContent()
373 ++ExpectedIndex; in writeSectionContent()
446 uint32_t ExpectedIndex = NumImportedTables; in writeSectionContent() local
448 if (Table.Index != ExpectedIndex) { in writeSectionContent()
452 ++ExpectedIndex; in writeSectionContent()
477 uint32_t ExpectedIndex = NumImportedGlobals; in writeSectionContent() local
479 if (Global.Index != ExpectedIndex) { in writeSectionContent()
483 ++ExpectedIndex; in writeSectionContent()
525 if (Func.Index != ExpectedIndex) { in writeSectionContent()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp2602 ValType ExpectedIndex, unsigned ExpectedIndexStride) { in fitsRegularPattern() argument
2606 if (*I != -1 && *I != ExpectedIndex) in fitsRegularPattern()
2608 ExpectedIndex += ExpectedIndexStride; in fitsRegularPattern()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp10442 unsigned ExpectedIndex = i * NumEltsIn128Bits + in isHopBuildVector() local
10444 if (ExpectedIndex == ExtIndex0 && ExtIndex1 == ExtIndex0 + 1) in isHopBuildVector()
10453 if (ExpectedIndex == ExtIndex1 && ExtIndex0 == ExtIndex1 + 1) in isHopBuildVector()