| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | DependencyScannerTest.cpp | 83 StringRef CWD = "/root"; in TEST() local 84 FixedCompilationDatabase CDB(CWD, Compilation); in TEST() 87 VFS->setCurrentWorkingDirectory(CWD); in TEST() 132 StringRef CWD = "/root"; in TEST() local 133 FixedCompilationDatabase CDB(CWD, Compilation); in TEST() 136 VFS->setCurrentWorkingDirectory(CWD); in TEST() 174 StringRef CWD = "/root"; in TEST() local 175 FixedCompilationDatabase CDB(CWD, Compilation); in TEST() 178 VFS->setCurrentWorkingDirectory(CWD); in TEST() 217 StringRef CWD = "/root"; in TEST() local [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/support/ |
| H A D | ThreadsafeFS.cpp | 76 ThreadsafeFS::view(PathRef CWD) const { in view() 78 if (auto EC = FS->setCurrentWorkingDirectory(CWD)) in view() 79 elog("VFS: failed to set CWD to {0}: {1}", CWD, EC.message()); in view()
|
| H A D | ThreadsafeFS.h | 33 view(llvm::NoneType CWD) const { in view() argument 40 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> view(PathRef CWD) const;
|
| /llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/ |
| H A D | DependencyScanningTool.cpp | 58 const std::vector<std::string> &CommandLine, StringRef CWD, in getDependencyFile() argument 113 Worker.computeDependencies(CWD, CommandLine, Consumer, ModuleName); in getDependencyFile() 123 const std::vector<std::string> &CommandLine, StringRef CWD, in getFullDependencies() argument 194 Worker.computeDependencies(CWD, CommandLine, Consumer, ModuleName); in getFullDependencies()
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/DependencyScanning/ |
| H A D | DependencyScanningTool.h | 83 getDependencyFile(const std::vector<std::string> &CommandLine, StringRef CWD, 100 StringRef CWD, const llvm::StringSet<> &AlreadySeen,
|
| /llvm-project-15.0.7/lld/test/ELF/linkerscript/ |
| H A D | input-relative.s | 26 # RUN: ld.lld -L. a.o dir/cwd.lds -o - | llvm-nm - | FileCheck --check-prefix=CWD %s 28 # RUN: ld.lld -L. a.o dir/cwd1.lds -o - | llvm-nm - | FileCheck --check-prefix=CWD %s 30 # CWD: T cwd
|
| /llvm-project-15.0.7/lld/test/ELF/ |
| H A D | deplibs.s | 65 # RUN: FileCheck %s -DOBJ=%t.o -DDIR=%t.dir --check-prefix=CWD \ 68 # CWD: [[OBJ]] 69 # CWD-NEXT: {{^foo\.a}}
|
| /llvm-project-15.0.7/clang/tools/clang-scan-deps/ |
| H A D | ClangScanDeps.cpp | 564 std::string CWD; in main() local 574 CWD = std::move(Input->Directory); in main() 582 Input->CommandLine, CWD, MaybeModuleName); in main() 588 Input->CommandLine, CWD, AlreadySeenModules, MaybeModuleName); in main()
|
| /llvm-project-15.0.7/llvm/tools/llvm-ml/ |
| H A D | llvm-ml.cpp | 342 SmallString<128> CWD; in main() local 343 if (!sys::fs::current_path(CWD)) in main() 344 Ctx.setCompilationDir(CWD); in main()
|
| /llvm-project-15.0.7/llvm/tools/llvm-mc/ |
| H A D | llvm-mc.cpp | 479 SmallString<128> CWD; in main() local 480 if (!sys::fs::current_path(CWD)) in main() 481 Ctx.setCompilationDir(CWD); in main()
|
| /llvm-project-15.0.7/clang/tools/driver/ |
| H A D | cc1as_main.cpp | 446 SmallString<128> CWD; in ExecuteAssemblerImpl() local 447 if (!sys::fs::current_path(CWD)) in ExecuteAssemblerImpl() 448 Ctx.setCompilationDir(CWD); in ExecuteAssemblerImpl()
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-ar/ |
| H A D | absolute-paths.test | 2 for llvm-ar to extract them to their basename in the CWD, since usually the
|
| /llvm-project-15.0.7/clang/lib/Tooling/ |
| H A D | Tooling.cpp | 509 if (auto CWD = OverlayFileSystem->getCurrentWorkingDirectory()) { in run() local 510 InitialWorkingDir = std::move(*CWD); in run() 513 << CWD.getError().message() << "\n"; in run()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/tool/ |
| H A D | ClangdMain.cpp | 851 SmallString<128> CWD; in main() local 852 if (auto Err = llvm::sys::fs::current_path(CWD)) in main() 855 log("Working directory: {0}", CWD); in main()
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMappingReader.cpp | 160 StringRef CWD; in readUncompressed() local 161 if (auto Err = readString(CWD)) in readUncompressed() 163 Filenames.push_back(CWD.str()); in readUncompressed() 176 P.assign(CWD); in readUncompressed()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/GlobalISel/ |
| H A D | x86-select-sdiv.mir | 86 ; CHECK: CWD implicit-def $ax, implicit-def $dx, implicit $ax
|
| H A D | x86_64-select-sdiv.mir | 89 ; CHECK: CWD implicit-def $ax, implicit-def $dx, implicit $ax
|
| H A D | x86_64-select-srem.mir | 139 ; CHECK: CWD implicit-def $ax, implicit-def $dx, implicit $ax
|
| H A D | x86-select-srem.mir | 137 ; CHECK: CWD implicit-def $ax, implicit-def $dx, implicit $ax
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 815 SmallVector<std::pair<const FileEntry *, const DirectoryEntry *>, 1> CWD; in BeginSourceFile() local 816 CWD.push_back({nullptr, Dir}); in BeginSourceFile() 821 nullptr, nullptr, CWD, nullptr, nullptr, nullptr, in BeginSourceFile()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86InstrExtension.td | 24 // FIXME: CWD/CDQ/CQO shouldn't Def the A register, but the fast register 27 def CWD : I<0x99, RawFrm, (outs), (ins),
|
| H A D | X86InstructionSelector.cpp | 1539 {X86::IDIV16r, X86::CWD, Copy, X86::AX, S}, // SDiv in selectDivRem() 1540 {X86::IDIV16r, X86::CWD, Copy, X86::DX, S}, // SRem in selectDivRem()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CoverageMappingGen.cpp | 1588 SmallString<256> CWD; in getCurrentDirname() local 1589 llvm::sys::fs::current_path(CWD); in getCurrentDirname() 1590 return CWD.str().str(); in getCurrentDirname()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | VirtualFileSystemTest.cpp | 2342 SmallString<128> CWD; in TEST_F() local 2343 EC = llvm::sys::fs::current_path(CWD); in TEST_F() 2357 checkContents(FS->dir_begin(CWD, EC), {ExpectedPathNotInDir}); in TEST_F() 2373 getPosixPath(std::string(I->path().substr(CWD.size() + 1)))); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | VirtualFileSystem.cpp | 1158 auto CWD = getCurrentWorkingDirectory(); in getRealPath() local 1159 if (!CWD || CWD->empty()) in getRealPath()
|