Home
last modified time | relevance | path

Searched refs:ToolOutputFile (Results 1 – 25 of 43) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DToolOutputFile.cpp20 ToolOutputFile::CleanupInstaller::CleanupInstaller(StringRef Filename) in CleanupInstaller()
27 ToolOutputFile::CleanupInstaller::~CleanupInstaller() { in ~CleanupInstaller()
40 ToolOutputFile::ToolOutputFile(StringRef Filename, std::error_code &EC, in ToolOutputFile() function in ToolOutputFile
55 ToolOutputFile::ToolOutputFile(StringRef Filename, int FD) in ToolOutputFile() function in ToolOutputFile
H A DCodeGenCoverage.cpp93 std::unique_ptr<ToolOutputFile> CoverageFile = in emit()
94 std::make_unique<ToolOutputFile>(CoverageFilename, EC, OpenFlags); in emit()
/freebsd-14.2/contrib/llvm-project/llvm/tools/opt/
H A DNewPMDriver.h30 class ToolOutputFile; variable
68 TargetLibraryInfoImpl *TLII, ToolOutputFile *Out,
69 ToolOutputFile *ThinLinkOut, ToolOutputFile *OptRemarkFile,
H A Dopt.cpp510 Expected<std::unique_ptr<ToolOutputFile>> RemarksFileOrErr = in main()
518 std::unique_ptr<ToolOutputFile> RemarksFile = std::move(*RemarksFileOrErr); in main()
605 std::unique_ptr<ToolOutputFile> Out; in main()
606 std::unique_ptr<ToolOutputFile> ThinLinkOut; in main()
619 Out.reset(new ToolOutputFile(OutputFilename, EC, Flags)); in main()
627 new ToolOutputFile(ThinLinkBitcodeFile, EC, sys::fs::OF_None)); in main()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llc/
H A DNewPMDriver.h31 class ToolOutputFile; variable
42 std::unique_ptr<ToolOutputFile> Out,
43 std::unique_ptr<ToolOutputFile> DwoOut,
H A Dllc.cpp258 static std::unique_ptr<ToolOutputFile> GetOutputStream(const char *TargetName, in GetOutputStream()
308 auto FDOut = std::make_unique<ToolOutputFile>(OutputFilename, EC, OpenFlags); in GetOutputStream()
398 Expected<std::unique_ptr<ToolOutputFile>> RemarksFileOrErr = in main()
404 std::unique_ptr<ToolOutputFile> RemarksFile = std::move(*RemarksFileOrErr); in main()
616 std::unique_ptr<ToolOutputFile> Out = in compileModule()
623 std::unique_ptr<ToolOutputFile> DwoOut; in compileModule()
626 DwoOut = std::make_unique<ToolOutputFile>(SplitDwarfOutputFile, EC, in compileModule()
H A DNewPMDriver.cpp91 static void RunPasses(bool BOS, ToolOutputFile *Out, Module *M, in RunPasses()
117 std::unique_ptr<TargetMachine> Target, std::unique_ptr<ToolOutputFile> Out, in compileModuleWithNewPM()
118 std::unique_ptr<ToolOutputFile> DwoOut, LLVMContext &Context, in compileModuleWithNewPM()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DToolOutputFile.h26 class ToolOutputFile {
54 ToolOutputFile(StringRef Filename, std::error_code &EC,
57 ToolOutputFile(StringRef Filename, int FD);
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkUtilHelpers.cpp33 Expected<std::unique_ptr<ToolOutputFile>>
38 auto OF = std::make_unique<ToolOutputFile>(OutputFileName, ErrorCode, Flags); in getOutputFileWithFlags()
48 Expected<std::unique_ptr<ToolOutputFile>>
H A DRemarkUtilHelpers.h54 Expected<std::unique_ptr<ToolOutputFile>>
56 Expected<std::unique_ptr<ToolOutputFile>>
H A DRemarkSizeDiff.cpp364 static ErrorOr<std::unique_ptr<ToolOutputFile>> getOutputStream() { in getOutputStream()
368 auto Out = std::make_unique<ToolOutputFile>(OutputFilename, EC, in getOutputStream()
458 std::unique_ptr<ToolOutputFile> OF = std::move(*MaybeOF); in outputAllDiffs()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DLLVMRemarkStreamer.h27 class ToolOutputFile; variable
85 Expected<std::unique_ptr<ToolOutputFile>>
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-modextract/
H A Dllvm-modextract.cpp66 std::unique_ptr<ToolOutputFile> Out( in main()
67 new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None)); in main()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h38 class ToolOutputFile; variable
85 Expected<std::unique_ptr<ToolOutputFile>> setupLLVMOptimizationRemarks(
91 Expected<std::unique_ptr<ToolOutputFile>>
450 std::unique_ptr<ToolOutputFile> DiagnosticOutputFile;
H A DLTOBackend.h62 std::unique_ptr<ToolOutputFile> DiagOutputFile);
/freebsd-14.2/contrib/llvm-project/llvm/utils/split-file/
H A Dsplit-file.cpp116 std::vector<std::unique_ptr<ToolOutputFile>> outputFiles; in handle()
125 auto f = std::make_unique<ToolOutputFile>(partPath.str(), ec, in handle()
138 for (std::unique_ptr<ToolOutputFile> &outputFile : outputFiles) in handle()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-sim/
H A Dllvm-sim.cpp66 std::unique_ptr<ToolOutputFile> Out( in exportToFile()
67 new ToolOutputFile(FilePath, EC, sys::fs::OF_None)); in exportToFile()
/freebsd-14.2/contrib/llvm-project/llvm/tools/bugpoint/
H A DOptimizerDriver.cpp53 static bool writeProgramToFileAux(ToolOutputFile &Out, const Module &M) { in writeProgramToFileAux()
65 ToolOutputFile Out(Filename, FD); in writeProgramToFile()
82 ToolOutputFile Out(Filename, EC, sys::fs::OF_None); in writeProgramToFile()
/freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/
H A DMain.cpp85 ToolOutputFile DepOut(DependFilename, EC, sys::fs::OF_Text); in createDependencyFile()
167 ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_Text); in TableGenMain()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/LTO/legacy/
H A DLTOCodeGenerator.h244 std::unique_ptr<ToolOutputFile> DiagnosticOutputFile;
245 std::unique_ptr<ToolOutputFile> StatsFile = nullptr;
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-as/
H A Dllvm-as.cpp84 std::unique_ptr<ToolOutputFile> Out( in WriteOutputFile()
85 new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None)); in WriteOutputFile()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DLLVMRemarkStreamer.cpp95 Expected<std::unique_ptr<ToolOutputFile>> llvm::setupLLVMOptimizationRemarks( in setupLLVMOptimizationRemarks()
115 std::make_unique<ToolOutputFile>(RemarksFilename, EC, Flags); in setupLLVMOptimizationRemarks()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp255 static std::unique_ptr<ToolOutputFile> GetOutputStream(StringRef Path, in GetOutputStream()
258 auto Out = std::make_unique<ToolOutputFile>(Path, EC, Flags); in GetOutputStream()
498 std::unique_ptr<ToolOutputFile> Out = GetOutputStream(OutputFilename, Flags); in main()
502 std::unique_ptr<ToolOutputFile> DwoOut; in main()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-dis/
H A Dllvm-dis.cpp239 std::unique_ptr<ToolOutputFile> Out( in main()
240 new ToolOutputFile(FinalFilename, EC, sys::fs::OF_TextWithCRLF)); in main()
/freebsd-14.2/contrib/llvm-project/llvm/lib/LTO/
H A DLTOBackend.cpp382 std::unique_ptr<ToolOutputFile> DwoOut; in codegen()
398 DwoOut = std::make_unique<ToolOutputFile>(DwoFile, EC, sys::fs::OF_None); in codegen()
494 std::unique_ptr<ToolOutputFile> DiagOutputFile) { in finalizeOptimizationRemarks()
587 std::unique_ptr<ToolOutputFile> DiagnosticOutputFile) { in thinBackend()

12