/external/llvm-project/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/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/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | StdLibraryFunctionsChecker.cpp | 350 using ArgTypes = std::vector<Optional<QualType>>; typedef in __anonf1e9aeb30111::StdLibraryFunctionsChecker 372 Signature(ArgTypes ArgTys, RetType RetTy) { in Signature() 1083 "isalnum", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1101 "isalpha", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1112 "isascii", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1119 "isblank", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1126 "iscntrl", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1133 "isdigit", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1140 "isgraph", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1147 "islower", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() [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/llvm-project/openmp/libomptarget/src/ |
D | omptarget.cpp | 448 void **Args, int64_t *ArgSizes, int64_t *ArgTypes, in targetDataEnd() argument 457 if ((ArgTypes[I] & OMP_TGT_MAPTYPE_LITERAL) || in targetDataEnd() 458 (ArgTypes[I] & OMP_TGT_MAPTYPE_PRIVATE)) in targetDataEnd() 468 ArgTypes[I], ArgMappers[I], targetDataEnd); in targetDataEnd() 486 if (getParentIndex(ArgTypes[I]) < 0 && NextI < ArgNum && in targetDataEnd() 487 getParentIndex(ArgTypes[NextI]) == I) { in targetDataEnd() 499 bool IsImplicit = ArgTypes[I] & OMP_TGT_MAPTYPE_IMPLICIT; in targetDataEnd() 500 bool UpdateRef = !(ArgTypes[I] & OMP_TGT_MAPTYPE_MEMBER_OF) || in targetDataEnd() 501 (ArgTypes[I] & OMP_TGT_MAPTYPE_PTR_AND_OBJ); in targetDataEnd() 502 bool ForceDelete = ArgTypes[I] & OMP_TGT_MAPTYPE_DELETE; in targetDataEnd() [all …]
|
/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()
|
/external/llvm-project/clang-tools-extra/test/clang-change-namespace/ |
D | lambda-function.cpp | 5 template <class R, class... ArgTypes> 6 class function<R(ArgTypes...)> { 10 R operator()(ArgTypes...) const {} in operator ()()
|
/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/llvm-project/clang/include/clang/Basic/ |
D | DirectoryEntry.h | 122 template <class... ArgTypes> 124 ArgTypes &&...Args) 125 : MaybeRef(std::forward<ArgTypes>(Args)...) {} 173 template <class... ArgTypes> 174 explicit OptionalStorage(in_place_t, ArgTypes &&...Args) 175 : StorageImpl(in_place_t{}, std::forward<ArgTypes>(Args)...) {}
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGGPUBuiltin.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 EmitNVPTXDevicePrintfCallExpr() local 101 ArgTypes.push_back(Args[I].getRValue(*this).getScalarVal()->getType()); in EmitNVPTXDevicePrintfCallExpr() 108 llvm::Type *AllocaTy = llvm::StructType::create(ArgTypes, "printf_args"); in EmitNVPTXDevicePrintfCallExpr()
|
D | ObjectFilePCHContainerOperations.cpp | 104 SmallVector<QualType, 16> ArgTypes; in VisitFunctionDecl() local 106 ArgTypes.push_back(i->getType()); in VisitFunctionDecl() 108 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitFunctionDecl() 120 SmallVector<QualType, 16> ArgTypes; in VisitObjCMethodDecl() local 121 ArgTypes.push_back(D->getSelfType(Ctx, D->getClassInterface(), in VisitObjCMethodDecl() 123 ArgTypes.push_back(Ctx.getObjCSelType()); in VisitObjCMethodDecl() 125 ArgTypes.push_back(i->getType()); in VisitObjCMethodDecl() 127 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitObjCMethodDecl()
|
/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/llvm-project/libcxx/test/support/ |
D | uses_alloc_types.h | 85 template <class ...ArgTypes, class TestType> 93 return value.template checkConstruct<ArgTypes&&...>(form); in checkConstruct() 95 return value.template checkConstruct<ArgTypes&&...>(form, alloc); in checkConstruct() 100 template <class ...ArgTypes, class TestType> 102 return value.template checkConstruct<ArgTypes&&...>(form); in checkConstruct() 190 template <class ...ArgTypes> 192 auto expectArgs = &makeArgumentID<ArgTypes...>(); 197 template <class ...ArgTypes> 200 auto ExpectID = &makeArgumentID<ArgTypes...>() ;
|
/external/llvm-project/libcxx/include/experimental/ |
D | functional | 30 template<class R, class... ArgTypes> class function<R(ArgTypes...)>; 32 template<class R, class... ArgTypes> 33 void swap(function<R(ArgTypes...)>&, function<R(ArgTypes...)>&); 35 template<class R, class... ArgTypes> 36 bool operator==(const function<R(ArgTypes...)>&, nullptr_t) noexcept; 37 template<class R, class... ArgTypes> 38 bool operator==(nullptr_t, const function<R(ArgTypes...)>&) noexcept; 39 template<class R, class... ArgTypes> 40 bool operator!=(const function<R(ArgTypes...)>&, nullptr_t) noexcept; 41 template<class R, class... 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 …]
|
/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/llvm-project/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/llvm-project/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() 49 Type *ArgTypes[] = {Type::getInt8Ty(C), Type::getInt32Ty(C)}; in TEST() local 50 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), ArgTypes, false); in TEST()
|
/external/clang/test/CodeGenCXX/ |
D | mangle-variadic-templates.cpp | 55 template<typename R, typename ...ArgTypes> identity<R(ArgTypes...)> f5() {} in f5()
|
/external/llvm-project/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 | 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/llvm-project/llvm/lib/Target/AMDGPU/ |
D | R600OpenCLImageTypeLoweringPass.cpp | 273 SmallVector<Type *, 8> ArgTypes; in addImplicitArgs() local 281 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs() 289 ArgTypes.push_back(ImageSizeType); in addImplicitArgs() 294 ArgTypes.push_back(ImageFormatType); in addImplicitArgs() 305 auto NewFT = FunctionType::get(FT->getReturnType(), ArgTypes, false); in addImplicitArgs()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | R600OpenCLImageTypeLoweringPass.cpp | 273 SmallVector<Type *, 8> ArgTypes; in addImplicitArgs() local 281 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs() 289 ArgTypes.push_back(ImageSizeType); in addImplicitArgs() 294 ArgTypes.push_back(ImageFormatType); in addImplicitArgs() 305 auto NewFT = FunctionType::get(FT->getReturnType(), ArgTypes, false); in addImplicitArgs()
|