Lines Matching refs:Args
27 std::string m68k::getM68kTargetCPU(const ArgList &Args) { in getM68kTargetCPU() argument
28 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) { in getM68kTargetCPU()
52 if (Args.hasArg(clang::driver::options::OPT_m68000)) in getM68kTargetCPU()
54 if (Args.hasArg(clang::driver::options::OPT_m68010)) in getM68kTargetCPU()
56 if (Args.hasArg(clang::driver::options::OPT_m68020)) in getM68kTargetCPU()
58 if (Args.hasArg(clang::driver::options::OPT_m68030)) in getM68kTargetCPU()
60 if (Args.hasArg(clang::driver::options::OPT_m68040)) in getM68kTargetCPU()
62 if (Args.hasArg(clang::driver::options::OPT_m68060)) in getM68kTargetCPU()
68 static void addFloatABIFeatures(const llvm::opt::ArgList &Args, in addFloatABIFeatures() argument
70 Arg *A = Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in addFloatABIFeatures()
79 std::string CPU = m68k::getM68kTargetCPU(Args); in addFloatABIFeatures()
94 const ArgList &Args, in getM68kTargetFeatures() argument
96 addFloatABIFeatures(Args, Features); in getM68kTargetFeatures()
99 if (Args.hasArg(options::OPT_ffixed_a0)) in getM68kTargetFeatures()
101 if (Args.hasArg(options::OPT_ffixed_a1)) in getM68kTargetFeatures()
103 if (Args.hasArg(options::OPT_ffixed_a2)) in getM68kTargetFeatures()
105 if (Args.hasArg(options::OPT_ffixed_a3)) in getM68kTargetFeatures()
107 if (Args.hasArg(options::OPT_ffixed_a4)) in getM68kTargetFeatures()
109 if (Args.hasArg(options::OPT_ffixed_a5)) in getM68kTargetFeatures()
111 if (Args.hasArg(options::OPT_ffixed_a6)) in getM68kTargetFeatures()
113 if (Args.hasArg(options::OPT_ffixed_d0)) in getM68kTargetFeatures()
115 if (Args.hasArg(options::OPT_ffixed_d1)) in getM68kTargetFeatures()
117 if (Args.hasArg(options::OPT_ffixed_d2)) in getM68kTargetFeatures()
119 if (Args.hasArg(options::OPT_ffixed_d3)) in getM68kTargetFeatures()
121 if (Args.hasArg(options::OPT_ffixed_d4)) in getM68kTargetFeatures()
123 if (Args.hasArg(options::OPT_ffixed_d5)) in getM68kTargetFeatures()
125 if (Args.hasArg(options::OPT_ffixed_d6)) in getM68kTargetFeatures()
127 if (Args.hasArg(options::OPT_ffixed_d7)) in getM68kTargetFeatures()