Lines Matching refs:getArgs
496 &getToolChain(C->getArgs(), llvm::Triple(TC.getTriple().isArch64Bit() in BuildCompilation()
511 BuildActions(*C, C->getDefaultToolChain(), C->getArgs(), Inputs, in BuildCompilation()
542 if (C.getArgs().hasArg(options::OPT_fno_crash_diagnostics)) in generateCompilationDiagnostics()
573 BuildInputs(C.getDefaultToolChain(), C.getArgs(), Inputs); in generateCompilationDiagnostics()
607 for (const Arg *A : C.getArgs()) { in generateCompilationDiagnostics()
626 BuildActions(C, TC, C.getArgs(), Inputs, C.getActions()); in generateCompilationDiagnostics()
693 for (const auto &A : C.getArgs().filtered(options::OPT_frewrite_map_file, in generateCompilationDiagnostics()
711 C.addTempFile(C.getArgs().MakeArgString(TmpName.c_str()))); in setUpResponseFiles()
718 if (C.getArgs().hasArg(options::OPT__HASH_HASH_HASH)) { in ExecuteCompilation()
800 if (Arg *A = C.getArgs().getLastArg(options::OPT_mthread_model)) { in PrintVersion()
825 if (C.getArgs().hasArg(options::OPT_dumpmachine)) { in HandleImmediateArgs()
830 if (C.getArgs().hasArg(options::OPT_dumpversion)) { in HandleImmediateArgs()
841 if (C.getArgs().hasArg(options::OPT__print_diagnostic_categories)) { in HandleImmediateArgs()
846 if (C.getArgs().hasArg(options::OPT_help) || in HandleImmediateArgs()
847 C.getArgs().hasArg(options::OPT__help_hidden)) { in HandleImmediateArgs()
848 PrintHelp(C.getArgs().hasArg(options::OPT__help_hidden)); in HandleImmediateArgs()
852 if (C.getArgs().hasArg(options::OPT__version)) { in HandleImmediateArgs()
858 if (C.getArgs().hasArg(options::OPT_v) || in HandleImmediateArgs()
859 C.getArgs().hasArg(options::OPT__HASH_HASH_HASH)) { in HandleImmediateArgs()
866 if (C.getArgs().hasArg(options::OPT_v)) in HandleImmediateArgs()
869 if (C.getArgs().hasArg(options::OPT_print_search_dirs)) { in HandleImmediateArgs()
898 if (Arg *A = C.getArgs().getLastArg(options::OPT_print_file_name_EQ)) { in HandleImmediateArgs()
903 if (Arg *A = C.getArgs().getLastArg(options::OPT_print_prog_name_EQ)) { in HandleImmediateArgs()
908 if (C.getArgs().hasArg(options::OPT_print_libgcc_file_name)) { in HandleImmediateArgs()
913 if (C.getArgs().hasArg(options::OPT_print_multi_lib)) { in HandleImmediateArgs()
919 if (C.getArgs().hasArg(options::OPT_print_multi_directory)) { in HandleImmediateArgs()
1006 DerivedArgList &Args = C.getArgs(); in BuildUniversalActions()
1627 Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o); in BuildJobs()
1646 for (const Arg *A : C.getArgs()) in BuildJobs()
1676 C.getArgs().hasArg(options::OPT_Qunused_arguments)) in BuildJobs()
1680 (void)C.getArgs().hasArg(options::OPT__HASH_HASH_HASH); in BuildJobs()
1683 (void)C.getArgs().hasArg(options::OPT_driver_mode); in BuildJobs()
1685 for (Arg *A : C.getArgs()) { in BuildJobs()
1699 for (const Arg *AA : C.getArgs().filtered(&Opt)) { in BuildJobs()
1711 << A->getAsString(C.getArgs()); in BuildJobs()
1733 !C.getArgs().hasArg(options::OPT_via_file_asm) && in selectToolForJob()
1734 !C.getArgs().hasArg(options::OPT__SLASH_FA) && in selectToolForJob()
1735 !C.getArgs().hasArg(options::OPT__SLASH_Fa) && in selectToolForJob()
1789 !C.getArgs().hasArg(options::OPT_no_integrated_cpp) && in selectToolForJob()
1790 !C.getArgs().hasArg(options::OPT_traditional_cpp) && !SaveTemps && in selectToolForJob()
1791 !C.getArgs().hasArg(options::OPT_rewrite_objc) && in selectToolForJob()
1839 C.getArgs(), in BuildJobsForAction()
1840 computeTargetTriple(DefaultTargetTriple, C.getArgs(), ArchName)); in BuildJobsForAction()
1975 if (Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o)) in GetNamedOutputPath()
1980 if (C.getArgs().hasArg(options::OPT__SLASH_P)) { in GetNamedOutputPath()
1984 if (Arg *A = C.getArgs().getLastArg(options::OPT__SLASH_Fi)) in GetNamedOutputPath()
1987 MakeCLOutputFilename(C.getArgs(), NameArg, BaseName, types::TY_PP_C), in GetNamedOutputPath()
1998 (C.getArgs().hasArg(options::OPT__SLASH_FA) || in GetNamedOutputPath()
1999 C.getArgs().hasArg(options::OPT__SLASH_Fa))) { in GetNamedOutputPath()
2002 StringRef FaValue = C.getArgs().getLastArgValue(options::OPT__SLASH_Fa); in GetNamedOutputPath()
2004 MakeCLOutputFilename(C.getArgs(), FaValue, BaseName, JA.getType()), in GetNamedOutputPath()
2010 !C.getArgs().hasArg(options::OPT__SLASH_Fo)) || in GetNamedOutputPath()
2016 return C.addTempFile(C.getArgs().MakeArgString(TmpName.c_str())); in GetNamedOutputPath()
2032 C.getArgs().hasArg(options::OPT__SLASH_Fo, options::OPT__SLASH_o)) { in GetNamedOutputPath()
2035 C.getArgs() in GetNamedOutputPath()
2039 MakeCLOutputFilename(C.getArgs(), Val, BaseName, types::TY_Object); in GetNamedOutputPath()
2041 C.getArgs().hasArg(options::OPT__SLASH_Fe, in GetNamedOutputPath()
2045 C.getArgs() in GetNamedOutputPath()
2049 MakeCLOutputFilename(C.getArgs(), Val, BaseName, types::TY_Image); in GetNamedOutputPath()
2054 MakeCLOutputFilename(C.getArgs(), "", BaseName, types::TY_Image); in GetNamedOutputPath()
2059 NamedOutput = C.getArgs().MakeArgString(Output.c_str()); in GetNamedOutputPath()
2077 if (!AtTopLevel && C.getArgs().hasArg(options::OPT_emit_llvm) && in GetNamedOutputPath()
2082 NamedOutput = C.getArgs().MakeArgString(Suffixed.c_str()); in GetNamedOutputPath()
2086 if (!AtTopLevel && isSaveTempsObj() && C.getArgs().hasArg(options::OPT_o) && in GetNamedOutputPath()
2088 Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o); in GetNamedOutputPath()
2093 NamedOutput = C.getArgs().MakeArgString(TempPath.c_str()); in GetNamedOutputPath()
2110 return C.addTempFile(C.getArgs().MakeArgString(TmpName.c_str())); in GetNamedOutputPath()
2121 return C.addResultFile(C.getArgs().MakeArgString(BasePath.c_str()), &JA); in GetNamedOutputPath()