Lines Matching refs:getOption

339       return A->getOption().matches(Opt) ? Value : OtherValue;  in makeBooleanOptionNormalizer()
703 if (A->getOption().matches(options::OPT_O0)) in getOptimizationLevel()
706 if (A->getOption().matches(options::OPT_Ofast)) in getOptimizationLevel()
709 assert(A->getOption().matches(options::OPT_O)); in getOptimizationLevel()
726 if (A->getOption().matches(options::OPT_O)) { in getOptimizationLevelSize()
742 Option Opt = getDriverOptTable().getOption(OptSpecifier); in GenerateArg()
750 Option Opt = getDriverOptTable().getOption(OptSpecifier); in GenerateArg()
937 if (A->getOption().getKind() == Option::FlagClass) { in addDiagnosticArgs()
941 std::string(A->getOption().getName().drop_front(1))); in addDiagnosticArgs()
942 } else if (A->getOption().matches(GroupWithValue)) { in addDiagnosticArgs()
946 std::string(A->getOption().getName().drop_front(1).rtrim("=-"))); in addDiagnosticArgs()
1131 bool IsEnabled = A->getOption().getID() == OPT_analyzer_checker; in ParseAnalyzerArgs()
1347 if (A->getOption().matches(OPT_R_Joined)) { in ParseOptimizationRemark()
1368 } else if (A->getOption().matches(OptEQ)) { in ParseOptimizationRemark()
1811 if (A->getOption().matches(options::OPT_finline_functions)) in ParseCodeGenArgs()
1813 else if (A->getOption().matches(options::OPT_finline_hint_functions)) in ParseCodeGenArgs()
1850 if (A->getOption().matches(OPT_fuse_ctor_homing) && in ParseCodeGenArgs()
1853 if (A->getOption().matches(OPT_fno_use_ctor_homing) && in ParseCodeGenArgs()
1918 if (A->getOption().getID() == OPT_ftime_report_EQ) { in ParseCodeGenArgs()
1983 if (A->getOption().getID() == options::OPT_o || in ParseCodeGenArgs()
1984 A->getOption().getID() == options::OPT_INPUT || in ParseCodeGenArgs()
1985 A->getOption().getID() == options::OPT_x || in ParseCodeGenArgs()
1986 A->getOption().getID() == options::OPT_fembed_bitcode || in ParseCodeGenArgs()
1987 A->getOption().matches(options::OPT_W_Group)) in ParseCodeGenArgs()
2046 if (A->getOption().matches(OPT_mlink_builtin_bitcode)) { in ParseCodeGenArgs()
2082 const Option &O = A->getOption(); in ParseCodeGenArgs()
2346 const Option &O = A->getOption(); in parseShowColorsArgs()
2741 Option Opt = getDriverOptTable().getOption(OPT_plugin_arg); in GenerateFrontendArgs()
2861 OptSpecifier Opt = OptSpecifier(A->getOption().getID()); in ParseFrontendArgs()
2924 if (AA->getOption().matches(OPT_main_file_name)) { in ParseFrontendArgs()
2929 if (!A->getOption().matches(OPT_ast_dump_EQ)) in ParseFrontendArgs()
3315 if (A->getOption().matches(OPT_index_header_map)) { in ParseHeaderSearchArgs()
3324 bool IsFramework = A->getOption().matches(OPT_F); in ParseHeaderSearchArgs()
3334 if (A->getOption().matches(OPT_iprefix)) in ParseHeaderSearchArgs()
3336 else if (A->getOption().matches(OPT_iwithprefix)) in ParseHeaderSearchArgs()
3348 if (A->getOption().matches(OPT_iwithsysroot)) { in ParseHeaderSearchArgs()
3375 if (A->getOption().matches(OPT_internal_externc_isystem)) in ParseHeaderSearchArgs()
3384 A->getValue(), A->getOption().matches(OPT_system_header_prefix)); in ParseHeaderSearchArgs()
3983 if (!weakArg->getOption().matches(OPT_fobjc_weak)) { in ParseLangArgs()
4060 if (A->getOption().matches(options::OPT_mlong_double_64)) in ParseLangArgs()
4062 else if (A->getOption().matches(options::OPT_mlong_double_80)) in ParseLangArgs()
4064 else if (A->getOption().matches(options::OPT_mlong_double_128)) in ParseLangArgs()
4237 if (InlineArg->getOption().matches(options::OPT_fno_inline)) in ParseLangArgs()
4628 if (A->getOption().matches(OPT_D)) in ParsePreprocessorArgs()