Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/LLVM/utils/FileUpdate/
DFileUpdate.cpp34 OutputFilename(cl::Positional, cl::desc("<output-file>"), cl::Required); variable
41 if (OutputFilename == "-") { in main()
56 MemoryBuffer::getFile(OutputFilename.c_str(), Out); in main()
63 errs() << argv[0] << ": Not updating '" << OutputFilename in main()
70 errs() << argv[0] << ": Updating '" << OutputFilename in main()
73 tool_output_file OutStream(OutputFilename.c_str(), ErrorStr, in main()
77 << OutputFilename << "': " << ErrorStr << '\n'; in main()
/external/swiftshader/third_party/LLVM/tools/llvm-as/
Dllvm-as.cpp37 OutputFilename("o", cl::desc("Override output filename"), variable
55 if (OutputFilename.empty()) { in WriteOutputFile()
57 OutputFilename = "-"; in WriteOutputFile()
63 OutputFilename = std::string(IFN.begin(), IFN.end()-3); in WriteOutputFile()
65 OutputFilename = IFN; // Append a .bc to it in WriteOutputFile()
67 OutputFilename += ".bc"; in WriteOutputFile()
73 (new tool_output_file(OutputFilename.c_str(), ErrorInfo, in WriteOutputFile()
/external/swiftshader/third_party/LLVM/tools/llc/
Dllc.cpp50 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename")); variable
162 if (OutputFilename.empty()) { in GetOutputStream()
164 OutputFilename = "-"; in GetOutputStream()
166 OutputFilename = GetFileNameRoot(InputFilename); in GetOutputStream()
173 OutputFilename += ".cbe.c"; in GetOutputStream()
175 OutputFilename += ".cpp"; in GetOutputStream()
177 OutputFilename += ".s"; in GetOutputStream()
179 OutputFilename += ".s"; in GetOutputStream()
183 OutputFilename += ".obj"; in GetOutputStream()
185 OutputFilename += ".o"; in GetOutputStream()
[all …]
/external/llvm/tools/llvm-lto/
Dllvm-lto.cpp130 static cl::opt<std::string> OutputFilename("o", cl::init(""), variable
301 assert(!OutputFilename.empty()); in createCombinedModuleSummaryIndex()
302 raw_fd_ostream OS(OutputFilename + ".thinlto.bc", EC, in createCombinedModuleSummaryIndex()
304 error(EC, "error opening the file '" + OutputFilename + ".thinlto.bc'"); in createCombinedModuleSummaryIndex()
433 if (OutputFilename.empty()) in thinLink()
450 raw_fd_ostream OS(OutputFilename, EC, sys::fs::OpenFlags::F_None); in thinLink()
451 error(EC, "error opening the file '" + OutputFilename + "'"); in thinLink()
461 if (InputFilenames.size() != 1 && !OutputFilename.empty()) in distributedIndexes()
478 std::string OutputName = OutputFilename; in distributedIndexes()
493 if (InputFilenames.size() != 1 && !OutputFilename.empty()) in emitImports()
[all …]
/external/llvm/tools/llc/
Dllc.cpp65 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename")); variable
149 if (OutputFilename.empty()) { in GetOutputStream()
151 OutputFilename = "-"; in GetOutputStream()
156 OutputFilename = IFN.drop_back(3); in GetOutputStream()
158 OutputFilename = IFN.drop_back(4); in GetOutputStream()
160 OutputFilename = IFN; in GetOutputStream()
166 OutputFilename += ".cbe.c"; in GetOutputStream()
168 OutputFilename += ".cpp"; in GetOutputStream()
170 OutputFilename += ".s"; in GetOutputStream()
172 OutputFilename += ".s"; in GetOutputStream()
[all …]
/external/swiftshader/third_party/LLVM/tools/llvm-ld/
Dllvm-ld.cpp54 static cl::opt<std::string> OutputFilename("o", cl::init("a.out"), variable
262 static int GenerateAssembly(const std::string &OutputFilename, in GenerateAssembly() argument
273 args.push_back(OutputFilename.c_str()); in GenerateAssembly()
325 static int GenerateNative(const std::string &OutputFilename, in GenerateNative() argument
358 args.push_back(OutputFilename); in GenerateNative()
423 if (0 != sys::CopyFile(sys::Path(OutputFilename), llvmstub, &ErrMsg)) in EmitShellScript()
431 tool_output_file Out2(OutputFilename.c_str(), ErrorInfo); in EmitShellScript()
537 if (OutputFilename.getNumOccurrences() == 0) in main()
538 OutputFilename = "a.exe"; in main()
541 if (sys::path::extension(OutputFilename).empty()) in main()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-lto/
Dllvm-lto.cpp186 static cl::opt<std::string> OutputFilename("o", cl::init(""), variable
386 assert(!OutputFilename.empty()); in createCombinedModuleSummaryIndex()
387 raw_fd_ostream OS(OutputFilename + ".thinlto.bc", EC, in createCombinedModuleSummaryIndex()
389 error(EC, "error opening the file '" + OutputFilename + ".thinlto.bc'"); in createCombinedModuleSummaryIndex()
520 if (OutputFilename.empty()) in thinLink()
539 raw_fd_ostream OS(OutputFilename, EC, sys::fs::OpenFlags::F_None); in thinLink()
540 error(EC, "error opening the file '" + OutputFilename + "'"); in thinLink()
549 if (InputFilenames.size() != 1 && !OutputFilename.empty()) in distributedIndexes()
566 std::string OutputName = OutputFilename; in distributedIndexes()
581 if (InputFilenames.size() != 1 && !OutputFilename.empty()) in emitImports()
[all …]
/external/llvm/tools/llvm-as/
Dllvm-as.cpp38 static cl::opt<std::string> OutputFilename("o", variable
64 if (OutputFilename.empty()) { in WriteOutputFile()
66 OutputFilename = "-"; in WriteOutputFile()
69 OutputFilename = (IFN.endswith(".ll") ? IFN.drop_back(3) : IFN).str(); in WriteOutputFile()
70 OutputFilename += ".bc"; in WriteOutputFile()
76 new tool_output_file(OutputFilename, EC, sys::fs::F_None)); in WriteOutputFile()
/external/swiftshader/third_party/LLVM/tools/llvm-dis/
Dllvm-dis.cpp40 OutputFilename("o", cl::desc("Override output filename"), variable
148 OutputFilename = "-"; in main()
150 if (OutputFilename.empty()) { // Unspecified output, infer it. in main()
152 OutputFilename = "-"; in main()
158 OutputFilename = std::string(IFN.begin(), IFN.end()-3)+".ll"; in main()
160 OutputFilename = IFN+".ll"; in main()
166 Out(new tool_output_file(OutputFilename.c_str(), ErrorInfo, in main()
/external/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp121 StringRef OutputFilename, in mergeInstrProfile() argument
123 if (OutputFilename.compare("-") == 0) in mergeInstrProfile()
130 raw_fd_ostream Output(OutputFilename.data(), EC, sys::fs::F_None); in mergeInstrProfile()
132 exitWithErrorCode(EC, OutputFilename); in mergeInstrProfile()
169 StringRef OutputFilename, in mergeSampleProfile() argument
173 SampleProfileWriter::create(OutputFilename, FormatMap[OutputFormat]); in mergeSampleProfile()
175 exitWithErrorCode(EC, OutputFilename); in mergeSampleProfile()
273 cl::opt<std::string> OutputFilename("output", cl::value_desc("output"), in merge_main() local
277 cl::aliasopt(OutputFilename)); in merge_main()
316 mergeInstrProfile(WeightedInputs, OutputFilename, OutputFormat, in merge_main()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-as/
Dllvm-as.cpp38 static cl::opt<std::string> OutputFilename("o", variable
69 if (OutputFilename.empty()) { in WriteOutputFile()
71 OutputFilename = "-"; in WriteOutputFile()
74 OutputFilename = (IFN.endswith(".ll") ? IFN.drop_back(3) : IFN).str(); in WriteOutputFile()
75 OutputFilename += ".bc"; in WriteOutputFile()
81 new ToolOutputFile(OutputFilename, EC, sys::fs::F_None)); in WriteOutputFile()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dis/
Dllvm-dis.cpp43 OutputFilename("o", cl::desc("Override output filename"), variable
176 OutputFilename = "-"; in main()
178 if (OutputFilename.empty()) { // Unspecified output, infer it. in main()
180 OutputFilename = "-"; in main()
183 OutputFilename = (IFN.endswith(".bc") ? IFN.drop_back(3) : IFN).str(); in main()
184 OutputFilename += ".ll"; in main()
190 new ToolOutputFile(OutputFilename, EC, sys::fs::F_None)); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
Dyaml2obj.cpp38 static cl::opt<std::string> OutputFilename("o", cl::desc("Output filename"), variable
74 if (OutputFilename.empty()) in main()
75 OutputFilename = "-"; in main()
79 new ToolOutputFile(OutputFilename, EC, sys::fs::F_None)); in main()
81 error("yaml2obj: Error opening '" + OutputFilename + "': " + EC.message()); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llc/
Dllc.cpp68 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename")); variable
179 if (OutputFilename.empty()) { in GetOutputStream()
181 OutputFilename = "-"; in GetOutputStream()
186 OutputFilename = IFN.drop_back(3); in GetOutputStream()
188 OutputFilename = IFN.drop_back(4); in GetOutputStream()
190 OutputFilename = IFN; in GetOutputStream()
196 OutputFilename += ".cbe.c"; in GetOutputStream()
198 OutputFilename += ".cpp"; in GetOutputStream()
200 OutputFilename += ".s"; in GetOutputStream()
202 OutputFilename += ".s"; in GetOutputStream()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DMain.cpp33 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename"), variable
60 if (OutputFilename == "-") in createDependencyFile()
68 DepOut.os() << OutputFilename << ":"; in createDependencyFile()
100 ToolOutputFile Out(OutputFilename, EC, sys::fs::F_Text); in TableGenMain()
102 return reportError(argv0, "error opening " + OutputFilename + ":" + in TableGenMain()
/external/llvm/lib/TableGen/
DMain.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()
/external/swiftshader/third_party/LLVM/lib/TableGen/
DMain.cpp33 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename"), variable
76 tool_output_file Out(OutputFilename.c_str(), Error); in TableGenMain()
78 errs() << argv0 << ": error opening " << OutputFilename in TableGenMain()
83 if (OutputFilename == "-") { in TableGenMain()
93 DepOut.os() << OutputFilename << ":"; in TableGenMain()
/external/llvm/tools/llvm-dis/
Dllvm-dis.cpp45 OutputFilename("o", cl::desc("Override output filename"), variable
197 OutputFilename = "-"; in main()
199 if (OutputFilename.empty()) { // Unspecified output, infer it. in main()
201 OutputFilename = "-"; in main()
204 OutputFilename = (IFN.endswith(".bc") ? IFN.drop_back(3) : IFN).str(); in main()
205 OutputFilename += ".ll"; in main()
211 new tool_output_file(OutputFilename, EC, sys::fs::F_None)); in main()
/external/swiftshader/third_party/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.c_str(), ErrInfo, in main()
/external/llvm/examples/BrainF/
DBrainFDriver.cpp64 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename")); variable
117 if (OutputFilename == "") { in main()
122 OutputFilename = base+".bc"; in main()
124 if (OutputFilename != "-") { in main()
126 out = new raw_fd_ostream(OutputFilename, EC, sys::fs::F_None); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/BrainF/
DBrainFDriver.cpp65 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename")); variable
118 if (OutputFilename == "") { in main()
123 OutputFilename = base+".bc"; in main()
125 if (OutputFilename != "-") { in main()
127 out = new raw_fd_ostream(OutputFilename, EC, sys::fs::F_None); in main()
/external/llvm/tools/yaml2obj/
Dyaml2obj.cpp40 static cl::opt<std::string> OutputFilename("o", cl::desc("Output filename"), variable
76 if (OutputFilename.empty()) in main()
77 OutputFilename = "-"; in main()
81 new tool_output_file(OutputFilename, EC, sys::fs::F_None)); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DGraphWriter.cpp228 std::string OutputFilename = in DisplayGraph() local
241 args.push_back(OutputFilename); in DisplayGraph()
257 args.push_back(OutputFilename); in DisplayGraph()
261 args.push_back(OutputFilename); in DisplayGraph()
265 args.push_back(OutputFilename); in DisplayGraph()
271 (StringRef("start ") + (wait ? "/WAIT " : "") + OutputFilename).str(); in DisplayGraph()
279 return ExecGraphViewer(ViewerPath, args, OutputFilename, wait, ErrMsg); in DisplayGraph()
/external/swiftshader/third_party/LLVM/runtime/libprofile/
DCommonProfiling.c32 static const char *OutputFilename = "llvmprof.out"; variable
56 OutputFilename = strdup(argv[1]); in save_arguments()
92 OutFile = open(OutputFilename, O_CREAT | O_WRONLY, 0666); in getOutFile()
96 OutputFilename); in getOutFile()
/external/llvm/lib/Support/
DGraphWriter.cpp219 std::string OutputFilename = in DisplayGraph() local
232 args.push_back(OutputFilename.c_str()); in DisplayGraph()
249 args.push_back(OutputFilename.c_str()); in DisplayGraph()
253 args.push_back(OutputFilename.c_str()); in DisplayGraph()
257 args.push_back(OutputFilename.c_str()); in DisplayGraph()
263 (StringRef("start ") + (wait ? "/WAIT " : "") + OutputFilename).str(); in DisplayGraph()
272 return ExecGraphViewer(ViewerPath, args, OutputFilename, wait, ErrMsg); in DisplayGraph()

1234