Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/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.cpp92 std::unique_ptr<ToolOutputFile> CoverageFile = in emit()
93 std::make_unique<ToolOutputFile>(CoverageFilename, EC, OpenFlags); in emit()
/openbsd-src/gnu/llvm/llvm/tools/opt/
H A DNewPMDriver.h30 class ToolOutputFile; variable
68 TargetLibraryInfoImpl *TLII, ToolOutputFile *Out,
69 ToolOutputFile *ThinLinkOut, ToolOutputFile *OptRemarkFile,
H A Dopt.cpp526 Expected<std::unique_ptr<ToolOutputFile>> RemarksFileOrErr = in main()
534 std::unique_ptr<ToolOutputFile> RemarksFile = std::move(*RemarksFileOrErr); in main()
590 std::unique_ptr<ToolOutputFile> Out; in main()
591 std::unique_ptr<ToolOutputFile> ThinLinkOut; in main()
604 Out.reset(new ToolOutputFile(OutputFilename, EC, Flags)); in main()
612 new ToolOutputFile(ThinLinkBitcodeFile, EC, sys::fs::OF_None)); in main()
793 Out = std::make_unique<ToolOutputFile>(OutputFilename, EC, in main()
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DToolOutputFile.h26 class ToolOutputFile {
54 ToolOutputFile(StringRef Filename, std::error_code &EC,
57 ToolOutputFile(StringRef Filename, int FD);
/openbsd-src/gnu/llvm/llvm/tools/lli/
H A DExecutionUtils.h48 std::unique_ptr<ToolOutputFile> TestOut;
55 static std::unique_ptr<ToolOutputFile> createToolOutput();
H A DExecutionUtils.cpp135 std::unique_ptr<ToolOutputFile>
138 auto TestOut = std::make_unique<ToolOutputFile>("-", EC, sys::fs::OF_None); in createToolOutput()
/openbsd-src/gnu/llvm/llvm/tools/llvm-split/
H A Dllvm-split.cpp68 std::unique_ptr<ToolOutputFile> Out(new ToolOutputFile( in main()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DLLVMRemarkStreamer.h27 class ToolOutputFile; variable
85 Expected<std::unique_ptr<ToolOutputFile>>
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/include/llvm/LTO/
H A DLTO.h38 class ToolOutputFile; variable
86 Expected<std::unique_ptr<ToolOutputFile>> setupLLVMOptimizationRemarks(
92 Expected<std::unique_ptr<ToolOutputFile>>
425 std::unique_ptr<ToolOutputFile> DiagnosticOutputFile;
/openbsd-src/gnu/llvm/llvm/tools/llc/
H A Dllc.cpp239 static std::unique_ptr<ToolOutputFile> GetOutputStream(const char *TargetName, in GetOutputStream()
297 auto FDOut = std::make_unique<ToolOutputFile>(OutputFilename, EC, OpenFlags); in GetOutputStream()
406 Expected<std::unique_ptr<ToolOutputFile>> RemarksFileOrErr = in main()
412 std::unique_ptr<ToolOutputFile> RemarksFile = std::move(*RemarksFileOrErr); in main()
618 std::unique_ptr<ToolOutputFile> Out = in compileModule()
625 std::unique_ptr<ToolOutputFile> DwoOut; in compileModule()
628 DwoOut = std::make_unique<ToolOutputFile>(SplitDwarfOutputFile, EC, in compileModule()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/TableGen/
H A DMain.cpp75 ToolOutputFile DepOut(DependFilename, EC, sys::fs::OF_Text); in createDependencyFile()
149 ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_Text); in TableGenMain()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/tools/llvm-remarkutil/
H A DRemarkUtil.cpp94 static Expected<std::unique_ptr<ToolOutputFile>>
99 auto OF = std::make_unique<ToolOutputFile>(OutputFileName, ErrorCode, Flags); in getOutputFileWithFlags()
109 static Expected<std::unique_ptr<ToolOutputFile>>
/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/
H A Dobj2yaml.cpp110 std::unique_ptr<ToolOutputFile> Out( in main()
111 new ToolOutputFile(OutputFilename, EC, sys::fs::OF_Text)); in main()
/openbsd-src/gnu/llvm/llvm/tools/yaml2obj/
H A Dyaml2obj.cpp125 std::unique_ptr<ToolOutputFile> Out( in main()
126 new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None)); in main()
/openbsd-src/gnu/llvm/llvm/include/llvm/LTO/legacy/
H A DLTOCodeGenerator.h245 std::unique_ptr<ToolOutputFile> DiagnosticOutputFile;
246 std::unique_ptr<ToolOutputFile> StatsFile = nullptr;
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp252 static std::unique_ptr<ToolOutputFile> GetOutputStream(StringRef Path, in GetOutputStream()
255 auto Out = std::make_unique<ToolOutputFile>(Path, EC, Flags); in GetOutputStream()
495 std::unique_ptr<ToolOutputFile> Out = GetOutputStream(OutputFilename, Flags); in main()
499 std::unique_ptr<ToolOutputFile> DwoOut; in main()
/openbsd-src/gnu/llvm/llvm/tools/llvm-remark-size-diff/
H A DRemarkSizeDiff.cpp383 static ErrorOr<std::unique_ptr<ToolOutputFile>> getOutputStream() { in getOutputStream()
387 auto Out = std::make_unique<ToolOutputFile>(OutputFilename, EC, in getOutputStream()
477 std::unique_ptr<ToolOutputFile> OF = std::move(*MaybeOF); in outputAllDiffs()
/openbsd-src/gnu/llvm/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()

123