Home
last modified time | relevance | path

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

/llvm-project/llvm/unittests/IR/
H A DDebugInfoTest.cpp360 DIFile *F = DIB.createFile("main.c", "/"); in TEST()
365 F = DIB.createFile("main.c", "/", Checksum, Source); in TEST()
369 F = DIB.createFile("main.c", "/", Checksum, Source); in TEST()
392 DIFile *F = DIB.createFile("main.c", "/"); in TEST()
394 dwarf::DW_LANG_C, DIB.createFile("main.c", "/"), "llvm-c", true, "", 0); in TEST()
424 DIFile *F = DIB.createFile("main.c", "/"); in TEST()
437 DIFile *F = DIB.createFile("main.c", "/"); in TEST()
1207 DIFile *F = DIB.createFile("main.c", "/"); in TEST()
1253 DIFile *F = DIB.createFile("main.c", "/");
H A DVerifierTest.cpp235 DIB.createCompileUnit(dwarf::DW_LANG_C89, DIB.createFile("broken.c", "/"),
241 auto *File = DIB.createFile("not-a-CU.f", "."); in TEST()
251 DIB.createFile("broken.c", "/"), in TEST()
261 CU, "f", "f", DIB.createFile("broken.c", "/"), 1, nullptr, 1, in TEST()
H A DIRBuilderTest.cpp857 auto File = DIB.createFile("error.swift", "/"); in TEST_F()
896 auto File = DIB.createFile("F.CBL", "/"); in TEST_F()
898 DIB.createFile("F.CBL", "/"), in TEST_F()
1013 auto File = DIB.createFile("main.c", "/"); in TEST_F()
1092 auto *File = DIB.createFile("main.c", "/"); in TEST_F()
1167 auto File = DIB.createFile("tmp.cpp", "/"); in TEST_F()
1169 DIB.createFile("tmp.cpp", "/"), "", true, "", in TEST_F()
1200 auto F = DIB.createFile("F.CBL", "/"); in TEST_F()
1226 auto File1 = DIB.createFile("main.c", "/"); in TEST_F()
1227 auto File2 = DIB.createFile("fil in TEST_F()
[all...]
/llvm-project/clang-tools-extra/clangd/
H A DURI.cpp234 return URI::createFile(AbsolutePath); in create()
237 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.cpp826 (*WE.changes)[URI::createFile(It.first()).toString()] = in onCommandApplyTweak()
915 .changes)[URI::createFile(Rep.first()).toString()] = in onDocumentDidClose()
H A DProtocol.h107 std::string uri() const { return URI::createFile(File).toString(); } in uri()
/llvm-project/llvm/unittests/Transforms/Utils/
H A DCloningTest.cpp478 auto *File = DBuilder.createFile("filename.c", "/file/dir/"); in CreateOldFunctionBodyAndDI()
483 DBuilder.createFile("filename.c", in CreateOldFunctionBodyAndDI()
539 DBuilder.createFile("extra.c", "/file/dir"), in CreateOldFunctionBodyAndDI()
950 auto *File = EmptyBuilder.createFile("empty.c", "/file/dir/"); in CreateOldModule()
968 auto *File = DBuilder.createFile("filename.c", "/file/dir/"); in CreateOldModule()
972 DBuilder.createFile("filename.c", in CreateOldModule()
/llvm-project/llvm/unittests/CodeGen/
H A DMachineBasicBlockTest.cpp42 DIFile *OurFile = DIB.createFile("foo.c", "/bar"); in TEST()
H A DLexicalScopesTest.cpp103 OurFile = DIB.createFile("xyzzy.c", "/cave"); in LexicalScopesTest()
H A DInstrRefLDVTest.cpp102 OurFile = DIB.createFile("xyzzy.c", "/cave"); in SetUp()
/llvm-project/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/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/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/clang-tools-extra/clangd/index/remote/marshalling/
H A DMarshalling.cpp379 auto Result = URI::createFile(FullPath); in toProtobuf()
/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h188 DIFile *createFile(
/llvm-project/clang/unittests/Tooling/
H A DRefactoringTest.cpp601 FileID createFile(llvm::StringRef Name, llvm::StringRef Content) {
640 FileID ID = createFile("input.cpp", "line1\nline2\nline3\nline4"); in TEST_F()
602 FileID createFile(llvm::StringRef Name, llvm::StringRef Content) { createFile() function in clang::tooling::FlushRewrittenFilesTest
/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h701 createFile(StringRef FileName,
H A DCGDebugInfo.cpp437 // createFile() below for canonicalization if the source file was specified in getOrCreateFile()
461 // Put Checksum at a scope where it will persist past the createFile call. in createFile()
469 return createFile(FileName, CSInfo, getSource(SM, SM.getFileID(Loc))); in createFile()
472 llvm::DIFile *CGDebugInfo::createFile( in createFile()
507 llvm::DIFile *F = DBuilder.createFile(File, Dir, CSInfo, Source); in getColumnNumber()
668 llvm::DIFile *CUFile = DBuilder.createFile( in CreateCompileUnit()
3099 DIB.createFile(Mod.getModuleName(), TheCU->getDirectory()), in CreateTypeDefinition()
443 llvm::DIFile *CGDebugInfo::createFile( createFile() function in CGDebugInfo
/llvm-project/llvm/lib/Transforms/Utils/
H A DDebugify.cpp108 auto File = DIB.createFile(M.getName(), "/"); in applyDebugifyMetadata()
/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp214 DIFile *DIBuilder::createFile(StringRef Filename, StringRef Directory,
215 DIFile *DIBuilder::createFile(StringRef Filename, StringRef Directory, createFile() function in DIBuilder
H A DDebugInfo.cpp1110 return wrap(unwrap(Builder)->createFile(StringRef(Filename, FilenameLen), in LLVMDIBuilderCreateNameSpace()
/llvm-project/llvm/unittests/Frontend/
H A DOpenMPIRBuilderTest.cpp212 auto File = DIB.createFile("test.dbg", "/src", std::nullopt, in buildSingleLoopFunction()