| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | ToolOutputFile.cpp | 20 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 D | CodeGenCoverage.cpp | 93 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 D | NewPMDriver.h | 30 class ToolOutputFile; variable 68 TargetLibraryInfoImpl *TLII, ToolOutputFile *Out, 69 ToolOutputFile *ThinLinkOut, ToolOutputFile *OptRemarkFile,
|
| H A D | opt.cpp | 510 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 D | NewPMDriver.h | 31 class ToolOutputFile; variable 42 std::unique_ptr<ToolOutputFile> Out, 43 std::unique_ptr<ToolOutputFile> DwoOut,
|
| H A D | llc.cpp | 258 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 D | NewPMDriver.cpp | 91 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 D | ToolOutputFile.h | 26 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 D | RemarkUtilHelpers.cpp | 33 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 D | RemarkUtilHelpers.h | 54 Expected<std::unique_ptr<ToolOutputFile>> 56 Expected<std::unique_ptr<ToolOutputFile>>
|
| H A D | RemarkSizeDiff.cpp | 364 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 D | LLVMRemarkStreamer.h | 27 class ToolOutputFile; variable 85 Expected<std::unique_ptr<ToolOutputFile>>
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-modextract/ |
| H A D | llvm-modextract.cpp | 66 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 D | LTO.h | 38 class ToolOutputFile; variable 85 Expected<std::unique_ptr<ToolOutputFile>> setupLLVMOptimizationRemarks( 91 Expected<std::unique_ptr<ToolOutputFile>> 450 std::unique_ptr<ToolOutputFile> DiagnosticOutputFile;
|
| H A D | LTOBackend.h | 62 std::unique_ptr<ToolOutputFile> DiagOutputFile);
|
| /freebsd-14.2/contrib/llvm-project/llvm/utils/split-file/ |
| H A D | split-file.cpp | 116 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 D | llvm-sim.cpp | 66 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 D | OptimizerDriver.cpp | 53 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 D | Main.cpp | 85 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 D | LTOCodeGenerator.h | 244 std::unique_ptr<ToolOutputFile> DiagnosticOutputFile; 245 std::unique_ptr<ToolOutputFile> StatsFile = nullptr;
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-as/ |
| H A D | llvm-as.cpp | 84 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 D | LLVMRemarkStreamer.cpp | 95 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 D | llvm-mc.cpp | 255 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 D | llvm-dis.cpp | 239 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 D | LTOBackend.cpp | 382 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()
|