Home
last modified time | relevance | path

Searched refs:OutputFilename (Results 1 – 15 of 15) sorted by relevance

/NextBSD/contrib/llvm/tools/llvm-profdata/
HDllvm-profdata.cpp45 StringRef OutputFilename) { in mergeInstrProfile() argument
46 if (OutputFilename.compare("-") == 0) in mergeInstrProfile()
50 raw_fd_ostream Output(OutputFilename.data(), EC, sys::fs::F_None); in mergeInstrProfile()
52 exitWithError(EC.message(), OutputFilename); in mergeInstrProfile()
72 StringRef OutputFilename, in mergeSampleProfile() argument
75 auto WriterOrErr = SampleProfileWriter::create(OutputFilename, OutputFormat); in mergeSampleProfile()
77 exitWithError(EC.message(), OutputFilename); in mergeSampleProfile()
107 cl::opt<std::string> OutputFilename("output", cl::value_desc("output"), in merge_main() local
111 cl::aliasopt(OutputFilename)); in merge_main()
129 mergeInstrProfile(Inputs, OutputFilename); in merge_main()
[all …]
/NextBSD/contrib/llvm/tools/llc/
HDllc.cpp59 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename")); variable
105 if (OutputFilename.empty()) { in GetOutputStream()
107 OutputFilename = "-"; in GetOutputStream()
112 OutputFilename = IFN.drop_back(3); in GetOutputStream()
114 OutputFilename = IFN.drop_back(4); in GetOutputStream()
116 OutputFilename = IFN; in GetOutputStream()
122 OutputFilename += ".cbe.c"; in GetOutputStream()
124 OutputFilename += ".cpp"; in GetOutputStream()
126 OutputFilename += ".s"; in GetOutputStream()
128 OutputFilename += ".s"; in GetOutputStream()
[all …]
/NextBSD/contrib/llvm/tools/llvm-as/
HDllvm-as.cpp38 OutputFilename("o", cl::desc("Override output filename"), variable
61 if (OutputFilename.empty()) { in WriteOutputFile()
63 OutputFilename = "-"; in WriteOutputFile()
66 OutputFilename = (IFN.endswith(".ll") ? IFN.drop_back(3) : IFN).str(); in WriteOutputFile()
67 OutputFilename += ".bc"; in WriteOutputFile()
73 new tool_output_file(OutputFilename, EC, sys::fs::F_None)); in WriteOutputFile()
/NextBSD/contrib/llvm/tools/llvm-dis/
HDllvm-dis.cpp44 OutputFilename("o", cl::desc("Override output filename"), variable
170 OutputFilename = "-"; in main()
172 if (OutputFilename.empty()) { // Unspecified output, infer it. in main()
174 OutputFilename = "-"; in main()
177 OutputFilename = (IFN.endswith(".bc") ? IFN.drop_back(3) : IFN).str(); in main()
178 OutputFilename += ".ll"; in main()
184 new tool_output_file(OutputFilename, EC, sys::fs::F_None)); in main()
/NextBSD/contrib/llvm/lib/TableGen/
HDMain.cpp32 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename"), variable
53 if (OutputFilename == "-") { in createDependencyFile()
64 DepOut.os() << OutputFilename << ":"; in createDependencyFile()
98 tool_output_file Out(OutputFilename, EC, sys::fs::F_Text); in TableGenMain()
100 errs() << argv0 << ": error opening " << OutputFilename << ":" in TableGenMain()
/NextBSD/contrib/llvm/tools/opt/
HDopt.cpp81 OutputFilename("o", cl::desc("Override output filename"), variable
371 if (!OutputFilename.empty()) in main()
376 if (OutputFilename.empty()) in main()
377 OutputFilename = "-"; in main()
380 Out.reset(new tool_output_file(OutputFilename, EC, sys::fs::F_None)); in main()
465 if (OutputFilename.empty()) in main()
466 OutputFilename = "-"; in main()
469 Out = llvm::make_unique<tool_output_file>(OutputFilename, EC, in main()
/NextBSD/contrib/llvm/lib/Support/
HDTimer.cpp57 const std::string &OutputFilename = getLibSupportInfoOutputFilename(); in CreateInfoOutputFile() local
58 if (OutputFilename.empty()) in CreateInfoOutputFile()
60 if (OutputFilename == "-") in CreateInfoOutputFile()
68 raw_ostream *Result = new raw_fd_ostream(OutputFilename, EC, in CreateInfoOutputFile()
74 << OutputFilename << " for appending!\n"; in CreateInfoOutputFile()
/NextBSD/contrib/llvm/tools/llvm-lto/
HDllvm-lto.cpp58 OutputFilename("o", cl::init(""), variable
258 if (!OutputFilename.empty()) { in main()
269 raw_fd_ostream FileStream(OutputFilename, EC, sys::fs::F_None); in main()
271 errs() << argv[0] << ": error opening the file '" << OutputFilename in main()
/NextBSD/contrib/llvm/tools/bugpoint/
HDOptimizerDriver.cpp131 std::string &OutputFilename, bool DeleteOutput, in runPasses() argument
144 OutputFilename = UniqueFilename.str(); in runPasses()
206 Args.push_back(OutputFilename.c_str()); in runPasses()
243 sys::fs::remove(OutputFilename); in runPasses()
HDBugDriver.h174 std::string OutputFilename,
266 std::string &OutputFilename, bool DeleteOutput = false,
/NextBSD/contrib/llvm/tools/llvm-cov/
HDTestingSupport.cpp31 cl::opt<std::string> OutputFilename( in convertForTestingMain() local
78 sys::fs::openFileForWrite(OutputFilename, FD, sys::fs::F_None)) { in convertForTestingMain()
/NextBSD/contrib/llvm/tools/llvm-link/
HDllvm-link.cpp47 OutputFilename("o", cl::desc("Override output filename"), cl::init("-"), variable
163 tool_output_file Out(OutputFilename, EC, sys::fs::F_None); in main()
/NextBSD/contrib/llvm/tools/llvm-mc/
HDllvm-mc.cpp48 OutputFilename("o", cl::desc("Output filename"), variable
211 if (OutputFilename == "") in GetOutputStream()
212 OutputFilename = "-"; in GetOutputStream()
215 auto Out = llvm::make_unique<tool_output_file>(OutputFilename, EC, in GetOutputStream()
/NextBSD/contrib/llvm/tools/llvm-extract/
HDllvm-extract.cpp43 OutputFilename("o", cl::desc("Specify output filename"), variable
270 tool_output_file Out(OutputFilename, EC, sys::fs::F_None); in main()
/NextBSD/contrib/llvm/tools/llvm-stress/
HDllvm-stress.cpp43 OutputFilename("o", cl::desc("Override output filename"), variable
702 if (OutputFilename.empty()) in main()
703 OutputFilename = "-"; in main()
706 Out.reset(new tool_output_file(OutputFilename, EC, sys::fs::F_None)); in main()