Lines Matching refs:getOption
181 if (A.getOption().matches(options::OPT_Z_reserved_lib_stdcxx)) { in AddLinkerInputs()
183 } else if (A.getOption().matches(options::OPT_Z_reserved_lib_cckext)) { in AddLinkerInputs()
260 } else if (A->getOption().matches(options::OPT_M) || in AddPreprocessingOptions()
261 A->getOption().matches(options::OPT_MM)) { in AddPreprocessingOptions()
294 if (A->getOption().matches(options::OPT_M) || in AddPreprocessingOptions()
295 A->getOption().matches(options::OPT_MD)) in AddPreprocessingOptions()
300 if (!A || A->getOption().matches(options::OPT_MD) || in AddPreprocessingOptions()
301 A->getOption().matches(options::OPT_MMD)) in AddPreprocessingOptions()
315 if (A->getOption().matches(options::OPT_MQ)) { in AddPreprocessingOptions()
337 if (A->getOption().matches(options::OPT_include)) { in AddPreprocessingOptions()
642 if (A->getOption().matches(options::OPT_msoft_float)) in getARMFloatABI()
644 else if (A->getOption().matches(options::OPT_mhard_float)) in getARMFloatABI()
831 if (A->getOption().matches(options::OPT_mno_global_merge)) in AddARMTargetArgs()
843 if (A.getOption().matches(options::OPT_mips32)) in getMipsCPUFromAlias()
845 if (A.getOption().matches(options::OPT_mips32r2)) in getMipsCPUFromAlias()
847 if (A.getOption().matches(options::OPT_mips64)) in getMipsCPUFromAlias()
849 if (A.getOption().matches(options::OPT_mips64r2)) in getMipsCPUFromAlias()
867 if (A->getOption().matches(options::OPT_mips_CPUs_Group)) in getMipsCPUAndABI()
932 if (A->getOption().matches(options::OPT_msoft_float)) in getMipsFloatABI()
934 else if (A->getOption().matches(options::OPT_mhard_float)) in getMipsFloatABI()
963 if (A->getOption().matches(OnOpt)) in AddTargetFeature()
1028 if (A->getOption().matches(options::OPT_mxgot)) { in AddMIPSTargetArgs()
1036 if (A->getOption().matches(options::OPT_mno_ldc1_sdc1)) { in AddMIPSTargetArgs()
1044 if (A->getOption().matches(options::OPT_mno_check_zero_division)) { in AddMIPSTargetArgs()
1205 if (A->getOption().matches(options::OPT_msoft_float)) in AddSparcTargetArgs()
1207 else if (A->getOption().matches(options::OPT_mhard_float)) in AddSparcTargetArgs()
1312 const Option &O = A->getOption(); in AddX86TargetArgs()
1334 StringRef Name = (*it)->getOption().getName(); in AddX86TargetArgs()
1465 if (A->getOption().matches(options::OPT_fexceptions)) in addExceptionArgs()
1499 if (A->getOption().matches(options::OPT_fcxx_exceptions)) in addExceptionArgs()
1501 else if (A->getOption().matches(options::OPT_fno_cxx_exceptions)) in addExceptionArgs()
1567 RelaxDefault = A->getOption().matches(options::OPT_O0); in UseRelaxAll()
1613 << A->getOption().getName() << Value; in CollectArgsForIntegratedAssembler()
1703 if (BLArg->getOption().matches(options::OPT_fsanitize_blacklist)) { in SanitizerArgs()
1867 return A->getOption().matches(options::OPT_fno_omit_frame_pointer); in shouldUseFramePointer()
1875 if (!A->getOption().matches(options::OPT_O0)) in shouldUseFramePointer()
1886 return A->getOption().matches(options::OPT_mno_omit_leaf_frame_pointer); in shouldUseLeafFramePointer()
1894 if (!A->getOption().matches(options::OPT_O0)) in shouldUseLeafFramePointer()
1970 if (A->getOption().matches(options::OPT_Ofast)) in isOptimizationLevelFast()
2150 Option O = LastPICArg->getOption(); in ConstructJob()
2232 } else if (A->getOption().matches(options::OPT_fpcc_struct_return)) { in ConstructJob()
2235 assert(A->getOption().matches(options::OPT_freg_struct_return)); in ConstructJob()
2287 if (A->getOption().getID() != options::OPT_fno_fast_math && in ConstructJob()
2288 A->getOption().getID() != options::OPT_fno_finite_math_only && in ConstructJob()
2289 A->getOption().getID() != options::OPT_fhonor_infinities) in ConstructJob()
2297 if (A->getOption().getID() != options::OPT_fno_fast_math && in ConstructJob()
2298 A->getOption().getID() != options::OPT_fno_finite_math_only && in ConstructJob()
2299 A->getOption().getID() != options::OPT_fhonor_nans) in ConstructJob()
2311 if (A->getOption().getID() == options::OPT_fno_math_errno || in ConstructJob()
2312 A->getOption().getID() == options::OPT_ffast_math || in ConstructJob()
2313 A->getOption().getID() == options::OPT_Ofast) in ConstructJob()
2315 else if (A->getOption().getID() == options::OPT_fmath_errno) in ConstructJob()
2332 if (A->getOption().getID() != options::OPT_fno_fast_math && in ConstructJob()
2333 A->getOption().getID() != options::OPT_fno_unsafe_math_optimizations && in ConstructJob()
2334 A->getOption().getID() != options::OPT_fno_associative_math) in ConstructJob()
2343 if (A->getOption().getID() != options::OPT_fno_fast_math && in ConstructJob()
2344 A->getOption().getID() != options::OPT_fno_unsafe_math_optimizations && in ConstructJob()
2345 A->getOption().getID() != options::OPT_fno_reciprocal_math) in ConstructJob()
2354 if (A->getOption().getID() != options::OPT_fno_fast_math && in ConstructJob()
2355 A->getOption().getID() != options::OPT_fno_unsafe_math_optimizations && in ConstructJob()
2356 A->getOption().getID() != options::OPT_fsigned_zeros) in ConstructJob()
2365 if (A->getOption().getID() != options::OPT_fno_fast_math && in ConstructJob()
2366 A->getOption().getID() != options::OPT_fno_unsafe_math_optimizations && in ConstructJob()
2367 A->getOption().getID() != options::OPT_ftrapping_math) in ConstructJob()
2378 if (A->getOption().getID() == options::OPT_ffp_contract) { in ConstructJob()
2384 << A->getOption().getName() << Val; in ConstructJob()
2386 } else if (A->getOption().matches(options::OPT_ffast_math) || in ConstructJob()
2387 (OFastEnabled && A->getOption().matches(options::OPT_Ofast))) { in ConstructJob()
2400 if (!A->getOption().matches(options::OPT_fno_fast_math)) in ConstructJob()
2403 if (A->getOption().matches(options::OPT_ffinite_math_only)) in ConstructJob()
2533 << Unsupported->getOption().getName(); in ConstructJob()
2557 if (A->getOption().matches(options::OPT_gline_tables_only)) in ConstructJob()
2559 else if (A->getOption().matches(options::OPT_gdwarf_2)) in ConstructJob()
2561 else if (A->getOption().matches(options::OPT_gdwarf_3)) in ConstructJob()
2563 else if (A->getOption().matches(options::OPT_gdwarf_4)) in ConstructJob()
2565 else if (!A->getOption().matches(options::OPT_g0) && in ConstructJob()
2566 !A->getOption().matches(options::OPT_ggdb0)) { in ConstructJob()
2646 switch (A->getOption().getID()) { in ConstructJob()
2708 if (A->getOption().matches(options::OPT_O4)) in ConstructJob()
2730 if (Std->getOption().matches(options::OPT_ansi)) in ConstructJob()
2778 if (Asm->getOption().matches(options::OPT_fasm)) in ConstructJob()
2875 if (A->getOption().matches(options::OPT_fvisibility_EQ)) { in ConstructJob()
2879 assert(A->getOption().matches(options::OPT_fvisibility_ms_compat)); in ConstructJob()
2962 if (A->getOption().matches(options::OPT_fwrapv)) in ConstructJob()
2966 if (A->getOption().matches(options::OPT_fno_strict_overflow)) in ConstructJob()
2980 if (A->getOption().matches(options::OPT_fstack_protector)) in ConstructJob()
2982 else if (A->getOption().matches(options::OPT_fstack_protector_all)) in ConstructJob()
3384 if (A->getOption().matches( in ConstructJob()
3398 const Option &O = (*it)->getOption(); in ConstructJob()
3477 if (A->getOption().matches(options::OPT_fdollars_in_identifiers)) in ConstructJob()
3487 if (A->getOption().matches(options::OPT_fno_unit_at_a_time)) in ConstructJob()
3689 runtimeArg->getOption().matches(options::OPT_fobjc_runtime_EQ)) { in AddObjCRuntimeArgs()
3774 } else if (runtimeArg->getOption().matches(options::OPT_fnext_runtime)) { in AddObjCRuntimeArgs()
3786 assert(runtimeArg->getOption().matches(options::OPT_fgnu_runtime)); in AddObjCRuntimeArgs()
3870 if (!A->getOption().matches(options::OPT_g0)) in ConstructJob()
3938 if (forwardToGCC(A->getOption())) { in ConstructJob()
3941 A->getOption().matches(options::OPT_g_Group)) in ConstructJob()
4028 if (A.getOption().matches(options::OPT_Z_reserved_lib_stdcxx)) { in ConstructJob()
4636 if (A->getOption().matches(options::OPT_fpie) || in AddLinkArgs()
4637 A->getOption().matches(options::OPT_fPIE)) in AddLinkArgs()
5548 (LastPICArg->getOption().matches(options::OPT_fPIC) || in ConstructJob()
5549 LastPICArg->getOption().matches(options::OPT_fpic) || in ConstructJob()
5550 LastPICArg->getOption().matches(options::OPT_fPIE) || in ConstructJob()
5551 LastPICArg->getOption().matches(options::OPT_fpie))) { in ConstructJob()
5978 (LastPICArg->getOption().matches(options::OPT_fPIC) || in ConstructJob()
5979 LastPICArg->getOption().matches(options::OPT_fpic) || in ConstructJob()
5980 LastPICArg->getOption().matches(options::OPT_fPIE) || in ConstructJob()
5981 LastPICArg->getOption().matches(options::OPT_fpie))) { in ConstructJob()