| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ModuleDebugInfoPrinter.cpp | 86 printFile(O, CU->getFilename(), CU->getDirectory()); in printModuleDebugInfo() 92 printFile(O, S->getFilename(), S->getDirectory(), S->getLine()); in printModuleDebugInfo() 101 printFile(O, GV->getFilename(), GV->getDirectory(), GV->getLine()); in printModuleDebugInfo() 111 printFile(O, T->getFilename(), T->getDirectory(), T->getLine()); in printModuleDebugInfo()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | JMCInstrumenter.cpp | 72 has_root_name(SP.getDirectory(), sys::path::Style::windows_backslash) || in getFlagName() 73 SP.getDirectory().contains("\\") || in getFlagName() 82 SmallString<256> FilePath(SP.getDirectory()); in getFlagName()
|
| /llvm-project-15.0.7/clang/unittests/Basic/ |
| H A D | FileManagerTest.cpp | 119 ASSERT_FALSE(manager.getDirectory("virtual/dir/foo")); in TEST_F() 120 ASSERT_FALSE(manager.getDirectory("virtual/dir")); in TEST_F() 121 ASSERT_FALSE(manager.getDirectory("virtual")); in TEST_F() 130 ASSERT_FALSE(manager.getDirectory("virtual/dir/foo")); in TEST_F() 221 auto readingFileAsDir = manager.getDirectory("foo.cpp"); in TEST_F()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | FileManager.h | 188 getDirectory(StringRef DirName, bool CacheFailure = true);
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | DebugInfoMetadata.h | 482 inline StringRef getDirectory() const; 592 return getTemporary(getContext(), getFilename(), getDirectory(), in cloneImpl() 611 StringRef getDirectory() const { return getStringOperand(1); } in getDirectory() function 641 StringRef DIScope::getDirectory() const { in getDirectory() function 643 return F->getDirectory(); in getDirectory() 1621 StringRef getDirectory() const { return getScope()->getDirectory(); } in getDirectory() function 2526 StringRef getDirectory() const { in getDirectory() function 2528 return F->getDirectory(); in getDirectory() 3275 StringRef getDirectory() const { 3277 return F->getDirectory();
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | ModuleMap.cpp | 438 if (auto DirEntry = SourceMgr.getFileManager().getDirectory(DirName)) in findHeaderInUmbrellaDirs() 778 if (auto DirEntry = SourceMgr.getFileManager().getDirectory(DirName)) in isHeaderUnavailableInModule() 981 if (auto ParentDir = FileMgr.getDirectory(Parent)) { in inferFrameworkModule() 1084 FileMgr.getDirectory(Dir->path())) { in inferFrameworkModule() 1099 if (auto SubDir = FileMgr.getDirectory(SubframeworkDirName)) { in inferFrameworkModule() 2452 if (auto D = SourceMgr.getFileManager().getDirectory(DirName)) in parseUmbrellaDirDecl() 2458 if (auto D = SourceMgr.getFileManager().getDirectory(PathName)) in parseUmbrellaDirDecl()
|
| H A D | HeaderSearch.cpp | 262 auto Dir = FileMgr.getDirectory(Parent); in getCachedModuleFileNameImpl() 608 auto Dir = FileMgr.getDirectory(FrameworkName); in DoFrameworkLookup() 671 auto Dir = FileMgr.getDirectory(FrameworkPath); in DoFrameworkLookup()
|
| H A D | InitHeaderSearch.cpp | 684 if (auto Dir = HS.getFileMgr().getDirectory(P)) in ApplyHeaderSearchOptions()
|
| H A D | PPLexerChange.cpp | 232 if (auto CurDir = FM.getDirectory(Path)) { in computeRelativePath()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | DiagnosticInfo.cpp | 131 sys::path::append(Path, File->getDirectory(), Name); in getAbsolutePath()
|
| H A D | Core.cpp | 1295 S = DL->getDirectory(); in LLVMGetDebugLocDirectory() 1302 S = DGV->getDirectory(); in LLVMGetDebugLocDirectory() 1305 S = DSP->getDirectory(); in LLVMGetDebugLocDirectory()
|
| H A D | DebugInfo.cpp | 1077 auto Dir = unwrapDI<DIFile>(File)->getDirectory(); in LLVMDIFileGetDirectory()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 470 if (auto Dir = CI.getFileManager().getDirectory(InferredFrameworkPath)) in loadModuleMapForModuleBuild() 813 if (auto DirOrErr = CI.getFileManager().getDirectory(".")) in BeginSourceFile()
|
| /llvm-project-15.0.7/clang-tools-extra/modularize/ |
| H A D | ModularizeUtilities.cpp | 281 if (auto DirEntry = FileMgr->getDirectory(DirName)) in loadModuleMap()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | FileManager.cpp | 189 FileManager::getDirectory(StringRef DirName, bool CacheFailure) { in getDirectory() function in FileManager
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangModulesDeclVendor.cpp | 274 HS.getFileMgr().getDirectory(module.search_path.GetStringRef()); in AddModule()
|
| /llvm-project-15.0.7/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.cpp | 941 if (!File->getFilename().startswith("/") && File->getDirectory().size()) in populateFileContent() 942 FileName = File->getDirectory().str() + "/" + File->getFilename().str(); in populateFileContent()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfDebug.cpp | 1074 CompilationDir = DIUnit->getDirectory(); in getOrCreateDwarfCompileUnit() 3215 F.getDirectory(), F.getFilename(), getMD5AsBytes(&F), in emitMacroFileImpl() 3352 DIUnit->getDirectory(), DIUnit->getFilename(), in getDwoLineTable()
|
| H A D | CodeViewDebug.cpp | 142 StringRef Dir = File->getDirectory(), Filename = File->getFilename(); in getFullFilepath() 937 getStringIdTypeIdx(TypeTable, MainSourceFile->getDirectory()); in emitBuildInfo()
|
| H A D | DwarfCompileUnit.cpp | 130 0, File->getDirectory(), File->getFilename(), DD->getMD5AsBytes(File), in getOrCreateSourceID()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-move/ |
| H A D | Move.cpp | 95 auto Dir = SM.getFileManager().getDirectory( in MakeAbsolutePath()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter9/ |
| H A D | toy.cpp | 1250 KSDbgInfo.TheCU->getDirectory()); in codegen()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | SourceCode.cpp | 538 if (auto Dir = SourceMgr.getFileManager().getDirectory( in getCanonicalPath()
|
| /llvm-project-15.0.7/llvm/docs/tutorial/MyFirstLanguageFrontend/ |
| H A D | LangImpl09.rst | 250 KSDbgInfo.TheCU.getDirectory());
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | GCOVProfiling.cpp | 218 sys::path::append(Path, SP->getDirectory(), SP->getFilename()); in getFilename()
|