Home
last modified time | relevance | path

Searched refs:InputFileName (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/clang/unittests/Frontend/
H A DASTUnitTest.cpp30 llvm::SmallString<256> InputFileName; member in __anon2d08965d0111::ASTUnitTest
38 InputFileName)); in createASTUnit()
39 input_file = std::make_unique<ToolOutputFile>(InputFileName, FD); in createASTUnit()
42 const char *Args[] = {"clang", "-xc++", InputFileName.c_str()}; in createASTUnit()
111 AST->getBufferForFile(InputFileName); in TEST_F()
159 llvm::sys::fs::createTemporaryFile("ast-unit", "c", FD, InputFileName)); in TEST_F()
160 input_file = std::make_unique<ToolOutputFile>(InputFileName, FD); in TEST_F()
163 const char *Args[] = {"clang", "-target", "foobar", InputFileName.c_str()}; in TEST_F()
/llvm-project-15.0.7/llvm/tools/llvm-dwarfutil/
H A Dllvm-dwarfutil.cpp90 Options.InputFileName = InputFiles[0]; in validateAndSetOptions()
233 Config.Common.InputFilename = Opts.InputFileName; in saveSeparateDebugInfo()
256 Config.Common.InputFilename = Opts.InputFileName; in saveNonDebugInfo()
339 Config.Common.InputFilename = Opts.InputFileName; in saveSeparateLinkedDebugInfo()
370 Config.Common.InputFilename = Opts.InputFileName; in saveSingleLinkedDebugInfo()
410 Config.Common.InputFilename = Opts.InputFileName; in saveCopyOfFile()
487 MemoryBuffer::getFileOrSTDIN(Opts.InputFileName); in main()
489 error(createFileError(Opts.InputFileName, BuffOrErr.getError())); in main()
497 FilePermissionsApplier::create(Opts.InputFileName); in main()
502 error(createFileError(Opts.InputFileName, in main()
[all …]
H A DOptions.h28 std::string InputFileName; member
H A DDebugInfoLinker.cpp291 Options.InputFileName); in linkDebugInfo()
/llvm-project-15.0.7/llvm/tools/llvm-remark-size-diff/
H A DRemarkSizeDiff.cpp302 StringRef InputFileName, in readFileAndProcessRemarks() argument
304 auto Buf = MemoryBuffer::getFile(InputFileName); in readFileAndProcessRemarks()
307 EC, Twine("Cannot open file '" + InputFileName + "': " + EC.message())); in readFileAndProcessRemarks()
331 "File '" + InputFileName + in readFileAndProcessRemarks()
345 StringRef InputFileName, in tryReadFileAndProcessRemarks() argument
347 if (Error E = readFileAndProcessRemarks(InputFileName, FuncNameToSizeInfo)) { in tryReadFileAndProcessRemarks()
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DAMDGPUOpenMP.h54 const char *InputFileName,
60 const char *InputFileName) const;
H A DAMDGPUOpenMP.cpp172 llvm::StringRef OutputFilePrefix, const char *InputFileName, in constructLlcCommand() argument
177 LlcArgs.push_back(InputFileName); in constructLlcCommand()
204 const char *InputFileName) const { in constructLldCommand()
209 InputFileName}; in constructLldCommand()
/llvm-project-15.0.7/llvm/tools/llvm-opt-report/
H A DOptReport.cpp45 InputFileName(cl::Positional, cl::desc("<input>"), cl::init("-"), variable
151 MemoryBuffer::getFile(InputFileName.c_str()); in readLocationInfo()
153 WithColor::error() << "Can't open file " << InputFileName << ": " in readLocationInfo()
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterFixtures.h87 const char *const InputFileName = "input.cc"; variable
248 const char *const InputFileName = "input.cc"; in testImport() local
252 FromCode, FromArgs, InputFileName), in testImport()
H A DASTImporterFixtures.cpp147 FromTUs.emplace_back(FromSrcCode, InputFileName, FromArgs, Creator, in getImportedDecl()
H A DStructuralEquivalenceTest.cpp30 const char *const InputFileName = "input.cc"; in makeASTUnits() local
32 AST0 = tooling::buildASTFromCodeWithArgs(Code0, Args, InputFileName); in makeASTUnits()
33 AST1 = tooling::buildASTFromCodeWithArgs(Code1, Args, InputFileName); in makeASTUnits()
/llvm-project-15.0.7/clang/tools/clang-offload-bundler/
H A DClangOffloadBundler.cpp969 static Error ListBundleIDsInFile(StringRef InputFileName) { in ListBundleIDsInFile() argument
972 MemoryBuffer::getFileOrSTDIN(InputFileName); in ListBundleIDsInFile()
974 return createFileError(InputFileName, EC); in ListBundleIDsInFile()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCContext.cpp899 void MCContext::setGenDwarfRootFile(StringRef InputFileName, StringRef Buffer) { in setGenDwarfRootFile() argument
919 SmallString<1024> FileNameBuf = InputFileName; in setGenDwarfRootFile()