Lines Matching refs:ProgName
84 static Triple GetTriple(StringRef ProgName, opt::InputArgList &Args) { in GetTriple() argument
87 SmallString<255> Program = ProgName; in GetTriple()
130 static int AssembleInput(StringRef ProgName, const Target *TheTarget, in AssembleInput() argument
141 WithColor::error(errs(), ProgName) in AssembleInput()
164 WithColor::error(errs(), ProgName) in AssembleInput()
181 WithColor::error(errs(), ProgName) in AssembleInput()
194 StringRef ProgName = sys::path::filename(Argv[0]); in main() local
216 WithColor::warning(errs(), ProgName) in main()
230 WithColor::error(errs(), ProgName) << OS.str() << '\n'; in main()
236 WithColor::warning(errs(), ProgName) in main()
244 WithColor::warning(errs(), ProgName) in main()
257 std::string Usage = llvm::formatv("{0} [ /options ] file", ProgName).str(); in main()
262 outs() << "USAGE: " << ProgName << " [ /options ] file\n" in main()
263 << "Run \"" << ProgName << " /?\" or \"" << ProgName in main()
272 Triple TheTriple = GetTriple(ProgName, InputArgs); in main()
276 WithColor::error(errs(), ProgName) << Error; in main()
291 WithColor::error(errs(), ProgName) in main()
444 Res = AssembleInput(ProgName, TheTarget, SrcMgr, Ctx, *Str, *MAI, *STI, in main()