/external/llvm/utils/FileUpdate/ |
D | FileUpdate.cpp | 34 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/llvm/tools/llvm-as/ |
D | llvm-as.cpp | 37 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/llvm/tools/llc/ |
D | llc.cpp | 52 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename")); variable 102 if (OutputFilename.empty()) { in GetOutputStream() 104 OutputFilename = "-"; in GetOutputStream() 106 OutputFilename = GetFileNameRoot(InputFilename); in GetOutputStream() 112 OutputFilename += ".cbe.c"; in GetOutputStream() 114 OutputFilename += ".cpp"; in GetOutputStream() 116 OutputFilename += ".s"; in GetOutputStream() 118 OutputFilename += ".s"; in GetOutputStream() 122 OutputFilename += ".obj"; in GetOutputStream() 124 OutputFilename += ".o"; in GetOutputStream() [all …]
|
/external/llvm/tools/llvm-dis/ |
D | llvm-dis.cpp | 41 OutputFilename("o", cl::desc("Override output filename"), variable 154 OutputFilename = "-"; in main() 156 if (OutputFilename.empty()) { // Unspecified output, infer it. in main() 158 OutputFilename = "-"; in main() 164 OutputFilename = std::string(IFN.begin(), IFN.end()-3)+".ll"; in main() 166 OutputFilename = IFN+".ll"; in main() 172 Out(new tool_output_file(OutputFilename.c_str(), ErrorInfo, in main()
|
/external/llvm/lib/TableGen/ |
D | Main.cpp | 33 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename"), variable 55 if (OutputFilename == "-") { in createDependencyFile() 66 DepOut.os() << OutputFilename << ":"; in createDependencyFile() 106 tool_output_file Out(OutputFilename.c_str(), Error); in TableGenMain() 108 errs() << argv0 << ": error opening " << OutputFilename in TableGenMain()
|
/external/llvm/runtime/libprofile/ |
D | CommonProfiling.c | 33 static const char *OutputFilename = "llvmprof.out"; variable 47 OutputFilename = SavedEnvVar; in check_environment_variable() 77 OutputFilename = strdup(argv[1]); in save_arguments() 124 OutFile = open(OutputFilename, O_CREAT | O_WRONLY, 0666); in getOutFile() 128 OutputFilename); in getOutFile()
|
/external/llvm/examples/BrainF/ |
D | BrainFDriver.cpp | 47 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename")); variable 101 if (OutputFilename == "") { in main() 106 OutputFilename = base+".bc"; in main() 108 if (OutputFilename != "-") { in main() 110 out = new raw_fd_ostream(OutputFilename.c_str(), ErrInfo, in main()
|
/external/llvm/tools/bugpoint/ |
D | OptimizerDriver.cpp | 112 std::string &OutputFilename, bool DeleteOutput, in runPasses() argument 124 OutputFilename = uniqueFilename.str(); in runPasses() 172 Args.push_back(OutputFilename.c_str()); in runPasses() 214 sys::Path(OutputFilename).eraseFromDisk(); in runPasses()
|
D | BugDriver.h | 173 std::string OutputFilename, 260 std::string &OutputFilename, bool DeleteOutput = false,
|
/external/llvm/lib/Support/ |
D | Timer.cpp | 58 const std::string &OutputFilename = getLibSupportInfoOutputFilename(); in CreateInfoOutputFile() local 59 if (OutputFilename.empty()) in CreateInfoOutputFile() 61 if (OutputFilename == "-") in CreateInfoOutputFile() 69 raw_ostream *Result = new raw_fd_ostream(OutputFilename.c_str(), in CreateInfoOutputFile() 75 << OutputFilename << " for appending!\n"; in CreateInfoOutputFile()
|
/external/llvm/tools/opt/ |
D | opt.cpp | 64 OutputFilename("o", cl::desc("Override output filename"), variable 606 if (!OutputFilename.empty()) in main() 611 if (OutputFilename.empty()) in main() 612 OutputFilename = "-"; in main() 615 Out.reset(new tool_output_file(OutputFilename.c_str(), ErrorInfo, in main() 674 if (OutputFilename.empty()) in main() 675 OutputFilename = "-"; in main() 678 Out.reset(new tool_output_file(OutputFilename.c_str(), ErrorInfo, in main()
|
/external/llvm/tools/llvm-link/ |
D | llvm-link.cpp | 36 OutputFilename("o", cl::desc("Override output filename"), cl::init("-"), variable 120 tool_output_file Out(OutputFilename.c_str(), ErrorInfo, in main()
|
/external/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 50 OutputFilename("o", cl::desc("Output filename"), variable 212 if (OutputFilename == "") in GetOutputStream() 213 OutputFilename = "-"; in GetOutputStream() 216 tool_output_file *Out = new tool_output_file(OutputFilename.c_str(), Err, in GetOutputStream()
|
/external/llvm/tools/llvm-extract/ |
D | llvm-extract.cpp | 41 OutputFilename("o", cl::desc("Specify output filename"), variable 267 tool_output_file Out(OutputFilename.c_str(), ErrorInfo, in main()
|
/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 41 OutputFilename("o", cl::desc("Override output filename"), variable 700 if (OutputFilename.empty()) in main() 701 OutputFilename = "-"; in main() 704 Out.reset(new tool_output_file(OutputFilename.c_str(), ErrorInfo, in main()
|
/external/llvm/docs/ |
D | CommandLine.rst | 111 …cl::opt<string> OutputFilename("o", cl::desc("Specify output filename"), cl::value_desc("filename"… 113 This declares a global variable "``OutputFilename``" that is used to capture the 139 std::ofstream Output(OutputFilename.c_str());
|