Home
last modified time | relevance | path

Searched refs:FileIndex (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DDeltaTree.cpp108 bool DoInsertion(unsigned FileIndex, int Delta, InsertResult *InsertRes);
183 bool DeltaTreeNode::DoInsertion(unsigned FileIndex, int Delta, in DoInsertion() argument
190 while (i != e && FileIndex > getValue(i).FileLoc) in DoInsertion()
195 if (i != e && getValue(i).FileLoc == FileIndex) { in DoInsertion()
212 Values[i] = SourceDelta::get(FileIndex, Delta); in DoInsertion()
222 if (InsertRes->Split.FileLoc > FileIndex) in DoInsertion()
223 InsertRes->LHS->DoInsertion(FileIndex, Delta, nullptr /*can't fail*/); in DoInsertion()
225 InsertRes->RHS->DoInsertion(FileIndex, Delta, nullptr /*can't fail*/); in DoInsertion()
231 if (!IN->Children[i]->DoInsertion(FileIndex, Delta, InsertRes)) in DoInsertion()
402 int DeltaTree::getDeltaAt(unsigned FileIndex) const { in getDeltaAt()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugLine.h115 LLVM_ABI bool hasFileAtIndex(uint64_t FileIndex) const;
120 getFileNameByIndex(uint64_t FileIndex, StringRef CompDir,
265 bool hasFileAtIndex(uint64_t FileIndex) const { in hasFileAtIndex()
266 return Prologue.hasFileAtIndex(FileIndex); in hasFileAtIndex()
278 bool getFileNameByIndex(uint64_t FileIndex, StringRef CompDir, in getFileNameByIndex()
281 return Prologue.getFileNameByIndex(FileIndex, CompDir, Kind, Result); in getFileNameByIndex()
317 getSourceByIndex(uint64_t FileIndex,
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDeltaTree.h42 LLVM_ABI int getDeltaAt(unsigned FileIndex) const;
47 LLVM_ABI void AddDelta(unsigned FileIndex, int Delta);
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLine.cpp72 bool DWARFDebugLine::Prologue::hasFileAtIndex(uint64_t FileIndex) const { in hasFileAtIndex()
77 return FileIndex < FileNames.size(); in hasFileAtIndex()
78 return FileIndex != 0 && FileIndex <= FileNames.size(); in hasFileAtIndex()
1461 DWARFDebugLine::LineTable::getSourceByIndex(uint64_t FileIndex, in getSourceByIndex() argument
1463 if (Kind == FileLineInfoKind::None || !Prologue.hasFileAtIndex(FileIndex)) in getSourceByIndex()
1465 const FileNameEntry &Entry = Prologue.getFileNameEntry(FileIndex); in getSourceByIndex()
1480 uint64_t FileIndex, StringRef CompDir, FileLineInfoKind Kind, in getFileNameByIndex() argument
1482 if (Kind == FileLineInfoKind::None || !hasFileAtIndex(FileIndex)) in getFileNameByIndex()
1484 const FileNameEntry &Entry = getFileNameEntry(FileIndex); in getFileNameByIndex()
H A DDWARFVerifier.cpp1026 uint32_t FileIndex = MinFileIndex; in verifyDebugLineRows() local
1038 << "].prologue.file_names[" << FileIndex in verifyDebugLineRows()
1047 FileIndex, CU->getCompilationDir(), in verifyDebugLineRows()
1051 auto [It, Inserted] = FullPathMap.try_emplace(FullPath, FileIndex); in verifyDebugLineRows()
1052 if (!Inserted && It->second != FileIndex && DumpOpts.Verbose) { in verifyDebugLineRows()
1056 << "].prologue.file_names[" << FileIndex in verifyDebugLineRows()
1060 FileIndex++; in verifyDebugLineRows()