Lines Matching defs:Args
31 const ArgList &Args) {
33 Args.hasArg(options::OPT_menable_experimental_extensions);
47 Features.push_back(Args.MakeArgString(Str));
50 Features.push_back(Args.MakeArgString("+experimental"));
73 const ArgList &Args,
75 std::string MArch = getRISCVArch(Args, Triple);
77 if (!getArchFeatures(D, MArch, Features, Args))
85 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) {
99 if (Args.hasArg(options::OPT_ffixed_x1))
101 if (Args.hasArg(options::OPT_ffixed_x2))
103 if (Args.hasArg(options::OPT_ffixed_x3))
105 if (Args.hasArg(options::OPT_ffixed_x4))
107 if (Args.hasArg(options::OPT_ffixed_x5))
109 if (Args.hasArg(options::OPT_ffixed_x6))
111 if (Args.hasArg(options::OPT_ffixed_x7))
113 if (Args.hasArg(options::OPT_ffixed_x8))
115 if (Args.hasArg(options::OPT_ffixed_x9))
117 if (Args.hasArg(options::OPT_ffixed_x10))
119 if (Args.hasArg(options::OPT_ffixed_x11))
121 if (Args.hasArg(options::OPT_ffixed_x12))
123 if (Args.hasArg(options::OPT_ffixed_x13))
125 if (Args.hasArg(options::OPT_ffixed_x14))
127 if (Args.hasArg(options::OPT_ffixed_x15))
129 if (Args.hasArg(options::OPT_ffixed_x16))
131 if (Args.hasArg(options::OPT_ffixed_x17))
133 if (Args.hasArg(options::OPT_ffixed_x18))
135 if (Args.hasArg(options::OPT_ffixed_x19))
137 if (Args.hasArg(options::OPT_ffixed_x20))
139 if (Args.hasArg(options::OPT_ffixed_x21))
141 if (Args.hasArg(options::OPT_ffixed_x22))
143 if (Args.hasArg(options::OPT_ffixed_x23))
145 if (Args.hasArg(options::OPT_ffixed_x24))
147 if (Args.hasArg(options::OPT_ffixed_x25))
149 if (Args.hasArg(options::OPT_ffixed_x26))
151 if (Args.hasArg(options::OPT_ffixed_x27))
153 if (Args.hasArg(options::OPT_ffixed_x28))
155 if (Args.hasArg(options::OPT_ffixed_x29))
157 if (Args.hasArg(options::OPT_ffixed_x30))
159 if (Args.hasArg(options::OPT_ffixed_x31))
164 if (Args.hasFlag(options::OPT_mrelax, options::OPT_mno_relax, false)) {
169 if (getDebugFissionKind(D, Args, A) != DwarfFissionKind::None)
171 << A->getAsString(Args);
180 if (const Arg *A = Args.getLastArg(
197 if (const Arg *A = Args.getLastArg(
212 handleTargetFeaturesGroup(D, Triple, Args, Features,
216 StringRef riscv::getRISCVABI(const ArgList &Args, const llvm::Triple &Triple) {
240 if (const Arg *A = Args.getLastArg(options::OPT_mabi_EQ))
251 std::string Arch = getRISCVArch(Args, Triple);
277 std::string riscv::getRISCVArch(const llvm::opt::ArgList &Args,
308 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ))
312 if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) {
344 if (const Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) {
381 std::string riscv::getRISCVTargetCPU(const llvm::opt::ArgList &Args,
385 if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ))