reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/LTO/ThinLTOCodeGenerator.cpp
  866   if (sys::fs::exists(OutputPath))
lib/Support/LockFileManager.cpp
  242     if (!sys::fs::exists(LockFileName)) {
  321       if (!sys::fs::exists(FileName))
lib/Support/Process.cpp
   57     if (fs::exists(Twine(FilePath))) {
lib/Support/Signals.cpp
  134       sys::fs::exists(Argv0) ? (std::string)Argv0
lib/Support/Unix/Path.inc
  209   if (sys::fs::exists(aPath)) {
lib/Support/Unix/Program.inc
  180   if (!llvm::sys::fs::exists(Program)) {
lib/ToolDrivers/llvm-lib/LibDriver.cpp
   98     if (sys::fs::exists(Path))
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  193   if (sys::fs::exists(RelPath))
tools/bugpoint/OptimizerDriver.cpp
  178   if (!sys::fs::exists(tool)) {
tools/clang/lib/ARCMigrate/FileRemapper.cpp
   60   if (!llvm::sys::fs::exists(infoFile))
  175     if (!fs::exists(origFE->getName()))
tools/clang/lib/Driver/Driver.cpp
 4562       if (llvm::sys::fs::exists(Twine(P)))
 4573   if (llvm::sys::fs::exists(Twine(R)))
 4578   if (llvm::sys::fs::exists(Twine(P)))
 4583   if (llvm::sys::fs::exists(Twine(D)))
tools/clang/lib/Driver/SanitizerArgs.cpp
  144     if (llvm::sys::fs::exists(Path))
  566       if (llvm::sys::fs::exists(BLPath)) {
tools/clang/lib/Driver/ToolChain.cpp
  826   if (llvm::sys::fs::exists(Path))
tools/clang/lib/Driver/ToolChains/Clang.cpp
 1145       if (llvm::sys::fs::exists(P))
 1150         if (llvm::sys::fs::exists(P)) {
 2795     if (llvm::sys::fs::exists(BuiltinModuleMap))
 3896       if (!llvm::sys::fs::exists(Map)) {
 4702     if (!llvm::sys::fs::exists(fname))
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
  442     if (!llvm::sys::fs::exists(FName))
  588   if (llvm::sys::fs::exists(SanRT + ".syms")) {
tools/clang/lib/Driver/ToolChains/Cuda.cpp
  707       if (llvm::sys::fs::exists(LibOmpTargetFile)) {
tools/clang/lib/Driver/ToolChains/HIP.cpp
   42     if (llvm::sys::fs::exists(FullName)) {
tools/clang/lib/Driver/ToolChains/Hexagon.cpp
  292     if (llvm::sys::fs::exists(P))
tools/clang/lib/Driver/ToolChains/MSVC.cpp
  109       if (!llvm::sys::fs::exists(ExeTestPath))
  116       if (!llvm::sys::fs::exists(ExeTestPath))
 1082       if (llvm::sys::fs::exists(TestPath.c_str())) {
 1142   return !llvm::sys::fs::exists(TestPath);
tools/clang/lib/Driver/ToolChains/MipsLinux.cpp
   76   if (llvm::sys::fs::exists(SysRootPath))
  101       if (llvm::sys::fs::exists(Path)) {
tools/clang/lib/Driver/ToolChains/PS4CPU.cpp
  367     if (!llvm::sys::fs::exists(EnvValue))
  382     if (!llvm::sys::fs::exists(PrefixDir))
  393       !llvm::sys::fs::exists(PS4SDKIncludeDir)) {
  405       !llvm::sys::fs::exists(PS4SDKLibDir)) {
tools/clang/lib/Driver/ToolChains/RISCVToolchain.cpp
   84   if (!llvm::sys::fs::exists(SysRootDir))
tools/clang/lib/Driver/XRayArgs.cpp
  132       if (llvm::sys::fs::exists(Filename)) {
  141       if (llvm::sys::fs::exists(Filename)) {
  150       if (llvm::sys::fs::exists(Filename)) {
tools/clang/lib/Frontend/CompilerInvocation.cpp
 3069     if (!llvm::sys::fs::exists(Opts.OMPHostIRFile))
tools/clang/lib/Frontend/ModuleDependencyCollector.cpp
  214     if (!fs::exists(Dst))
tools/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp
  777     if (llvm::sys::fs::exists(State->OutputFile))
tools/clang/lib/Lex/HeaderSearch.cpp
  541       if (llvm::sys::fs::exists(SystemFrameworkMarker)) {
tools/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp
   61   if (!llvm::sys::fs::exists(fileName.str())) {
tools/clang/tools/arcmt-test/arcmt-test.cpp
  275     if (!sys::fs::exists(It->second)) {
  279     if (!sys::fs::exists(inputResultFname)) {
tools/clang/tools/driver/driver.cpp
   57     if (!llvm::sys::fs::exists(ExecutablePath))
  302   if (llvm::sys::fs::exists(InstalledPathParent))
tools/clang/tools/extra/clangd/QueryDriverDatabase.cpp
  100   if (!llvm::sys::fs::exists(Driver)) {
tools/clang/tools/extra/clangd/tool/ClangdMain.cpp
  550     if (llvm::sys::fs::exists(CompileCommandsDir)) {
tools/clang/tools/libclang/ARCMigrate.cpp
   48   if (!llvm::sys::fs::exists(migrate_dir_path)) {
tools/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp
   60     EXPECT_TRUE(llvm::sys::fs::exists(IndexFileName));
   71     EXPECT_TRUE(llvm::sys::fs::exists(SourceFileName));
   76     EXPECT_TRUE(llvm::sys::fs::exists(ASTFileName));
  163   EXPECT_TRUE(llvm::sys::fs::exists(IndexFileName));
  188   EXPECT_TRUE(llvm::sys::fs::exists(IndexFileName));
tools/clang/unittests/Frontend/ASTUnitTest.cpp
   87   EXPECT_TRUE(llvm::sys::fs::exists(ASTFileName));
tools/clang/unittests/Tooling/ToolingTest.cpp
  329   EXPECT_FALSE(llvm::sys::fs::exists(DepFilePath.str()));
tools/dsymutil/DwarfLinker.cpp
 2260       if (sys::fs::exists(ModuleCacheDir)) {
tools/lld/COFF/DebugTypes.cpp
  164   if (llvm::sys::fs::exists(pdbPath))
  167   if (llvm::sys::fs::exists(ret))
tools/lld/COFF/Driver.cpp
  414     if (sys::fs::exists(path.str()))
  418       if (sys::fs::exists(path.str()))
tools/lld/Common/Filesystem.cpp
   46   if (!threadsEnabled || !sys::fs::exists(path) ||
tools/lld/ELF/DriverUtils.cpp
  161   if (fs::exists(s))
  214   if (fs::exists(s))
  250   if (fs::exists(name))
tools/lld/ELF/InputFiles.cpp
  487   if (fs::exists(specifier))
tools/lld/ELF/ScriptParser.cpp
  282     if (sys::fs::exists(path)) {
  298   } else if (sys::fs::exists(s)) {
tools/lld/MinGW/Driver.cpp
  116   if (sys::fs::exists(s))
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
  444     return llvm::sys::fs::exists(path.str());
tools/lld/wasm/Driver.cpp
  153   if (fs::exists(s))
  228     if (fs::exists(importFile))
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
  684     bool retcode = llvm::sys::fs::exists(path);
tools/llvm-config/llvm-config.cpp
  125       if (!sys::fs::exists(path))
  410     DyLibExists = sys::fs::exists(path);
  525             if (DyLibExists && !sys::fs::exists(path)) {
tools/llvm-pdbutil/InputFile.cpp
  256   if (!llvm::sys::fs::exists(Path))
tools/llvm-rc/ResourceFileWriter.cpp
 1519   if (sys::fs::exists(Path))
 1527   if (sys::fs::exists(Path))
 1534     if (sys::fs::exists(Path))
tools/sanstats/sanstats.cpp
   58   if (!llvm::sys::fs::exists(Filename))
unittests/Support/LockFileManagerTest.cpp
   40   EXPECT_FALSE(sys::fs::exists(StringRef(LockedFile)));
   82   EXPECT_FALSE(sys::fs::exists(StringRef(LockedFile)));
  110     EXPECT_TRUE(sys::fs::exists(FileLock.str()));
  114   EXPECT_FALSE(sys::fs::exists(LockedFile.str()));
  115   EXPECT_FALSE(sys::fs::exists(FileLock.str()));
unittests/Support/Path.cpp
  509   ASSERT_TRUE(fs::exists(Twine(TestDirectory) + "/test1/test2/test3"));
  574   ASSERT_TRUE(fs::exists(Twine(TestDirectory) + "/noreadperm"));
  595   ASSERT_TRUE(fs::exists(TestDirectory + "/keep"));
  607   ASSERT_FALSE(fs::exists(TestDirectory + "/keep"));
  618   ASSERT_TRUE(sys::fs::exists(Twine(TempPath)));
 1015   EXPECT_TRUE(fs::exists(Twine(BaseDir) + "/foo/bar/baz"));
 1016   EXPECT_TRUE(fs::exists(Twine(BaseDir) + "/foo/bar/buzz"));
 1017   EXPECT_TRUE(fs::exists(Paths[0]));
 1018   EXPECT_TRUE(fs::exists(Paths[1]));
 1019   EXPECT_TRUE(fs::exists(Paths[2]));
 1020   EXPECT_TRUE(fs::exists(Paths[3]));
 1025   ASSERT_FALSE(fs::exists(BaseDir));
 1264   ASSERT_TRUE(sys::fs::exists(Twine(TempPath)));
 1318   ASSERT_EQ(ShouldExistBefore, fs::exists(Path));
 1321   ASSERT_TRUE(fs::exists(Path));
 1338   ASSERT_FALSE(fs::exists(NonExistantFile));
 1340   ASSERT_TRUE(fs::exists(NonExistantFile));
 1362   ASSERT_FALSE(fs::exists(NonExistantFile));
 1368   ASSERT_TRUE(fs::exists(NonExistantFile));
 1397   ASSERT_FALSE(fs::exists(NonExistantFile));
 1399   ASSERT_FALSE(fs::exists(NonExistantFile));
 1573   ASSERT_TRUE(sys::fs::exists(Twine(TempPath)));
 1669   ASSERT_TRUE(fs::exists(Twine(TempPath)));
unittests/Support/ReplaceFileTest.cpp
  100     EXPECT_FALSE(fs::exists(SourceFileName));
  110   EXPECT_FALSE(fs::exists(TargetFileName));
  111   ASSERT_TRUE(fs::exists(SourceFileName));