HomeSort by relevance Sort by last modified time
    Searched refs:Args (Results 26 - 50 of 231) sorted by null

12 3 4 5 6 7 8 910

  /external/clang/tools/driver/
cc1as_main.cpp 137 OwningPtr<InputArgList> Args(
143 << Args->getArgString(MissingArgIndex) << MissingArgCount;
146 for (arg_iterator it = Args->filtered_begin(cc1asoptions::OPT_UNKNOWN),
147 ie = Args->filtered_end(); it != ie; ++it)
148 Diags.Report(diag::err_drv_unknown_argument) << (*it) ->getAsString(*Args);
153 Opts.Triple = Triple::normalize(Args->getLastArgValue(OPT_triple));
158 Opts.IncludePaths = Args->getAllArgValues(OPT_I);
159 Opts.NoInitialTextSection = Args->hasArg(OPT_n);
160 Opts.SaveTemporaryLabels = Args->hasArg(OPT_L);
163 if (Args->hasArg(OPT_INPUT))
    [all...]
  /external/clang/include/clang/Driver/
Arg.h 86 const char *getValue(const ArgList &Args, unsigned N=0) const {
102 void render(const ArgList &Args, ArgStringList &Output) const;
108 void renderAsInput(const ArgList &Args, ArgStringList &Output) const;
116 std::string getAsString(const ArgList &Args) const;
ArgList.h 37 const ArgList &Args;
61 : Current(it), Args(_Args), Id0(_Id0), Id1(_Id1), Id2(_Id2) {
109 arglist_type Args;
123 arglist_type &getArgs() { return Args; }
124 const arglist_type &getArgs() const { return Args; }
126 unsigned size() const { return Args.size(); }
132 iterator begin() { return Args.begin(); }
133 iterator end() { return Args.end(); }
135 reverse_iterator rbegin() { return Args.rbegin(); }
136 reverse_iterator rend() { return Args.rend();
    [all...]
Driver.h 181 DerivedArgList *TranslateInputArgs(const InputArgList &Args) const;
240 Compilation *BuildCompilation(ArrayRef<const char *> Args);
247 InputArgList *ParseArgStrings(ArrayRef<const char *> Args);
253 /// \param Args - The input arguments.
256 void BuildInputs(const ToolChain &TC, const DerivedArgList &Args,
263 /// \param Args - The input arguments.
265 void BuildActions(const ToolChain &TC, const DerivedArgList &Args,
272 /// \param Args - The input arguments.
274 void BuildUniversalActions(const ToolChain &TC, const DerivedArgList &Args,
312 void PrintOptions(const ArgList &Args) const
    [all...]
Compilation.h 36 InputArgList *Args;
64 InputArgList *Args, DerivedArgList *TranslatedArgs);
71 const InputArgList &getInputArgs() const { return *Args; }
Option.h 161 virtual Arg *accept(const ArgList &Args, unsigned &Index) const = 0;
174 virtual Arg *accept(const ArgList &Args, unsigned &Index) const;
189 virtual Arg *accept(const ArgList &Args, unsigned &Index) const;
202 virtual Arg *accept(const ArgList &Args, unsigned &Index) const;
217 virtual Arg *accept(const ArgList &Args, unsigned &Index) const;
230 virtual Arg *accept(const ArgList &Args, unsigned &Index) const;
243 virtual Arg *accept(const ArgList &Args, unsigned &Index) const;
256 virtual Arg *accept(const ArgList &Args, unsigned &Index) const;
277 virtual Arg *accept(const ArgList &Args, unsigned &Index) const;
292 virtual Arg *accept(const ArgList &Args, unsigned &Index) const
    [all...]
  /external/llvm/tools/bugpoint/
OptimizerDriver.cpp 95 static cl::list<std::string> OptArgs("opt-args", cl::Positional,
159 SmallVector<const char*, 8> Args;
162 Args.push_back("valgrind");
163 Args.push_back("--error-exitcode=1");
164 Args.push_back("-q");
165 Args.push_back(tool.c_str());
167 Args.push_back(Opt.c_str());
169 Args.push_back("-o");
170 Args.push_back(OutputFilename.c_str());
172 Args.push_back(OptArgs[i].c_str())
    [all...]
ToolRunner.h 53 const std::vector<std::string> *Args);
63 const std::vector<std::string> &Args,
92 const std::vector<std::string> *Args = 0,
96 const std::vector<std::string> *Args = 0,
101 const std::vector<std::string> *Args=0);
104 const std::vector<std::string> *Args=0);
141 const std::vector<std::string> &Args,
158 std::vector<std::string> ToolArgs; // Extra args to pass to LLC.
162 const std::vector<std::string> *Args)
165 if (Args) ToolArgs = *Args
    [all...]
ToolRunner.cpp 57 const char **Args,
72 for (unsigned i = 0; Args[i]; ++i)
73 errs() << " " << Args[i];
79 sys::Program::ExecuteAndWait(ProgramPath, Args, 0, redirects,
90 const char **Args,
104 for (unsigned i = 0; Args[i]; ++i)
105 errs() << " " << Args[i];
111 int ReturnCode = sys::Program::ExecuteAndWait(RemoteClientPath, Args,
118 for (const char **Arg = Args; *Arg; ++Arg)
137 static std::string ProcessFailure(sys::Path ProgPath, const char** Args,
    [all...]
  /external/clang/lib/CodeGen/
CGCUDANV.cpp 43 void EmitDeviceStubBody(CodeGenFunction &CGF, FunctionArgList &Args);
80 FunctionArgList &Args) {
84 for (FunctionArgList::const_iterator I = Args.begin(), E = Args.end();
98 for (unsigned I = 0, E = Args.size(); I != E; ++I) {
99 llvm::Value *Args[3];
101 Args[0] = CGF.Builder.CreatePointerCast(ArgValues[I], VoidPtrTy);
102 Args[1] = CGF.Builder.CreateIntCast(
105 Args[2] = CGF.Builder.CreateIntCast(
108 llvm::CallSite CS = CGF.EmitCallOrInvoke(cudaSetupArgFn, Args);
    [all...]
CGCall.h 130 ArgInfo *Args;
144 ~CGFunctionInfo() { delete[] Args; }
146 const_arg_iterator arg_begin() const { return Args + 1; }
147 const_arg_iterator arg_end() const { return Args + 1 + NumArgs; }
148 arg_iterator arg_begin() { return Args + 1; }
149 arg_iterator arg_end() { return Args + 1 + NumArgs; }
175 CanQualType getReturnType() const { return Args[0].type; }
177 ABIArgInfo &getReturnInfo() { return Args[0].info; }
178 const ABIArgInfo &getReturnInfo() const { return Args[0].info; }
CGCUDARuntime.h 44 FunctionArgList &Args) = 0;
  /external/clang/lib/Sema/
MultiInitializer.cpp 79 Expr **Args;
83 Args = &Single;
86 Args = getExpressions();
89 InitializationSequence InitSeq(SemaRef, Entity, Kind, Args, NumArgs);
91 MultiExprArg(SemaRef, Args, NumArgs), 0);
  /external/clang/include/clang/AST/
TemplateBase.h 64 /// in the Args struct.
79 const TemplateArgument *Args;
81 } Args;
163 TemplateArgument(const TemplateArgument *Args, unsigned NumArgs) : Kind(Pack){
164 this->Args.Args = Args;
165 this->Args.NumArgs = NumArgs;
176 Args.NumArgs = Other.Args.NumArgs
    [all...]
  /frameworks/compile/slang/
llvm-rs-cc.cpp 168 llvm::OwningPtr<InputArgList> Args(
174 << Args->getArgString(MissingArgIndex) << MissingArgCount;
177 for (arg_iterator it = Args->filtered_begin(OPT_UNKNOWN),
178 ie = Args->filtered_end(); it != ie; ++it)
180 << (*it)->getAsString(*Args);
182 for (ArgList::const_iterator it = Args->begin(), ie = Args->end();
186 Inputs.push_back(A->getValue(*Args));
189 Opts.mIncludePaths = Args->getAllArgValues(OPT_I);
191 Opts.mOutputDir = Args->getLastArgValue(OPT_o)
    [all...]
  /external/clang/lib/Driver/
Driver.cpp 99 InputArgList *Args = getOpts().ParseArgs(ArgList.begin(), ArgList.end(),
105 << Args->getArgString(MissingArgIndex) << MissingArgCount;
108 for (ArgList::const_iterator it = Args->begin(), ie = Args->end();
112 Diag(clang::diag::err_drv_unsupported_opt) << A->getAsString(*Args);
117 return Args;
157 DerivedArgList *Driver::TranslateInputArgs(const InputArgList &Args) const {
158 DerivedArgList *DAL = new DerivedArgList(Args);
160 bool HasNostdlib = Args.hasArg(options::OPT_nostdlib);
161 for (ArgList::const_iterator it = Args.begin()
    [all...]
HostInfo.cpp 50 virtual ToolChain *CreateToolChain(const ArgList &Args,
68 ToolChain *DarwinHostInfo::CreateToolChain(const ArgList &Args,
75 if (Arg *A = Args.getLastArg(options::OPT_arch)) {
79 Arch = llvm::Triple::getArchTypeForDarwinArchName(A->getValue(Args));
93 if (Arg *A = Args.getLastArg(options::OPT_m32, options::OPT_m64)) {
137 virtual ToolChain *CreateToolChain(const ArgList &Args,
149 ToolChain *TCEHostInfo::CreateToolChain(const ArgList &Args,
170 virtual ToolChain *CreateToolChain(const ArgList &Args,
188 ToolChain *UnknownHostInfo::CreateToolChain(const ArgList &Args,
196 if (Arg *A = Args.getLastArg(options::OPT_m32, options::OPT_m64))
    [all...]
ToolChains.h 92 void AddDeploymentTarget(DerivedArgList &Args) const;
98 std::string ComputeEffectiveClangTriple(const ArgList &Args,
149 StringRef getDarwinArchName(const ArgList &Args) const;
173 /// \param Args - The input argument list.
176 virtual void AddLinkSearchPathArgs(const ArgList &Args,
180 virtual void AddLinkARCArgs(const ArgList &Args,
185 virtual void AddLinkRuntimeLibArgs(const ArgList &Args,
199 virtual DerivedArgList *TranslateArgs(const DerivedArgList &Args,
280 virtual void AddLinkSearchPathArgs(const ArgList &Args,
283 virtual void AddLinkRuntimeLibArgs(const ArgList &Args,
    [all...]
ToolChains.cpp 147 StringRef Darwin::getDarwinArchName(const ArgList &Args) const {
154 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ))
155 if (const char *Arch = GetArmArchForMArch(A->getValue(Args)))
158 if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ))
159 if (const char *Arch = GetArmArchForMCpu(A->getValue(Args)))
174 std::string Darwin::ComputeEffectiveClangTriple(const ArgList &Args,
176 llvm::Triple Triple(ComputeLLVMTriple(Args, InputType));
295 void DarwinClang::AddLinkSearchPathArgs(const ArgList &Args,
331 std::string Triple = ComputeLLVMTriple(Args);
353 CmdArgs.push_back(Args.MakeArgString("-L" + P.str()))
    [all...]
  /external/clang/test/SemaCXX/
rval-references-examples.cpp 55 template<typename T, typename ...Args>
56 unique_ptr<T> make_unique_ptr(Args &&...args) {
57 return unique_ptr<T>(new T(forward<Args>(args)...));
99 template<typename F, typename ...Args>
100 void forward(F f, Args &&...args) {
101 f(static_cast<Args&&>(args)...); // expected-error{{no matching function for call to object of type 'perfect_forwarding::F0'}
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter3/
toy.cpp 119 std::vector<ExprAST*> Args;
121 CallExprAST(const std::string &callee, std::vector<ExprAST*> &args)
122 : Callee(callee), Args(args) {}
131 std::vector<std::string> Args;
133 PrototypeAST(const std::string &name, const std::vector<std::string> &args)
134 : Name(name), Args(args) {}
197 std::vector<ExprAST*> Args;
202 Args.push_back(Arg)
    [all...]
  /external/clang/test/CXX/temp/temp.decls/temp.variadic/
example-bind.cpp 235 : f(f), bound_args(bound_args...) { } template<typename... Args>
236 typename F::result_type operator()(Args&... args);
274 template<typename Bound, typename... Args>
276 tuple<Args...> >::type
277 mu(Bound& bound_arg, const tuple<Args&...>& args) {
278 return get<is_placeholder<Bound>::value-1>(args);
281 template<typename T, typename... Args>
282 inline T& mu(reference_wrapper<T>& bound_arg, const tuple<Args&...>&)
    [all...]
  /external/clang/examples/clang-interpreter/
main.cpp 65 std::vector<std::string> Args;
66 Args.push_back(Mod->getModuleIdentifier());
68 return EE->runFunctionAsMain(EntryFn, Args, envp);
86 llvm::SmallVector<const char *, 16> Args(argv, argv + argc);
87 Args.push_back("-fsyntax-only");
88 llvm::OwningPtr<Compilation> C(TheDriver.BuildCompilation(Args));
  /external/clang/tools/scan-build/
c++-analyzer 85 my ($Clang, $Lang, $file, $Args, $HtmlDir, $ErrorType, $ofile) = @_;
101 system $Clang, @$Args, "-E", "-o", $PPFile;
108 print OUT "@$Args\n";
122 my $Args = shift;
130 exec $Clang, "-###", $mode, @$Args;
156 my @Args = @$OriginalArgs;
173 push @Args,'-DIBOutlet=__attribute__((iboutlet))';
174 push @Args,'-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection)))';
175 push @Args,'-DIBAction=void)__attribute__((ibaction)';
179 my $SyntaxArgs = GetCCArgs("-fsyntax-only", \@Args);
    [all...]
ccc-analyzer 85 my ($Clang, $Lang, $file, $Args, $HtmlDir, $ErrorType, $ofile) = @_;
101 system $Clang, @$Args, "-E", "-o", $PPFile;
108 print OUT "@$Args\n";
122 my $Args = shift;
130 exec $Clang, "-###", $mode, @$Args;
156 my @Args = @$OriginalArgs;
173 push @Args,'-DIBOutlet=__attribute__((iboutlet))';
174 push @Args,'-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection)))';
175 push @Args,'-DIBAction=void)__attribute__((ibaction)';
179 my $SyntaxArgs = GetCCArgs("-fsyntax-only", \@Args);
    [all...]

Completed in 1253 milliseconds

12 3 4 5 6 7 8 910