| /freebsd-13.1/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-dlltool/ |
| H A D | DlltoolDriver.cpp | 97 StringRef ProgName = llvm::sys::path::stem(Argv0); in getPrefix() local 101 ProgName = ProgName.rtrim("0123456789.-"); in getPrefix() 102 if (!ProgName.consume_back_insensitive("dlltool")) in getPrefix() 104 ProgName.consume_back_insensitive("llvm-"); in getPrefix() 105 ProgName.consume_back_insensitive("-"); in getPrefix() 106 return ProgName.str(); in getPrefix()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/LineEditor/ |
| H A D | LineEditor.cpp | 23 std::string LineEditor::getDefaultHistoryPath(StringRef ProgName) { in getDefaultHistoryPath() argument 26 sys::path::append(Path, "." + ProgName + "-history"); in getDefaultHistoryPath() 198 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() argument 200 : Prompt((ProgName + "> ").str()), HistoryPath(std::string(HistoryPath)), in LineEditor() 203 this->HistoryPath = getDefaultHistoryPath(ProgName); in LineEditor() 211 Data->EL = ::el_init(ProgName.str().c_str(), In, Out, Err); in LineEditor() 286 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() argument 288 : Prompt((ProgName + "> ").str()), Data(new InternalData) { in LineEditor()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-mc/ |
| H A D | llvm-mc.cpp | 234 static const Target *GetTarget(const char *ProgName) { in GetTarget() argument 245 WithColor::error(errs(), ProgName) << Error; in GetTarget() 322 static int AssembleInput(const char *ProgName, const Target *TheTarget, in AssembleInput() argument 332 WithColor::error(errs(), ProgName) in AssembleInput() 370 const char *ProgName = argv[0]; in main() local 371 const Target *TheTarget = GetTarget(ProgName); in main() 381 WithColor::error(errs(), ProgName) in main() 407 WithColor::error(errs(), ProgName) in main() 443 errs() << ProgName << ": Dwarf version " << DwarfVersion in main() 451 errs() << ProgName in main() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Driver/ |
| H A D | ToolChain.cpp | 160 if (ProgName.endswith(Suffix)) { in FindDriverSuffix() 161 Pos = ProgName.size() - Suffix.size(); in FindDriverSuffix() 174 std::transform(ProgName.begin(), ProgName.end(), ProgName.begin(), ::tolower); in normalizeProgramName() 176 return ProgName; in normalizeProgramName() 192 ProgName = ProgName.rtrim("0123456789."); in parseDriverSuffix() 193 DS = FindDriverSuffix(ProgName, Pos); in parseDriverSuffix() 199 ProgName = ProgName.slice(0, ProgName.rfind('-')); in parseDriverSuffix() 200 DS = FindDriverSuffix(ProgName, Pos); in parseDriverSuffix() 207 std::string ProgName = normalizeProgramName(PN); in getTargetAndModeFromProgramName() local 214 size_t LastComponent = ProgName.rfind('-', SuffixPos); in getTargetAndModeFromProgramName() [all …]
|
| H A D | Driver.cpp | 1861 StringRef ProgName = A->getValue(); in HandleImmediateArgs() local 1864 if (! ProgName.empty()) in HandleImmediateArgs() 1865 llvm::outs() << GetProgramPath(ProgName, TC); in HandleImmediateArgs() 5562 llvm::StringRef clang::driver::getDriverMode(StringRef ProgName, in getDriverMode() argument 5573 Opt = ToolChain::getTargetAndModeFromProgramName(ProgName).DriverMode; in getDriverMode()
|
| /freebsd-13.1/contrib/kyua/admin/ |
| H A D | check-style.sh | 34 ProgName="${0##*/}" 42 echo "${ProgName}:" "${@}" 1>&2
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/LineEditor/ |
| H A D | LineEditor.h | 33 LineEditor(StringRef ProgName, StringRef HistoryPath = "", FILE *In = stdin, 45 static std::string getDefaultHistoryPath(StringRef ProgName);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | Main.cpp | 58 static int reportError(const char *ProgName, Twine Msg) { in reportError() argument 59 errs() << ProgName << ": " << Msg; in reportError()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | SourceMgr.cpp | 473 void SMDiagnostic::print(const char *ProgName, raw_ostream &OS, bool ShowColors, in print() argument 480 if (ProgName && ProgName[0]) in print() 481 S << ProgName << ": "; in print()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-mca/ |
| H A D | llvm-mca.cpp | 233 const Target *getTarget(const char *ProgName) { in getTarget() argument 243 errs() << ProgName << ": " << Error; in getTarget() 360 const char *ProgName = argv[0]; in main() local 361 const Target *TheTarget = getTarget(ProgName); in main()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerDriver.cpp | 90 static std::string *ProgName; variable 94 auto Prog = ProgName->c_str(); in PrintHelp() 650 ProgName = new std::string(Args[0]); in FuzzerDriver() 651 if (Argv0 != *ProgName) { in FuzzerDriver() 850 Printf("%s: Running %zd inputs %d time(s) each.\n", ProgName->c_str(), in FuzzerDriver()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/lli/ |
| H A D | lli.cpp | 414 static void reportError(SMDiagnostic Err, const char *ProgName) { in reportError() argument 415 Err.print(ProgName, errs()); in reportError() 420 int runOrcJIT(const char *ProgName); 836 int runOrcJIT(const char *ProgName) { in runOrcJIT() argument
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | SourceMgr.h | 289 void print(const char *ProgName, raw_ostream &S, bool ShowColors = true,
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 2544 StringRef ProgName(sys::path::filename(argv[0])); in main() local 2556 std::string Invocation(ProgName.str() + " " + argv[1]); in main() 2565 << "USAGE: " << ProgName << " <command> [args...]\n" in main() 2566 << "USAGE: " << ProgName << " <command> -help\n\n" in main() 2574 errs() << ProgName << ": No command specified!\n"; in main() 2576 errs() << ProgName << ": Unknown command!\n"; in main() 2578 errs() << "USAGE: " << ProgName << " <merge|show|overlap> [args...]\n"; in main()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Driver/ |
| H A D | Driver.h | 648 llvm::StringRef getDriverMode(StringRef ProgName, ArrayRef<const char *> Args);
|
| H A D | ToolChain.h | 286 static ParsedClangName getTargetAndModeFromProgramName(StringRef ProgName);
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llc/ |
| H A D | llc.cpp | 225 const char *ProgName) { in GetOutputStream() argument
|