| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StdLibraryFunctionsChecker.cpp | 544 using ArgTypes = std::vector<std::optional<QualType>>; typedef in __anon2143b5530111::StdLibraryFunctionsChecker 566 Signature(ArgTypes ArgTys, RetType RetTy) { in Signature() 1428 "isalnum", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1449 "isalpha", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1463 "isascii", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1473 "isblank", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1483 "iscntrl", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1494 "isdigit", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1503 "isgraph", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1515 "islower", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/M68k/ |
| H A D | M68kCallingConv.h | 30 M68kCCState(ArrayRef<Type *> ArgTypes, CallingConv::ID CC, bool IsVarArg, in M68kCCState() 33 : CCState(CC, IsVarArg, MF, Locs, C), ArgTypeList(ArgTypes) {} in M68kCCState() 54 const auto &ArgTypes = CCInfo.ArgTypeList; in CC_M68k_Any_AssignToReg() local 55 auto I = ArgTypes.begin(), End = ArgTypes.end(); in CC_M68k_Any_AssignToReg()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGGPUBuiltin.cpp | 26 llvm::Type *ArgTypes[] = {llvm::Type::getInt8PtrTy(M.getContext()), in GetVprintfDeclaration() local 29 llvm::Type::getInt32Ty(M.getContext()), ArgTypes, false); in GetVprintfDeclaration() 48 llvm::Type *ArgTypes[] = {llvm::Type::getInt8PtrTy(M.getContext()), in GetOpenMPVprintfDeclaration() local 52 llvm::Type::getInt32Ty(M.getContext()), ArgTypes, false); in GetOpenMPVprintfDeclaration() 105 llvm::SmallVector<llvm::Type *, 8> ArgTypes; in packArgsIntoNVPTXFormatBuffer() local 107 ArgTypes.push_back(Args[I].getRValue(*CGF).getScalarVal()->getType()); in packArgsIntoNVPTXFormatBuffer() 114 llvm::Type *AllocaTy = llvm::StructType::create(ArgTypes, "printf_args"); in packArgsIntoNVPTXFormatBuffer()
|
| H A D | ObjectFilePCHContainerOperations.cpp | 109 SmallVector<QualType, 16> ArgTypes; in VisitFunctionDecl() local 111 ArgTypes.push_back(i->getType()); in VisitFunctionDecl() 113 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitFunctionDecl() 125 SmallVector<QualType, 16> ArgTypes; in VisitObjCMethodDecl() local 126 ArgTypes.push_back(D->getSelfType(Ctx, D->getClassInterface(), in VisitObjCMethodDecl() 128 ArgTypes.push_back(Ctx.getObjCSelType()); in VisitObjCMethodDecl() 130 ArgTypes.push_back(i->getType()); in VisitObjCMethodDecl() 132 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitObjCMethodDecl()
|
| H A D | CGCall.cpp | 413 SmallVector<CanQualType, 16> ArgTypes; in arrangeCXXConstructorCall() local 415 ArgTypes.push_back(Context.getCanonicalParamType(Arg.Ty)); in arrangeCXXConstructorCall() 428 ? ArgTypes.front() in arrangeCXXConstructorCall() 440 ArgTypes.size()); in arrangeCXXConstructorCall() 443 /*chainCall=*/false, ArgTypes, Info, in arrangeCXXConstructorCall() 1660 SmallVector<llvm::Type*, 8> ArgTypes(IRFunctionArgs.totalIRArgs()); in GetFunctionType() local 1667 ArgTypes[IRFunctionArgs.getSRetArgNo()] = in GetFunctionType() 1675 ArgTypes[IRFunctionArgs.getInallocaArgNo()] = ArgStruct->getPointerTo(); in GetFunctionType() 1687 ArgTypes[IRFunctionArgs.getPaddingArgNo(ArgNo)] = in GetFunctionType() 1703 ArgTypes[FirstIRArg] = LTy->getPointerTo( in GetFunctionType() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | DirectoryEntry.h | 133 template <class... ArgTypes> 134 explicit MapEntryOptionalStorage(std::in_place_t, ArgTypes &&...Args) 135 : MaybeRef(std::forward<ArgTypes>(Args)...) {} 179 template <class... ArgTypes> 180 explicit OptionalStorage(std::in_place_t, ArgTypes &&...Args) 181 : StorageImpl(std::in_place_t{}, std::forward<ArgTypes>(Args)...) {}
|
| H A D | CustomizableOptional.h | 44 template <typename... ArgTypes> 45 constexpr CustomizableOptional(std::in_place_t, ArgTypes &&...Args) in CustomizableOptional() 46 : Storage(std::in_place, std::forward<ArgTypes>(Args)...) {} in CustomizableOptional() 61 template <typename... ArgTypes> void emplace(ArgTypes &&...Args) { in emplace() 62 Storage.emplace(std::forward<ArgTypes>(Args)...); in emplace()
|
| H A D | FileEntry.h | 220 template <class... ArgTypes> 221 explicit OptionalStorage(std::in_place_t, ArgTypes &&...Args) 222 : StorageImpl(std::in_place_t{}, std::forward<ArgTypes>(Args)...) {}
|
| /openbsd-src/gnu/llvm/libcxx/include/ |
| H A D | functional | 57 template <class... ArgTypes> 58 typename result_of<T&(ArgTypes&&...)>::type 59 operator() (ArgTypes&&...) const; 380 template<class R, class... ArgTypes> 381 class function<R(ArgTypes...)> 382 : public unary_function<T1, R> // iff sizeof...(ArgTypes) == 1 and 383 // ArgTypes contains T1 384 : public binary_function<T1, T2, R> // iff sizeof...(ArgTypes) == 2 and 385 // ArgTypes contains T1 and T2 427 R operator()(ArgTypes...) const; [all …]
|
| H A D | type_traits | 152 template <class Fn, class... ArgTypes> struct is_invocable; 153 template <class R, class Fn, class... ArgTypes> struct is_invocable_r; 155 template <class Fn, class... ArgTypes> struct is_nothrow_invocable; 156 template <class R, class Fn, class... ArgTypes> struct is_nothrow_invocable_r; 169 …template <class Fn, class... ArgTypes> class result_of<Fn(ArgTypes...)>; // deprecated in C++17; r… 170 template <class Fn, class... ArgTypes> struct invoke_result; // C++17 237 template <class Fn, class... ArgTypes> 238 using invoke_result_t = typename invoke_result<Fn, ArgTypes...>::type; // C++17 396 template <class Fn, class... ArgTypes> inline constexpr bool is_invocable_v 397 = is_invocable<Fn, ArgTypes...>::value; // C++17 [all …]
|
| H A D | coroutine | 18 template <class R, class... ArgTypes>
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | HashBuilder.h | 78 template <typename... ArgTypes> 79 explicit HashBuilderBase(ArgTypes &&...Args) in HashBuilderBase() 80 : OptionalHasher(std::in_place, std::forward<ArgTypes>(Args)...), in HashBuilderBase() 101 template <typename... ArgTypes> 102 explicit HashBuilderImpl(ArgTypes &&...Args) in HashBuilderImpl()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVPrepareFunctions.cpp | 75 SmallVector<Type *, 4> ArgTypes; in processFunctionSignature() local 78 ArgTypes.push_back(B.getInt32Ty()); in processFunctionSignature() 82 ArgTypes.push_back(Arg.getType()); in processFunctionSignature() 85 FunctionType::get(RetType, ArgTypes, F->getFunctionType()->isVarArg()); in processFunctionSignature() 132 ArrayRef<Type *> ArgTypes, in getOrCreateFunction() argument 134 FunctionType *FT = FunctionType::get(RetTy, ArgTypes, false); in getOrCreateFunction()
|
| H A D | SPIRVCallLowering.cpp | 88 SmallVector<Type *, 4> ArgTypes; in getOriginalFunctionType() local 90 ArgTypes.push_back(Arg.getType()); in getOriginalFunctionType() 113 ArgTypes[Const->getSExtValue()] = CMeta->getType(); in getOriginalFunctionType() 117 return FunctionType::get(RetTy, ArgTypes, F.isVarArg()); in getOriginalFunctionType()
|
| H A D | SPIRVRegularizer.cpp | 201 SmallVector<Type *, 2> ArgTypes = {OldF->getArg(0)->getType(), Arg0Ty}; in visitCallScalToVec() local 203 FunctionType::get(OldF->getReturnType(), ArgTypes, OldF->isVarArg()); in visitCallScalToVec()
|
| H A D | SPIRVGlobalRegistry.h | 209 const SmallVectorImpl<SPIRVType *> &ArgTypes, 308 const SmallVectorImpl<SPIRVType *> &ArgTypes,
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | R600OpenCLImageTypeLoweringPass.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()
|
| /openbsd-src/gnu/llvm/libcxx/include/experimental/ |
| H A D | type_traits | 25 template <class F, class... ArgTypes> class invocation_type<F(ArgTypes...)>; 27 template <class F, class... ArgTypes> class raw_invocation_type<F(ArgTypes...)>;
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | EntryExitInstrumenter.cpp | 60 Type *ArgTypes[] = {Type::getInt8PtrTy(C), Type::getInt8PtrTy(C)}; in insertCall() local 63 Func, FunctionType::get(Type::getVoidTy(C), ArgTypes, false)); in insertCall()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | SmallVector.h | 404 template <typename... ArgTypes> T &growAndEmplaceBack(ArgTypes &&... Args) { in growAndEmplaceBack() 408 ::new ((void *)(NewElts + this->size())) T(std::forward<ArgTypes>(Args)...); in growAndEmplaceBack() 556 template <typename... ArgTypes> T &growAndEmplaceBack(ArgTypes &&... Args) { in growAndEmplaceBack() 560 push_back(T(std::forward<ArgTypes>(Args)...)); in growAndEmplaceBack() 941 template <typename... ArgTypes> reference emplace_back(ArgTypes &&... Args) { in emplace_back() 943 return this->growAndEmplaceBack(std::forward<ArgTypes>(Args)...); in emplace_back() 945 ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...); in emplace_back()
|
| H A D | APFloat.h | 739 template <typename... ArgTypes> 740 Storage(const fltSemantics &Semantics, ArgTypes &&... Args) { in Storage() 742 new (&IEEE) IEEEFloat(Semantics, std::forward<ArgTypes>(Args)...); in Storage() 746 new (&Double) DoubleAPFloat(Semantics, std::forward<ArgTypes>(Args)...); in Storage()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaRISCVVectorLookup.cpp | 357 SmallVector<QualType, 8> ArgTypes; in CreateRVVIntrinsicDecl() local 362 ArgTypes.push_back(RVVType2Qual(Context, Sigs[i])); in CreateRVVIntrinsicDecl() 370 BuiltinFuncType = Context.getFunctionType(RetType, ArgTypes, PI); in CreateRVVIntrinsicDecl()
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 420 SmallVectorImpl<QualType> &ArgTypes, 2669 SmallVector<QualType, 4> ArgTypes; in RewriteObjCBoxedExpr() local 2670 ArgTypes.push_back(Context->getObjCClassType()); in RewriteObjCBoxedExpr() 2671 ArgTypes.push_back(Context->getObjCSelType()); in RewriteObjCBoxedExpr() 2673 ArgTypes.push_back(PI->getType()); in RewriteObjCBoxedExpr() 2688 getSimpleFunctionType(returnType, ArgTypes, BoxingMethod->isVariadic()); in RewriteObjCBoxedExpr() 2790 SmallVector<QualType, 4> ArgTypes; in RewriteObjCArrayLiteralExpr() local 2791 ArgTypes.push_back(Context->getObjCClassType()); in RewriteObjCArrayLiteralExpr() 2792 ArgTypes.push_back(Context->getObjCSelType()); in RewriteObjCArrayLiteralExpr() 2794 ArgTypes.push_back(PI->getType()); in RewriteObjCArrayLiteralExpr() [all …]
|
| /openbsd-src/gnu/llvm/llvm/examples/ExceptionDemo/ |
| H A D | ExceptionDemo.cpp | 144 typedef std::vector<llvm::Type*> ArgTypes; typedef 164 const ArgTypes &theArgTypes, in createFunction() 1084 ArgTypes argTypes; in createCatchWrappedInvokeFunction() 1347 ArgTypes unwindArgTypes; in createThrowExceptionFunction() 1691 ArgTypes argTypes; in createStandardUtilityFunctions()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Analysis/ |
| H A D | ConstructionContext.h | 276 template <typename T, typename... ArgTypes> 277 static T *create(BumpVectorContext &C, ArgTypes... Args) { in create()
|