Lines Matching refs:VFS
63 getHighestNumericTupleInDirectory(llvm::vfs::FileSystem &VFS, in getHighestNumericTupleInDirectory() argument
69 for (llvm::vfs::directory_iterator DirIt = VFS.dir_begin(Directory, EC), in getHighestNumericTupleInDirectory()
72 auto Status = VFS.status(DirIt->path()); in getHighestNumericTupleInDirectory()
88 static bool getWindows10SDKVersionFromPath(llvm::vfs::FileSystem &VFS, in getWindows10SDKVersionFromPath() argument
93 SDKVersion = getHighestNumericTupleInDirectory(VFS, IncludePath); in getWindows10SDKVersionFromPath()
98 llvm::vfs::FileSystem &VFS, std::optional<llvm::StringRef> WinSdkDir, in getWindowsSDKDirViaCommandLine() argument
116 SDKPath, getHighestNumericTupleInDirectory(VFS, SDKPath)); in getWindowsSDKDirViaCommandLine()
125 } else if (getWindows10SDKVersionFromPath(VFS, Path, Version)) { in getWindowsSDKDirViaCommandLine()
394 Triple::ArchType TargetArch, vfs::FileSystem &VFS) { in useUniversalCRT() argument
398 return !VFS.exists(TestPath); in useUniversalCRT()
401 bool getWindowsSDKDir(vfs::FileSystem &VFS, std::optional<StringRef> WinSdkDir, in getWindowsSDKDir() argument
407 if (getWindowsSDKDirViaCommandLine(VFS, WinSdkDir, WinSdkVersion, WinSysRoot, in getWindowsSDKDir()
439 if (VFS.exists(TestPath)) { in getWindowsSDKDir()
447 if (!getWindows10SDKVersionFromPath(VFS, Path, WindowsSDKIncludeVersion)) in getWindowsSDKDir()
456 bool getUniversalCRTSdkDir(vfs::FileSystem &VFS, in getUniversalCRTSdkDir() argument
464 if (getWindowsSDKDirViaCommandLine(VFS, WinSdkDir, WinSdkVersion, WinSysRoot, in getUniversalCRTSdkDir()
478 return getWindows10SDKVersionFromPath(VFS, Path, UCRTVersion); in getUniversalCRTSdkDir()
481 bool findVCToolChainViaCommandLine(vfs::FileSystem &VFS, in findVCToolChainViaCommandLine() argument
496 ToolsVersion = getHighestNumericTupleInDirectory(VFS, ToolsPath); in findVCToolChainViaCommandLine()
508 bool findVCToolChainViaEnvironment(vfs::FileSystem &VFS, std::string &Path, in findVCToolChainViaEnvironment() argument
546 if (!VFS.exists(ExeTestPath)) in findVCToolChainViaEnvironment()
553 if (!VFS.exists(ExeTestPath)) in findVCToolChainViaEnvironment()
617 bool findVCToolChainViaSetupConfig(vfs::FileSystem &VFS, in findVCToolChainViaSetupConfig() argument
704 auto Status = VFS.status(ToolchainPath); in findVCToolChainViaSetupConfig()