Lines Matching refs:getOption
94 getOpts().getOption(options::OPT_driver_mode).getPrefixedName(); in ParseDriverMode()
139 if (A->getOption().hasFlag(options::Unsupported)) { in ParseArgStrings()
145 if (A->getOption().matches(options::OPT_mcpu_EQ) && A->containsValue("")) { in ParseArgStrings()
205 Arg *A = new Arg(Opts->getOption(options::OPT_INPUT), Value, in MakeInputArg()
224 if ((A->getOption().matches(options::OPT_Wl_COMMA) || in TranslateInputArgs()
225 A->getOption().matches(options::OPT_Xlinker)) && in TranslateInputArgs()
228 DAL->AddFlagArg(A, Opts->getOption(options::OPT_Z_Xlinker__no_demangle)); in TranslateInputArgs()
233 DAL->AddSeparateArg(A, Opts->getOption(options::OPT_Xlinker), Val); in TranslateInputArgs()
241 if (A->getOption().matches(options::OPT_Wp_COMMA) && in TranslateInputArgs()
246 DAL->AddFlagArg(A, Opts->getOption(options::OPT_MD)); in TranslateInputArgs()
248 DAL->AddFlagArg(A, Opts->getOption(options::OPT_MMD)); in TranslateInputArgs()
250 DAL->AddSeparateArg(A, Opts->getOption(options::OPT_MF), in TranslateInputArgs()
256 if (A->getOption().matches(options::OPT_l)) { in TranslateInputArgs()
261 DAL->AddFlagArg(A, Opts->getOption(options::OPT_Z_reserved_lib_stdcxx)); in TranslateInputArgs()
267 DAL->AddFlagArg(A, Opts->getOption(options::OPT_Z_reserved_lib_cckext)); in TranslateInputArgs()
273 if (A->getOption().matches(options::OPT__DASH_DASH)) { in TranslateInputArgs()
285 DAL->AddFlagArg(0, Opts->getOption(options::OPT_static)); in TranslateInputArgs()
292 DAL->AddJoinedArg(0, Opts->getOption(options::OPT_mlinker_version_EQ), in TranslateInputArgs()
334 if (A->getOption().matches(options::OPT_mlittle_endian)) { in computeTargetTriple()
356 if (A->getOption().matches(options::OPT_m64)) { in computeTargetTriple()
360 } else if (A->getOption().matches(options::OPT_mx32) && in computeTargetTriple()
364 } else if (A->getOption().matches(options::OPT_m32)) { in computeTargetTriple()
368 } else if (A->getOption().matches(options::OPT_m16) && in computeTargetTriple()
384 if (A && !A->getOption().matches(options::OPT_m32)) in computeTargetTriple()
421 Diag(diag::err_drv_unsupported_option_argument) << A->getOption().getName() in setLTOMode()
682 if (A->getOption().matches(options::OPT_arch)) { in generateCompilationDiagnostics()
1090 if (A->getOption().matches(options::OPT_arch)) { in BuildUniversalActions()
1140 if (A && !A->getOption().matches(options::OPT_g0) && in BuildUniversalActions()
1141 !A->getOption().matches(options::OPT_gstabs) && in BuildUniversalActions()
1220 InputType = TCTP->getOption().matches(options::OPT__SLASH_TC) in BuildInputs()
1243 if (A->getOption().getKind() == Option::InputClass) { in BuildInputs()
1304 if (!InputTypeArg->getOption().matches(options::OPT_x)) { in BuildInputs()
1320 } else if (A->getOption().matches(options::OPT__SLASH_Tc)) { in BuildInputs()
1327 } else if (A->getOption().matches(options::OPT__SLASH_Tp)) { in BuildInputs()
1334 } else if (A->getOption().hasFlag(options::LinkerInput)) { in BuildInputs()
1339 } else if (A->getOption().matches(options::OPT_x)) { in BuildInputs()
1376 PartialCompilationArg->getOption().matches(options::OPT_cuda_host_only); in buildCudaActions()
1379 PartialCompilationArg->getOption().matches(options::OPT_cuda_device_only); in buildCudaActions()
1388 if (!A->getOption().matches(options::OPT_cuda_gpu_arch_EQ)) in buildCudaActions()
1617 << (FinalPhaseArg ? FinalPhaseArg->getOption().getName() : ""); in BuildActions()
1622 << (FinalPhaseArg ? FinalPhaseArg->getOption().getName() : ""); in BuildActions()
1808 if (A->getOption().matches(options::OPT_arch)) in BuildJobs()
1853 if (A->getOption().hasFlag(options::NoArgumentUnused)) in BuildJobs()
1858 const Option &Opt = A->getOption(); in BuildJobs()
1875 if (!IsCLMode() || !A->getOption().matches(options::OPT_UNKNOWN)) in BuildJobs()
2026 if (Input.getOption().matches(options::OPT_INPUT)) { in BuildJobsForActionNoCache()