Home
last modified time | relevance | path

Searched refs:ProgName (Results 1 – 25 of 34) sorted by relevance

12

/external/llvm-project/llvm/tools/llvm-ml/
Dllvm-ml.cpp81 static Triple GetTriple(StringRef ProgName, opt::InputArgList &Args) { in GetTriple() argument
84 SmallString<255> Program = ProgName; in GetTriple()
127 static int AssembleInput(StringRef ProgName, const Target *TheTarget, in AssembleInput() argument
138 WithColor::error(errs(), ProgName) in AssembleInput()
155 WithColor::error(errs(), ProgName) in AssembleInput()
168 StringRef ProgName = sys::path::filename(Argv[0]); in main() local
187 WithColor::warning(errs(), ProgName) in main()
201 WithColor::error(errs(), ProgName) << OS.str() << '\n'; in main()
207 WithColor::warning(errs(), ProgName) in main()
215 WithColor::warning(errs(), ProgName) in main()
[all …]
/external/clang/lib/Driver/
DToolChain.cpp101 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/llvm-project/llvm/tools/llvm-mc/
Dllvm-mc.cpp198 static const Target *GetTarget(const char *ProgName) { in GetTarget() argument
209 WithColor::error(errs(), ProgName) << Error; in GetTarget()
286 static int AssembleInput(const char *ProgName, const Target *TheTarget, in AssembleInput() argument
296 WithColor::error(errs(), ProgName) in AssembleInput()
332 const char *ProgName = argv[0]; in main() local
333 const Target *TheTarget = GetTarget(ProgName); in main()
343 WithColor::error(errs(), ProgName) in main()
369 WithColor::error(errs(), ProgName) in main()
390 errs() << ProgName << ": Dwarf version " << DwarfVersion in main()
398 errs() << ProgName in main()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LineEditor/
DLineEditor.cpp23 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(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()
/external/llvm-project/llvm/lib/LineEditor/
DLineEditor.cpp23 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()
/external/llvm/lib/LineEditor/
DLineEditor.cpp24 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-project/clang/lib/Driver/
DToolChain.cpp138 static const DriverSuffix *FindDriverSuffix(StringRef ProgName, size_t &Pos) { in FindDriverSuffix() argument
160 if (ProgName.endswith(Suffix)) { in FindDriverSuffix()
161 Pos = ProgName.size() - Suffix.size(); in FindDriverSuffix()
171 std::string ProgName = std::string(llvm::sys::path::stem(Argv0)); in normalizeProgramName() local
174 std::transform(ProgName.begin(), ProgName.end(), ProgName.begin(), ::tolower); in normalizeProgramName()
176 return ProgName; in normalizeProgramName()
179 static const DriverSuffix *parseDriverSuffix(StringRef ProgName, size_t &Pos) { in parseDriverSuffix() argument
187 const DriverSuffix *DS = FindDriverSuffix(ProgName, Pos); in parseDriverSuffix()
192 ProgName = ProgName.rtrim("0123456789."); in parseDriverSuffix()
193 DS = FindDriverSuffix(ProgName, Pos); in parseDriverSuffix()
[all …]
/external/llvm/tools/llvm-mc/
Dllvm-mc.cpp196 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/llvm-project/llvm/tools/llvm-mc-assemble-fuzzer/
Dllvm-mc-assemble-fuzzer.cpp106 static int AssembleInput(const char *ProgName, const Target *TheTarget, in AssembleInput() argument
119 errs() << ProgName in AssembleInput()
193 const char *ProgName = "llvm-mc-fuzzer"; in AssembleOneInput() local
239 const int Res = AssembleInput(ProgName, TheTarget, SrcMgr, Ctx, *Str, *MAI, *STI, in AssembleOneInput()
/external/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp527 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-10.0/llvm/lib/TableGen/
DMain.cpp55 static int reportError(const char *ProgName, Twine Msg) { in reportError() argument
56 errs() << ProgName << ": " << Msg; in reportError()
/external/llvm/include/llvm/LineEditor/
DLineEditor.h34 LineEditor(StringRef ProgName, StringRef HistoryPath = "", FILE *In = stdin,
46 static std::string getDefaultHistoryPath(StringRef ProgName);
/external/llvm-project/llvm/include/llvm/LineEditor/
DLineEditor.h33 LineEditor(StringRef ProgName, StringRef HistoryPath = "", FILE *In = stdin,
45 static std::string getDefaultHistoryPath(StringRef ProgName);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LineEditor/
DLineEditor.h33 LineEditor(StringRef ProgName, StringRef HistoryPath = "", FILE *In = stdin,
45 static std::string getDefaultHistoryPath(StringRef ProgName);
/external/llvm-project/llvm/lib/TableGen/
DMain.cpp58 static int reportError(const char *ProgName, Twine Msg) { in reportError() argument
59 errs() << ProgName << ": " << Msg; in reportError()
/external/llvm/lib/Support/
DSourceMgr.cpp335 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/llvm/lib/Fuzzer/
DFuzzerDriver.cpp73 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-10.0/llvm/lib/Support/
DSourceMgr.cpp368 void SMDiagnostic::print(const char *ProgName, raw_ostream &OS, in print() argument
373 if (ProgName && ProgName[0]) in print()
374 S << ProgName << ": "; in print()
/external/llvm-project/llvm/tools/llvm-mca/
Dllvm-mca.cpp220 const Target *getTarget(const char *ProgName) { in getTarget() argument
230 errs() << ProgName << ": " << Error; in getTarget()
309 const char *ProgName = argv[0]; in main() local
310 const Target *TheTarget = getTarget(ProgName); in main()
/external/llvm-project/llvm/lib/Support/
DSourceMgr.cpp475 void SMDiagnostic::print(const char *ProgName, raw_ostream &OS, bool ShowColors, in print() argument
482 if (ProgName && ProgName[0]) in print()
483 S << ProgName << ": "; in print()
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerDriver.cpp90 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()
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerDriver.cpp90 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()
/external/llvm-project/llvm/tools/lli/
Dlli.cpp375 static void reportError(SMDiagnostic Err, const char *ProgName) { in reportError() argument
376 Err.print(ProgName, errs()); in reportError()
381 int runOrcLazyJIT(const char *ProgName);
794 int runOrcLazyJIT(const char *ProgName) { in runOrcLazyJIT() argument
/external/clang/tools/driver/
Ddriver.cpp328 std::string ProgName = argv[0]; in main() local
330 ToolChain::getTargetAndModeFromProgramName(ProgName); in main()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSourceMgr.h274 void print(const char *ProgName, raw_ostream &S, bool ShowColors = true,

12