Home | History | Annotate | Download | only in Driver

Lines Matching full:args

74 static const char *getARMTargetCPU(const ArgList &Args,
79 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ))
80 return A->getValue(Args);
83 if (Arg *A = Args.getLastArg(options::OPT_march_EQ)) {
85 MArch = A->getValue(Args);
172 std::string ToolChain::ComputeLLVMTriple(const ArgList &Args) const {
186 getLLVMArchSuffixForARM(getARMTargetCPU(Args, Triple));
190 if (Args.hasFlag(options::OPT_mthumb, options::OPT_mno_thumb, ThumbDefault))
199 std::string ToolChain::ComputeEffectiveClangTriple(const ArgList &Args) const {
201 if (Arg *A = Args.getLastArg(options::OPT_mmacosx_version_min_EQ,
205 << A->getAsString(Args);
207 return ComputeLLVMTriple(Args);
210 ToolChain::CXXStdlibType ToolChain::GetCXXStdlibType(const ArgList &Args) const{
211 if (Arg *A = Args.getLastArg(options::OPT_stdlib_EQ)) {
212 llvm::StringRef Value = A->getValue(Args);
218 << A->getAsString(Args);
224 void ToolChain::AddClangCXXStdlibIncludeArgs(const ArgList &Args,
227 CXXStdlibType Type = GetCXXStdlibType(Args);
244 void ToolChain::AddCXXStdlibLibArgs(const ArgList &Args,
246 CXXStdlibType Type = GetCXXStdlibType(Args);
259 void ToolChain::AddCCKextLibArgs(const ArgList &Args,