Home
last modified time | relevance | path

Searched refs:getDirectory (Results 1 – 25 of 33) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp86 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 DJMCInstrumenter.cpp72 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 DFileManagerTest.cpp119 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 DFileManager.h188 getDirectory(StringRef DirName, bool CacheFailure = true);
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h482 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 DModuleMap.cpp438 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 DHeaderSearch.cpp262 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 DInitHeaderSearch.cpp684 if (auto Dir = HS.getFileMgr().getDirectory(P)) in ApplyHeaderSearchOptions()
H A DPPLexerChange.cpp232 if (auto CurDir = FM.getDirectory(Path)) { in computeRelativePath()
/llvm-project-15.0.7/llvm/lib/IR/
H A DDiagnosticInfo.cpp131 sys::path::append(Path, File->getDirectory(), Name); in getAbsolutePath()
H A DCore.cpp1295 S = DL->getDirectory(); in LLVMGetDebugLocDirectory()
1302 S = DGV->getDirectory(); in LLVMGetDebugLocDirectory()
1305 S = DSP->getDirectory(); in LLVMGetDebugLocDirectory()
H A DDebugInfo.cpp1077 auto Dir = unwrapDI<DIFile>(File)->getDirectory(); in LLVMDIFileGetDirectory()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DFrontendAction.cpp470 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 DModularizeUtilities.cpp281 if (auto DirEntry = FileMgr->getDirectory(DirName)) in loadModuleMap()
/llvm-project-15.0.7/clang/lib/Basic/
H A DFileManager.cpp189 FileManager::getDirectory(StringRef DirName, bool CacheFailure) { in getDirectory() function in FileManager
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp274 HS.getFileMgr().getDirectory(module.search_path.GetStringRef()); in AddModule()
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBTFDebug.cpp941 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 DDwarfDebug.cpp1074 CompilationDir = DIUnit->getDirectory(); in getOrCreateDwarfCompileUnit()
3215 F.getDirectory(), F.getFilename(), getMD5AsBytes(&F), in emitMacroFileImpl()
3352 DIUnit->getDirectory(), DIUnit->getFilename(), in getDwoLineTable()
H A DCodeViewDebug.cpp142 StringRef Dir = File->getDirectory(), Filename = File->getFilename(); in getFullFilepath()
937 getStringIdTypeIdx(TypeTable, MainSourceFile->getDirectory()); in emitBuildInfo()
H A DDwarfCompileUnit.cpp130 0, File->getDirectory(), File->getFilename(), DD->getMD5AsBytes(File), in getOrCreateSourceID()
/llvm-project-15.0.7/clang-tools-extra/clang-move/
H A DMove.cpp95 auto Dir = SM.getFileManager().getDirectory( in MakeAbsolutePath()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter9/
H A Dtoy.cpp1250 KSDbgInfo.TheCU->getDirectory()); in codegen()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSourceCode.cpp538 if (auto Dir = SourceMgr.getFileManager().getDirectory( in getCanonicalPath()
/llvm-project-15.0.7/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl09.rst250 KSDbgInfo.TheCU.getDirectory());
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp218 sys::path::append(Path, SP->getDirectory(), SP->getFilename()); in getFilename()

12