| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | DynoStats.cpp | 82 if (Stat != OtherStat) { in print() 94 Stat < DynoStats::LAST_DYNO_STAT; ++Stat) { in print() 99 printStatWithDelta(Desc[Stat], Stats[Stat], Other ? (*Other)[Stat] : 0); in print() 107 SortedHistogram.emplace_back(Stat.second.first, Stat.first); in print() 114 for (auto Stat = SortedHistogram.rbegin(); Stat != SortedHistogram.rend(); in print() local 115 ++Stat) { in print() 133 Stat < DynoStats::LAST_DYNO_STAT; ++Stat) { in operator +=() 134 Stats[Stat] += Other[Stat]; in operator +=() 139 OpcodeHistogram.emplace(Stat); in operator +=() 143 I->second.first += Stat.second.first; in operator +=() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | Statistic.cpp | 160 for (auto *Stat : Stats) { in reset() local 163 Stat->Initialized = false; in reset() 164 Stat->Value = 0; in reset() 180 for (TrackingStatistic *Stat : Stats.Stats) { in PrintStatistics() 194 for (TrackingStatistic *Stat : Stats.Stats) in PrintStatistics() 196 MaxDebugTypeLen, Stat->getDebugType(), Stat->getDesc()); in PrintStatistics() 211 for (const TrackingStatistic *Stat : Stats.Stats) { in PrintStatisticsJSON() local 217 OS << "\t\"" << Stat->getDebugType() << '.' << Stat->getName() << "\": " in PrintStatisticsJSON() 218 << Stat->getValue(); in PrintStatisticsJSON() 260 for (const auto &Stat : StatInfo->statistics()) in GetStatistics() local [all …]
|
| H A D | FileCollector.cpp | 159 const sys::fs::file_status &Stat) { in copyAccessAndModificationTime() argument 167 FD, Stat.getLastAccessedTime(), Stat.getLastModificationTime())) in copyAccessAndModificationTime() 186 sys::fs::file_status Stat; in copyFiles() local 187 if (std::error_code EC = sys::fs::status(entry.VPath, Stat)) { in copyFiles() 194 if (Stat.type() == sys::fs::file_type::file_not_found) in copyFiles() 205 if (Stat.type() == sys::fs::file_type::directory_file) { in copyFiles() 231 copyAccessAndModificationTime(entry.RPath, Stat); in copyFiles()
|
| H A D | TimeProfiler.cpp | 171 auto combineStat = [&](const auto &Stat) { in write() argument 172 StringRef Key = Stat.getKey(); in write() 173 auto Value = Stat.getValue(); in write() 178 for (const auto &Stat : CountAndTotalPerName) in write() local 179 combineStat(Stat); in write() 181 for (const auto &Stat : TTP->CountAndTotalPerName) in write() local 182 combineStat(Stat); in write()
|
| H A D | FileOutputBuffer.cpp | 169 fs::file_status Stat; in create() local 170 fs::status(Path, Stat); in create() 180 switch (Stat.type()) { in create()
|
| H A D | VirtualFileSystem.cpp | 624 Status Stat; member in llvm::vfs::detail::InMemoryFile 629 : InMemoryNode(Stat.getName(), IME_File), Stat(std::move(Stat)), in InMemoryFile() 672 Status Stat; member in llvm::vfs::detail::__anon2f7918780511::InMemorySymbolicLink 677 Stat(Stat) {} in InMemorySymbolicLink() 726 Status Stat; member in llvm::vfs::detail::InMemoryDirectory 730 InMemoryDirectory(Status Stat) in InMemoryDirectory() argument 731 : InMemoryNode(Stat.getName(), IME_Directory), Stat(std::move(Stat)) {} in InMemoryDirectory() 860 Status Stat( in addFile() local 902 Status Stat = NNI.makeStatus(); in addFile() local 906 Stat, std::move(NNI.Buffer)); in addFile() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | BackgroundQueue.cpp | 32 ++Stat.Active; in work() 48 ++Stat.Completed; in work() 49 if (Stat.Active == 1 && Queue.empty()) { in work() 51 assert(ShouldStop || Stat.Completed == Stat.Enqueued); in work() 52 Stat.LastIdle = Stat.Completed; in work() 59 assert(Stat.Active > 0 && "before decrementing"); in work() 60 --Stat.Active; in work() 95 ++Stat.Enqueued; in push() 108 ++Stat.Enqueued; in append() 144 Stat.Enqueued, Stat.Active, Stat.LastIdle); in notifyProgress() [all …]
|
| H A D | StdLib.cpp | 329 llvm::vfs::Status Stat; in add() local 330 if (!HS.getFileMgr().getNoncachedStatValue(Path, Stat) && in add() 331 Stat.isRegularFile()) in add()
|
| /llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/ |
| H A D | DependencyScanningFilesystem.cpp | 29 auto Stat = std::move(*MaybeStat); in readFile() local 31 auto MaybeBuffer = File->getBuffer(Stat.getName()); in readFile() 37 if (Stat.getSize() != Buffer->getBufferSize()) in readFile() 38 Stat = llvm::vfs::Status::copyWithNewSize(Stat, Buffer->getBufferSize()); in readFile() 40 return TentativeEntry(Stat, std::move(Buffer)); in readFile() 215 if (!Stat) { in computeAndStoreResult() 217 return Stat.getError(); in computeAndStoreResult() 227 Stat->isDirectory() ? TentativeEntry(*Stat) : readFile(Filename); in computeAndStoreResult() 273 llvm::vfs::Status Stat) in DepScanFile() argument 274 : Buffer(std::move(Buffer)), Stat(std::move(Stat)) {} in DepScanFile() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | VirtualFileSystemTest.cpp | 968 ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString(); in TEST_F() 971 ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString(); in TEST_F() 974 ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString(); in TEST_F() 981 ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString(); in TEST_F() 985 ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString(); in TEST_F() 1208 ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" in TEST_F() 1218 ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" in TEST_F() 1374 EXPECT_TRUE(Stat); in TEST_F() 1384 EXPECT_TRUE(Stat); in TEST_F() 1390 EXPECT_TRUE(Stat); in TEST_F() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/support/ |
| H A D | FileCache.cpp | 51 auto Stat = FS->status(Path); in read() local 52 if (!Stat || !Stat->isRegularFile()) { in read() 60 if (Size == Stat->getSize() && in read() 61 ModifiedTime == Stat->getLastModificationTime()) in read() 65 Size = Stat->getSize(); in read() 66 ModifiedTime = Stat->getLastModificationTime(); in read()
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/DependencyScanning/ |
| H A D | DependencyScanningFilesystem.h | 63 CachedFileSystemEntry(llvm::ErrorOr<llvm::vfs::Status> Stat) in CachedFileSystemEntry() argument 64 : MaybeStat(std::move(Stat)), Contents(nullptr) { in CachedFileSystemEntry() 69 CachedFileSystemEntry(llvm::ErrorOr<llvm::vfs::Status> Stat, in CachedFileSystemEntry() argument 71 : MaybeStat(std::move(Stat)), Contents(std::move(Contents)) { in CachedFileSystemEntry() 248 llvm::vfs::Status Stat = Entry.getStatus(); in getStatus() local 249 if (!Stat.isDirectory()) in getStatus() 250 Stat = llvm::vfs::Status::copyWithNewSize(Stat, getContents().size()); in getStatus() 251 return llvm::vfs::Status::copyWithNewName(Stat, Filename); in getStatus() 347 findSharedEntryByUID(llvm::vfs::Status Stat) const { in findSharedEntryByUID() argument 348 return SharedCache.getShardForUID(Stat.getUniqueID()) in findSharedEntryByUID() [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-pdbutil/ |
| H A D | DumpOutputStyle.h | 34 struct Stat { struct 35 Stat() {} in Stat() function 36 Stat(uint32_t Count, uint32_t Size) : Count(Count), Size(Size) {} in Stat() argument 46 using KindAndStat = std::pair<uint32_t, Stat>; 54 Stat Totals; 55 DenseMap<uint32_t, Stat> Individual;
|
| H A D | DumpOutputStyle.cpp | 657 for (const auto &Stat : Stats.Individual) { in getLongestTypeLeafName() local 658 std::string Label = getUdtStatLabel(Stat.first); in getLongestTypeLeafName() 678 StringMap<StatCollection::Stat> NamespacedStats; in dumpUdtStats() 767 std::string Label = getUdtStatLabel(Stat.first); in dumpUdtStats() 781 StatCollection::Stat Stat; in dumpUdtStats() member 786 for (const auto &Stat : NamespacedStats) in dumpUdtStats() local 787 NamespacedStatsSorted.push_back({Stat.getKey(), Stat.second}); in dumpUdtStats() 790 return L.Stat.Size > R.Stat.Size; in dumpUdtStats() 792 for (const auto &Stat : NamespacedStatsSorted) { in dumpUdtStats() local 796 fmt_align(Stat.Stat.Count, AlignStyle::Right, CD), in dumpUdtStats() [all …]
|
| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | statistics.cc | 157 for (const auto& Stat : *reports[0].statistics) { in ComputeStats() 167 data.aggregate_name = Stat.name_; in ComputeStats() 168 data.aggregate_unit = Stat.unit_; in ComputeStats() 178 data.real_accumulated_time = Stat.compute_(real_accumulated_time_stat); in ComputeStats() 179 data.cpu_accumulated_time = Stat.compute_(cpu_accumulated_time_stat); in ComputeStats() 196 const auto uc_stat = Stat.compute_(kv.second.s); in ComputeStats()
|
| /llvm-project-15.0.7/bolt/include/bolt/Core/ |
| H A D | DynoStats.h | 75 for (auto Stat = FIRST_DYNO_STAT + 0; Stat < LAST_DYNO_STAT; ++Stat) in DynoStats() local 76 Stats[Stat] = 0; in DynoStats()
|
| /llvm-project-15.0.7/llvm/tools/dsymutil/ |
| H A D | BinaryHolder.cpp | 100 llvm::ErrorOr<vfs::Status> Stat = VFS->status(Filename); in load() local 101 if (!Stat) in load() 102 return errorCodeToError(Stat.getError()); in load() 104 Stat->getLastModificationTime())) in load() 107 << Stat->getLastModificationTime() in load()
|
| /llvm-project-15.0.7/polly/unittests/Isl/ |
| H A D | IslTest.cpp | 393 isl::stat Stat = in TEST() local 400 EXPECT_TRUE(Stat.is_ok()); in TEST() 406 isl::stat Stat = in TEST() local 412 EXPECT_TRUE(Stat.is_ok()); in TEST() 418 isl::stat Stat = TestUMap.foreach_map([&](isl::map Map) -> isl::stat { in TEST() local 423 EXPECT_TRUE(Stat.is_ok()); in TEST() 429 isl::stat Stat = TestUSet.foreach_set([&](isl::set Set) -> isl::stat { in TEST() local 434 EXPECT_TRUE(Stat.is_ok()); in TEST() 446 EXPECT_TRUE(Stat.is_ok()); in TEST() 477 isl::stat Stat = TestPwAff.foreach_piece( in TEST() local [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | GlobalCompilationDatabase.cpp | 207 auto Stat = FS.status(Path); in load() local 208 if (!Stat || !Stat->isRegularFile()) { in load() 214 if (HasOldData && Stat->getLastModificationTime() == ModifiedTime && in load() 215 Stat->getSize() == Size) in load() 218 if (!Buf || (*Buf)->getBufferSize() != Stat->getSize()) { in load() 233 ModifiedTime = Stat->getLastModificationTime(); in load() 238 ModifiedTime = Stat->getLastModificationTime(); in load()
|
| /llvm-project-15.0.7/polly/lib/Transform/ |
| H A D | FlattenAlgo.cpp | 79 isl::stat Stat = in subtract() local 87 if (Stat.is_error()) in subtract() 98 isl::stat Stat = in multiply() local 106 if (Stat.is_error()) in multiply()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/ |
| H A D | PDBSymbol.cpp | 133 for (auto &Stat : Stats) { in dumpChildStats() local 134 outs() << Stat.first << ": " << Stat.second << "\n"; in dumpChildStats()
|
| /llvm-project-15.0.7/llvm/test/tools/yaml2obj/XCOFF/ |
| H A D | full-contents.yaml | 102 # CHECK-NEXT: Sect Auxiliary Entry For Stat { 117 # CHECK-NEXT: Sect Auxiliary Entry For Stat {
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | stat.h | 23 enum Stat { enum
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/src/ |
| H A D | gtest-filepath.cc | 213 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 240 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists()
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | check-coarray.cpp | 76 SemanticsContext &context, const parser::ImageSelectorSpec::Stat &stat) { in CheckTeamStat() 109 if (const auto *stat{std::get_if<parser::ImageSelectorSpec::Stat>( in Leave()
|