Lines Matching refs:getArgs
353 BuildInputs(C->getDefaultToolChain(), C->getArgs(), Inputs); in BuildCompilation()
358 BuildUniversalActions(C->getDefaultToolChain(), C->getArgs(), in BuildCompilation()
361 BuildActions(C->getDefaultToolChain(), C->getArgs(), Inputs, in BuildCompilation()
379 if (C.getArgs().hasArg(options::OPT_fno_crash_diagnostics)) in generateCompilationDiagnostics()
396 C.getArgs().AddFlagArg(0, Opts->getOption(options::OPT_frewrite_includes)); in generateCompilationDiagnostics()
415 BuildInputs(C.getDefaultToolChain(), C.getArgs(), Inputs); in generateCompilationDiagnostics()
421 if (!strcmp(it->second->getValue(C.getArgs()), "-")) { in generateCompilationDiagnostics()
441 for (ArgList::const_iterator it = C.getArgs().begin(), ie = C.getArgs().end(); in generateCompilationDiagnostics()
445 StringRef ArchName = A->getValue(C.getArgs()); in generateCompilationDiagnostics()
466 BuildUniversalActions(TC, C.getArgs(), Inputs, C.getActions()); in generateCompilationDiagnostics()
468 BuildActions(TC, C.getArgs(), Inputs, C.getActions()); in generateCompilationDiagnostics()
576 if (!C.getArgs().hasArg(options::OPT_save_temps)) in generateCompilationDiagnostics()
587 if (C.getArgs().hasArg(options::OPT__HASH_HASH_HASH)) { in ExecuteCompilation()
606 if (!C.getArgs().hasArg(options::OPT_save_temps)) { in ExecuteCompilation()
684 if (C.getArgs().hasArg(options::OPT_dumpmachine)) { in HandleImmediateArgs()
689 if (C.getArgs().hasArg(options::OPT_dumpversion)) { in HandleImmediateArgs()
700 if (C.getArgs().hasArg(options::OPT__print_diagnostic_categories)) { in HandleImmediateArgs()
705 if (C.getArgs().hasArg(options::OPT_help) || in HandleImmediateArgs()
706 C.getArgs().hasArg(options::OPT__help_hidden)) { in HandleImmediateArgs()
707 PrintHelp(C.getArgs().hasArg(options::OPT__help_hidden)); in HandleImmediateArgs()
711 if (C.getArgs().hasArg(options::OPT__version)) { in HandleImmediateArgs()
717 if (C.getArgs().hasArg(options::OPT_v) || in HandleImmediateArgs()
718 C.getArgs().hasArg(options::OPT__HASH_HASH_HASH)) { in HandleImmediateArgs()
724 if (C.getArgs().hasArg(options::OPT_print_search_dirs)) { in HandleImmediateArgs()
752 if (Arg *A = C.getArgs().getLastArg(options::OPT_print_file_name_EQ)) { in HandleImmediateArgs()
753 llvm::outs() << GetFilePath(A->getValue(C.getArgs()), TC) << "\n"; in HandleImmediateArgs()
757 if (Arg *A = C.getArgs().getLastArg(options::OPT_print_prog_name_EQ)) { in HandleImmediateArgs()
758 llvm::outs() << GetProgramPath(A->getValue(C.getArgs()), TC) << "\n"; in HandleImmediateArgs()
762 if (C.getArgs().hasArg(options::OPT_print_libgcc_file_name)) { in HandleImmediateArgs()
767 if (C.getArgs().hasArg(options::OPT_print_multi_lib)) { in HandleImmediateArgs()
788 if (C.getArgs().hasArg(options::OPT_print_multi_directory) || in HandleImmediateArgs()
789 C.getArgs().hasArg(options::OPT_print_multi_os_directory)) { in HandleImmediateArgs()
821 os << "\"" << IA->getInputArg().getValue(C.getArgs()) << "\""; in PrintActions1()
1274 Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o); in BuildJobs()
1304 LinkingOutput = FinalOutput->getValue(C.getArgs()); in BuildJobs()
1320 C.getArgs().hasArg(options::OPT_Qunused_arguments)) in BuildJobs()
1324 (void) C.getArgs().hasArg(options::OPT__HASH_HASH_HASH); in BuildJobs()
1326 for (ArgList::const_iterator it = C.getArgs().begin(), ie = C.getArgs().end(); in BuildJobs()
1343 for (arg_iterator it = C.getArgs().filtered_begin(&Opt), in BuildJobs()
1344 ie = C.getArgs().filtered_end(); it != ie; ++it) { in BuildJobs()
1356 << A->getAsString(C.getArgs()); in BuildJobs()
1370 if (C.getArgs().hasFlag(options::OPT_integrated_as, in SelectToolForJob()
1373 !C.getArgs().hasArg(options::OPT_save_temps) && in SelectToolForJob()
1392 !C.getArgs().hasArg(options::OPT_no_integrated_cpp) && in SelectToolForJob()
1393 !C.getArgs().hasArg(options::OPT_traditional_cpp) && in SelectToolForJob()
1394 !C.getArgs().hasArg(options::OPT_save_temps) && in SelectToolForJob()
1416 const char *Name = Input.getValue(C.getArgs()); in BuildJobsForAction()
1428 TC = &getToolChain(C.getArgs(), ArchName); in BuildJobsForAction()
1504 if (Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o)) in GetNamedOutputPath()
1505 return C.addResultFile(FinalOutput->getValue(C.getArgs())); in GetNamedOutputPath()
1513 if ((!AtTopLevel && !C.getArgs().hasArg(options::OPT_save_temps)) || in GetNamedOutputPath()
1519 return C.addTempFile(C.getArgs().MakeArgString(TmpName.c_str())); in GetNamedOutputPath()
1545 NamedOutput = C.getArgs().MakeArgString(Suffixed.c_str()); in GetNamedOutputPath()
1550 if (!AtTopLevel && C.getArgs().hasArg(options::OPT_save_temps) && in GetNamedOutputPath()
1564 return C.addTempFile(C.getArgs().MakeArgString(TmpName.c_str())); in GetNamedOutputPath()
1575 return C.addResultFile(C.getArgs().MakeArgString(BasePath.c_str())); in GetNamedOutputPath()