/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/libchrome/base/task_scheduler/ |
D | task_traits_details.h | 18 template <class CheckedType, class FirstArgType, class... ArgTypes> 19 struct HasArgOfType<CheckedType, FirstArgType, ArgTypes...> 22 HasArgOfType<CheckedType, ArgTypes...>>::type {}; 52 class... ArgTypes, 60 const ArgTypes&... args) { 61 static_assert(!HasArgOfType<FirstArgType, ArgTypes...>::value, 68 template <class GetterType, class FirstArgType, class... ArgTypes> 73 const ArgTypes&... args) { 98 template <class GetterType, class... ArgTypes> 101 const ArgTypes&... args) {
|
D | task_traits.h | 148 template <class... ArgTypes, 150 decltype(ValidTrait(std::declval<ArgTypes>()))...>> 151 constexpr TaskTraits(ArgTypes... args) in TaskTraits() 153 internal::HasArgOfType<TaskPriority, ArgTypes...>::value), in TaskTraits() 158 internal::HasArgOfType<TaskShutdownBehavior, ArgTypes...>::value), in TaskTraits()
|
/external/clang/lib/CodeGen/ |
D | CGCUDABuiltin.cpp | 25 llvm::Type *ArgTypes[] = {llvm::Type::getInt8PtrTy(M.getContext()), in GetVprintfDeclaration() local 28 llvm::Type::getInt32Ty(M.getContext()), ArgTypes, false); in GetVprintfDeclaration() 99 llvm::SmallVector<llvm::Type *, 8> ArgTypes; in EmitCUDADevicePrintfCallExpr() local 101 ArgTypes.push_back(Args[I].RV.getScalarVal()->getType()); in EmitCUDADevicePrintfCallExpr() 102 llvm::Type *AllocaTy = llvm::StructType::create(ArgTypes, "printf_args"); in EmitCUDADevicePrintfCallExpr()
|
D | ObjectFilePCHContainerOperations.cpp | 107 SmallVector<QualType, 16> ArgTypes; in VisitFunctionDecl() local 109 ArgTypes.push_back(i->getType()); in VisitFunctionDecl() 111 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitFunctionDecl() 123 SmallVector<QualType, 16> ArgTypes; in VisitObjCMethodDecl() local 124 ArgTypes.push_back(D->getSelfType(Ctx, D->getClassInterface(), in VisitObjCMethodDecl() 126 ArgTypes.push_back(Ctx.getObjCSelType()); in VisitObjCMethodDecl() 128 ArgTypes.push_back(i->getType()); in VisitObjCMethodDecl() 130 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitObjCMethodDecl()
|
D | CGCUDANV.cpp | 123 std::vector<llvm::Type *> ArgTypes; in emitDeviceStubBody() local 129 ArgTypes.push_back(cast<llvm::PointerType>(V->getType())->getElementType()); in emitDeviceStubBody() 131 llvm::StructType *ArgStackTy = llvm::StructType::get(Context, ArgTypes); in emitDeviceStubBody() 142 llvm::ConstantExpr::getSizeOf(ArgTypes[I]), in emitDeviceStubBody()
|
D | CGCall.cpp | 356 SmallVector<CanQualType, 16> ArgTypes; in arrangeCXXConstructorCall() local 358 ArgTypes.push_back(Context.getCanonicalParamType(Arg.Ty)); in arrangeCXXConstructorCall() 364 ? ArgTypes.front() in arrangeCXXConstructorCall() 371 ArgTypes.size()); in arrangeCXXConstructorCall() 373 /*chainCall=*/false, ArgTypes, Info, in arrangeCXXConstructorCall() 1506 SmallVector<llvm::Type*, 8> ArgTypes(IRFunctionArgs.totalIRArgs()); in GetFunctionType() local 1513 ArgTypes[IRFunctionArgs.getSRetArgNo()] = in GetFunctionType() 1521 ArgTypes[IRFunctionArgs.getInallocaArgNo()] = ArgStruct->getPointerTo(); in GetFunctionType() 1533 ArgTypes[IRFunctionArgs.getPaddingArgNo(ArgNo)] = in GetFunctionType() 1549 ArgTypes[FirstIRArg] = LTy->getPointerTo(); in GetFunctionType() [all …]
|
/external/libcxx/test/support/ |
D | uses_alloc_types.hpp | 86 template <class ...ArgTypes, class TestType> 94 return value.template checkConstruct<ArgTypes&&...>(form); in checkConstruct() 96 return value.template checkConstruct<ArgTypes&&...>(form, alloc); in checkConstruct() 101 template <class ...ArgTypes, class TestType> 103 return value.template checkConstruct<ArgTypes&&...>(form); in checkConstruct() 191 template <class ...ArgTypes> 193 auto expectArgs = &makeArgumentID<ArgTypes...>(); in checkConstruct() 198 template <class ...ArgTypes> 201 auto ExpectID = &makeArgumentID<ArgTypes...>() ; in checkConstruct()
|
/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 | 26 template <class F, class... ArgTypes> class invocation_type<F(ArgTypes...)>; 28 template <class F, class... ArgTypes> class raw_invocation_type<F(ArgTypes...)>;
|
/external/llvm/unittests/IR/ |
D | FunctionTest.cpp | 19 Type *ArgTypes[] = {Type::getInt8Ty(C), Type::getInt32Ty(C)}; in TEST() local 20 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), ArgTypes, false); in TEST() 41 Type *ArgTypes[] = {Type::getInt8Ty(C), Type::getInt32Ty(C)}; in TEST() local 42 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), ArgTypes, false); in TEST()
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | IntrinsicEmitter.cpp | 209 const std::vector<Record*> &ArgTypes, in EmitTypeGenerate() argument 211 if (ArgTypes.empty()) in EmitTypeGenerate() 214 if (ArgTypes.size() == 1) in EmitTypeGenerate() 215 return EmitTypeGenerate(OS, ArgTypes.front(), ArgNo); in EmitTypeGenerate() 220 I = ArgTypes.begin(), E = ArgTypes.end(); I != E; ++I) { in EmitTypeGenerate() 341 const RecPair &ArgTypes = I->first; in EmitVerifier() local 342 const std::vector<Record*> &RetTys = ArgTypes.first; in EmitVerifier() 343 const std::vector<Record*> &ParamTys = ArgTypes.second; in EmitVerifier() 438 const RecPair &ArgTypes = I->first; in EmitGenerator() local 439 const std::vector<Record*> &RetTys = ArgTypes.first; in EmitGenerator() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | FunctionTest.cpp | 20 Type *ArgTypes[] = {Type::getInt8Ty(C), Type::getInt32Ty(C)}; in TEST() local 21 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), ArgTypes, false); in TEST() 42 Type *ArgTypes[] = {Type::getInt8Ty(C), Type::getInt32Ty(C)}; in TEST() local 43 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), ArgTypes, false); in TEST()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | R600OpenCLImageTypeLoweringPass.cpp | 274 SmallVector<Type *, 8> ArgTypes; in addImplicitArgs() local 282 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs() 290 ArgTypes.push_back(ImageSizeType); in addImplicitArgs() 295 ArgTypes.push_back(ImageFormatType); in addImplicitArgs() 306 auto NewFT = FunctionType::get(FT->getReturnType(), ArgTypes, false); in addImplicitArgs()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUOpenCLImageTypeLoweringPass.cpp | 257 SmallVector<Type *, 8> ArgTypes; in addImplicitArgs() local 265 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs() 273 ArgTypes.push_back(ImageSizeType); in addImplicitArgs() 278 ArgTypes.push_back(ImageFormatType); in addImplicitArgs() 289 auto NewFT = FunctionType::get(FT->getReturnType(), ArgTypes, false); in addImplicitArgs()
|
/external/clang/test/CodeGenCXX/ |
D | mangle-variadic-templates.cpp | 55 template<typename R, typename ...ArgTypes> identity<R(ArgTypes...)> f5() {} in f5()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 484 SmallVector<Type *, 4> ArgTypes(T->param_begin(), T->param_end()); in getArgsFunctionType() local 485 ArgTypes.append(T->getNumParams(), ShadowTy); in getArgsFunctionType() 487 ArgTypes.push_back(ShadowPtrTy); in getArgsFunctionType() 491 return FunctionType::get(RetType, ArgTypes, T->isVarArg()); in getArgsFunctionType() 496 SmallVector<Type *, 4> ArgTypes; in getTrampolineFunctionType() local 497 ArgTypes.push_back(T->getPointerTo()); in getTrampolineFunctionType() 498 ArgTypes.append(T->param_begin(), T->param_end()); in getTrampolineFunctionType() 499 ArgTypes.append(T->getNumParams(), ShadowTy); in getTrampolineFunctionType() 502 ArgTypes.push_back(ShadowPtrTy); in getTrampolineFunctionType() 503 return FunctionType::get(T->getReturnType(), ArgTypes, false); in getTrampolineFunctionType() [all …]
|
/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()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | EntryExitInstrumenter.cpp | 41 Type *ArgTypes[] = {Type::getInt8PtrTy(C), Type::getInt8PtrTy(C)}; in insertCall() local 44 Func, FunctionType::get(Type::getVoidTy(C), ArgTypes, false)); in insertCall()
|
/external/swiftshader/third_party/llvm-subzero/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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | Optional.h | 153 template <typename... ArgTypes> void emplace(ArgTypes &&... Args) { 156 new (getPointer()) T(std::forward<ArgTypes>(Args)...);
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVUtil.cpp | 300 getOrCreateFunction(Module *M, Type *RetTy, ArrayRef<Type *> ArgTypes, in getOrCreateFunction() argument 306 MangledName = mangleBuiltin(Name, ArgTypes, Mangle); in getOrCreateFunction() 308 if(isVarArg) ArgTypes = ArgTypes.slice(0, Mangle->getVarArg()); in getOrCreateFunction() 310 FunctionType *FT = FunctionType::get(RetTy, ArgTypes, isVarArg); in getOrCreateFunction() 1383 ArrayRef<Type*> ArgTypes, BuiltinFuncMangleInfo* BtnInfo) { in mangleBuiltin() argument 1394 if (ArgTypes.empty()) { in mangleBuiltin() 1403 E = BIVarArgNegative ? ArgTypes.size() : (unsigned)BtnInfo->getVarArg(); in mangleBuiltin() 1405 auto T = ArgTypes[I]; in mangleBuiltin() 1411 assert((unsigned)BtnInfo->getVarArg() <= ArgTypes.size() in mangleBuiltin()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 419 SmallVectorImpl<QualType> &ArgTypes, 2662 SmallVector<QualType, 4> ArgTypes; in RewriteObjCBoxedExpr() local 2663 ArgTypes.push_back(Context->getObjCClassType()); in RewriteObjCBoxedExpr() 2664 ArgTypes.push_back(Context->getObjCSelType()); in RewriteObjCBoxedExpr() 2666 ArgTypes.push_back(PI->getType()); in RewriteObjCBoxedExpr() 2682 getSimpleFunctionType(returnType, ArgTypes, BoxingMethod->isVariadic()); in RewriteObjCBoxedExpr() 2785 SmallVector<QualType, 4> ArgTypes; in RewriteObjCArrayLiteralExpr() local 2786 ArgTypes.push_back(Context->getObjCClassType()); in RewriteObjCArrayLiteralExpr() 2787 ArgTypes.push_back(Context->getObjCSelType()); in RewriteObjCArrayLiteralExpr() 2789 ArgTypes.push_back(PI->getType()); in RewriteObjCArrayLiteralExpr() [all …]
|