Searched defs:Args (Results 51 - 75 of 216) sorted by relevance

123456789

/external/clang/unittests/ASTMatchers/Dynamic/
H A DRegistryTest.cpp24 std::vector<ParserValue> Args() { return std::vector<ParserValue>(); } function in class:clang::ast_matchers::dynamic::__anon19536::RegistryTest
25 std::vector<ParserValue> Args(const VariantValue &Arg1) { function in class:clang::ast_matchers::dynamic::__anon19536::RegistryTest
30 std::vector<ParserValue> Args(const VariantValue &Arg1, function in class:clang::ast_matchers::dynamic::__anon19536::RegistryTest
49 Out = Registry::constructMatcher(*Ctor, SourceRange(), Args(), Error);
62 Out = Registry::constructMatcher(*Ctor, SourceRange(), Args(Arg1), Error);
76 Out = Registry::constructMatcher(*Ctor, SourceRange(), Args(Arg1, Arg2),
/external/clang/unittests/Basic/
H A DSourceManagerTest.cpp268 SourceRange Range, const MacroArgs *Args) {
267 MacroExpands(const Token &MacroNameTok, const MacroDirective *MD, SourceRange Range, const MacroArgs *Args) argument
/external/clang/unittests/Tooling/
H A DCompilationDatabaseTest.cpp395 std::vector<std::string> Args = unescapeJsonCommandLine("a'\\\\b \\\"c\\\"'"); local
396 ASSERT_EQ(1ul, Args.size());
397 EXPECT_EQ("a\\b \"c\"", Args[0]);
H A DTestVisitor.h53 std::vector<std::string> Args; local
55 case Lang_C: Args.push_back("-std=c99"); break;
56 case Lang_CXX98: Args.push_back("-std=c++98"); break;
57 case Lang_CXX11: Args.push_back("-std=c++11"); break;
58 case Lang_OBJC: Args.push_back("-ObjC"); break;
60 Args.push_back("-ObjC++");
61 Args.push_back("-std=c++11");
62 Args.push_back("-fblocks");
65 return tooling::runToolOnCodeWithArgs(CreateTestAction(), Code, Args);
H A DToolingTest.cpp144 std::vector<std::string> Args; local
145 Args.push_back("tool-executable");
146 Args.push_back("-Idef");
147 Args.push_back("-fsyntax-only");
148 Args.push_back("test.cpp");
149 clang::tooling::ToolInvocation Invocation(Args, new SyntaxOnlyAction,
163 std::vector<std::string> Args; local
164 Args.push_back("tool-executable");
165 Args.push_back("-Idef");
166 Args
246 std::vector<std::string> Args; local
[all...]
/external/clang/unittests/libclang/
H A DLibclangTest.cpp438 const char *Args[] = { "-fmodules", ModulesCache.c_str(), local
440 int NumArgs = sizeof(Args) / sizeof(Args[0]);
441 ClangTU = clang_parseTranslationUnit(Index, MName.c_str(), Args, NumArgs,
/external/compiler-rt/lib/ubsan/
H A Dubsan_diag.cc134 static void renderText(const char *Message, const Diag::Arg *Args) { argument
145 const Diag::Arg &A = Args[*++Msg - '0'];
199 const Diag::Arg *Args) {
255 renderText(InRange->getText(), Args);
295 renderText(Message, Args);
301 NumRanges, Args);
197 renderMemorySnippet(const Decorator &Decor, MemoryLocation Loc, Range *Ranges, unsigned NumRanges, const Diag::Arg *Args) argument
H A Dubsan_diag.h169 Arg Args[MaxArgs]; member in class:__ubsan::Diag
178 Args[NumArgs++] = A;
/external/llvm/include/llvm/MC/
H A DMCLinkerOptimizationHint.h104 SmallVector<MCSymbol *, 3> Args; member in class:llvm::MCLOHDirective
115 MCLOHDirective(MCLOHType Kind, const LOHArgs &Args) argument
116 : Kind(Kind), Args(Args.begin(), Args.end()) {
122 const LOHArgs &getArgs() const { return Args; }
171 /// @p Args to the container.
172 void addDirective(MCLOHType Kind, const MCLOHDirective::LOHArgs &Args) { argument
173 Directives.push_back(MCLOHDirective(Kind, Args));
H A DMCStreamer.h489 /// \param Args - Arguments of the LOH.
490 virtual void EmitLOHDirective(MCLOHType Kind, const MCLOHArgs &Args) {} argument
/external/llvm/include/llvm/Option/
H A DArgList.h34 const ArgList &Args; member in class:llvm::opt::arg_iterator
58 : Current(it), Args(_Args), Id0(_Id0), Id1(_Id1), Id2(_Id2) {
106 arglist_type Args; member in class:llvm::opt::ArgList
124 arglist_type &getArgs() { return Args; }
125 const arglist_type &getArgs() const { return Args; }
127 unsigned size() const { return Args.size(); }
133 iterator begin() { return Args.begin(); }
134 iterator end() { return Args.end(); }
136 reverse_iterator rbegin() { return Args.rbegin(); }
137 reverse_iterator rend() { return Args
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64MachineFunctionInfo.h131 SmallVector<const MachineInstr *, 3> Args; member in class:llvm::AArch64FunctionInfo::MILOHDirective
136 MILOHDirective(MCLOHType Kind, const LOHArgs &Args) argument
137 : Kind(Kind), Args(Args.begin(), Args.end()) {
142 const LOHArgs &getArgs() const { return Args; }
150 /// Add a LOH directive of this @p Kind and this @p Args.
151 void addLOHDirective(MCLOHType Kind, const MILOHArgs &Args) { argument
152 LOHContainerSet.push_back(MILOHDirective(Kind, Args));
153 LOHRelated.insert(Args
[all...]
/external/llvm/lib/Target/R600/
H A DR600TextureIntrinsicsReplacer.cpp135 Value *Args[] = { local
153 I.replaceAllUsesWith(Builder.CreateCall(F, Args));
H A DSIAnnotateControlFlow.cpp238 Value *Args[] = { OldEnd->getArgOperand(0), NewPhi }; local
239 Ret = CallInst::Create(ElseBreak, Args, "", OldEnd);
253 Value *Args[] = { Cond, Broken }; local
254 return CallInst::Create(IfBreak, Args, "", Insert);
/external/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp58 TargetLowering::ArgListTy Args; local
62 Args.push_back(Entry);
64 Args.push_back(Entry);
69 DAG.getExternalSymbol(bzeroEntry, IntPtr), std::move(Args),
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp272 Value *Args[] = { Load->getPointerOperand(), New }; local
273 if (Args[0]->getType() != I8XX)
274 Args[0] = new BitCastInst(Args[0], I8XX, "", Store);
275 if (Args[1]->getType() != I8X)
276 Args[1] = new BitCastInst(Args[1], I8X, "", Store);
278 CallInst *StoreStrong = CallInst::Create(Decl, Args, "", Store);
/external/llvm/tools/lli/
H A Dlli.cpp591 // using the contents of Args to determine argc & argv, and the contents of
643 std::vector<GenericValue> Args; local
646 Args.push_back(ResultGV);
647 EE->runFunction(ExitF, Args);
/external/clang/lib/CodeGen/
H A DCGDeclCXX.cpp129 llvm::Value *Args[2] = { llvm::ConstantInt::getSigned(CGF.Int64Ty, Width), local
131 CGF.Builder.CreateCall(InvariantStart, Args);
/external/clang/lib/Lex/
H A DPPMacroExpansion.cpp232 /*Args=*/nullptr);
237 /// Args - If this is a function-like macro expansion, this contains,
240 MacroArgs *Args = nullptr; local
252 Args = ReadFunctionLikeMacroArgs(Identifier, MI, ExpansionEnd);
258 if (!Args) return true;
281 Callbacks->MacroExpands(Identifier, MD, ExpansionRange, Args);
287 /*Args=*/nullptr);
317 if (Args) Args->destroy(*this);
333 if (Args) Arg
[all...]
H A DPreprocessingRecord.cpp415 const MacroArgs *Args) {
413 MacroExpands(const Token &Id,const MacroDirective *MD, SourceRange Range, const MacroArgs *Args) argument
/external/clang/lib/Tooling/
H A DTooling.cpp116 std::vector<std::string> Args; local
117 Args.push_back("clang-tool");
118 Args.push_back("-fsyntax-only");
119 Args.insert(Args.end(), ExtraArgs.begin(), ExtraArgs.end());
120 Args.push_back(FileName.str());
121 return Args;
125 const std::vector<std::string> &Args,
131 ToolInvocation Invocation(getSyntaxOnlyToolArgs(Args, FileNameRef), ToolAction,
406 const std::vector<std::string> &Args,
124 runToolOnCodeWithArgs(clang::FrontendAction *ToolAction, const Twine &Code, const std::vector<std::string> &Args, const Twine &FileName) argument
405 buildASTFromCodeWithArgs(const Twine &Code, const std::vector<std::string> &Args, const Twine &FileName) argument
[all...]
/external/clang/tools/driver/
H A Dcc1as_main.cpp161 std::unique_ptr<InputArgList> Args(
168 << Args->getArgString(MissingArgIndex) << MissingArgCount;
173 for (arg_iterator it = Args->filtered_begin(OPT_UNKNOWN),
174 ie = Args->filtered_end();
176 Diags.Report(diag::err_drv_unknown_argument) << (*it)->getAsString(*Args);
183 Opts.Triple = llvm::Triple::normalize(Args->getLastArgValue(OPT_triple));
184 Opts.CPU = Args->getLastArgValue(OPT_target_cpu);
185 Opts.Features = Args->getAllArgValues(OPT_target_feature);
192 Opts.IncludePaths = Args->getAllArgValues(OPT_I);
193 Opts.NoInitialTextSection = Args
473 const char **Args = new const char*[NumArgs + 2]; local
[all...]
/external/llvm/bindings/ocaml/executionengine/
H A Dexecutionengine_ocaml.c238 CAMLprim value llvm_ee_run_function(LLVMValueRef F, value Args, argument
244 NumArgs = Wosize_val(Args);
247 GVArgs[I] = Genericvalue_val(Field(Args, I));
270 value Args, value Env,
272 CAMLparam2(Args, Env);
277 NumArgs = Wosize_val(Args);
283 CArgs[I] = String_val(Field(Args, I));
269 llvm_ee_run_function_as_main(LLVMValueRef F, value Args, value Env, LLVMExecutionEngineRef EE) argument
/external/llvm/examples/Kaleidoscope/Chapter2/
H A Dtoy.cpp107 std::vector<ExprAST*> Args; member in class:__anon25450::CallExprAST
110 : Callee(callee), Args(args) {}
118 std::vector<std::string> Args; member in class:__anon25450::PrototypeAST
121 : Name(name), Args(args) {}
178 std::vector<ExprAST*> Args; local
183 Args.push_back(Arg);
196 return new CallExprAST(IdName, Args);
/external/llvm/lib/CodeGen/
H A DShadowStackGC.cpp160 SmallVector<Value*,16> Args; local
174 Args.clear();
176 Args.append(CS.arg_begin(), CS.arg_end());
180 Args, CI->getName(), CallBB);

Completed in 278 milliseconds

123456789