Home
last modified time | relevance | path

Searched refs:CWD (Results 1 – 25 of 39) sorted by relevance

12

/llvm-project-15.0.7/clang/unittests/Tooling/
H A DDependencyScannerTest.cpp83 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 DThreadsafeFS.cpp76 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 DThreadsafeFS.h33 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 DDependencyScanningTool.cpp58 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 DDependencyScanningTool.h83 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 Dinput-relative.s26 # 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 Ddeplibs.s65 # 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 DClangScanDeps.cpp564 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 Dllvm-ml.cpp342 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 Dllvm-mc.cpp479 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 Dcc1as_main.cpp446 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 Dabsolute-paths.test2 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 DTooling.cpp509 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 DClangdMain.cpp851 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 DCoverageMappingReader.cpp160 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 Dx86-select-sdiv.mir86 ; CHECK: CWD implicit-def $ax, implicit-def $dx, implicit $ax
H A Dx86_64-select-sdiv.mir89 ; CHECK: CWD implicit-def $ax, implicit-def $dx, implicit $ax
H A Dx86_64-select-srem.mir139 ; CHECK: CWD implicit-def $ax, implicit-def $dx, implicit $ax
H A Dx86-select-srem.mir137 ; CHECK: CWD implicit-def $ax, implicit-def $dx, implicit $ax
/llvm-project-15.0.7/clang/lib/Frontend/
H A DFrontendAction.cpp815 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 DX86InstrExtension.td24 // FIXME: CWD/CDQ/CQO shouldn't Def the A register, but the fast register
27 def CWD : I<0x99, RawFrm, (outs), (ins),
H A DX86InstructionSelector.cpp1539 {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 DCoverageMappingGen.cpp1588 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 DVirtualFileSystemTest.cpp2342 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 DVirtualFileSystem.cpp1158 auto CWD = getCurrentWorkingDirectory(); in getRealPath() local
1159 if (!CWD || CWD->empty()) in getRealPath()

12