/external/clang/lib/Driver/ |
D | ToolChain.cpp | 101 const DriverSuffix *FindDriverSuffix(StringRef ProgName) { in FindDriverSuffix() argument 121 if (ProgName.endswith(DriverSuffixes[i].Suffix)) in FindDriverSuffix() 129 std::string ProgName = llvm::sys::path::stem(Argv0); in normalizeProgramName() local 132 std::transform(ProgName.begin(), ProgName.end(), ProgName.begin(), ::tolower); in normalizeProgramName() 134 return ProgName; in normalizeProgramName() 137 const DriverSuffix *parseDriverSuffix(StringRef ProgName) { in parseDriverSuffix() argument 145 const DriverSuffix *DS = FindDriverSuffix(ProgName); in parseDriverSuffix() 150 ProgName = ProgName.rtrim("0123456789."); in parseDriverSuffix() 151 DS = FindDriverSuffix(ProgName); in parseDriverSuffix() 157 ProgName = ProgName.slice(0, ProgName.rfind('-')); in parseDriverSuffix() [all …]
|
/external/swiftshader/third_party/LLVM/tools/llvm-mc/ |
D | llvm-mc.cpp | 175 static const Target *GetTarget(const char *ProgName) { in GetTarget() argument 192 errs() << ProgName << ": error: invalid target '" << ArchName << "'.\n"; in GetTarget() 206 errs() << ProgName << ": error: unable to get target for '" in GetTarget() 233 static int AsLexInput(const char *ProgName) { in AsLexInput() argument 236 errs() << ProgName << ": " << ec.message() << '\n'; in AsLexInput() 250 const Target *TheTarget = GetTarget(ProgName); in AsLexInput() 342 static int AssembleInput(const char *ProgName) { in AssembleInput() argument 343 const Target *TheTarget = GetTarget(ProgName); in AssembleInput() 349 errs() << ProgName << ": " << ec.message() << '\n'; in AssembleInput() 432 errs() << ProgName in AssembleInput() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LineEditor/ |
D | LineEditor.cpp | 24 std::string LineEditor::getDefaultHistoryPath(StringRef ProgName) { in getDefaultHistoryPath() argument 27 sys::path::append(Path, "." + ProgName + "-history"); in getDefaultHistoryPath() 199 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() argument 201 : Prompt((ProgName + "> ").str()), HistoryPath(HistoryPath), in LineEditor() 204 this->HistoryPath = getDefaultHistoryPath(ProgName); in LineEditor() 212 Data->EL = ::el_init(ProgName.str().c_str(), In, Out, Err); in LineEditor() 287 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() argument 289 : Prompt((ProgName + "> ").str()), Data(new InternalData) { in LineEditor()
|
/external/llvm/lib/LineEditor/ |
D | LineEditor.cpp | 24 std::string LineEditor::getDefaultHistoryPath(StringRef ProgName) { in getDefaultHistoryPath() argument 27 sys::path::append(Path, "." + ProgName + "-history"); in getDefaultHistoryPath() 199 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() argument 201 : Prompt((ProgName + "> ").str()), HistoryPath(HistoryPath), in LineEditor() 204 this->HistoryPath = getDefaultHistoryPath(ProgName); in LineEditor() 212 Data->EL = ::el_init(ProgName.str().c_str(), In, Out, Err); in LineEditor() 287 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() argument 289 : Prompt((ProgName + "> ").str()), Data(new InternalData) { in LineEditor()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 189 static const Target *GetTarget(const char *ProgName) { in GetTarget() argument 200 WithColor::error(errs(), ProgName) << Error; in GetTarget() 276 static int AssembleInput(const char *ProgName, const Target *TheTarget, in AssembleInput() argument 286 WithColor::error(errs(), ProgName) in AssembleInput() 321 const char *ProgName = argv[0]; in main() local 322 const Target *TheTarget = GetTarget(ProgName); in main() 332 WithColor::error(errs(), ProgName) in main() 357 WithColor::error(errs(), ProgName) in main() 378 errs() << ProgName << ": Dwarf version " << DwarfVersion in main() 511 Res = AssembleInput(ProgName, TheTarget, SrcMgr, Ctx, *Str, *MAI, *STI, in main()
|
/external/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 196 static const Target *GetTarget(const char *ProgName) { in GetTarget() argument 207 errs() << ProgName << ": " << Error; in GetTarget() 348 static int AssembleInput(const char *ProgName, const Target *TheTarget, in AssembleInput() argument 358 errs() << ProgName in AssembleInput() 396 const char *ProgName = argv[0]; in main() local 397 const Target *TheTarget = GetTarget(ProgName); in main() 431 errs() << ProgName in main() 452 errs() << ProgName << ": Dwarf version " << DwarfVersion in main() 543 Res = AssembleInput(ProgName, TheTarget, SrcMgr, Ctx, *Str, *MAI, *STI, in main()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | SourceMgr.cpp | 202 void SMDiagnostic::Print(const char *ProgName, raw_ostream &S) const { in Print() argument 203 if (ProgName && ProgName[0]) in Print() 204 S << ProgName << ": "; in Print()
|
D | CommandLine.cpp | 555 std::string ProgName = sys::path::filename(argv[0]); in ParseCommandLineOptions() local 556 size_t Len = std::min(ProgName.size(), size_t(79)); in ParseCommandLineOptions() 557 memcpy(ProgramName, ProgName.data(), Len); in ParseCommandLineOptions()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mc-assemble-fuzzer/ |
D | llvm-mc-assemble-fuzzer.cpp | 105 static int AssembleInput(const char *ProgName, const Target *TheTarget, in AssembleInput() argument 118 errs() << ProgName in AssembleInput() 190 const char *ProgName = "llvm-mc-fuzzer"; in AssembleOneInput() local 238 const int Res = AssembleInput(ProgName, TheTarget, SrcMgr, Ctx, *Str, *MAI, *STI, in AssembleOneInput()
|
/external/llvm/tools/llvm-profdata/ |
D | llvm-profdata.cpp | 527 StringRef ProgName(sys::path::filename(argv[0])); in main() local 537 std::string Invocation(ProgName.str() + " " + argv[1]); in main() 546 << "USAGE: " << ProgName << " <command> [args...]\n" in main() 547 << "USAGE: " << ProgName << " <command> -help\n\n" in main() 554 errs() << ProgName << ": No command specified!\n"; in main() 556 errs() << ProgName << ": Unknown command!\n"; in main() 558 errs() << "USAGE: " << ProgName << " <merge|show> [args...]\n"; in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/ |
D | llvm-mca.cpp | 182 const Target *getTarget(const char *ProgName) { in getTarget() argument 193 errs() << ProgName << ": " << Error; in getTarget() 239 int AssembleInput(const char *ProgName, MCAsmParser &Parser, in AssembleInput() argument 351 const char *ProgName = argv[0]; in main() local 352 const Target *TheTarget = getTarget(ProgName); in main() 427 if (AssembleInput(ProgName, *P, TheTarget, *STI, *MCII, MCOptions)) in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/ |
D | Main.cpp | 49 static int reportError(const char *ProgName, Twine Msg) { in reportError() argument 50 errs() << ProgName << ": " << Msg; in reportError()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/LineEditor/ |
D | LineEditor.h | 34 LineEditor(StringRef ProgName, StringRef HistoryPath = "", FILE *In = stdin, 46 static std::string getDefaultHistoryPath(StringRef ProgName);
|
/external/llvm/include/llvm/LineEditor/ |
D | LineEditor.h | 34 LineEditor(StringRef ProgName, StringRef HistoryPath = "", FILE *In = stdin, 46 static std::string getDefaultHistoryPath(StringRef ProgName);
|
/external/llvm/lib/Support/ |
D | SourceMgr.cpp | 335 void SMDiagnostic::print(const char *ProgName, raw_ostream &S, bool ShowColors, in print() argument 343 if (ProgName && ProgName[0]) in print() 344 S << ProgName << ": "; in print()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-profdata/ |
D | llvm-profdata.cpp | 820 StringRef ProgName(sys::path::filename(argv[0])); in main() local 830 std::string Invocation(ProgName.str() + " " + argv[1]); in main() 839 << "USAGE: " << ProgName << " <command> [args...]\n" in main() 840 << "USAGE: " << ProgName << " <command> -help\n\n" in main() 848 errs() << ProgName << ": No command specified!\n"; in main() 850 errs() << ProgName << ": Unknown command!\n"; in main() 852 errs() << "USAGE: " << ProgName << " <merge|show> [args...]\n"; in main()
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerDriver.cpp | 73 static std::string *ProgName; variable 77 auto Prog = ProgName->c_str(); in PrintHelp() 277 ProgName = new std::string(Args[0]); in FuzzerDriver() 373 Printf("%s: Running %zd inputs %d time(s) each.\n", ProgName->c_str(), in FuzzerDriver()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | SourceMgr.cpp | 367 void SMDiagnostic::print(const char *ProgName, raw_ostream &S, bool ShowColors, in print() argument 375 if (ProgName && ProgName[0]) in print() 376 S << ProgName << ": "; in print()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | SourceMgr.h | 189 void Print(const char *ProgName, raw_ostream &S) const;
|
/external/clang/tools/driver/ |
D | driver.cpp | 328 std::string ProgName = argv[0]; in main() local 330 ToolChain::getTargetAndModeFromProgramName(ProgName); in main()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | SourceMgr.h | 274 void print(const char *ProgName, raw_ostream &S, bool ShowColors = true,
|
/external/llvm/include/llvm/Support/ |
D | SourceMgr.h | 279 void print(const char *ProgName, raw_ostream &S, bool ShowColors = true,
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | SourceMgr.h | 303 void print(const char *ProgName, raw_ostream &S, bool ShowColors = true,
|
/external/swiftshader/third_party/LLVM/tools/llc/ |
D | llc.cpp | 160 const char *ProgName) { in GetOutputStream() argument
|
/external/clang/include/clang/Driver/ |
D | ToolChain.h | 173 getTargetAndModeFromProgramName(StringRef ProgName);
|