Lines Matching refs:getOption
60 if (LastPICArg->getOption().matches(options::OPT_fPIC) || in addAssemblerKPIC()
61 LastPICArg->getOption().matches(options::OPT_fpic) || in addAssemblerKPIC()
62 LastPICArg->getOption().matches(options::OPT_fPIE) || in addAssemblerKPIC()
63 LastPICArg->getOption().matches(options::OPT_fpie)) { in addAssemblerKPIC()
223 if (A.getOption().matches(options::OPT_Z_reserved_lib_stdcxx)) in AddLinkerInputs()
225 else if (A.getOption().matches(options::OPT_Z_reserved_lib_cckext)) in AddLinkerInputs()
227 else if (A.getOption().matches(options::OPT_z)) { in AddLinkerInputs()
290 } else if (A->getOption().matches(options::OPT_M) || in AddPreprocessingOptions()
291 A->getOption().matches(options::OPT_MM)) { in AddPreprocessingOptions()
324 if (A->getOption().matches(options::OPT_M) || in AddPreprocessingOptions()
325 A->getOption().matches(options::OPT_MD)) in AddPreprocessingOptions()
334 if (!A || A->getOption().matches(options::OPT_MD) || in AddPreprocessingOptions()
335 A->getOption().matches(options::OPT_MMD)) in AddPreprocessingOptions()
349 if (A->getOption().matches(options::OPT_MQ)) { in AddPreprocessingOptions()
371 if (A->getOption().matches(options::OPT_include)) { in AddPreprocessingOptions()
624 if (A->getOption().matches(options::OPT_msoft_float)) in getARMFloatABI()
626 else if (A->getOption().matches(options::OPT_mhard_float)) in getARMFloatABI()
755 if (A->getOption().matches(options::OPT_mcrc)) in getARMTargetFeatures()
854 if (A->getOption().matches(options::OPT_mno_unaligned_access)) in AddARMTargetArgs()
868 if (A->getOption().matches(options::OPT_mno_global_merge)) in AddARMTargetArgs()
943 if (A->getOption().matches(options::OPT_mno_unaligned_access)) in AddAArch64TargetArgs()
952 if (A->getOption().matches(options::OPT_mfix_cortex_a53_835769)) in AddAArch64TargetArgs()
966 if (A->getOption().matches(options::OPT_mno_global_merge)) in AddAArch64TargetArgs()
1064 if (A->getOption().matches(options::OPT_msoft_float)) in getMipsFloatABI()
1066 else if (A->getOption().matches(options::OPT_mhard_float)) in getMipsFloatABI()
1093 if (A->getOption().matches(OnOpt)) in AddTargetFeature()
1137 << A->getOption().getName() << Val; in getMIPSTargetFeatures()
1157 if (A->getOption().matches(options::OPT_mfp32)) in getMIPSTargetFeatures()
1159 else if (A->getOption().matches(options::OPT_mfpxx)) { in getMIPSTargetFeatures()
1200 if (A->getOption().matches(options::OPT_mxgot)) { in AddMIPSTargetArgs()
1208 if (A->getOption().matches(options::OPT_mno_ldc1_sdc1)) { in AddMIPSTargetArgs()
1216 if (A->getOption().matches(options::OPT_mno_check_zero_division)) { in AddMIPSTargetArgs()
1299 StringRef Name = (*it)->getOption().getName(); in getPPCTargetFeatures()
1389 if (A->getOption().matches(options::OPT_mhard_float)) in getSparcTargetFeatures()
1404 if (A->getOption().matches(options::OPT_msoft_float)) in AddSparcTargetArgs()
1406 else if (A->getOption().matches(options::OPT_mhard_float)) in AddSparcTargetArgs()
1439 if (A->getOption().matches(options::OPT_mhtm)) in getSystemZTargetFeatures()
1655 StringRef Name = (*it)->getOption().getName(); in getX86TargetFeatures()
1687 const Option &O = A->getOption(); in AddX86TargetArgs()
1701 << A->getOption().getName() << Value; in AddX86TargetArgs()
1896 if (A->getOption().matches(options::OPT_mcrc)) in getAArch64TargetFeatures()
1990 if (A->getOption().matches(options::OPT_fexceptions)) in exceptionSettings()
2041 ExceptionArg->getOption().matches(options::OPT_fcxx_exceptions) || in addExceptionArgs()
2042 ExceptionArg->getOption().matches(options::OPT_fexceptions); in addExceptionArgs()
2108 RelaxDefault = A->getOption().matches(options::OPT_O0); in UseRelaxAll()
2179 << A->getOption().getName() << Value; in CollectArgsForIntegratedAssembler()
2366 return !A->getOption().matches(options::OPT_O0); in areOptimizationsEnabled()
2412 return A->getOption().matches(options::OPT_fno_omit_frame_pointer); in shouldUseFramePointer()
2421 return A->getOption().matches(options::OPT_mno_omit_leaf_frame_pointer); in shouldUseLeafFramePointer()
2485 if (A->getOption().matches(options::OPT_O4) || in shouldEnableVectorizerAtOLevel()
2486 A->getOption().matches(options::OPT_Ofast)) in shouldEnableVectorizerAtOLevel()
2489 if (A->getOption().matches(options::OPT_O0)) in shouldEnableVectorizerAtOLevel()
2492 assert(A->getOption().matches(options::OPT_O) && "Must have a -O flag"); in shouldEnableVectorizerAtOLevel()
2840 Option O = LastPICArg->getOption(); in ConstructJob()
2948 } else if (A->getOption().matches(options::OPT_fpcc_struct_return)) { in ConstructJob()
2951 assert(A->getOption().matches(options::OPT_freg_struct_return)); in ConstructJob()
3006 if (A->getOption().getID() != options::OPT_fno_fast_math && in ConstructJob()
3007 A->getOption().getID() != options::OPT_fno_finite_math_only && in ConstructJob()
3008 A->getOption().getID() != options::OPT_fhonor_infinities) in ConstructJob()
3016 if (A->getOption().getID() != options::OPT_fno_fast_math && in ConstructJob()
3017 A->getOption().getID() != options::OPT_fno_finite_math_only && in ConstructJob()
3018 A->getOption().getID() != options::OPT_fhonor_nans) in ConstructJob()
3030 if (A->getOption().getID() == options::OPT_fno_math_errno || in ConstructJob()
3031 A->getOption().getID() == options::OPT_ffast_math || in ConstructJob()
3032 A->getOption().getID() == options::OPT_Ofast) in ConstructJob()
3034 else if (A->getOption().getID() == options::OPT_fmath_errno) in ConstructJob()
3051 if (A->getOption().getID() != options::OPT_fno_fast_math && in ConstructJob()
3052 A->getOption().getID() != options::OPT_fno_unsafe_math_optimizations && in ConstructJob()
3053 A->getOption().getID() != options::OPT_fno_associative_math) in ConstructJob()
3062 if (A->getOption().getID() != options::OPT_fno_fast_math && in ConstructJob()
3063 A->getOption().getID() != options::OPT_fno_unsafe_math_optimizations && in ConstructJob()
3064 A->getOption().getID() != options::OPT_fno_reciprocal_math) in ConstructJob()
3073 if (A->getOption().getID() != options::OPT_fno_fast_math && in ConstructJob()
3074 A->getOption().getID() != options::OPT_fno_unsafe_math_optimizations && in ConstructJob()
3075 A->getOption().getID() != options::OPT_fsigned_zeros) in ConstructJob()
3084 if (A->getOption().getID() != options::OPT_fno_fast_math && in ConstructJob()
3085 A->getOption().getID() != options::OPT_fno_unsafe_math_optimizations && in ConstructJob()
3086 A->getOption().getID() != options::OPT_ftrapping_math) in ConstructJob()
3102 if (A->getOption().getID() == options::OPT_ffp_contract) { in ConstructJob()
3108 << A->getOption().getName() << Val; in ConstructJob()
3110 } else if (A->getOption().matches(options::OPT_ffast_math) || in ConstructJob()
3111 (OFastEnabled && A->getOption().matches(options::OPT_Ofast))) { in ConstructJob()
3124 if (!A->getOption().matches(options::OPT_fno_fast_math)) in ConstructJob()
3128 if (A->getOption().matches(options::OPT_ffinite_math_only)) in ConstructJob()
3283 << Unsupported->getOption().getName(); in ConstructJob()
3307 if (A->getOption().matches(options::OPT_gline_tables_only) || in ConstructJob()
3308 A->getOption().matches(options::OPT_g1)) { in ConstructJob()
3318 } else if (A->getOption().matches(options::OPT_gdwarf_2)) in ConstructJob()
3320 else if (A->getOption().matches(options::OPT_gdwarf_3)) in ConstructJob()
3322 else if (A->getOption().matches(options::OPT_gdwarf_4)) in ConstructJob()
3324 else if (!A->getOption().matches(options::OPT_g0) && in ConstructJob()
3325 !A->getOption().matches(options::OPT_ggdb0)) { in ConstructJob()
3466 switch (A->getOption().getID()) { in ConstructJob()
3545 if (A->getOption().matches(options::OPT_O4)) { in ConstructJob()
3575 if (Std->getOption().matches(options::OPT_ansi)) in ConstructJob()
3622 WriteStrings->getOption().matches(options::OPT_Wwrite_strings)) in ConstructJob()
3637 if (Asm->getOption().matches(options::OPT_fasm)) in ConstructJob()
3741 if (A->getOption().matches(options::OPT_fvisibility_EQ)) { in ConstructJob()
3745 assert(A->getOption().matches(options::OPT_fvisibility_ms_compat)); in ConstructJob()
3814 if (A->getOption().matches(options::OPT_fwrapv)) in ConstructJob()
3818 if (A->getOption().matches(options::OPT_fno_strict_overflow)) in ConstructJob()
3824 if (A->getOption().matches(options::OPT_freroll_loops)) in ConstructJob()
3840 if (A->getOption().matches(options::OPT_fstack_protector)) { in ConstructJob()
3843 } else if (A->getOption().matches(options::OPT_fstack_protector_strong)) in ConstructJob()
3845 else if (A->getOption().matches(options::OPT_fstack_protector_all)) in ConstructJob()
3901 if (A->getOption().matches(options::OPT_mrestrict_it)) { in ConstructJob()
3919 if (A->getOption().matches(options::OPT_mlong_calls)) { in ConstructJob()
4437 if (A->getOption().matches( in ConstructJob()
4450 const Option &O = Arg->getOption(); in ConstructJob()
4540 if (A->getOption().matches(options::OPT_fdollars_in_identifiers)) in ConstructJob()
4550 if (A->getOption().matches(options::OPT_fno_unit_at_a_time)) in ConstructJob()
4746 runtimeArg->getOption().matches(options::OPT_fobjc_runtime_EQ)) { in AddObjCRuntimeArgs()
4831 } else if (runtimeArg->getOption().matches(options::OPT_fnext_runtime)) { in AddObjCRuntimeArgs()
4843 assert(runtimeArg->getOption().matches(options::OPT_fgnu_runtime)); in AddObjCRuntimeArgs()
4905 RTOptionID = A->getOption().getID(); in AddClangCLArgs()
4974 VolatileOptionID = A->getOption().getID(); in AddClangCLArgs()
5100 if (!A->getOption().matches(options::OPT_g0)) in ConstructJob()
5199 if (forwardToGCC(A->getOption())) { in ConstructJob()
5202 A->getOption().matches(options::OPT_g_Group)) in ConstructJob()
5207 A->getOption().matches(options::OPT_W_Group)) in ConstructJob()
5283 if (A.getOption().matches(options::OPT_Z_reserved_lib_stdcxx)) { in ConstructJob()
5693 return A && A->getOption().matches(options::OPT_muclibc); in isUCLibc()
6093 if (A->getOption().matches(options::OPT_fpie) || in AddLinkArgs()
6094 A->getOption().matches(options::OPT_fPIE)) in AddLinkArgs()
6224 << A->getOption().getName() << A->getValue(); in ConstructJob()
7507 if (A->getOption().matches(options::OPT_fPIC) || in ConstructJob()
7508 A->getOption().matches(options::OPT_fpic) || in ConstructJob()
7509 A->getOption().matches(options::OPT_fPIE) || in ConstructJob()
7510 A->getOption().matches(options::OPT_fpie)) in ConstructJob()
7544 if (A->getOption().matches(options::OPT_mips16)) { in ConstructJob()
7561 if (A->getOption().matches(options::OPT_mmsa)) in ConstructJob()
7938 << A->getOption().getName() << A->getValue(); in ConstructJob()
8528 if (A.getOption().matches(options::OPT_l)) { in ConstructJob()
8594 if (A->getOption().getID() == options::OPT_O0) { in GetCommand()
8613 CmdArgs.push_back(A->getOption().getID() == options::OPT_ffunction_sections in GetCommand()
8619 A->getOption().getID() == options::OPT_fdata_sections ? "/Gw" : "/Gw-"); in GetCommand()
8685 if (!A->getOption().matches(options::OPT_g0)) in ConstructJob()