Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DToolOutputFile.cpp40 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.cpp92 std::unique_ptr<ToolOutputFile> CoverageFile = in emit()
93 std::make_unique<ToolOutputFile>(CoverageFilename, EC, OpenFlags); in emit()
/freebsd/contrib/llvm-project/llvm/tools/opt/
H A DNewPMDriver.h31 class ToolOutputFile; variable
70 ToolOutputFile *Out, ToolOutputFile *ThinLinkOut,
71 ToolOutputFile *OptRemarkFile, StringRef PassPipeline,
H A Doptdriver.cpp510 Expected<std::unique_ptr<ToolOutputFile>> RemarksFileOrErr = in optMain()
518 std::unique_ptr<ToolOutputFile> RemarksFile = std::move(*RemarksFileOrErr); in optMain()
605 std::unique_ptr<ToolOutputFile> Out; in optMain()
606 std::unique_ptr<ToolOutputFile> ThinLinkOut; in optMain()
619 Out.reset(new ToolOutputFile(OutputFilename, EC, Flags)); in optMain()
627 new ToolOutputFile(ThinLinkBitcodeFile, EC, sys::fs::OF_None)); in optMain()
H A DNewPMDriver.cpp342 ToolOutputFile *Out, ToolOutputFile *ThinLTOLinkOut, in runPassPipeline()
343 ToolOutputFile *OptRemarkFile, StringRef PassPipeline, in runPassPipeline()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DToolOutputFile.h39 class ToolOutputFile {
56 ToolOutputFile(StringRef Filename, std::error_code &EC,
59 ToolOutputFile(StringRef Filename, int FD);
/freebsd/contrib/llvm-project/llvm/tools/lli/
H A DExecutionUtils.h
H A DExecutionUtils.cpp
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DLLVMRemarkStreamer.h27 class ToolOutputFile; variable
85 Expected<std::unique_ptr<ToolOutputFile>>
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h38 class ToolOutputFile; variable
87 Expected<std::unique_ptr<ToolOutputFile>> setupLLVMOptimizationRemarks(
93 Expected<std::unique_ptr<ToolOutputFile>>
452 std::unique_ptr<ToolOutputFile> DiagnosticOutputFile;
H A DLTOBackend.h62 std::unique_ptr<ToolOutputFile> DiagOutputFile);
/freebsd/contrib/llvm-project/llvm/tools/llc/
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()
395 Expected<std::unique_ptr<ToolOutputFile>> RemarksFileOrErr = in main()
401 std::unique_ptr<ToolOutputFile> RemarksFile = std::move(*RemarksFileOrErr); in main()
613 std::unique_ptr<ToolOutputFile> Out = in compileModule()
620 std::unique_ptr<ToolOutputFile> DwoOut; in compileModule()
623 DwoOut = std::make_unique<ToolOutputFile>(SplitDwarfOutputFile, EC, in compileModule()
H A DNewPMDriver.cpp93 std::unique_ptr<TargetMachine> Target, std::unique_ptr<ToolOutputFile> Out, in compileModuleWithNewPM()
94 std::unique_ptr<ToolOutputFile> DwoOut, LLVMContext &Context, in compileModuleWithNewPM()
/freebsd/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/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/contrib/llvm-project/llvm/tools/bugpoint/
H A DOptimizerDriver.cpp27 #include "llvm/Support/ToolOutputFile.h"
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/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/contrib/llvm-project/llvm/include/llvm/LTO/legacy/
H A DLTOCodeGenerator.h246 std::unique_ptr<ToolOutputFile> DiagnosticOutputFile;
247 std::unique_ptr<ToolOutputFile> StatsFile = nullptr;
/freebsd/contrib/llvm-project/llvm/tools/llvm-as/
H A Dllvm-as.cpp86 std::unique_ptr<ToolOutputFile> Out( in WriteOutputFile()
87 new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None)); in WriteOutputFile()
/freebsd/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/contrib/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkUtil.cpp
/freebsd/contrib/llvm-project/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp246 static std::unique_ptr<ToolOutputFile> GetOutputStream(StringRef Path, in GetOutputStream()
249 auto Out = std::make_unique<ToolOutputFile>(Path, EC, Flags); in GetOutputStream()
488 std::unique_ptr<ToolOutputFile> Out = GetOutputStream(OutputFilename, Flags); in main()
492 std::unique_ptr<ToolOutputFile> DwoOut; in main()
/freebsd/contrib/llvm-project/llvm/tools/llvm-dis/
H A Dllvm-dis.cpp247 std::unique_ptr<ToolOutputFile> Out( in main()
248 new ToolOutputFile(FinalFilename, EC, sys::fs::OF_TextWithCRLF)); in main()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp172 std::unique_ptr<llvm::ToolOutputFile> openOutputFile(StringRef Path) { in openOutputFile()
174 auto F = std::make_unique<llvm::ToolOutputFile>(Path, EC, in openOutputFile()
185 std::unique_ptr<llvm::ToolOutputFile> &ThinLinkOS, BackendConsumer *BC);
188 std::unique_ptr<llvm::ToolOutputFile> &DwoOS);
777 std::unique_ptr<llvm::ToolOutputFile> &ThinLinkOS, BackendConsumer *BC) { in RunOptimizationPipeline()
1120 std::unique_ptr<llvm::ToolOutputFile> &DwoOS) { in RunCodegenPipeline()
1178 std::unique_ptr<llvm::ToolOutputFile> ThinLinkOS, DwoOS; in EmitAssembly()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOBackend.cpp380 std::unique_ptr<ToolOutputFile> DwoOut; in codegen()
396 DwoOut = std::make_unique<ToolOutputFile>(DwoFile, EC, sys::fs::OF_None); in codegen()
496 std::unique_ptr<ToolOutputFile> DiagOutputFile) { in finalizeOptimizationRemarks()
589 std::unique_ptr<ToolOutputFile> DiagnosticOutputFile) { in thinBackend()

12