Home
last modified time | relevance | path

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

/external/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp43 StringRef OutputFilename) { in mergeInstrProfile() argument
44 if (OutputFilename.compare("-") == 0) in mergeInstrProfile()
48 raw_fd_ostream Output(OutputFilename.data(), EC, sys::fs::F_None); in mergeInstrProfile()
50 exitWithError(EC.message(), OutputFilename); in mergeInstrProfile()
70 StringRef OutputFilename, in mergeSampleProfile() argument
73 auto WriterOrErr = SampleProfileWriter::create(OutputFilename, OutputFormat); in mergeSampleProfile()
75 exitWithError(EC.message(), OutputFilename); in mergeSampleProfile()
105 cl::opt<std::string> OutputFilename("output", cl::value_desc("output"), in merge_main() local
109 cl::aliasopt(OutputFilename)); in merge_main()
127 mergeInstrProfile(Inputs, OutputFilename); in merge_main()
[all …]
/external/llvm/tools/llc/
Dllc.cpp58 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename")); variable
104 if (OutputFilename.empty()) { in GetOutputStream()
106 OutputFilename = "-"; in GetOutputStream()
111 OutputFilename = IFN.drop_back(3); in GetOutputStream()
113 OutputFilename = IFN; in GetOutputStream()
119 OutputFilename += ".cbe.c"; in GetOutputStream()
121 OutputFilename += ".cpp"; in GetOutputStream()
123 OutputFilename += ".s"; in GetOutputStream()
125 OutputFilename += ".s"; in GetOutputStream()
129 OutputFilename += ".obj"; in GetOutputStream()
[all …]
/external/llvm/tools/llvm-as/
Dllvm-as.cpp38 OutputFilename("o", cl::desc("Override output filename"), variable
61 if (OutputFilename.empty()) { in WriteOutputFile()
63 OutputFilename = "-"; in WriteOutputFile()
69 OutputFilename = std::string(IFN.begin(), IFN.end()-3); in WriteOutputFile()
71 OutputFilename = IFN; // Append a .bc to it in WriteOutputFile()
73 OutputFilename += ".bc"; in WriteOutputFile()
79 new tool_output_file(OutputFilename, EC, sys::fs::F_None)); in WriteOutputFile()
/external/llvm/tools/llvm-dis/
Dllvm-dis.cpp44 OutputFilename("o", cl::desc("Override output filename"), variable
167 OutputFilename = "-"; in main()
169 if (OutputFilename.empty()) { // Unspecified output, infer it. in main()
171 OutputFilename = "-"; in main()
177 OutputFilename = std::string(IFN.begin(), IFN.end()-3)+".ll"; in main()
179 OutputFilename = IFN+".ll"; in main()
185 new tool_output_file(OutputFilename, EC, sys::fs::F_None)); in main()
/external/llvm/lib/TableGen/
DMain.cpp33 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename"), variable
55 if (OutputFilename == "-") { in createDependencyFile()
66 DepOut.os() << OutputFilename << ":"; in createDependencyFile()
102 tool_output_file Out(OutputFilename, EC, sys::fs::F_Text); in TableGenMain()
104 errs() << argv0 << ": error opening " << OutputFilename << ":" in TableGenMain()
/external/llvm/examples/BrainF/
DBrainFDriver.cpp48 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename")); variable
102 if (OutputFilename == "") { in main()
107 OutputFilename = base+".bc"; in main()
109 if (OutputFilename != "-") { in main()
111 out = new raw_fd_ostream(OutputFilename, EC, sys::fs::F_None); in main()
/external/llvm/tools/yaml2obj/
Dyaml2obj.cpp60 static cl::opt<std::string> OutputFilename("o", cl::desc("Output filename"), variable
84 if (OutputFilename.empty()) in main()
85 OutputFilename = "-"; in main()
89 new tool_output_file(OutputFilename, EC, sys::fs::F_None)); in main()
/external/llvm/tools/opt/
Dopt.cpp81 OutputFilename("o", cl::desc("Override output filename"), variable
393 if (!OutputFilename.empty()) in main()
398 if (OutputFilename.empty()) in main()
399 OutputFilename = "-"; in main()
402 Out.reset(new tool_output_file(OutputFilename, EC, sys::fs::F_None)); in main()
476 if (OutputFilename.empty()) in main()
477 OutputFilename = "-"; in main()
480 Out = llvm::make_unique<tool_output_file>(OutputFilename, EC, in main()
/external/llvm/lib/Support/
DTimer.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()
/external/llvm/tools/llvm-lto/
Dllvm-lto.cpp58 OutputFilename("o", cl::init(""), variable
255 if (!OutputFilename.empty()) { in main()
268 raw_fd_ostream FileStream(OutputFilename, EC, sys::fs::F_None); in main()
270 errs() << argv[0] << ": error opening the file '" << OutputFilename in main()
/external/llvm/tools/bugpoint/
DOptimizerDriver.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()
DBugDriver.h174 std::string OutputFilename,
266 std::string &OutputFilename, bool DeleteOutput = false,
/external/llvm/tools/llvm-cov/
DTestingSupport.cpp31 cl::opt<std::string> OutputFilename( in convertForTestingMain() local
78 sys::fs::openFileForWrite(OutputFilename, FD, sys::fs::F_None)) { in convertForTestingMain()
/external/llvm/tools/llvm-link/
Dllvm-link.cpp42 OutputFilename("o", cl::desc("Override output filename"), cl::init("-"), variable
144 tool_output_file Out(OutputFilename, EC, sys::fs::F_None); in main()
/external/llvm/tools/dsymutil/
Ddsymutil.h43 bool linkDwarf(StringRef OutputFilename, const DebugMap &DM,
DDwarfLinker.cpp401 bool init(Triple TheTriple, StringRef OutputFilename);
464 bool DwarfStreamer::init(Triple TheTriple, StringRef OutputFilename) { in init() argument
509 llvm::make_unique<raw_fd_ostream>(OutputFilename, EC, sys::fs::F_None); in init()
511 return error(Twine(OutputFilename) + ": " + EC.message(), Context); in init()
979 DwarfLinker(StringRef OutputFilename, const LinkOptions &Options) in DwarfLinker() argument
980 : OutputFilename(OutputFilename), Options(Options), in DwarfLinker()
1203 bool createStreamer(Triple TheTriple, StringRef OutputFilename);
1207 std::string OutputFilename; member in llvm::dsymutil::__anon7a0c69ef0111::DwarfLinker
1294 bool DwarfLinker::createStreamer(Triple TheTriple, StringRef OutputFilename) { in createStreamer() argument
1299 return Streamer->init(TheTriple, OutputFilename); in createStreamer()
[all …]
/external/llvm/tools/llvm-mc/
Dllvm-mc.cpp48 OutputFilename("o", cl::desc("Output filename"), variable
208 if (OutputFilename == "") in GetOutputStream()
209 OutputFilename = "-"; in GetOutputStream()
212 auto Out = llvm::make_unique<tool_output_file>(OutputFilename, EC, in GetOutputStream()
/external/llvm/tools/llvm-extract/
Dllvm-extract.cpp43 OutputFilename("o", cl::desc("Specify output filename"), variable
270 tool_output_file Out(OutputFilename, EC, sys::fs::F_None); in main()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp42 OutputFilename("o", cl::desc("Override output filename"), variable
704 if (OutputFilename.empty()) in main()
705 OutputFilename = "-"; in main()
708 Out.reset(new tool_output_file(OutputFilename, EC, sys::fs::F_None)); in main()
/external/llvm/docs/
DCommandLine.rst114 …cl::opt<string> OutputFilename("o", cl::desc("Specify output filename"), cl::value_desc("filename"…
116 This declares a global variable "``OutputFilename``" that is used to capture the
142 std::ofstream Output(OutputFilename.c_str());