| /llvm-project-15.0.7/clang/lib/Rewrite/ |
| H A D | DeltaTree.cpp | 184 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 …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | ClangdTests.cpp | 702 Stats[FileIndex].HitsWithErrors++; in TEST() 704 Stats[FileIndex].HitsWithoutErrors++; in TEST() 727 for (unsigned FileIndex = 0; FileIndex < FilesCount; ++FileIndex) in TEST() local 748 auto &Stats = ReqStats[FileIndex]; in TEST() 759 auto &Stats = ReqStats[FileIndex]; in TEST() 766 Server.addDocument(FilePaths[FileIndex], in TEST() 780 AddDocument(FileIndex, /*SkipCache=*/true); in TEST() 786 if (ReqStats[FileIndex].FileIsRemoved) in TEST() 790 UpdateStatsOnRemoveDocument(FileIndex); in TEST() 796 if (ReqStats[FileIndex].FileIsRemoved) in TEST() [all …]
|
| H A D | FileIndexTests.cpp | 178 FileIndex M; in TEST() 185 FileIndex M; in TEST() 196 FileIndex M; in TEST() 205 FileIndex M; in TEST() 217 FileIndex M; in TEST() 226 FileIndex M; in TEST() 258 FileIndex M; in TEST() 403 FileIndex M; in TEST() 529 FileIndex M; in TEST() 552 FileIndex M; in TEST() [all …]
|
| H A D | TestWorkspace.cpp | 17 auto Index = std::make_unique<FileIndex>(); in index()
|
| H A D | IndexTests.cpp | 295 FileIndex DynamicIndex, StaticIndex; in TEST() 352 FileIndex DynamicIndex, StaticIndex; in TEST() 449 FileIndex Dyn; in TEST() 450 FileIndex StaticIndex; in TEST()
|
| H A D | TestTU.cpp | 174 auto Idx = std::make_unique<FileIndex>(); in index()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFDebugLine.h | 115 bool hasFileAtIndex(uint64_t FileIndex) const; 120 getFileNameByIndex(uint64_t FileIndex, StringRef CompDir, 245 bool hasFileAtIndex(uint64_t FileIndex) const { in hasFileAtIndex() 246 return Prologue.hasFileAtIndex(FileIndex); in hasFileAtIndex() 258 bool getFileNameByIndex(uint64_t FileIndex, StringRef CompDir, in getFileNameByIndex() 261 return Prologue.getFileNameByIndex(FileIndex, CompDir, Kind, Result); in getFileNameByIndex() 293 getSourceByIndex(uint64_t FileIndex,
|
| /llvm-project-15.0.7/clang/include/clang/Rewrite/Core/ |
| H A D | DeltaTree.h | 40 int getDeltaAt(unsigned FileIndex) const; 45 void AddDelta(unsigned FileIndex, int Delta);
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | FileIndex.h | 109 class FileIndex : public MergedIndex { 111 FileIndex();
|
| H A D | FileIndex.cpp | 421 FileIndex::FileIndex() in FileIndex() function in clang::clangd::FileIndex 428 void FileIndex::updatePreamble(IndexFileIn IF) { in updatePreamble() 459 void FileIndex::updatePreamble(PathRef Path, llvm::StringRef Version, in updatePreamble() 468 void FileIndex::updateMain(PathRef Path, ParsedAST &AST) { in updateMain() 494 void FileIndex::profile(MemoryTree &MT) const { in profile()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugLine.cpp | 73 bool DWARFDebugLine::Prologue::hasFileAtIndex(uint64_t FileIndex) const { in hasFileAtIndex() 78 return FileIndex < FileNames.size(); in hasFileAtIndex() 79 return FileIndex != 0 && FileIndex <= FileNames.size(); in hasFileAtIndex() 1333 Optional<StringRef> DWARFDebugLine::LineTable::getSourceByIndex(uint64_t FileIndex, in getSourceByIndex() argument 1335 if (Kind == FileLineInfoKind::None || !Prologue.hasFileAtIndex(FileIndex)) in getSourceByIndex() 1337 const FileNameEntry &Entry = Prologue.getFileNameEntry(FileIndex); in getSourceByIndex() 1352 uint64_t FileIndex, StringRef CompDir, FileLineInfoKind Kind, in getFileNameByIndex() argument 1354 if (Kind == FileLineInfoKind::None || !hasFileAtIndex(FileIndex)) in getFileNameByIndex() 1356 const FileNameEntry &Entry = getFileNameEntry(FileIndex); in getFileNameByIndex()
|
| H A D | DWARFVerifier.cpp | 871 uint32_t FileIndex = 1; in verifyDebugLineRows() local 880 << "].prologue.file_names[" << FileIndex in verifyDebugLineRows() 888 FileIndex, CU->getCompilationDir(), in verifyDebugLineRows() 894 FullPathMap[FullPath] = FileIndex; in verifyDebugLineRows() 895 else if (It->second != FileIndex) { in verifyDebugLineRows() 899 << "].prologue.file_names[" << FileIndex in verifyDebugLineRows() 903 FileIndex++; in verifyDebugLineRows()
|
| /llvm-project-15.0.7/clang/lib/Tooling/ |
| H A D | InterpolatingCompilationDatabase.cpp | 318 class FileIndex { class 320 FileIndex(std::vector<std::string> Files) in FileIndex() function in clang::tooling::__anon16cad0690111::FileIndex 534 FileIndex Index;
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang-tools-extra/clangd/ |
| H A D | BUILD.gn | 130 "index/FileIndex.cpp",
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | CMakeLists.txt | 113 index/FileIndex.cpp
|
| H A D | ClangdServer.h | 421 std::unique_ptr<FileIndex> DynamicIdx;
|
| H A D | ClangdServer.cpp | 62 UpdateIndexCallbacks(FileIndex *FIndex, in UpdateIndexCallbacks() 128 FileIndex *FIndex; 177 DynamicIdx(Opts.BuildDynamicSymbolIndex ? new FileIndex() : nullptr), in ClangdServer()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/tool/ |
| H A D | Check.cpp | 86 FileIndex Index;
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | BinaryContext.cpp | 1479 unsigned FileIndex) { in addDebugFilenameToUnit() argument 1487 assert(FileIndex > 0 && FileIndex <= FileNames.size() && in addDebugFilenameToUnit() 1490 if (FileNames[FileIndex - 1].DirIdx != 0) { in addDebugFilenameToUnit() 1493 .IncludeDirectories[FileNames[FileIndex - 1].DirIdx - 1])) { in addDebugFilenameToUnit() 1499 dwarf::toString(FileNames[FileIndex - 1].Name)) in addDebugFilenameToUnit()
|
| /llvm-project-15.0.7/bolt/include/bolt/Core/ |
| H A D | BinaryContext.h | 1160 const uint32_t SrcCUID, unsigned FileIndex);
|
| /llvm-project-15.0.7/clang/docs/tools/ |
| H A D | clang-formatted-files.txt | 1448 clang-tools-extra/clangd/index/FileIndex.cpp 1449 clang-tools-extra/clangd/index/FileIndex.h
|