| /llvm-project-15.0.7/llvm/utils/KillTheDoctor/ |
| H A D | KillTheDoctor.cpp | 75 StringRef ToolName; variable 302 ToolName = argv[0]; in main() 377 errs() << ToolName << ": Debugging...\n"; in main() 392 errs() << ToolName << ": Failed to get process times: " in main() 414 errs() << ToolName << ": Process timed out.\n"; in main() 429 errs() << ToolName << ": Process timed out.\n"; in main() 462 errs() << ToolName << ": Got unknown process id!\n"; in main() 490 errs() << ToolName << ": user32.dll loaded!\n"; in main() 491 errs().indent(ToolName.size()) in main() 509 errs().indent(ToolName.size()) << ": Debug Info : "; in main() [all …]
|
| /llvm-project-15.0.7/bolt/tools/driver/ |
| H A D | llvm-bolt.cpp | 81 static StringRef ToolName; variable 112 errs() << ToolName << ": unknown -data option.\n"; in perf2boltMode() 118 errs() << ToolName << ": '" << opts::PerfData in perf2boltMode() 123 errs() << ToolName << ": expected -o=<output file> option.\n"; in perf2boltMode() 141 errs() << ToolName << ": expected -data=<filename> option.\n"; in boltDiffMode() 145 errs() << ToolName << ": expected second binary name.\n"; in boltDiffMode() 149 errs() << ToolName << ": expected binary.\n"; in boltDiffMode() 165 errs() << ToolName << ": expected -o=<output file> option.\n"; in boltMode() 198 ToolName = argv[0]; in main() 200 if (llvm::sys::path::filename(ToolName) == "perf2bolt") in main() [all …]
|
| /llvm-project-15.0.7/bolt/tools/heatmap/ |
| H A D | heatmap.cpp | 27 static StringRef ToolName; variable 31 errs() << ToolName << ": '" << Message << "': " << EC.message() << ".\n"; in report_error() 37 errs() << ToolName << ": '" << Message << "': " << toString(std::move(E)) in report_error() 57 errs() << ToolName << ": expected -perfdata=<filename> option.\n"; in main() 79 ToolName = argv[0]; in main()
|
| /llvm-project-15.0.7/llvm/tools/llvm-objcopy/ |
| H A D | llvm-objcopy.cpp | 67 static StringRef ToolName; variable 71 WithColor::warning(errs(), ToolName) << toString(std::move(E)) << '\n'; in reportWarning() 76 StringRef Stem = sys::path::stem(ToolName); in getDriverConfig() 228 ToolName = argv[0]; in llvm_objcopy_main() 248 WithColor::error(errs(), ToolName)); in llvm_objcopy_main() 253 logAllUnhandledErrors(std::move(E), WithColor::error(errs(), ToolName)); in llvm_objcopy_main()
|
| /llvm-project-15.0.7/llvm/tools/llvm-reduce/ |
| H A D | TestRunner.h | 31 std::unique_ptr<TargetMachine> TM, const char *ToolName); 44 const char *getToolName() const { return ToolName; } in getToolName() 48 const char *ToolName; variable
|
| H A D | TestRunner.cpp | 18 std::unique_ptr<TargetMachine> TM, const char *ToolName) in TestRunner() argument 19 : TestName(TestName), ToolName(ToolName), TestArgs(TestArgs), in TestRunner()
|
| H A D | ReducerWorkItem.cpp | 38 void readBitcode(ReducerWorkItem &M, MemoryBufferRef Data, LLVMContext &Ctx, const char *ToolName); 384 parseReducerWorkItem(const char *ToolName, StringRef Filename, in parseReducerWorkItem() argument 396 WithColor::error(errs(), ToolName) << EC.message() << '\n'; in parseReducerWorkItem() 417 WithColor::error(errs(), ToolName) << Error; in parseReducerWorkItem() 444 WithColor::error(errs(), ToolName) << Filename << ": " << EC.message() << "\n"; in parseReducerWorkItem() 452 Err.print(ToolName, errs()); in parseReducerWorkItem() 457 readBitcode(*MMM, MemoryBufferRef(**MB), Ctxt, ToolName); in parseReducerWorkItem() 464 WithColor::error(errs(), ToolName) in parseReducerWorkItem()
|
| H A D | llvm-reduce.cpp | 134 void readBitcode(ReducerWorkItem &M, MemoryBufferRef Data, LLVMContext &Ctx, const char *ToolName) { in readBitcode() argument 137 WithColor::error(errs(), ToolName) << IF.takeError(); in readBitcode() 144 WithColor::error(errs(), ToolName) << IF.takeError(); in readBitcode()
|
| H A D | ReducerWorkItem.h | 45 parseReducerWorkItem(const char *ToolName, StringRef Filename,
|
| /llvm-project-15.0.7/llvm/tools/llvm-driver/ |
| H A D | llvm-driver.cpp | 43 StringRef ToolName = Argv[0]; in findTool() local 45 if (ToolName == "--help") { in findTool() 50 StringRef Stem = sys::path::stem(ToolName); in findTool()
|
| /llvm-project-15.0.7/llvm/tools/llvm-strings/ |
| H A D | llvm-strings.cpp | 64 static StringRef ToolName; variable 76 WithColor::error(errs(), ToolName) << Message << "\n"; in reportCmdLineError() 131 ToolName = argv[0]; in main() 138 (Twine(ToolName) + " [options] <input object files>").str().c_str(), in main() 145 outs() << ToolName << '\n'; in main()
|
| /llvm-project-15.0.7/llvm/tools/llvm-cxxfilt/ |
| H A D | llvm-cxxfilt.cpp | 60 static StringRef ToolName; variable 63 WithColor::error(errs(), ToolName) << Message << '\n'; in error() 148 ToolName = argv[0]; in llvm_cxxfilt_main() 153 (Twine(ToolName) + " [options] <mangled>").str().c_str(), in llvm_cxxfilt_main() 160 outs() << ToolName << '\n'; in llvm_cxxfilt_main()
|
| /llvm-project-15.0.7/clang/tools/clang-offload-wrapper/ |
| H A D | ClangOffloadWrapper.cpp | 93 std::string ToolName; member in __anon7b55ee0f0111::BinaryWrapper 326 BinaryWrapper(StringRef Target, StringRef ToolName) in BinaryWrapper() argument 327 : M("offload.wrapper.object", C), ToolName(ToolName) { in BinaryWrapper() 336 std::string COWPath = sys::fs::getMainExecutable(ToolName.str().c_str(), P); in BinaryWrapper() 352 WithColor::warning(errs(), ToolName) in BinaryWrapper() 365 StringRef ToolNameRef(ToolName); in ~BinaryWrapper() 401 StringRef ToolNameRef(ToolName); in addELFNotes()
|
| /llvm-project-15.0.7/llvm/tools/llvm-ar/ |
| H A D | llvm-ar.cpp | 65 static StringRef ToolName; variable 70 static void printRanLibHelp(StringRef ToolName) { in printRanLibHelp() argument 73 << "USAGE: " + ToolName + " archive...\n\n" in printRanLibHelp() 82 static void printArHelp(StringRef ToolName) { in printArHelp() argument 135 << "USAGE: " + ToolName + in printArHelp() 155 WithColor::error(errs(), ToolName) << Error << "\n"; in badUsage() 163 WithColor::error(errs(), ToolName) in fail() 166 WithColor::error(errs(), ToolName) << Error << "\n"; in fail() 194 WithColor::warning(errs(), ToolName) << Message << "\n"; in warn() 1449 ToolName = argv[0]; in llvm_ar_main() [all …]
|
| /llvm-project-15.0.7/llvm/tools/bugpoint/ |
| H A D | ExecutionDriver.cpp | 263 errs() << ToolName in compileProgram() 270 errs() << ToolName << ": Error emitting bitcode to file '" << Temp->TmpName in compileProgram() 298 errs() << ToolName << ": Error making unique filename: " << EC.message() in executeProgram() 305 errs() << ToolName << ": Error emitting bitcode to file '" << BitcodeFile in executeProgram() 323 errs() << ToolName << ": Error making unique filename: " << EC.message() in executeProgram()
|
| H A D | BugDriver.h | 47 const char *ToolName; // argv[0] of bugpoint variable 68 const char *getToolName() const { return ToolName; } in getToolName()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | Version.cpp | 92 std::string getClangToolFullVersion(StringRef ToolName) { in getClangToolFullVersion() argument 98 OS << ToolName << " version " CLANG_VERSION_STRING; in getClangToolFullVersion()
|
| /llvm-project-15.0.7/clang/lib/Tooling/ |
| H A D | Tooling.cpp | 187 getSyntaxOnlyToolArgs(const Twine &ToolName, in getSyntaxOnlyToolArgs() argument 191 Args.push_back(ToolName.str()); in getSyntaxOnlyToolArgs() 205 const Twine &ToolName, in runToolOnCodeWithArgs() argument 214 getSyntaxOnlyToolArgs(ToolName, Adjuster(Args, FileNameRef), FileNameRef), in runToolOnCodeWithArgs() 222 const Twine &ToolName, in runToolOnCodeWithArgs() argument 243 Args, FileName, ToolName); in runToolOnCodeWithArgs() 648 StringRef ToolName, std::shared_ptr<PCHContainerOperations> PCHContainerOps, in buildASTFromCodeWithArgs() argument 662 getSyntaxOnlyToolArgs(ToolName, Adjuster(Args, FileName), FileName), in buildASTFromCodeWithArgs()
|
| /llvm-project-15.0.7/llvm/tools/llvm-symbolizer/ |
| H A D | llvm-symbolizer.cpp | 278 static void printHelp(StringRef ToolName, const SymbolizerOptTable &Tbl, in printHelp() argument 281 Tbl.printHelp(OS, (ToolName + HelpText).str().c_str(), in printHelp() 282 ToolName.str().c_str()); in printHelp() 290 StringRef ToolName = IsAddr2Line ? "llvm-addr2line" : "llvm-symbolizer"; in parseOptions() local 304 printHelp(ToolName, Tbl, outs()); in parseOptions() 308 outs() << ToolName << '\n'; in parseOptions()
|
| /llvm-project-15.0.7/llvm/tools/llvm-size/ |
| H A D | llvm-size.cpp | 85 static std::string ToolName; variable 99 WithColor::error(errs(), ToolName) << Message << '\n'; in error() 101 WithColor::error(errs(), ToolName) in error() 111 WithColor::error(errs(), ToolName) << "'" << FileName << "'"; in error() 139 WithColor::error(errs(), ToolName) << "'" << FileName << "'"; in error() 870 ToolName = argv[0]; in main() 879 (Twine(ToolName) + " [options] <input object files>").str().c_str(), in main() 886 outs() << ToolName << '\n'; in main() 922 outs() << ToolName << ": for the -arch option: Unknown architecture " in main()
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/ |
| H A D | Tooling.h | 189 const Twine &ToolName = "clang-tool", 199 const Twine &ToolName = "clang-tool", 231 StringRef FileName = "input.cc", StringRef ToolName = "clang-tool",
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | Version.h | 53 std::string getClangToolFullVersion(llvm::StringRef ToolName);
|
| /llvm-project-15.0.7/bolt/tools/merge-fdata/ |
| H A D | merge-fdata.cpp | 77 static StringRef ToolName; variable 81 errs() << ToolName << ": '" << Message << "': " << EC.message() << ".\n"; in report_error() 86 errs() << ToolName << ": '" << Message << "': " << CustomError << ".\n"; in report_error() 325 ToolName = argv[0]; in main()
|
| /llvm-project-15.0.7/llvm/tools/llvm-ifs/ |
| H A D | llvm-ifs.cpp | 287 StringRef ToolName = argv[0]; in parseArgs() local 292 (Twine(ToolName) + " <input_file> <output_file> [options]") in parseArgs() 299 llvm::outs() << ToolName << '\n'; in parseArgs() 316 auto OptionNotFound = [ToolName](StringRef FlagName, StringRef OptionName) { in parseArgs() 317 fatalError(Twine(ToolName) + ": for the " + FlagName + in parseArgs()
|
| /llvm-project-15.0.7/llvm/tools/llvm-dwarfutil/ |
| H A D | llvm-dwarfutil.cpp | 68 std::string ToolName; variable 455 ToolName = Argv[0]; in main() 466 outs(), (ToolName + " [options] <input file> <output file>").c_str(), in main() 478 error(std::move(Err), dwarfutil::ToolName); in main()
|