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