/external/swiftshader/third_party/LLVM/utils/FileUpdate/ |
FileUpdate.cpp | 34 OutputFilename(cl::Positional, cl::desc("<output-file>"), cl::Required); 41 if (OutputFilename == "-") { 56 MemoryBuffer::getFile(OutputFilename.c_str(), Out); 63 errs() << argv[0] << ": Not updating '" << OutputFilename 70 errs() << argv[0] << ": Updating '" << OutputFilename 73 tool_output_file OutStream(OutputFilename.c_str(), ErrorStr, 77 << OutputFilename << "': " << ErrorStr << '\n';
|
/external/swiftshader/third_party/LLVM/tools/llvm-as/ |
llvm-as.cpp | 37 OutputFilename("o", cl::desc("Override output filename"),
55 if (OutputFilename.empty()) {
57 OutputFilename = "-";
63 OutputFilename = std::string(IFN.begin(), IFN.end()-3);
65 OutputFilename = IFN; // Append a .bc to it
67 OutputFilename += ".bc";
73 (new tool_output_file(OutputFilename.c_str(), ErrorInfo,
|
/frameworks/compile/slang/ |
llvm-rs-as.cpp | 44 OutputFilename("o", cl::desc("Override output filename"), 72 if (OutputFilename.empty()) { 74 OutputFilename = "-"; 80 OutputFilename = std::string(IFN.begin(), IFN.end()-3); 82 OutputFilename = IFN; // Append a .bc to it 84 OutputFilename += ".bc"; 90 (new tool_output_file(OutputFilename.c_str(), EC, llvm::sys::fs::F_None));
|
/external/llvm/lib/TableGen/ |
Main.cpp | 32 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename"), 53 if (OutputFilename == "-") { 64 DepOut.os() << OutputFilename << ":"; 98 tool_output_file Out(OutputFilename, EC, sys::fs::F_Text); 100 errs() << argv0 << ": error opening " << OutputFilename << ":"
|
/external/swiftshader/third_party/LLVM/lib/TableGen/ |
Main.cpp | 33 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename"), 76 tool_output_file Out(OutputFilename.c_str(), Error); 78 errs() << argv0 << ": error opening " << OutputFilename 83 if (OutputFilename == "-") { 93 DepOut.os() << OutputFilename << ":";
|
/external/llvm/tools/llvm-as/ |
llvm-as.cpp | 38 static cl::opt<std::string> OutputFilename("o", 64 if (OutputFilename.empty()) { 66 OutputFilename = "-"; 69 OutputFilename = (IFN.endswith(".ll") ? IFN.drop_back(3) : IFN).str(); 70 OutputFilename += ".bc"; 76 new tool_output_file(OutputFilename, EC, sys::fs::F_None));
|
/external/llvm/tools/yaml2obj/ |
yaml2obj.cpp | 40 static cl::opt<std::string> OutputFilename("o", cl::desc("Output filename"), 76 if (OutputFilename.empty()) 77 OutputFilename = "-"; 81 new tool_output_file(OutputFilename, EC, sys::fs::F_None));
|
/external/swiftshader/third_party/LLVM/runtime/libprofile/ |
CommonProfiling.c | 32 static const char *OutputFilename = "llvmprof.out";
56 OutputFilename = strdup(argv[1]);
92 OutFile = open(OutputFilename, O_CREAT | O_WRONLY, 0666);
96 OutputFilename);
|
/external/llvm/examples/BrainF/ |
BrainFDriver.cpp | 64 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename")); 117 if (OutputFilename == "") { 122 OutputFilename = base+".bc"; 124 if (OutputFilename != "-") { 126 out = new raw_fd_ostream(OutputFilename, EC, sys::fs::F_None);
|
/external/swiftshader/third_party/LLVM/examples/BrainF/ |
BrainFDriver.cpp | 48 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename")); 102 if (OutputFilename == "") { 107 OutputFilename = base+".bc"; 109 if (OutputFilename != "-") { 111 out = new raw_fd_ostream(OutputFilename.c_str(), ErrInfo,
|
/external/swiftshader/third_party/LLVM/tools/llvm-dis/ |
llvm-dis.cpp | 40 OutputFilename("o", cl::desc("Override output filename"),
148 OutputFilename = "-";
150 if (OutputFilename.empty()) { // Unspecified output, infer it.
152 OutputFilename = "-";
158 OutputFilename = std::string(IFN.begin(), IFN.end()-3)+".ll";
160 OutputFilename = IFN+".ll";
166 Out(new tool_output_file(OutputFilename.c_str(), ErrorInfo,
|
/external/swiftshader/third_party/LLVM/tools/llc/ |
llc.cpp | 50 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename"));
145 std::string outputFilename;
151 outputFilename = std::string(IFN.begin(), IFN.end()-3); // s/.bc/.s/
153 outputFilename = IFN;
155 return outputFilename;
162 if (OutputFilename.empty()) {
164 OutputFilename = "-";
166 OutputFilename = GetFileNameRoot(InputFilename);
173 OutputFilename += ".cbe.c";
175 OutputFilename += ".cpp"; [all...] |
/external/llvm/tools/llvm-split/ |
llvm-split.cpp | 33 OutputFilename("o", cl::desc("Override output filename"), 59 OutputFilename + utostr(I++), EC, sys::fs::F_None));
|
/external/llvm/tools/llc/ |
llc.cpp | 65 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename")); 149 if (OutputFilename.empty()) { 151 OutputFilename = "-"; 156 OutputFilename = IFN.drop_back(3); 158 OutputFilename = IFN.drop_back(4); 160 OutputFilename = IFN; 166 OutputFilename += ".cbe.c"; 168 OutputFilename += ".cpp"; 170 OutputFilename += ".s"; 172 OutputFilename += ".s" [all...] |
/external/swiftshader/third_party/LLVM/tools/llvm-ld/ |
llvm-ld.cpp | 54 static cl::opt<std::string> OutputFilename("o", cl::init("a.out"),
256 /// OutputFilename - The name of the file to generate.
262 static int GenerateAssembly(const std::string &OutputFilename,
273 args.push_back(OutputFilename.c_str());
312 /// OutputFilename - The name of the file to generate.
325 static int GenerateNative(const std::string &OutputFilename,
358 args.push_back(OutputFilename);
423 if (0 != sys::CopyFile(sys::Path(OutputFilename), llvmstub, &ErrMsg))
431 tool_output_file Out2(OutputFilename.c_str(), ErrorInfo);
537 if (OutputFilename.getNumOccurrences() == 0) [all...] |
/external/llvm/lib/Support/ |
GraphWriter.cpp | 219 std::string OutputFilename = 232 args.push_back(OutputFilename.c_str()); 249 args.push_back(OutputFilename.c_str()); 253 args.push_back(OutputFilename.c_str()); 257 args.push_back(OutputFilename.c_str()); 263 (StringRef("start ") + (wait ? "/WAIT " : "") + OutputFilename).str(); 272 return ExecGraphViewer(ViewerPath, args, OutputFilename, wait, ErrMsg);
|
/external/llvm/tools/llvm-dis/ |
llvm-dis.cpp | 45 OutputFilename("o", cl::desc("Override output filename"), 197 OutputFilename = "-"; 199 if (OutputFilename.empty()) { // Unspecified output, infer it. 201 OutputFilename = "-"; 204 OutputFilename = (IFN.endswith(".bc") ? IFN.drop_back(3) : IFN).str(); 205 OutputFilename += ".ll"; 211 new tool_output_file(OutputFilename, EC, sys::fs::F_None));
|
/external/llvm/tools/llvm-profdata/ |
llvm-profdata.cpp | 121 StringRef OutputFilename, 123 if (OutputFilename.compare("-") == 0) 130 raw_fd_ostream Output(OutputFilename.data(), EC, sys::fs::F_None); 132 exitWithErrorCode(EC, OutputFilename); 169 StringRef OutputFilename, 173 SampleProfileWriter::create(OutputFilename, FormatMap[OutputFormat]); 175 exitWithErrorCode(EC, OutputFilename); 273 cl::opt<std::string> OutputFilename("output", cl::value_desc("output"), 277 cl::aliasopt(OutputFilename)); 316 mergeInstrProfile(WeightedInputs, OutputFilename, OutputFormat [all...] |
/external/llvm/tools/dsymutil/ |
dsymutil.h | 48 /// \p DM into a DwarfFile named \p OutputFilename. 50 bool linkDwarf(StringRef OutputFilename, const DebugMap &DM,
|
/external/llvm/tools/llvm-lto/ |
llvm-lto.cpp | 130 static cl::opt<std::string> OutputFilename("o", cl::init(""), 301 assert(!OutputFilename.empty()); 302 raw_fd_ostream OS(OutputFilename + ".thinlto.bc", EC, 304 error(EC, "error opening the file '" + OutputFilename + ".thinlto.bc'"); 433 if (OutputFilename.empty()) 435 "OutputFilename is necessary to store the combined index.\n"); 450 raw_fd_ostream OS(OutputFilename, EC, sys::fs::OpenFlags::F_None); 451 error(EC, "error opening the file '" + OutputFilename + "'"); 461 if (InputFilenames.size() != 1 && !OutputFilename.empty()) 478 std::string OutputName = OutputFilename; [all...] |
/external/llvm/tools/llvm-cov/ |
TestingSupport.cpp | 25 cl::opt<std::string> OutputFilename( 76 sys::fs::openFileForWrite(OutputFilename, FD, sys::fs::F_None)) {
|
/external/swiftshader/third_party/LLVM/tools/llvm-link/ |
llvm-link.cpp | 36 OutputFilename("o", cl::desc("Override output filename"), cl::init("-"),
120 tool_output_file Out(OutputFilename.c_str(), ErrorInfo,
|
/frameworks/compile/libbcc/tools/bcc_strip_attr/ |
bcc_strip_attr.cpp | 39 OutputFilename("o", cl::desc("Override output filename"), cl::init("-"), 134 tool_output_file Out(OutputFilename.c_str(), EC,
|
/external/llvm/include/llvm/Transforms/IPO/ |
FunctionImport.h | 109 EmitImportsFiles(StringRef ModulePath, StringRef OutputFilename,
|
/external/llvm/tools/bugpoint/ |
OptimizerDriver.cpp | 131 std::string &OutputFilename, bool DeleteOutput, 144 OutputFilename = UniqueFilename.str(); 206 Args.push_back(OutputFilename.c_str()); 243 sys::fs::remove(OutputFilename);
|