Lines Matching refs:Arg
26 #include "llvm/Option/Arg.h"
91 const StringRef Arg = Args[I];
92 if (!Arg.startswith(OptName))
95 const StringRef Value = Arg.drop_front(OptName.size());
132 Arg *A = *it;
152 phases::ID Driver::getFinalPhase(const DerivedArgList &DAL, Arg **FinalPhaseArg)
154 Arg *PhaseArg = 0;
195 const Arg *A = *it;
312 if (const Arg *A = Args->getLastArg(options::OPT_ccc_gcc_name))
318 if (const Arg *A = Args->getLastArg(options::OPT_target))
320 if (const Arg *A = Args->getLastArg(options::OPT_ccc_install_dir))
324 const Arg *A = *it;
328 if (const Arg *A = Args->getLastArg(options::OPT__sysroot_EQ))
330 if (const Arg *A = Args->getLastArg(options::OPT__dyld_prefix_EQ))
335 if (const Arg *A = Args->getLastArg(options::OPT_resource_dir))
360 if (Arg *A = C->getArgs().getLastArg(options::OPT__SLASH_Fo)) {
482 Arg *A = *it;
629 Arg *A = *it;
754 if (Arg *A = C.getArgs().getLastArg(options::OPT_print_file_name_EQ)) {
759 if (Arg *A = C.getArgs().getLastArg(options::OPT_print_prog_name_EQ)) {
885 Arg *A = *it;
942 Arg *A = Args.getLastArg(options::OPT_g_Group);
982 if (Arg *WorkDir = Args.getLastArg(options::OPT_working_directory)) {
997 static Arg* MakeInputArg(const DerivedArgList &Args, OptTable *Opts,
1000 Arg *A = Opts->ParseOneArg(Args, Index);
1012 Arg *InputTypeArg = 0;
1015 if (Arg *TCTP = Args.getLastArg(options::OPT__SLASH_TC,
1028 if (Arg *OppositeArg = Args.getLastArg(opposite)) {
1039 Arg *A = *it;
1047 // If there was an explicit arg for this, claim it.
1111 Arg *InputArg = MakeInputArg(Args, Opts, A->getValue());
1118 Arg *InputArg = MakeInputArg(Args, Opts, A->getValue());
1144 Arg *A = MakeInputArg(Args, Opts, "-");
1158 Arg *FinalPhaseArg;
1163 if (Arg *A = Args.getLastArg(options::OPT_Z_Joined))
1172 const Arg *InputArg = Inputs[i].second;
1189 // by a command-line argument with a corresponding Arg.
1322 if (const Arg *A = Args.getLastArg(options::OPT_O_Group))
1331 Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o);
1353 Arg *A = *it;
1400 Arg *A = *it;
1487 const Arg &Input = IA->getInputArg();
1576 if (Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o))
1795 if (const Arg *A = Args.getLastArg(options::OPT_target))
1810 if (Arg *A = Args.getLastArg(options::OPT_arch)) {
1819 if (Arg *A = Args.getLastArg(options::OPT_EL, options::OPT_EB)) {
1841 if (Arg *A = Args.getLastArg(options::OPT_m32, options::OPT_m64)) {