/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | Linux.cpp | 139 if (D.getVFS().exists(concat(SysRoot, "/lib", MT))) in getMultiarchTriple() 141 if (D.getVFS().exists(concat(SysRoot, "/lib/mips64-linux-gnu"))) in getMultiarchTriple() 148 if (D.getVFS().exists(concat(SysRoot, "/lib", MT))) in getMultiarchTriple() 150 if (D.getVFS().exists(concat(SysRoot, "/lib/mips64el-linux-gnu"))) in getMultiarchTriple() 155 if (D.getVFS().exists(concat(SysRoot, "/lib/powerpc-linux-gnuspe"))) in getMultiarchTriple() 230 Distro Distro(D.getVFS(), Triple); in Linux() 393 if (getVFS().exists(AndroidSysRootPath)) in computeSysRoot() 407 if (getVFS().exists(Path)) in computeSysRoot() 427 if (getVFS().exists(Path)) in computeSysRoot() 432 if (getVFS().exists(Path)) in computeSysRoot() [all …]
|
H A D | MSVC.cpp | 65 return std::string(canExecute(TC.getVFS(), FilePath) ? FilePath.str() : Exe); in FindVisualStudioExecutable() 154 if (TC.getVFS().exists(LibPath)) in ConstructJob() 158 if (TC.getVFS().exists(CRTPath)) in ConstructJob() 338 if (!TC.FoundMSVCInstall() && !canExecute(TC.getVFS(), linkPath)) { in ConstructJob() 341 if (canExecute(TC.getVFS(), ClPath)) { in ConstructJob() 344 if (!canExecute(TC.getVFS(), linkPath)) in ConstructJob() 449 llvm::findVCToolChainViaCommandLine(getVFS(), VCToolsDir, VCToolsVersion, in MSVCToolChain() 451 llvm::findVCToolChainViaEnvironment(getVFS(), VCToolChainPath, in MSVCToolChain() 453 llvm::findVCToolChainViaSetupConfig(getVFS(), VCToolsVersion, in MSVCToolChain() 548 if (!llvm::getWindowsSDKDir(getVFS(), WinSdkDir, WinSdkVersion, WinSysRoot, in getWindowsSDKLibraryPath() [all …]
|
H A D | AMDGPU.cpp | 49 for (llvm::vfs::directory_iterator File = D.getVFS().dir_begin(Cand.Path, EC), in findSPACKPackage() 84 for (llvm::vfs::directory_iterator LI = D.getVFS().dir_begin(Path, EC), LE; in scanLibDevicePath() 292 File = D.getVFS().dir_begin(D.SysRoot + "/opt", EC), in getInstallationPathCandidates() 336 !HIPStdParPathArg.empty() && D.getVFS().exists(HIPStdParPathArg + in RocmInstallationDetector() 341 D.getVFS().exists(HIPRocThrustPathArg + "/thrust"); in RocmInstallationDetector() 345 D.getVFS().exists(HIPRocPrimPathArg + "/rocprim"); in RocmInstallationDetector() 394 auto &FS = D.getVFS(); in detectDeviceLibrary() 459 auto &FS = D.getVFS(); in detectHIPRuntime() 556 auto &FS = D.getVFS(); in AddHIPIncludeArgs()
|
H A D | Gnu.cpp | 495 if (ToolChain.getVFS().exists(crtbegin)) in ConstructJob() 655 if (ToolChain.getVFS().exists(crtend)) in ConstructJob() 1524 FilterNonExistent NonExistent(Path, "/crtbegin.o", D.getVFS()); in findMIPSMultilibs() 1559 return findMipsAndroidMultilibs(D.getVFS(), Path, Flags, NonExistent, in findMIPSMultilibs() 1598 FilterNonExistent NonExistent(Path, "/crtbegin.o", D.getVFS()); in findAndroidArmMultilibs() 1640 FilterNonExistent NonExistent(Path, "/crtbegin.o", D.getVFS()); in findMSP430Multilibs() 1667 FilterNonExistent NonExistent(Path, "/crtbegin.o", D.getVFS()); in findCSKYMultilibs() 1850 FilterNonExistent NonExistent(Path, "/crtbegin.o", D.getVFS()); in findRISCVBareMetalMultilibs() 1908 FilterNonExistent NonExistent(Path, "/crtbegin.o", D.getVFS()); in findRISCVMultilibs() 2005 Path, TargetTriple.isOSIAMCU() ? "/libgcc.a" : "/crtbegin.o", D.getVFS()); in findBiarchMultilibs() [all …]
|
H A D | OHOS.cpp | 146 if (getVFS().exists(CandidateLibPath)) in OHOS() 151 if (getVFS().exists(Path)) in OHOS() 247 if (getVFS().exists(IncTargetPath)) { in AddClangCXXStdlibIncludeArgs()
|
H A D | BareMetal.cpp | 176 D.getVFS().getBufferForFile(MultilibPath); in findMultilibsFromYAML() 210 if (D.getVFS().exists(MultilibPath)) in computeBaseSysRoot() 349 if (D.getVFS().exists(TargetDir)) { in AddClangCXXStdlibIncludeArgs() 364 LI = D.getVFS().dir_begin(Dir.str(), EC), in AddClangCXXStdlibIncludeArgs()
|
H A D | Fuchsia.cpp | 309 return llvm::all_of(RD, [&](std::string P) { return !getVFS().exists(P); }); in Fuchsia() 441 if (getVFS().exists(TargetDir)) { in AddClangCXXStdlibIncludeArgs() 449 if (getVFS().exists(TargetDir)) in AddClangCXXStdlibIncludeArgs()
|
H A D | Darwin.cpp | 784 if (getToolChain().getVFS().exists(P)) { in ConstructJob() 1206 if (!getVFS().exists(P)) { in AddLinkARCArgs() 1217 return getVFS().exists(P); in AddLinkARCArgs() 1249 if (!getVFS().exists(P)) in AddLinkARCArgs() 1281 if ((Opts & RLO_AlwaysLink) || getVFS().exists(P)) { in AddLinkRuntimeLib() 2217 if (!getVFS().exists(A->getValue())) in AddDeploymentTarget() 2223 if (llvm::sys::path::is_absolute(env) && getVFS().exists(env) && in AddDeploymentTarget() 2233 SDKInfo = parseSDKSettings(getVFS(), Args, getDriver()); in AddDeploymentTarget() 2527 return getVFS().exists(Base); in AddGnuCPlusPlusIncludePaths() 2563 if (getVFS().exists(InstallBin)) { in AddClangCXXStdlibIncludeArgs() [all …]
|
H A D | MinGW.cpp | 238 if (TC.getVFS().exists(LibPath)) in ConstructJob() 242 if (TC.getVFS().exists(CRTPath)) in ConstructJob() 525 if (getDriver().getVFS().exists(Base + CandidateSubdir)) in MinGW() 775 if (getDriver().getVFS().exists(TargetDir)) in AddClangCXXStdlibIncludeArgs()
|
H A D | OpenBSD.cpp | 378 if (getVFS().exists(Path)) in getCompilerRT() 386 if (getVFS().exists(P)) in getCompilerRT()
|
H A D | Hexagon.cpp | 524 if (D.getVFS().exists(I)) in getHexagonTargetDir() 527 if (getVFS().exists(InstallRelDir = InstalledDir + "/../target")) in getHexagonTargetDir() 608 if (D.getVFS().exists(BinDir)) in HexagonToolChain()
|
H A D | ZOS.cpp | 313 if (!getVFS().exists(Path)) { in TryAddIncludeFromPath()
|
H A D | FreeBSD.cpp | 402 D.getVFS().exists(concat(getDriver().SysRoot, "/usr/lib32/crt1.o"))) in FreeBSD()
|
H A D | WebAssembly.cpp | 601 for (llvm::vfs::directory_iterator LI = getVFS().dir_begin(Path, EC), LE; in addLibStdCXXIncludePaths()
|
H A D | NetBSD.cpp | 509 if (!getVFS().exists(IncludePath + "/__config")) in addLibCxxIncludePaths()
|
H A D | Clang.cpp | 731 D.getVFS().getCurrentWorkingDirectory()) { in addPGOAndCoverageFlags() 820 (void)D.getVFS().makeAbsolute(CoverageFilename); in addPGOAndCoverageFlags() 934 D.getVFS().getBufferForFile(Path); in maybeHasClangPchSignature() 950 llvm::ErrorOr<llvm::vfs::Status> Status = D.getVFS().status(Path); in gchProbe() 956 for (llvm::vfs::directory_iterator DI = D.getVFS().dir_begin(Path, EC), DE; in gchProbe() 1153 if (D.getVFS().exists(P)) in AddPreprocessingOptions() 2440 auto CWD = D.getVFS().getCurrentWorkingDirectory(); in DumpCompilationDatabase() 2499 Driver.getVFS().makeAbsolute(Path); in DumpCompilationDatabaseFragmentToDir() 4808 addDebugCompDirArg(Args, CmdArgs, D.getVFS()); in renderDebugOptions() 6723 if (D.getVFS().exists(Filename)) in ConstructJob() [all …]
|
H A D | Cuda.cpp | 150 auto &FS = D.getVFS(); in CudaInstallationDetector()
|
H A D | CommonArgs.cpp | 342 if (D.getVFS().exists(Path)) in addPathIfExists() 1206 if (TC.getVFS().exists(CandidateRPath)) { in addArchSpecificRPath()
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ |
H A D | XRayArgs.cpp | 111 if (D.getVFS().exists(Filename)) { in XRayArgs() 120 if (D.getVFS().exists(Filename)) { in XRayArgs() 129 if (D.getVFS().exists(Filename)) { in XRayArgs()
|
H A D | ToolChain.cpp | 94 if (getVFS().exists(Path)) in ToolChain() 141 llvm::vfs::FileSystem &ToolChain::getVFS() const { in getVFS() function in ToolChain 142 return getDriver().getVFS(); in getVFS() 686 if (getVFS().exists(P)) in getCompilerRT() 699 if (Path.empty() || getVFS().exists(OldPath)) in getCompilerRT() 728 for (llvm::vfs::directory_iterator LI = getVFS().dir_begin(BaseDir, EC), LE; in getFallbackAndroidTargetPath() 764 if (getVFS().exists(P)) in getTargetSubDirPath() 1233 for (llvm::vfs::directory_iterator LI = getVFS().dir_begin(Path, EC), LE; in detectLibcxxVersion()
|
H A D | SanitizerArgs.cpp | 165 llvm::SpecialCaseList::create(SCLFiles, D.getVFS(), BLError)); in validateSpecialCaseListFormat() 195 if (D.getVFS().exists(Path)) in addDefaultIgnorelists() 221 if (D.getVFS().exists(SCLPath)) { in parseSpecialCaseListArg()
|
H A D | Driver.cpp | 1006 auto Status = getVFS().status(FileName); in readConfigFile() 1058 ExpCtx.setVFS(&getVFS()); in loadConfigFiles() 1066 if (CfgDir.empty() || getVFS().makeAbsolute(CfgDir)) in loadConfigFiles() 1075 if (CfgDir.empty() || getVFS().makeAbsolute(CfgDir)) in loadConfigFiles() 1099 if (getVFS().makeAbsolute(CfgFilePath)) { in loadConfigFiles() 2563 if (getVFS().exists(Value)) in DiagnoseInputExistence() 5827 if (!getVFS().exists(*CrashDirectory)) in CreateTempFile() 6283 if (TC.getVFS().exists(path)) in GetStdModuleManifestPath()
|
/freebsd/contrib/llvm-project/clang/include/clang/Driver/ |
H A D | Driver.h | 403 llvm::vfs::FileSystem &getVFS() const { return *VFS; } in getVFS() function
|
H A D | ToolChain.h | 254 llvm::vfs::FileSystem &getVFS() const;
|
/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | Driver.cpp | 1397 getVFS(const opt::InputArgList &args) { in getVFS() function 1475 config->vfs = getVFS(args); in linkerMain()
|