Lines Matching refs:options
53 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ, in getMipsCPUAndABI()
54 options::OPT_mcpu_EQ)) in getMipsCPUAndABI()
57 if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) { in getMipsCPUAndABI()
150 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in getMipsFloatABI()
151 options::OPT_mfloat_abi_EQ)) { in getMipsFloatABI()
152 if (A->getOption().matches(options::OPT_msoft_float)) in getMipsFloatABI()
154 else if (A->getOption().matches(options::OPT_mhard_float)) in getMipsFloatABI()
226 Arg *LastPICArg = Args.getLastArg(options::OPT_fPIC, options::OPT_fno_PIC, in getMIPSTargetFeatures()
227 options::OPT_fpic, options::OPT_fno_pic, in getMIPSTargetFeatures()
228 options::OPT_fPIE, options::OPT_fno_PIE, in getMIPSTargetFeatures()
229 options::OPT_fpie, options::OPT_fno_pie); in getMIPSTargetFeatures()
233 (O.matches(options::OPT_fno_PIC) || O.matches(options::OPT_fno_pic) || in getMIPSTargetFeatures()
234 O.matches(options::OPT_fno_PIE) || O.matches(options::OPT_fno_pie)); in getMIPSTargetFeatures()
236 (O.matches(options::OPT_fPIC) || O.matches(options::OPT_fpic) || in getMIPSTargetFeatures()
237 O.matches(options::OPT_fPIE) || O.matches(options::OPT_fpie)); in getMIPSTargetFeatures()
243 Args.getLastArg(options::OPT_mabicalls, options::OPT_mno_abicalls); in getMIPSTargetFeatures()
245 !ABICallsArg || ABICallsArg->getOption().matches(options::OPT_mabicalls); in getMIPSTargetFeatures()
261 if (Arg *A = Args.getLastArg(options::OPT_mlong_calls, in getMIPSTargetFeatures()
262 options::OPT_mno_long_calls)) { in getMIPSTargetFeatures()
263 if (A->getOption().matches(options::OPT_mno_long_calls)) in getMIPSTargetFeatures()
271 if (Arg *A = Args.getLastArg(options::OPT_mxgot, options::OPT_mno_xgot)) { in getMIPSTargetFeatures()
272 if (A->getOption().matches(options::OPT_mxgot)) in getMIPSTargetFeatures()
286 if (Arg *A = Args.getLastArg(options::OPT_mnan_EQ)) { in getMIPSTargetFeatures()
308 if (Arg *A = Args.getLastArg(options::OPT_mabs_EQ)) { in getMIPSTargetFeatures()
332 AddTargetFeature(Args, Features, options::OPT_msingle_float, in getMIPSTargetFeatures()
333 options::OPT_mdouble_float, "single-float"); in getMIPSTargetFeatures()
334 AddTargetFeature(Args, Features, options::OPT_mips16, options::OPT_mno_mips16, in getMIPSTargetFeatures()
336 AddTargetFeature(Args, Features, options::OPT_mmicromips, in getMIPSTargetFeatures()
337 options::OPT_mno_micromips, "micromips"); in getMIPSTargetFeatures()
338 AddTargetFeature(Args, Features, options::OPT_mdsp, options::OPT_mno_dsp, in getMIPSTargetFeatures()
340 AddTargetFeature(Args, Features, options::OPT_mdspr2, options::OPT_mno_dspr2, in getMIPSTargetFeatures()
342 AddTargetFeature(Args, Features, options::OPT_mmsa, options::OPT_mno_msa, in getMIPSTargetFeatures()
345 options::OPT_mstrict_align, options::OPT_mno_strict_align, in getMIPSTargetFeatures()
346 options::OPT_mno_unaligned_access, options::OPT_munaligned_access)) { in getMIPSTargetFeatures()
347 if (A->getOption().matches(options::OPT_mstrict_align) || in getMIPSTargetFeatures()
348 A->getOption().matches(options::OPT_mno_unaligned_access)) in getMIPSTargetFeatures()
357 if (Arg *A = Args.getLastArg(options::OPT_mfp32, options::OPT_mfpxx, in getMIPSTargetFeatures()
358 options::OPT_mfp64)) { in getMIPSTargetFeatures()
359 if (A->getOption().matches(options::OPT_mfp32)) in getMIPSTargetFeatures()
361 else if (A->getOption().matches(options::OPT_mfpxx)) { in getMIPSTargetFeatures()
372 } else if (Arg *A = Args.getLastArg(options::OPT_mmsa)) { in getMIPSTargetFeatures()
373 if (A->getOption().matches(options::OPT_mmsa)) in getMIPSTargetFeatures()
377 AddTargetFeature(Args, Features, options::OPT_mno_odd_spreg, in getMIPSTargetFeatures()
378 options::OPT_modd_spreg, "nooddspreg"); in getMIPSTargetFeatures()
379 AddTargetFeature(Args, Features, options::OPT_mno_madd4, options::OPT_mmadd4, in getMIPSTargetFeatures()
381 AddTargetFeature(Args, Features, options::OPT_mmt, options::OPT_mno_mt, "mt"); in getMIPSTargetFeatures()
382 AddTargetFeature(Args, Features, options::OPT_mcrc, options::OPT_mno_crc, in getMIPSTargetFeatures()
384 AddTargetFeature(Args, Features, options::OPT_mvirt, options::OPT_mno_virt, in getMIPSTargetFeatures()
386 AddTargetFeature(Args, Features, options::OPT_mginv, options::OPT_mno_ginv, in getMIPSTargetFeatures()
389 if (Arg *A = Args.getLastArg(options::OPT_mindirect_jump_EQ)) { in getMIPSTargetFeatures()
393 Args.getLastArg(options::OPT_mmicromips, options::OPT_mno_micromips); in getMIPSTargetFeatures()
394 Arg *C = Args.getLastArg(options::OPT_mips16, options::OPT_mno_mips16); in getMIPSTargetFeatures()
396 if (B && B->getOption().matches(options::OPT_mmicromips)) in getMIPSTargetFeatures()
399 else if (C && C->getOption().matches(options::OPT_mips16)) in getMIPSTargetFeatures()
445 Arg *A = Args.getLastArg(options::OPT_mabi_EQ); in hasMipsAbiArg()
450 Arg *A = Args.getLastArg(options::OPT_m_libc_Group); in isUCLibc()
451 return A && A->getOption().matches(options::OPT_muclibc); in isUCLibc()
456 if (Arg *NaNArg = Args.getLastArg(options::OPT_mnan_EQ)) in isNaN2008()
501 if (Arg *A = Args.getLastArg(options::OPT_msingle_float, in shouldUseFPXX()
502 options::OPT_mdouble_float)) in shouldUseFPXX()
503 if (A->getOption().matches(options::OPT_msingle_float)) in shouldUseFPXX()
506 if (Arg *A = Args.getLastArg(options::OPT_mmsa)) in shouldUseFPXX()
507 if (A->getOption().matches(options::OPT_mmsa)) in shouldUseFPXX()