Home
last modified time | relevance | path

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

/llvm-project/clang/unittests/Frontend/
H A DASTUnitTest.cpp31 llvm::SmallString<256> InputFileName;
39 InputFileName)); in createASTUnit()
40 input_file = std::make_unique<ToolOutputFile>(InputFileName, FD); in createASTUnit()
43 const char *Args[] = {"clang", "-xc++", InputFileName.c_str()}; in createASTUnit()
113 AST->getBufferForFile(InputFileName); in TEST_F()
162 llvm::sys::fs::createTemporaryFile("ast-unit", "c", FD, InputFileName)); in TEST_F()
163 input_file = std::make_unique<ToolOutputFile>(InputFileName, FD); in TEST_F()
166 const char *Args[] = {"clang", "-target", "foobar", InputFileName.c_str()}; in TEST_F()
187 llvm::sys::fs::createTemporaryFile("bar", "c", FD, InputFileName)); in TEST_F()
188 auto Input = std::make_unique<ToolOutputFile>(InputFileName, F in TEST_F()
30 llvm::SmallString<256> InputFileName; global() member in __anon5c7f55800111::ASTUnitTest
[all...]
/llvm-project/llvm/tools/llvm-dwarfutil/
H A Dllvm-dwarfutil.cpp88 Options.InputFileName = InputFiles[0]; in validateAndSetOptions()
256 Config.Common.InputFilename = Opts.InputFileName; in saveSeparateDebugInfo()
279 Config.Common.InputFilename = Opts.InputFileName; in saveNonDebugInfo()
362 Config.Common.InputFilename = Opts.InputFileName; in saveSeparateLinkedDebugInfo()
393 Config.Common.InputFilename = Opts.InputFileName; in saveSingleLinkedDebugInfo()
433 Config.Common.InputFilename = Opts.InputFileName; in saveCopyOfFile()
510 MemoryBuffer::getFileOrSTDIN(Opts.InputFileName); in main()
512 error(createFileError(Opts.InputFileName, BuffOrErr.getError())); in main()
517 error(createFileError(Opts.InputFileName, BinOrErr.takeError())); in main()
520 FilePermissionsApplier::create(Opts.InputFileName); in main()
[all...]
H A DOptions.h34 std::string InputFileName; member
H A DDebugInfoLinker.cpp444 Options.InputFileName); in linkDebugInfoImpl()
453 Options.InputFileName); in linkDebugInfoImpl()
458 Options.InputFileName); in linkDebugInfoImpl()
/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkUtilHelpers.cpp19 getInputMemoryBuffer(StringRef InputFileName) { in getInputMemoryBuffer() argument
20 auto MaybeBuf = MemoryBuffer::getFileOrSTDIN(InputFileName); in getInputMemoryBuffer()
23 Twine("Cannot open file '" + InputFileName + in getInputMemoryBuffer()
H A DRemarkUtilHelpers.h26 static cl::opt<std::string> InputFileName(cl::Positional, cl::init("-"), \
53 getInputMemoryBuffer(StringRef InputFileName);
H A DRemarkSizeDiff.cpp288 StringRef InputFileName, in readFileAndProcessRemarks() argument
291 auto MaybeBuf = getInputMemoryBuffer(InputFileName); in readFileAndProcessRemarks()
315 "File '" + InputFileName + in readFileAndProcessRemarks()
329 StringRef InputFileName, in tryReadFileAndProcessRemarks() argument
331 if (Error E = readFileAndProcessRemarks(InputFileName, FuncNameToSizeInfo)) { in tryReadFileAndProcessRemarks()
H A DRemarkConvert.cpp53 auto MaybeBuf = getInputMemoryBuffer(InputFileName); in tryParseRemarksFromYAMLFile()
119 auto MaybeBuf = getInputMemoryBuffer(InputFileName); in tryBitstream2YAML()
H A DRemarkCount.cpp58 auto MaybeBuf = getInputMemoryBuffer(InputFileName); in tryInstructionCount()
109 auto MaybeBuf = getInputMemoryBuffer(InputFileName); in tryAnnotationCount()
H A DRemarkCounter.cpp300 auto MaybeBuf = getInputMemoryBuffer(InputFileName); in useCollectRemark()
/llvm-project/llvm/tools/llvm-opt-report/
H A DOptReport.cpp48 InputFileName(cl::Positional, cl::desc("<input>"), cl::init("-"),
157 MemoryBuffer::getFile(InputFileName.c_str()); in readLocationInfo()
159 WithColor::error() << "Can't open file " << InputFileName << ": " in readLocationInfo()
47 InputFileName(cl::Positional, cl::desc("<input>"), cl::init("-"), global() variable
/llvm-project/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.cpp32 const char *const InputFileName = "input.cc"; in makeASTUnits() local
34 AST0 = tooling::buildASTFromCodeWithArgs(Code0, Args, InputFileName); in makeASTUnits()
35 AST1 = tooling::buildASTFromCodeWithArgs(Code1, Args, InputFileName); in makeASTUnits()
/llvm-project/clang/include/clang/Driver/
H A DOffloadBundler.h65 ListBundleIDsInFile(llvm::StringRef InputFileName,
/llvm-project/llvm/lib/MC/
H A DMCContext.cpp948 void MCContext::setGenDwarfRootFile(StringRef InputFileName, StringRef Buffer) { in setGenDwarfRootFile()
962 // the SrcMgr's main file ID, which might be the same as InputFileName (and in setGenDwarfRootFile()
966 // So, if the InputFileName and MainFileName are not equal, assume in setGenDwarfRootFile()
968 SmallString<1024> FileNameBuf = InputFileName; in setGenDwarfRootFile()
945 setGenDwarfRootFile(StringRef InputFileName,StringRef Buffer) setGenDwarfRootFile() argument
/llvm-project/clang/lib/Driver/
H A DOffloadBundler.cpp1273 StringRef InputFileName, const OffloadBundlerConfig &BundlerConfig) { in isCodeObjectCompatible()
1276 MemoryBuffer::getFileOrSTDIN(InputFileName, /*IsText=*/true); in isCodeObjectCompatible()
1278 return createFileError(InputFileName, EC); in isCodeObjectCompatible()
1192 ListBundleIDsInFile(StringRef InputFileName,const OffloadBundlerConfig & BundlerConfig) ListBundleIDsInFile() argument
/llvm-project/bolt/include/bolt/Core/
H A DBinaryContext.h282 StringRef InputFileName, SubtargetFeatures *Features, bool IsPIC, in initializeTarget()
/llvm-project/bolt/lib/Core/
H A DBinaryContext.cpp164 StringRef InputFileName, SubtargetFeatures *Features, bool IsPIC, in createBinaryContext()
298 BC->setFilename(InputFileName); in createBinaryContext()
163 createBinaryContext(Triple TheTriple,StringRef InputFileName,SubtargetFeatures * Features,bool IsPIC,std::unique_ptr<DWARFContext> DwCtx,JournalingStreams Logger) createBinaryContext() argument