Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Rewrite/
H A DDeltaTree.cpp184 bool DeltaTreeNode::DoInsertion(unsigned FileIndex, int Delta, in DoInsertion() argument
191 while (i != e && FileIndex > getValue(i).FileLoc) in DoInsertion()
196 if (i != e && getValue(i).FileLoc == FileIndex) { in DoInsertion()
213 Values[i] = SourceDelta::get(FileIndex, Delta); in DoInsertion()
223 if (InsertRes->Split.FileLoc > FileIndex) in DoInsertion()
232 if (!IN->Children[i]->DoInsertion(FileIndex, Delta, InsertRes)) in DoInsertion()
408 int DeltaTree::getDeltaAt(unsigned FileIndex) const { in getDeltaAt()
423 if (Val.FileLoc >= FileIndex) in getDeltaAt()
442 Node->getValue(NumValsGreater).FileLoc == FileIndex) in getDeltaAt()
455 void DeltaTree::AddDelta(unsigned FileIndex, int Delta) { in AddDelta() argument
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugLine.h114 bool hasFileAtIndex(uint64_t FileIndex) const;
119 getFileNameByIndex(uint64_t FileIndex, StringRef CompDir,
248 bool hasFileAtIndex(uint64_t FileIndex) const { in hasFileAtIndex()
249 return Prologue.hasFileAtIndex(FileIndex); in hasFileAtIndex()
261 bool getFileNameByIndex(uint64_t FileIndex, StringRef CompDir, in getFileNameByIndex()
264 return Prologue.getFileNameByIndex(FileIndex, CompDir, Kind, Result); in getFileNameByIndex()
301 getSourceByIndex(uint64_t FileIndex,
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Rewrite/Core/
H A DDeltaTree.h40 int getDeltaAt(unsigned FileIndex) const;
45 void AddDelta(unsigned FileIndex, int Delta);
/freebsd-14.2/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()
1392 DWARFDebugLine::LineTable::getSourceByIndex(uint64_t FileIndex, in getSourceByIndex() argument
1394 if (Kind == FileLineInfoKind::None || !Prologue.hasFileAtIndex(FileIndex)) in getSourceByIndex()
1396 const FileNameEntry &Entry = Prologue.getFileNameEntry(FileIndex); in getSourceByIndex()
1411 uint64_t FileIndex, StringRef CompDir, FileLineInfoKind Kind, in getFileNameByIndex() argument
1413 if (Kind == FileLineInfoKind::None || !hasFileAtIndex(FileIndex)) in getFileNameByIndex()
1415 const FileNameEntry &Entry = getFileNameEntry(FileIndex); in getFileNameByIndex()
H A DDWARFVerifier.cpp889 uint32_t FileIndex = MinFileIndex; in verifyDebugLineRows() local
898 << "].prologue.file_names[" << FileIndex in verifyDebugLineRows()
906 FileIndex, CU->getCompilationDir(), in verifyDebugLineRows()
912 FullPathMap[FullPath] = FileIndex; in verifyDebugLineRows()
913 else if (It->second != FileIndex) { in verifyDebugLineRows()
917 << "].prologue.file_names[" << FileIndex in verifyDebugLineRows()
921 FileIndex++; in verifyDebugLineRows()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/
H A DInterpolatingCompilationDatabase.cpp316 class FileIndex { class
318 FileIndex(std::vector<std::string> Files) in FileIndex() function in clang::tooling::__anonf4fe06af0111::FileIndex
532 FileIndex Index;