Lines Matching defs:ProgName
83 static Triple GetTriple(StringRef ProgName, opt::InputArgList &Args) {
86 SmallString<255> Program = ProgName;
129 static int AssembleInput(StringRef ProgName, const Target *TheTarget,
140 WithColor::error(errs(), ProgName)
163 WithColor::error(errs(), ProgName)
180 WithColor::error(errs(), ProgName)
192 StringRef ProgName = sys::path::filename(Argv[0]);
214 WithColor::warning(errs(), ProgName)
228 WithColor::error(errs(), ProgName) << OS.str() << '\n';
234 WithColor::warning(errs(), ProgName)
242 WithColor::warning(errs(), ProgName)
255 std::string Usage = llvm::formatv("{0} [ /options ] file", ProgName).str();
260 outs() << "USAGE: " << ProgName << " [ /options ] file\n"
261 << "Run \"" << ProgName << " /?\" or \"" << ProgName
273 Triple TheTriple = GetTriple(ProgName, InputArgs);
277 WithColor::error(errs(), ProgName) << Error;
292 WithColor::error(errs(), ProgName)
436 Res = AssembleInput(ProgName, TheTarget, SrcMgr, Ctx, *Str, *MAI, *STI,