Lines Matching refs:Args
32 std::string aarch64::getAArch64TargetCPU(const ArgList &Args, in getAArch64TargetCPU() argument
36 if ((A = Args.getLastArg(options::OPT_mcpu_EQ))) { in getAArch64TargetCPU()
117 const ArgList &Args, in getAArch64ArchFeaturesFromMarch() argument
140 const ArgList &Args, in getAArch64ArchFeaturesFromMcpu() argument
152 const ArgList &Args, in getAArch64MicroArchFeaturesFromMtune() argument
177 const ArgList &Args, in getAArch64MicroArchFeaturesFromMcpu() argument
186 return getAArch64MicroArchFeaturesFromMtune(D, CPU, Args, Features); in getAArch64MicroArchFeaturesFromMcpu()
191 const ArgList &Args, in getAArch64TargetFeatures() argument
200 Args.filtered(options::OPT_Wa_COMMA, options::OPT_Xassembler)) in getAArch64TargetFeatures()
208 success = getAArch64ArchFeaturesFromMarch(D, WaMArch, Args, Extensions); in getAArch64TargetFeatures()
209 else if ((A = Args.getLastArg(options::OPT_march_EQ))) in getAArch64TargetFeatures()
211 getAArch64ArchFeaturesFromMarch(D, A->getValue(), Args, Extensions); in getAArch64TargetFeatures()
212 else if ((A = Args.getLastArg(options::OPT_mcpu_EQ))) in getAArch64TargetFeatures()
214 getAArch64ArchFeaturesFromMcpu(D, A->getValue(), Args, Extensions); in getAArch64TargetFeatures()
217 D, getAArch64TargetCPU(Args, Triple, A), Args, Extensions); in getAArch64TargetFeatures()
220 success = getAArch64ArchFeaturesFromMarch(D, "armv8-a", Args, Extensions); in getAArch64TargetFeatures()
222 if (success && (A = Args.getLastArg(clang::driver::options::OPT_mtune_EQ))) in getAArch64TargetFeatures()
224 getAArch64MicroArchFeaturesFromMtune(D, A->getValue(), Args, Features); in getAArch64TargetFeatures()
225 else if (success && (A = Args.getLastArg(options::OPT_mcpu_EQ))) in getAArch64TargetFeatures()
227 getAArch64MicroArchFeaturesFromMcpu(D, A->getValue(), Args, Features); in getAArch64TargetFeatures()
230 D, getAArch64TargetCPU(Args, Triple, A), Args, Features); in getAArch64TargetFeatures()
243 if (Args.getLastArg(options::OPT_mgeneral_regs_only)) { in getAArch64TargetFeatures()
248 if (Arg *A = Args.getLastArg(options::OPT_mcrc, options::OPT_mnocrc)) { in getAArch64TargetFeatures()
259 if (Arg *A = Args.getLastArg(options::OPT_mtp_mode_EQ)) { in getAArch64TargetFeatures()
270 D.Diag(diag::err_drv_invalid_mtp) << A->getAsString(Args); in getAArch64TargetFeatures()
274 if (Arg *A = Args.getLastArg(options::OPT_mharden_sls_EQ)) { in getAArch64TargetFeatures()
320 if (Arg *A = Args.getLastArg( in getAArch64TargetFeatures()
329 if (Args.hasArg(options::OPT_ffixed_x1)) in getAArch64TargetFeatures()
332 if (Args.hasArg(options::OPT_ffixed_x2)) in getAArch64TargetFeatures()
335 if (Args.hasArg(options::OPT_ffixed_x3)) in getAArch64TargetFeatures()
338 if (Args.hasArg(options::OPT_ffixed_x4)) in getAArch64TargetFeatures()
341 if (Args.hasArg(options::OPT_ffixed_x5)) in getAArch64TargetFeatures()
344 if (Args.hasArg(options::OPT_ffixed_x6)) in getAArch64TargetFeatures()
347 if (Args.hasArg(options::OPT_ffixed_x7)) in getAArch64TargetFeatures()
350 if (Args.hasArg(options::OPT_ffixed_x9)) in getAArch64TargetFeatures()
353 if (Args.hasArg(options::OPT_ffixed_x10)) in getAArch64TargetFeatures()
356 if (Args.hasArg(options::OPT_ffixed_x11)) in getAArch64TargetFeatures()
359 if (Args.hasArg(options::OPT_ffixed_x12)) in getAArch64TargetFeatures()
362 if (Args.hasArg(options::OPT_ffixed_x13)) in getAArch64TargetFeatures()
365 if (Args.hasArg(options::OPT_ffixed_x14)) in getAArch64TargetFeatures()
368 if (Args.hasArg(options::OPT_ffixed_x15)) in getAArch64TargetFeatures()
371 if (Args.hasArg(options::OPT_ffixed_x18)) in getAArch64TargetFeatures()
374 if (Args.hasArg(options::OPT_ffixed_x20)) in getAArch64TargetFeatures()
377 if (Args.hasArg(options::OPT_ffixed_x21)) in getAArch64TargetFeatures()
380 if (Args.hasArg(options::OPT_ffixed_x22)) in getAArch64TargetFeatures()
383 if (Args.hasArg(options::OPT_ffixed_x23)) in getAArch64TargetFeatures()
386 if (Args.hasArg(options::OPT_ffixed_x24)) in getAArch64TargetFeatures()
389 if (Args.hasArg(options::OPT_ffixed_x25)) in getAArch64TargetFeatures()
392 if (Args.hasArg(options::OPT_ffixed_x26)) in getAArch64TargetFeatures()
395 if (Args.hasArg(options::OPT_ffixed_x27)) in getAArch64TargetFeatures()
398 if (Args.hasArg(options::OPT_ffixed_x28)) in getAArch64TargetFeatures()
401 if (Args.hasArg(options::OPT_mlr_for_calls_only)) in getAArch64TargetFeatures()
404 if (Args.hasArg(options::OPT_fcall_saved_x8)) in getAArch64TargetFeatures()
407 if (Args.hasArg(options::OPT_fcall_saved_x9)) in getAArch64TargetFeatures()
410 if (Args.hasArg(options::OPT_fcall_saved_x10)) in getAArch64TargetFeatures()
413 if (Args.hasArg(options::OPT_fcall_saved_x11)) in getAArch64TargetFeatures()
416 if (Args.hasArg(options::OPT_fcall_saved_x12)) in getAArch64TargetFeatures()
419 if (Args.hasArg(options::OPT_fcall_saved_x13)) in getAArch64TargetFeatures()
422 if (Args.hasArg(options::OPT_fcall_saved_x14)) in getAArch64TargetFeatures()
425 if (Args.hasArg(options::OPT_fcall_saved_x15)) in getAArch64TargetFeatures()
428 if (Args.hasArg(options::OPT_fcall_saved_x18)) in getAArch64TargetFeatures()
431 if (Args.hasArg(options::OPT_mno_neg_immediates)) in getAArch64TargetFeatures()
434 if (Arg *A = Args.getLastArg(options::OPT_mfix_cortex_a53_835769, in getAArch64TargetFeatures()
444 std::string CPU = getCPUName(D, Args, Triple); in getAArch64TargetFeatures()
449 if (Args.getLastArg(options::OPT_mno_bti_at_return_twice)) in getAArch64TargetFeatures()
453 void aarch64::setPAuthABIInTriple(const Driver &D, const ArgList &Args, in setPAuthABIInTriple() argument
455 Arg *ABIArg = Args.getLastArg(options::OPT_mabi_EQ); in setPAuthABIInTriple()
469 << ABIArg->getAsString(Args) << Triple.getTriple(); in setPAuthABIInTriple()