/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
D | injected-class-name.cpp | 49 template<typename R, typename ...ArgTypes> 50 struct X<R(ArgTypes...)> { 51 X<R(ArgTypes...)> f(); 54 template<typename R, typename ...ArgTypes> 55 X<R(ArgTypes...)> X<R(ArgTypes...)>::f() { return *this; } in f() 61 template<typename ...ArgTypes> int g(ArgTypes...); 65 template<typename R, typename ...ArgTypes> 66 struct X1<R(ArgTypes...)> { 67 unsigned_c<sizeof(1 + g(ArgTypes()...))> f(); 70 template<typename R, typename ...ArgTypes> [all …]
|
/external/libcxx/include/experimental/ |
D | functional | 31 template<class R, class... ArgTypes> class function<R(ArgTypes...)>; 33 template<class R, class... ArgTypes> 34 void swap(function<R(ArgTypes...)>&, function<R(ArgTypes...)>&); 36 template<class R, class... ArgTypes> 37 bool operator==(const function<R(ArgTypes...)>&, nullptr_t) noexcept; 38 template<class R, class... ArgTypes> 39 bool operator==(nullptr_t, const function<R(ArgTypes...)>&) noexcept; 40 template<class R, class... ArgTypes> 41 bool operator!=(const function<R(ArgTypes...)>&, nullptr_t) noexcept; 42 template<class R, class... ArgTypes> [all …]
|
D | type_traits | 166 template <class F, class... ArgTypes> class invocation_type<F(ArgTypes...)>; 168 template <class F, class... ArgTypes> class raw_invocation_type<F(ArgTypes...)>;
|
/external/clang/lib/CodeGen/ |
D | ObjectFilePCHContainerOperations.cpp | 97 SmallVector<QualType, 16> ArgTypes; in VisitFunctionDecl() local 99 ArgTypes.push_back(i->getType()); in VisitFunctionDecl() 101 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitFunctionDecl() 113 SmallVector<QualType, 16> ArgTypes; in VisitObjCMethodDecl() local 114 ArgTypes.push_back(D->getSelfType(Ctx, D->getClassInterface(), in VisitObjCMethodDecl() 116 ArgTypes.push_back(Ctx.getObjCSelType()); in VisitObjCMethodDecl() 118 ArgTypes.push_back(i->getType()); in VisitObjCMethodDecl() 120 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitObjCMethodDecl()
|
D | CGCUDANV.cpp | 121 std::vector<llvm::Type *> ArgTypes; in emitDeviceStubBody() local 127 ArgTypes.push_back(cast<llvm::PointerType>(V->getType())->getElementType()); in emitDeviceStubBody() 129 llvm::StructType *ArgStackTy = llvm::StructType::get(Context, ArgTypes); in emitDeviceStubBody() 140 llvm::ConstantExpr::getSizeOf(ArgTypes[I]), in emitDeviceStubBody()
|
D | CGCall.cpp | 265 SmallVector<CanQualType, 16> ArgTypes; in arrangeCXXConstructorCall() local 267 ArgTypes.push_back(Context.getCanonicalParamType(Arg.Ty)); in arrangeCXXConstructorCall() 273 ? ArgTypes.front() in arrangeCXXConstructorCall() 280 /*chainCall=*/false, ArgTypes, Info, in arrangeCXXConstructorCall() 1329 SmallVector<llvm::Type*, 8> ArgTypes(IRFunctionArgs.totalIRArgs()); in GetFunctionType() local 1336 ArgTypes[IRFunctionArgs.getSRetArgNo()] = in GetFunctionType() 1344 ArgTypes[IRFunctionArgs.getInallocaArgNo()] = ArgStruct->getPointerTo(); in GetFunctionType() 1356 ArgTypes[IRFunctionArgs.getPaddingArgNo(ArgNo)] = in GetFunctionType() 1372 ArgTypes[FirstIRArg] = LTy->getPointerTo(); in GetFunctionType() 1385 ArgTypes[FirstIRArg + i] = st->getElementType(i); in GetFunctionType() [all …]
|
D | CGStmt.cpp | 1773 std::vector<llvm::Type *> ArgTypes; in EmitAsmStmt() local 1848 ArgTypes.push_back(Dest.getAddress().getType()); in EmitAsmStmt() 1948 ArgTypes.push_back(Arg->getType()); in EmitAsmStmt() 1955 ArgTypes.push_back(InOutArgTypes[i]); in EmitAsmStmt() 1994 llvm::FunctionType::get(ResultType, ArgTypes, false); in EmitAsmStmt()
|
D | CodeGenFunction.h | 3119 SmallVector<QualType, 16> ArgTypes; variable 3144 ArgTypes.push_back(*I); 3156 ArgTypes.push_back(getVarArgType(A)); 3158 EmitCallArgs(Args, ArgTypes, ArgRange, CalleeDecl, ParamsToSkip); 3161 void EmitCallArgs(CallArgList &Args, ArrayRef<QualType> ArgTypes,
|
/external/valgrind/none/tests/x86/ |
D | gen_insn_test.pl | 7 our %ArgTypes = ( 233 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|; 270 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|; 355 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|; 392 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|; 480 print qq| $ArgTypes{$type} $name|; 503 print qq| $ArgTypes{$type} $name;\n|; 522 print qq| $ArgTypes{$type} $name;\n|; 540 print qq| $ArgTypes{eflags} $name;\n|; 564 print qq| $ArgTypes{fpucw} $name;\n|; [all …]
|
/external/valgrind/none/tests/amd64/ |
D | gen_insn_test.pl | 7 our %ArgTypes = ( 256 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|; 293 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|; 378 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|; 415 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|; 503 print qq| $ArgTypes{$type} $name|; 526 print qq| $ArgTypes{$type} $name;\n|; 545 print qq| $ArgTypes{$type} $name;\n|; 563 print qq| $ArgTypes{eflags} $name;\n|; 587 print qq| $ArgTypes{fpucw} $name;\n|; [all …]
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/ |
D | p21.cpp | 11 template<class R, class ... ArgTypes> struct X<R(int, ArgTypes ...)> {
|
/external/clang/test/CodeGenCXX/ |
D | mangle-variadic-templates.cpp | 55 template<typename R, typename ...ArgTypes> identity<R(ArgTypes...)> f5() {} in f5()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUOpenCLImageTypeLoweringPass.cpp | 258 SmallVector<Type *, 8> ArgTypes; in addImplicitArgs() local 266 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs() 274 ArgTypes.push_back(ImageSizeType); in addImplicitArgs() 279 ArgTypes.push_back(ImageFormatType); in addImplicitArgs() 290 auto NewFT = FunctionType::get(FT->getReturnType(), ArgTypes, false); in addImplicitArgs()
|
D | AMDGPUPromoteAlloca.cpp | 378 std::vector<Type*> ArgTypes; in visitAlloca() local 381 ArgTypes.push_back(Call->getArgOperand(ArgIdx)->getType()); in visitAlloca() 384 FunctionType *NewType = FunctionType::get(Call->getType(), ArgTypes, in visitAlloca()
|
/external/llvm/include/llvm/ADT/ |
D | Optional.h | 74 template<typename ...ArgTypes> 75 void emplace(ArgTypes &&...Args) { in emplace() 78 new (storage.buffer) T(std::forward<ArgTypes>(Args)...); in emplace()
|
D | SmallVector.h | 659 template <typename... ArgTypes> void emplace_back(ArgTypes &&... Args) { in emplace_back() 662 ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...); in emplace_back()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 381 llvm::SmallVector<Type *, 4> ArgTypes(T->param_begin(), T->param_end()); in getArgsFunctionType() local 382 ArgTypes.append(T->getNumParams(), ShadowTy); in getArgsFunctionType() 384 ArgTypes.push_back(ShadowPtrTy); in getArgsFunctionType() 388 return FunctionType::get(RetType, ArgTypes, T->isVarArg()); in getArgsFunctionType() 393 llvm::SmallVector<Type *, 4> ArgTypes; in getTrampolineFunctionType() local 394 ArgTypes.push_back(T->getPointerTo()); in getTrampolineFunctionType() 395 ArgTypes.append(T->param_begin(), T->param_end()); in getTrampolineFunctionType() 396 ArgTypes.append(T->getNumParams(), ShadowTy); in getTrampolineFunctionType() 399 ArgTypes.push_back(ShadowPtrTy); in getTrampolineFunctionType() 400 return FunctionType::get(T->getReturnType(), ArgTypes, false); in getTrampolineFunctionType() [all …]
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 421 SmallVectorImpl<QualType> &ArgTypes, 2689 SmallVector<QualType, 4> ArgTypes; in RewriteObjCBoxedExpr() local 2690 ArgTypes.push_back(Context->getObjCClassType()); in RewriteObjCBoxedExpr() 2691 ArgTypes.push_back(Context->getObjCSelType()); in RewriteObjCBoxedExpr() 2693 ArgTypes.push_back(PI->getType()); in RewriteObjCBoxedExpr() 2709 getSimpleFunctionType(returnType, ArgTypes, BoxingMethod->isVariadic()); in RewriteObjCBoxedExpr() 2813 SmallVector<QualType, 4> ArgTypes; in RewriteObjCArrayLiteralExpr() local 2814 ArgTypes.push_back(Context->getObjCClassType()); in RewriteObjCArrayLiteralExpr() 2815 ArgTypes.push_back(Context->getObjCSelType()); in RewriteObjCArrayLiteralExpr() 2817 ArgTypes.push_back(PI->getType()); in RewriteObjCArrayLiteralExpr() [all …]
|
D | RewriteObjC.cpp | 355 SmallVectorImpl<QualType> &ArgTypes, 2592 SmallVectorImpl<QualType> &ArgTypes, in SynthMsgSendStretCallExpr() argument 2604 QualType castType = getSimpleFunctionType(returnType, ArgTypes, in SynthMsgSendStretCallExpr() 2916 SmallVector<QualType, 8> ArgTypes; in SynthMessageExpr() local 2921 ArgTypes.push_back(Context->getPointerType(getSuperStructType())); in SynthMessageExpr() 2923 ArgTypes.push_back(Context->getObjCIdType()); in SynthMessageExpr() 2924 ArgTypes.push_back(Context->getObjCSelType()); in SynthMessageExpr() 2933 ArgTypes.push_back(t); in SynthMessageExpr() 2960 getSimpleFunctionType(returnType, ArgTypes, MD ? MD->isVariadic() : true); in SynthMessageExpr() 2980 ArgTypes, MsgExprs, in SynthMessageExpr() [all …]
|
/external/libcxx/include/ |
D | functional | 58 template <class... ArgTypes> 59 typename result_of<T&(ArgTypes&&...)>::type 60 operator() (ArgTypes&&...) const; 369 template<class R, class... ArgTypes> 370 class function<R(ArgTypes...)> 371 : public unary_function<T1, R> // iff sizeof...(ArgTypes) == 1 and 372 // ArgTypes contains T1 373 : public binary_function<T1, T2, R> // iff sizeof...(ArgTypes) == 2 and 374 // ArgTypes contains T1 and T2 416 R operator()(ArgTypes...) const; [all …]
|
D | future | 321 template <class R, class... ArgTypes> 322 class packaged_task<R(ArgTypes...)> 350 void operator()(ArgTypes... ); 351 void make_ready_at_thread_exit(ArgTypes...); 357 void swap(packaged_task<R(ArgTypes...)&, packaged_task<R(ArgTypes...)>&) noexcept;
|
/external/llvm/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 197 typedef std::vector<llvm::Type*> ArgTypes; typedef 217 const ArgTypes &theArgTypes, in createFunction() 1136 ArgTypes argTypes; in createCatchWrappedInvokeFunction() 1399 ArgTypes unwindArgTypes; in createThrowExceptionFunction() 1743 ArgTypes argTypes; in createStandardUtilityFunctions()
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneFunction.cpp | 226 std::vector<Type*> ArgTypes; in CloneFunction() local 233 ArgTypes.push_back(I.getType()); in CloneFunction() 237 ArgTypes, F->getFunctionType()->isVarArg()); in CloneFunction()
|
D | CodeExtractor.cpp | 454 std::vector<Type*> ArgTypes; in emitCallAndSwitchStatement() local 457 ArgTypes.push_back((*v)->getType()); in emitCallAndSwitchStatement() 460 StructArgTy = StructType::get(newFunction->getContext(), ArgTypes); in emitCallAndSwitchStatement()
|
/external/llvm/lib/IR/ |
D | IRBuilder.cpp | 285 Type *ArgTypes[] = { FuncPtrType }; in CreateGCStatepointCallCommon() local 288 ArgTypes); in CreateGCStatepointCallCommon()
|