Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/tools/opt/
H A DNewPMDriver.h30 class ToolOutputFile; variable
72 TargetLibraryInfoImpl *TLII, ToolOutputFile *Out,
73 ToolOutputFile *ThinLinkOut, ToolOutputFile *OptRemarkFile,
H A Dopt.cpp581 Expected<std::unique_ptr<ToolOutputFile>> RemarksFileOrErr = in main()
589 std::unique_ptr<ToolOutputFile> RemarksFile = std::move(*RemarksFileOrErr); in main()
644 std::unique_ptr<ToolOutputFile> Out; in main()
645 std::unique_ptr<ToolOutputFile> ThinLinkOut; in main()
658 Out.reset(new ToolOutputFile(OutputFilename, EC, Flags)); in main()
666 new ToolOutputFile(ThinLinkBitcodeFile, EC, sys::fs::OF_None)); in main()
845 Out = std::make_unique<ToolOutputFile>(OutputFilename, EC, in main()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DToolOutputFile.h26 class ToolOutputFile {
54 ToolOutputFile(StringRef Filename, std::error_code &EC,
57 ToolOutputFile(StringRef Filename, int FD);
/llvm-project-15.0.7/mlir/include/mlir/Support/
H A DFileUtilities.h21 class ToolOutputFile; variable
35 std::unique_ptr<llvm::ToolOutputFile>
/llvm-project-15.0.7/clang/unittests/Frontend/
H A DASTUnitTest.cpp31 std::unique_ptr<ToolOutputFile> input_file;
39 input_file = std::make_unique<ToolOutputFile>(InputFileName, FD); in createASTUnit()
88 ToolOutputFile ast_file(ASTFileName, FD); in TEST_F()
160 input_file = std::make_unique<ToolOutputFile>(InputFileName, FD); in TEST_F()
/llvm-project-15.0.7/mlir/lib/Support/
H A DFileUtilities.cpp34 std::unique_ptr<llvm::ToolOutputFile>
37 auto result = std::make_unique<llvm::ToolOutputFile>(outputFilename, error, in openOutputFile()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/bolt/include/bolt/Rewrite/
H A DMachORewriteInstance.h21 class ToolOutputFile; variable
42 std::unique_ptr<ToolOutputFile> Out;
/llvm-project-15.0.7/clang/unittests/CrossTU/
H A DCrossTranslationUnitTest.cpp57 llvm::ToolOutputFile ASTFile(ASTFileName, ASTFD); in HandleTranslationUnit()
63 llvm::ToolOutputFile IndexFile(IndexFileName, IndexFD); in HandleTranslationUnit()
74 llvm::ToolOutputFile SourceFile(SourceFileName, SourceFD); in HandleTranslationUnit()
166 llvm::ToolOutputFile IndexFile(IndexFileName, IndexFD); in TEST()
/llvm-project-15.0.7/llvm/tools/llvm-split/
H A Dllvm-split.cpp68 std::unique_ptr<ToolOutputFile> Out(new ToolOutputFile( in main()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DLLVMRemarkStreamer.h26 class ToolOutputFile; variable
84 Expected<std::unique_ptr<ToolOutputFile>>
/llvm-project-15.0.7/polly/lib/Support/
H A DDumpModulePass.cpp39 std::unique_ptr<ToolOutputFile> Out; in runDumpModule()
41 Out.reset(new ToolOutputFile(Dumpfile, EC, sys::fs::OF_None)); in runDumpModule()
H A DDumpFunctionPass.cpp72 std::unique_ptr<ToolOutputFile> Out; in runDumpFunction()
74 Out.reset(new ToolOutputFile(Dumpfile, EC, sys::fs::OF_None)); in runDumpFunction()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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;
/llvm-project-15.0.7/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()
404 Expected<std::unique_ptr<ToolOutputFile>> RemarksFileOrErr = in main()
410 std::unique_ptr<ToolOutputFile> RemarksFile = std::move(*RemarksFileOrErr); in main()
619 std::unique_ptr<ToolOutputFile> Out = in compileModule()
626 std::unique_ptr<ToolOutputFile> DwoOut; in compileModule()
629 DwoOut = std::make_unique<ToolOutputFile>(SplitDwarfOutputFile, EC, in compileModule()
/llvm-project-15.0.7/llvm/tools/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()
/llvm-project-15.0.7/libclc/utils/
H A Dprepare-builtins.cpp97 std::unique_ptr<ToolOutputFile> Out( in main()
98 new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None)); in main()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/tools/yaml2obj/
H A Dyaml2obj.cpp121 std::unique_ptr<ToolOutputFile> Out( in main()
122 new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None)); in main()
/llvm-project-15.0.7/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()

123