Home
last modified time | relevance | path

Searched refs:createFile (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/IR/
H A DVerifierTest.cpp203 DIB.createCompileUnit(dwarf::DW_LANG_C89, DIB.createFile("broken.c", "/"), in TEST()
209 auto *File = DIB.createFile("not-a-CU.f", "."); in TEST()
219 DIB.createFile("broken.c", "/"), in TEST()
229 CU, "f", "f", DIB.createFile("broken.c", "/"), 1, nullptr, 1, in TEST()
H A DDebugInfoTest.cpp212 DIFile *F = DIB.createFile("main.c", "/"); in TEST()
214 dwarf::DW_LANG_C, DIB.createFile("main.c", "/"), "llvm-c", true, "", 0); in TEST()
244 DIFile *F = DIB.createFile("main.c", "/"); in TEST()
257 DIFile *F = DIB.createFile("main.c", "/"); in TEST()
H A DIRBuilderTest.cpp799 auto File = DIB.createFile("error.swift", "/"); in TEST_F()
820 auto File = DIB.createFile("F.CBL", "/"); in TEST_F()
822 DIB.createFile("F.CBL", "/"), "llvm-cobol74", in TEST_F()
842 auto File = DIB.createFile("main.c", "/"); in TEST_F()
921 auto *File = DIB.createFile("main.c", "/"); in TEST_F()
996 auto File = DIB.createFile("tmp.cpp", "/"); in TEST_F()
998 DIB.createFile("tmp.cpp", "/"), "", true, "", in TEST_F()
1029 auto F = DIB.createFile("F.CBL", "/"); in TEST_F()
1055 auto File1 = DIB.createFile("main.c", "/"); in TEST_F()
1056 auto File2 = DIB.createFile("file.h", "/"); in TEST_F()
[all …]
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DDebugTranslation.cpp43 builder.createFile(llvmModule.getModuleIdentifier(), "/"), in DebugTranslation()
213 return (file = builder.createFile(fileName, directory)); in translateFile()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DURI.cpp235 return URI::createFile(AbsolutePath); in create()
238 URI URI::createFile(llvm::StringRef AbsolutePath) { in createFile() function in clang::clangd::URI
H A DURI.h52 static URI createFile(llvm::StringRef AbsolutePath);
H A DClangdLSPServer.cpp763 WE.changes[URI::createFile(It.first()).toString()] = in onCommandApplyTweak()
835 Result.changes[URI::createFile(Rep.first()).toString()] = in onRename()
H A DProtocol.h107 std::string uri() const { return URI::createFile(File).toString(); } in uri()
/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DCloningTest.cpp475 auto *File = DBuilder.createFile("filename.c", "/file/dir/"); in CreateOldFunctionBodyAndDI()
480 DBuilder.createFile("filename.c", in CreateOldFunctionBodyAndDI()
536 DBuilder.createFile("extra.c", "/file/dir"), in CreateOldFunctionBodyAndDI()
929 auto *File = EmptyBuilder.createFile("empty.c", "/file/dir/"); in CreateOldModule()
947 auto *File = DBuilder.createFile("filename.c", "/file/dir/"); in CreateOldModule()
951 DBuilder.createFile("filename.c", in CreateOldModule()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/remote/
H A DMarshallingTests.cpp41 auto URI = URI::createFile(testPath(Path)); in testPathURI()
246 Strings.save(URI::createFile(testPath("project/Header.h")).toString()); in TEST()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter9/
H A Dtoy.cpp1249 DIFile *Unit = DBuilder->createFile(KSDbgInfo.TheCU->getFilename(), in codegen()
1449 dwarf::DW_LANG_C, DBuilder->createFile("fib.ks", "."), in main()
/llvm-project-15.0.7/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl09.rst211 dwarf::DW_LANG_C, DBuilder->createFile("fib.ks", "."),
249 DIFile *Unit = DBuilder->createFile(KSDbgInfo.TheCU.getFilename(),
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/marshalling/
H A DMarshalling.cpp323 auto Result = URI::createFile(FullPath); in relativePathToURI()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDIBuilder.h175 createFile(StringRef Filename, StringRef Directory,
/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DLexicalScopesTest.cpp102 OurFile = DIB.createFile("xyzzy.c", "/cave"); in LexicalScopesTest()
H A DInstrRefLDVTest.cpp100 OurFile = DIB.createFile("xyzzy.c", "/cave"); in SetUp()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDebugInfo.h646 createFile(StringRef FileName,
H A DCGDebugInfo.cpp414 return createFile(FileName, CSInfo, getSource(SM, SM.getFileID(Loc))); in getOrCreateFile()
418 CGDebugInfo::createFile(StringRef FileName, in createFile() function in CGDebugInfo
452 llvm::DIFile *F = DBuilder.createFile(File, Dir, CSInfo, Source); in createFile()
607 llvm::DIFile *CUFile = DBuilder.createFile( in CreateCompileUnit()
2775 DIB.createFile(Mod.getModuleName(), TheCU->getDirectory()), in getOrCreateModuleRef()
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DRefactoringTest.cpp601 FileID createFile(llvm::StringRef Name, llvm::StringRef Content) { in createFile() function in clang::tooling::FlushRewrittenFilesTest
640 FileID ID = createFile("input.cpp", "line1\nline2\nline3\nline4"); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DDebugify.cpp107 auto File = DIB.createFile(M.getName(), "/"); in applyDebugifyMetadata()
/llvm-project-15.0.7/llvm/lib/IR/
H A DDIBuilder.cpp229 DIFile *DIBuilder::createFile(StringRef Filename, StringRef Directory, in createFile() function in DIBuilder
H A DDebugInfo.cpp939 return wrap(unwrap(Builder)->createFile(StringRef(Filename, FilenameLen), in LLVMDIBuilderCreateFile()
/llvm-project-15.0.7/llvm/unittests/Frontend/
H A DOpenMPIRBuilderTest.cpp172 auto File = DIB.createFile("test.dbg", "/src", llvm::None, in SetUp()