Home | History | Annotate | Download | only in Driver

Lines Matching refs: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,
187 getLLVMArchSuffixForARM(getARMTargetCPU(Args, Triple));
193 Args.hasFlag(options::OPT_mthumb, options::OPT_mno_thumb, ThumbDefault))
202 std::string ToolChain::ComputeEffectiveClangTriple(const ArgList &Args,
205 if (Arg *A = Args.getLastArg(options::OPT_mmacosx_version_min_EQ,
209 << A->getAsString(Args);
211 return ComputeLLVMTriple(Args, InputType);
214 ToolChain::CXXStdlibType ToolChain::GetCXXStdlibType(const ArgList &Args) const{
215 if (Arg *A = Args.getLastArg(options::OPT_stdlib_EQ)) {
216 StringRef Value = A->getValue(Args);
222 << A->getAsString(Args);
228 void ToolChain::AddClangCXXStdlibIncludeArgs(const ArgList &Args,
231 CXXStdlibType Type = GetCXXStdlibType(Args);
248 void ToolChain::AddCXXStdlibLibArgs(const ArgList &Args,
250 CXXStdlibType Type = GetCXXStdlibType(Args);
263 void ToolChain::AddCCKextLibArgs(const ArgList &Args,