Lines Matching refs:Args

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