Home
last modified time | relevance | path

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

1234

/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()
/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.cpp51 #include "llvm/Support/ToolOutputFile.h"
510 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()
/llvm-project/llvm/tools/llc/
H A DNewPMDriver.h31 class ToolOutputFile; variable
44 std::unique_ptr<ToolOutputFile> Out,
45 std::unique_ptr<ToolOutputFile> DwoOut,
H A Dllc.cpp51 #include "llvm/Support/ToolOutputFile.h"
262 static std::unique_ptr<ToolOutputFile> GetOutputStream(const char *TargetName, in GetOutputStream()
312 auto FDOut = std::make_unique<ToolOutputFile>(OutputFilename, EC, OpenFlags); in GetOutputStream()
397 Expected<std::unique_ptr<ToolOutputFile>> RemarksFileOrErr = in main()
403 std::unique_ptr<ToolOutputFile> RemarksFile = std::move(*RemarksFileOrErr); in main()
615 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/llvm/include/llvm/Support/
H A DToolOutputFile.h39 class ToolOutputFile {
56 ToolOutputFile(StringRef Filename, std::error_code &EC,
59 ToolOutputFile(StringRef Filename, int FD);
/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>>
/llvm-project/clang/unittests/Frontend/
H A DASTUnitTest.cpp19 #include "llvm/Support/ToolOutputFile.h"
32 std::unique_ptr<ToolOutputFile> input_file;
40 input_file = std::make_unique<ToolOutputFile>(InputFileName, FD); in createASTUnit()
90 ToolOutputFile ast_file(ASTFileName, FD); in TEST_F()
163 input_file = std::make_unique<ToolOutputFile>(InputFileName, FD); in TEST_F()
188 auto Input = std::make_unique<ToolOutputFile>(InputFileName, FD); in TEST_F()
/llvm-project/mlir/include/mlir/Support/
H A DFileUtilities.h22 class ToolOutputFile; variable
42 std::unique_ptr<llvm::ToolOutputFile>
/llvm-project/clang/unittests/CrossTU/
H A DCrossTranslationUnitTest.cpp56 llvm::ToolOutputFile ASTFile(ASTFileName, ASTFD); in HandleTranslationUnit()
62 llvm::ToolOutputFile IndexFile(IndexFileName, IndexFD); in HandleTranslationUnit()
73 llvm::ToolOutputFile SourceFile(SourceFileName, SourceFD); in HandleTranslationUnit()
165 llvm::ToolOutputFile IndexFile(IndexFileName, IndexFD); in TEST()
/llvm-project/bolt/include/bolt/Rewrite/
H A DMachORewriteInstance.h22 class ToolOutputFile; variable
42 std::unique_ptr<ToolOutputFile> Out;
/llvm-project/mlir/lib/Support/
H A DFileUtilities.cpp48 std::unique_ptr<llvm::ToolOutputFile>
51 auto result = std::make_unique<llvm::ToolOutputFile>(outputFilename, error, in openOutputFile()
/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h42 class ToolOutputFile;
92 Expected<std::unique_ptr<ToolOutputFile>> setupLLVMOptimizationRemarks(
98 Expected<std::unique_ptr<ToolOutputFile>>
541 std::unique_ptr<ToolOutputFile> DiagnosticOutputFile;
38 class ToolOutputFile; global() variable
/llvm-project/llvm/include/llvm/IR/
H A DLLVMRemarkStreamer.h27 class ToolOutputFile; variable
85 Expected<std::unique_ptr<ToolOutputFile>>
/llvm-project/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.cpp73 std::unique_ptr<ToolOutputFile> Out; in runDumpFunction()
75 Out.reset(new ToolOutputFile(Dumpfile, EC, sys::fs::OF_None)); in runDumpFunction()
/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()
/llvm-project/llvm/utils/split-file/
H A Dsplit-file.cpp23 #include "llvm/Support/ToolOutputFile.h"
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()
/llvm-project/mlir/lib/Pass/
H A DIRPrinting.cpp17 #include "llvm/Support/ToolOutputFile.h"
254 static std::unique_ptr<llvm::ToolOutputFile>
280 std::unique_ptr<llvm::ToolOutputFile> file = openOutputFile(path, &error); in createTreePrinterOutputPath()
313 std::unique_ptr<llvm::ToolOutputFile> file = createTreePrinterOutputPath( in printBeforeIfEnabled()
325 std::unique_ptr<llvm::ToolOutputFile> file = createTreePrinterOutputPath( in printAfterIfEnabled()
/llvm-project/mlir/tools/mlir-src-sharder/
H A Dmlir-src-sharder.cpp14 #include "llvm/Support/ToolOutputFile.h"
30 std::unique_ptr<llvm::ToolOutputFile> outputFile = in createDependencyFile()
107 std::unique_ptr<llvm::ToolOutputFile> outputFile = in main()
/llvm-project/libclc/utils/
H A Dprepare-builtins.cpp102 std::unique_ptr<ToolOutputFile> Out( in main()
103 new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None)); in main()
/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()
/llvm-project/llvm/tools/llvm-split/
H A Dllvm-split.cpp25 #include "llvm/Support/ToolOutputFile.h"
108 std::unique_ptr<ToolOutputFile> Out( in main()
109 new ToolOutputFile(OutputFilename + utostr(I++), EC, sys::fs::OF_None)); in main()

1234