Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryItemStream.h42 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()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DTpiStreamBuilder.cpp154 auto ExpectedIndex = Msf.addStream(HashStreamSize); in finalizeMsfLayout()
155 if (!ExpectedIndex) in finalizeMsfLayout()
156 return ExpectedIndex.takeError(); in finalizeMsfLayout()
157 HashStreamIndex = *ExpectedIndex; in finalizeMsfLayout()
153 auto ExpectedIndex = Msf.addStream(HashStreamSize); finalizeMsfLayout() local
H A DPDBFileBuilder.cpp102 Expected<uint32_t> ExpectedIndex = allocateNamedStream(Name, Data.size()); in addNamedStream()
103 if (!ExpectedIndex) in addNamedStream()
104 return ExpectedIndex.takeError(); in addNamedStream()
105 assert(NamedStreamData.count(*ExpectedIndex) == 0); in addNamedStream()
106 NamedStreamData[*ExpectedIndex] = std::string(Data); in addNamedStream()
101 Expected<uint32_t> ExpectedIndex = allocateNamedStream(Name, Data.size()); addNamedStream() local
H A DDbiStreamBuilder.cpp312 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
/freebsd/contrib/llvm-project/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()
521 uint32_t ExpectedIndex = NumImportedFunctions; in writeSectionContent() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp2605 ValType ExpectedIndex, unsigned ExpectedIndexStride) { in fitsRegularPattern() argument
2609 if (*I != -1 && *I != ExpectedIndex) in fitsRegularPattern()
2611 ExpectedIndex += ExpectedIndexStride; in fitsRegularPattern()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp439 ValType ExpectedIndex, unsigned ExpectedIndexStride) { in fitsRegularPattern() argument
443 if (*I != -1 && *I != ExpectedIndex) in fitsRegularPattern()
445 ExpectedIndex += ExpectedIndexStride; in fitsRegularPattern()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp8173 unsigned ExpectedIndex = i * NumEltsIn128Bits + in isHopBuildVector() local
8175 if (ExpectedIndex == ExtIndex0 && ExtIndex1 == ExtIndex0 + 1) in isHopBuildVector()
8184 if (ExpectedIndex == ExtIndex1 && ExtIndex0 == ExtIndex1 + 1) in isHopBuildVector()