Lines Matching refs:getArgs
392 BuildUniversalActions(C->getDefaultToolChain(), C->getArgs(), in BuildCompilation()
395 BuildActions(C->getDefaultToolChain(), C->getArgs(), Inputs, in BuildCompilation()
413 if (C.getArgs().hasArg(options::OPT_fno_crash_diagnostics)) in generateCompilationDiagnostics()
444 BuildInputs(C.getDefaultToolChain(), C.getArgs(), Inputs); in generateCompilationDiagnostics()
477 for (const Arg *A : C.getArgs()) { in generateCompilationDiagnostics()
494 BuildUniversalActions(TC, C.getArgs(), Inputs, C.getActions()); in generateCompilationDiagnostics()
496 BuildActions(TC, C.getArgs(), Inputs, C.getActions()); in generateCompilationDiagnostics()
561 for (const auto &A : C.getArgs().filtered(options::OPT_frewrite_map_file, in generateCompilationDiagnostics()
588 CurCommand->setResponseFile(C.addTempFile(C.getArgs().MakeArgString( in setUpResponseFiles()
595 if (C.getArgs().hasArg(options::OPT__HASH_HASH_HASH)) { in ExecuteCompilation()
677 if (Arg *A = C.getArgs().getLastArg(options::OPT_mthread_model)) { in PrintVersion()
699 if (C.getArgs().hasArg(options::OPT_dumpmachine)) { in HandleImmediateArgs()
704 if (C.getArgs().hasArg(options::OPT_dumpversion)) { in HandleImmediateArgs()
715 if (C.getArgs().hasArg(options::OPT__print_diagnostic_categories)) { in HandleImmediateArgs()
720 if (C.getArgs().hasArg(options::OPT_help) || in HandleImmediateArgs()
721 C.getArgs().hasArg(options::OPT__help_hidden)) { in HandleImmediateArgs()
722 PrintHelp(C.getArgs().hasArg(options::OPT__help_hidden)); in HandleImmediateArgs()
726 if (C.getArgs().hasArg(options::OPT__version)) { in HandleImmediateArgs()
732 if (C.getArgs().hasArg(options::OPT_v) || in HandleImmediateArgs()
733 C.getArgs().hasArg(options::OPT__HASH_HASH_HASH)) { in HandleImmediateArgs()
740 if (C.getArgs().hasArg(options::OPT_v)) in HandleImmediateArgs()
743 if (C.getArgs().hasArg(options::OPT_print_search_dirs)) { in HandleImmediateArgs()
771 if (Arg *A = C.getArgs().getLastArg(options::OPT_print_file_name_EQ)) { in HandleImmediateArgs()
776 if (Arg *A = C.getArgs().getLastArg(options::OPT_print_prog_name_EQ)) { in HandleImmediateArgs()
781 if (C.getArgs().hasArg(options::OPT_print_libgcc_file_name)) { in HandleImmediateArgs()
786 if (C.getArgs().hasArg(options::OPT_print_multi_lib)) { in HandleImmediateArgs()
796 if (C.getArgs().hasArg(options::OPT_print_multi_directory)) { in HandleImmediateArgs()
811 if (C.getArgs().hasArg(options::OPT_print_multi_os_directory)) { in HandleImmediateArgs()
1396 Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o); in BuildJobs()
1415 for (const Arg *A : C.getArgs()) in BuildJobs()
1446 C.getArgs().hasArg(options::OPT_Qunused_arguments)) in BuildJobs()
1450 (void) C.getArgs().hasArg(options::OPT__HASH_HASH_HASH); in BuildJobs()
1453 (void) C.getArgs().hasArg(options::OPT_driver_mode); in BuildJobs()
1455 for (Arg *A : C.getArgs()) { in BuildJobs()
1469 for (arg_iterator it = C.getArgs().filtered_begin(&Opt), in BuildJobs()
1470 ie = C.getArgs().filtered_end(); it != ie; ++it) { in BuildJobs()
1482 << A->getAsString(C.getArgs()); in BuildJobs()
1498 !C.getArgs().hasArg(options::OPT_via_file_asm) && in SelectToolForJob()
1499 !C.getArgs().hasArg(options::OPT__SLASH_FA) && in SelectToolForJob()
1500 !C.getArgs().hasArg(options::OPT__SLASH_Fa) && in SelectToolForJob()
1542 !C.getArgs().hasArg(options::OPT_no_integrated_cpp) && in SelectToolForJob()
1543 !C.getArgs().hasArg(options::OPT_traditional_cpp) && in SelectToolForJob()
1545 !C.getArgs().hasArg(options::OPT_rewrite_objc) && in SelectToolForJob()
1580 TC = &getToolChain(C.getArgs(), ArchName); in BuildJobsForAction()
1690 if (Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o)) in GetNamedOutputPath()
1695 if (C.getArgs().hasArg(options::OPT__SLASH_P)) { in GetNamedOutputPath()
1699 if (Arg *A = C.getArgs().getLastArg(options::OPT__SLASH_Fi, in GetNamedOutputPath()
1702 return C.addResultFile(MakeCLOutputFilename(C.getArgs(), NameArg, BaseName, in GetNamedOutputPath()
1713 (C.getArgs().hasArg(options::OPT__SLASH_FA) || in GetNamedOutputPath()
1714 C.getArgs().hasArg(options::OPT__SLASH_Fa))) { in GetNamedOutputPath()
1717 StringRef FaValue = C.getArgs().getLastArgValue(options::OPT__SLASH_Fa); in GetNamedOutputPath()
1718 return C.addResultFile(MakeCLOutputFilename(C.getArgs(), FaValue, BaseName, in GetNamedOutputPath()
1724 !C.getArgs().hasArg(options::OPT__SLASH_Fo)) || in GetNamedOutputPath()
1731 return C.addTempFile(C.getArgs().MakeArgString(TmpName.c_str())); in GetNamedOutputPath()
1747 C.getArgs().hasArg(options::OPT__SLASH_Fo, options::OPT__SLASH_o)) { in GetNamedOutputPath()
1749 StringRef Val = C.getArgs().getLastArg(options::OPT__SLASH_Fo, in GetNamedOutputPath()
1751 NamedOutput = MakeCLOutputFilename(C.getArgs(), Val, BaseName, in GetNamedOutputPath()
1754 C.getArgs().hasArg(options::OPT__SLASH_Fe, options::OPT__SLASH_o)) { in GetNamedOutputPath()
1756 StringRef Val = C.getArgs().getLastArg(options::OPT__SLASH_Fe, in GetNamedOutputPath()
1758 NamedOutput = MakeCLOutputFilename(C.getArgs(), Val, BaseName, in GetNamedOutputPath()
1763 NamedOutput = MakeCLOutputFilename(C.getArgs(), "", BaseName, in GetNamedOutputPath()
1769 NamedOutput = C.getArgs().MakeArgString(Output.c_str()); in GetNamedOutputPath()
1787 if (!AtTopLevel && C.getArgs().hasArg(options::OPT_emit_llvm) && in GetNamedOutputPath()
1792 NamedOutput = C.getArgs().MakeArgString(Suffixed.c_str()); in GetNamedOutputPath()
1796 if (!AtTopLevel && isSaveTempsObj() && C.getArgs().hasArg(options::OPT_o) && in GetNamedOutputPath()
1798 Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o); in GetNamedOutputPath()
1803 NamedOutput = C.getArgs().MakeArgString(TempPath.c_str()); in GetNamedOutputPath()
1821 return C.addTempFile(C.getArgs().MakeArgString(TmpName.c_str())); in GetNamedOutputPath()
1832 return C.addResultFile(C.getArgs().MakeArgString(BasePath.c_str()), &JA); in GetNamedOutputPath()