Lines Matching full:options
13 #include "clang/Driver/Options.h"
59 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ, in getMipsCPUAndABI()
60 options::OPT_mcpu_EQ)) in getMipsCPUAndABI()
63 if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) { in getMipsCPUAndABI()
156 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in getMipsFloatABI()
157 options::OPT_mfloat_abi_EQ)) { in getMipsFloatABI()
158 if (A->getOption().matches(options::OPT_msoft_float)) in getMipsFloatABI()
160 else if (A->getOption().matches(options::OPT_mhard_float)) in getMipsFloatABI()
231 Arg *LastPICArg = Args.getLastArg(options::OPT_fPIC, options::OPT_fno_PIC, in getMIPSTargetFeatures()
232 options::OPT_fpic, options::OPT_fno_pic, in getMIPSTargetFeatures()
233 options::OPT_fPIE, options::OPT_fno_PIE, in getMIPSTargetFeatures()
234 options::OPT_fpie, options::OPT_fno_pie); in getMIPSTargetFeatures()
238 (O.matches(options::OPT_fno_PIC) || O.matches(options::OPT_fno_pic) || in getMIPSTargetFeatures()
239 O.matches(options::OPT_fno_PIE) || O.matches(options::OPT_fno_pie)); in getMIPSTargetFeatures()
241 (O.matches(options::OPT_fPIC) || O.matches(options::OPT_fpic) || in getMIPSTargetFeatures()
242 O.matches(options::OPT_fPIE) || O.matches(options::OPT_fpie)); in getMIPSTargetFeatures()
248 Args.getLastArg(options::OPT_mabicalls, options::OPT_mno_abicalls); in getMIPSTargetFeatures()
250 !ABICallsArg || ABICallsArg->getOption().matches(options::OPT_mabicalls); in getMIPSTargetFeatures()
266 if (Arg *A = Args.getLastArg(options::OPT_mlong_calls, in getMIPSTargetFeatures()
267 options::OPT_mno_long_calls)) { in getMIPSTargetFeatures()
268 if (A->getOption().matches(options::OPT_mno_long_calls)) in getMIPSTargetFeatures()
276 if (Arg *A = Args.getLastArg(options::OPT_mxgot, options::OPT_mno_xgot)) { in getMIPSTargetFeatures()
277 if (A->getOption().matches(options::OPT_mxgot)) in getMIPSTargetFeatures()
291 if (Arg *A = Args.getLastArg(options::OPT_mnan_EQ)) { in getMIPSTargetFeatures()
312 if (Arg *A = Args.getLastArg(options::OPT_mabs_EQ)) { in getMIPSTargetFeatures()
334 AddTargetFeature(Args, Features, options::OPT_msingle_float, in getMIPSTargetFeatures()
335 options::OPT_mdouble_float, "single-float"); in getMIPSTargetFeatures()
336 AddTargetFeature(Args, Features, options::OPT_mips16, options::OPT_mno_mips16, in getMIPSTargetFeatures()
338 AddTargetFeature(Args, Features, options::OPT_mmicromips, in getMIPSTargetFeatures()
339 options::OPT_mno_micromips, "micromips"); in getMIPSTargetFeatures()
340 AddTargetFeature(Args, Features, options::OPT_mdsp, options::OPT_mno_dsp, in getMIPSTargetFeatures()
342 AddTargetFeature(Args, Features, options::OPT_mdspr2, options::OPT_mno_dspr2, in getMIPSTargetFeatures()
344 AddTargetFeature(Args, Features, options::OPT_mmsa, options::OPT_mno_msa, in getMIPSTargetFeatures()
350 if (Arg *A = Args.getLastArg(options::OPT_mfp32, options::OPT_mfpxx, in getMIPSTargetFeatures()
351 options::OPT_mfp64)) { in getMIPSTargetFeatures()
352 if (A->getOption().matches(options::OPT_mfp32)) in getMIPSTargetFeatures()
354 else if (A->getOption().matches(options::OPT_mfpxx)) { in getMIPSTargetFeatures()
367 AddTargetFeature(Args, Features, options::OPT_mno_odd_spreg, in getMIPSTargetFeatures()
368 options::OPT_modd_spreg, "nooddspreg"); in getMIPSTargetFeatures()
369 AddTargetFeature(Args, Features, options::OPT_mno_madd4, options::OPT_mmadd4, in getMIPSTargetFeatures()
371 AddTargetFeature(Args, Features, options::OPT_mmt, options::OPT_mno_mt, "mt"); in getMIPSTargetFeatures()
372 AddTargetFeature(Args, Features, options::OPT_mcrc, options::OPT_mno_crc, in getMIPSTargetFeatures()
374 AddTargetFeature(Args, Features, options::OPT_mvirt, options::OPT_mno_virt, in getMIPSTargetFeatures()
376 AddTargetFeature(Args, Features, options::OPT_mginv, options::OPT_mno_ginv, in getMIPSTargetFeatures()
379 if (Arg *A = Args.getLastArg(options::OPT_mindirect_jump_EQ)) { in getMIPSTargetFeatures()
383 Args.getLastArg(options::OPT_mmicromips, options::OPT_mno_micromips); in getMIPSTargetFeatures()
384 Arg *C = Args.getLastArg(options::OPT_mips16, options::OPT_mno_mips16); in getMIPSTargetFeatures()
386 if (B && B->getOption().matches(options::OPT_mmicromips)) in getMIPSTargetFeatures()
389 else if (C && C->getOption().matches(options::OPT_mips16)) in getMIPSTargetFeatures()
435 Arg *A = Args.getLastArg(options::OPT_mabi_EQ); in hasMipsAbiArg()
440 Arg *A = Args.getLastArg(options::OPT_m_libc_Group); in isUCLibc()
441 return A && A->getOption().matches(options::OPT_muclibc); in isUCLibc()
446 if (Arg *NaNArg = Args.getLastArg(options::OPT_mnan_EQ)) in isNaN2008()
496 if (Arg *A = Args.getLastArg(options::OPT_msingle_float, in shouldUseFPXX()
497 options::OPT_mdouble_float)) in shouldUseFPXX()
498 if (A->getOption().matches(options::OPT_msingle_float)) in shouldUseFPXX()