/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | StdLibraryFunctionsChecker.cpp | 675 using ArgTypes = ArrayRef<std::optional<QualType>>; typedef in __anon4d759d9c0111::StdLibraryFunctionsChecker 697 Signature(ArgTypes ArgTys, RetType RetTy) { in Signature() 1831 "isalnum", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1853 "isalpha", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1867 "isascii", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1877 "isblank", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1887 "iscntrl", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1898 "isdigit", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1907 "isgraph", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 1919 "islower", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() [all …]
|
/freebsd/sys/contrib/dev/acpica/components/parser/ |
H A D | psobject.c | 212 WalkState->ArgTypes = ARGP_NAMESTRING; in AcpiPsGetAmlOpcode() 277 WalkState->ArgTypes = WalkState->OpInfo->ParseArgs; in AcpiPsGetAmlOpcode() 322 while (GET_CURRENT_ARG_TYPE (WalkState->ArgTypes) && in AcpiPsBuildNamedOp() 323 (GET_CURRENT_ARG_TYPE (WalkState->ArgTypes) != ARGP_NAME)) in AcpiPsBuildNamedOp() 327 GET_CURRENT_ARG_TYPE (WalkState->ArgTypes), &Arg); in AcpiPsBuildNamedOp() 334 INCREMENT_ARG_LIST (WalkState->ArgTypes); in AcpiPsBuildNamedOp() 352 if (!GET_CURRENT_ARG_TYPE (WalkState->ArgTypes)) in AcpiPsBuildNamedOp() 359 INCREMENT_ARG_LIST (WalkState->ArgTypes); in AcpiPsBuildNamedOp() 640 WalkState->PrevArgTypes = WalkState->ArgTypes; in AcpiPsCompleteOp() 646 &WalkState->ArgTypes, &WalkState->ArgCount); in AcpiPsCompleteOp() [all …]
|
H A D | psloop.c | 223 GET_CURRENT_ARG_TYPE (WalkState->ArgTypes), Op); in AcpiPsGetArguments() 235 WalkState->ArgTypes = 0; in AcpiPsGetArguments() 242 while (GET_CURRENT_ARG_TYPE (WalkState->ArgTypes) && in AcpiPsGetArguments() 264 GET_CURRENT_ARG_TYPE (WalkState->ArgTypes), &Arg); in AcpiPsGetArguments() 275 INCREMENT_ARG_LIST (WalkState->ArgTypes); in AcpiPsGetArguments() 386 WalkState->ArgTypes = 0; in AcpiPsParseLoop() 429 &WalkState->ArgTypes, &WalkState->ArgCount); in AcpiPsParseLoop() 437 WalkState->ArgTypes = WalkState->PrevArgTypes; in AcpiPsParseLoop() 542 if (WalkState->ArgTypes) in AcpiPsParseLoop() 596 WalkState->ArgTypes, WalkState->ArgCount); in AcpiPsParseLoop()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/sys/contrib/dev/acpica/components/executer/ |
H A D | exresop.c | 261 UINT32 ArgTypes; in AcpiExResolveOperands() local 277 ArgTypes = OpInfo->RuntimeArgs; in AcpiExResolveOperands() 278 if (ArgTypes == ARGI_INVALID_OPCODE) in AcpiExResolveOperands() 288 Opcode, OpInfo->Name, ArgTypes)); in AcpiExResolveOperands() 297 while (GET_CURRENT_ARG_TYPE (ArgTypes)) in AcpiExResolveOperands() 399 ThisArgType = GET_CURRENT_ARG_TYPE (ArgTypes); in AcpiExResolveOperands() 400 INCREMENT_ARG_LIST (ArgTypes); in AcpiExResolveOperands() 830 if (GET_CURRENT_ARG_TYPE (ArgTypes)) in AcpiExResolveOperands()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | DirectoryEntry.h | 127 template <class... ArgTypes> 128 explicit MapEntryOptionalStorage(std::in_place_t, ArgTypes &&...Args) 129 : MaybeRef(std::forward<ArgTypes>(Args)...) {} 173 template <class... ArgTypes> 174 explicit OptionalStorage(std::in_place_t, ArgTypes &&...Args) 175 : 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 | 217 template <class... ArgTypes> 218 explicit OptionalStorage(std::in_place_t, ArgTypes &&...Args) 219 : StorageImpl(std::in_place_t{}, std::forward<ArgTypes>(Args)...) {}
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGGPUBuiltin.cpp | 26 llvm::Type *ArgTypes[] = {llvm::PointerType::getUnqual(M.getContext()), in GetVprintfDeclaration() local 29 llvm::Type::getInt32Ty(M.getContext()), ArgTypes, false); in GetVprintfDeclaration() 48 llvm::Type *ArgTypes[] = {llvm::PointerType::getUnqual(M.getContext()), in GetOpenMPVprintfDeclaration() local 52 llvm::Type::getInt32Ty(M.getContext()), ArgTypes, false); in GetOpenMPVprintfDeclaration() 106 llvm::SmallVector<llvm::Type *, 8> ArgTypes; in packArgsIntoNVPTXFormatBuffer() local 108 ArgTypes.push_back(Args[I].getRValue(*CGF).getScalarVal()->getType()); in packArgsIntoNVPTXFormatBuffer() 115 llvm::Type *AllocaTy = llvm::StructType::create(ArgTypes, "printf_args"); in packArgsIntoNVPTXFormatBuffer()
|
H A D | CGCall.cpp | 426 SmallVector<CanQualType, 16> ArgTypes; in arrangeCXXConstructorCall() local 428 ArgTypes.push_back(Context.getCanonicalParamType(Arg.Ty)); in arrangeCXXConstructorCall() 440 CanQualType ResultType = getCXXABI().HasThisReturn(GD) ? ArgTypes.front() in arrangeCXXConstructorCall() 452 ArgTypes.size()); in arrangeCXXConstructorCall() 456 ArgTypes, Info, ParamInfos, Required); in arrangeCXXConstructorCall() 1646 SmallVector<llvm::Type*, 8> ArgTypes(IRFunctionArgs.totalIRArgs()); in GetFunctionType() local 1652 ArgTypes[IRFunctionArgs.getSRetArgNo()] = in GetFunctionType() 1658 ArgTypes[IRFunctionArgs.getInallocaArgNo()] = in GetFunctionType() 1670 ArgTypes[IRFunctionArgs.getPaddingArgNo(ArgNo)] = in GetFunctionType() 1685 ArgTypes[FirstIRArg] = llvm::PointerType::get( in GetFunctionType() [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | functional | 58 template <class... ArgTypes> 59 constexpr typename result_of<T&(ArgTypes&&...)>::type // constexpr since C++20 60 operator() (ArgTypes&&...) const 61 noexcept(is_nothrow_invocable_v<T&, ArgTypes...>); // noexcept since C++17 407 template<class R, class... ArgTypes> 408 class function<R(ArgTypes...)> 409 : public unary_function<T1, R> // iff sizeof...(ArgTypes) == 1 and 410 // ArgTypes contains T1 411 : public binary_function<T1, T2, R> // iff sizeof...(ArgTypes) == 2 and 412 // ArgTypes contains T1 and T2 [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>
|
/freebsd/contrib/llvm-project/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() 142 template <typename... ArgTypes> 143 explicit HashBuilder(ArgTypes &&...Args)
|
/freebsd/sys/contrib/dev/acpica/components/debugger/ |
H A D | dbexec.c | 758 LocalInfo.Types = LocalInfo.ArgTypes; in AcpiDbMethodThread() 897 AcpiGbl_DbMethodInfo.Types = AcpiGbl_DbMethodInfo.ArgTypes; in AcpiDbCreateExecutionThread() 906 AcpiGbl_DbMethodInfo.ArgTypes[i] = *Types; in AcpiDbCreateExecutionThread() 1056 AcpiGbl_DbMethodInfo.Types = AcpiGbl_DbMethodInfo.ArgTypes; in AcpiDbCreateExecutionThreads() 1057 AcpiGbl_DbMethodInfo.ArgTypes[0] = ACPI_TYPE_INTEGER; in AcpiDbCreateExecutionThreads() 1058 AcpiGbl_DbMethodInfo.ArgTypes[1] = ACPI_TYPE_INTEGER; in AcpiDbCreateExecutionThreads() 1059 AcpiGbl_DbMethodInfo.ArgTypes[2] = ACPI_TYPE_INTEGER; in AcpiDbCreateExecutionThreads()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/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...)>;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVPrepareFunctions.cpp | 81 ArrayRef<Type *> ArgTypes, in getOrCreateFunction() argument 83 FunctionType *FT = FunctionType::get(RetTy, ArgTypes, false); in getOrCreateFunction() 495 SmallVector<Type *, 4> ArgTypes; in removeAggregateTypesFromSignature() local 498 ArgTypes.push_back(B.getInt32Ty()); in removeAggregateTypesFromSignature() 502 ArgTypes.push_back(Arg.getType()); in removeAggregateTypesFromSignature() 505 FunctionType::get(RetType, ArgTypes, F->getFunctionType()->isVarArg()); in removeAggregateTypesFromSignature()
|
H A D | SPIRVCallLowering.cpp | 133 SmallVector<Type *, 4> ArgTypes; in getOriginalFunctionType() local 135 ArgTypes.push_back(Arg.getType()); in getOriginalFunctionType() 158 ArgTypes[Const->getSExtValue()] = CMeta->getType(); in getOriginalFunctionType() 162 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()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | SmallVector.h | 415 template <typename... ArgTypes> T &growAndEmplaceBack(ArgTypes &&... Args) { in growAndEmplaceBack() 419 ::new ((void *)(NewElts + this->size())) T(std::forward<ArgTypes>(Args)...); in growAndEmplaceBack() 566 template <typename... ArgTypes> T &growAndEmplaceBack(ArgTypes &&... Args) { in growAndEmplaceBack() 570 push_back(T(std::forward<ArgTypes>(Args)...)); in growAndEmplaceBack() 951 template <typename... ArgTypes> reference emplace_back(ArgTypes &&... Args) { in emplace_back() 953 return this->growAndEmplaceBack(std::forward<ArgTypes>(Args)...); in emplace_back() 955 ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...); in emplace_back()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | EntryExitInstrumenter.cpp | 60 Type *ArgTypes[] = {PointerType::getUnqual(C), PointerType::getUnqual(C)}; in insertCall() local 63 Func, FunctionType::get(Type::getVoidTy(C), ArgTypes, false)); in insertCall()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 419 SmallVectorImpl<QualType> &ArgTypes, 2668 SmallVector<QualType, 4> ArgTypes; in RewriteObjCBoxedExpr() local 2669 ArgTypes.push_back(Context->getObjCClassType()); in RewriteObjCBoxedExpr() 2670 ArgTypes.push_back(Context->getObjCSelType()); in RewriteObjCBoxedExpr() 2672 ArgTypes.push_back(PI->getType()); in RewriteObjCBoxedExpr() 2687 getSimpleFunctionType(returnType, ArgTypes, BoxingMethod->isVariadic()); in RewriteObjCBoxedExpr() 2789 SmallVector<QualType, 4> ArgTypes; in RewriteObjCArrayLiteralExpr() local 2790 ArgTypes.push_back(Context->getObjCClassType()); in RewriteObjCArrayLiteralExpr() 2791 ArgTypes.push_back(Context->getObjCSelType()); in RewriteObjCArrayLiteralExpr() 2793 ArgTypes.push_back(PI->getType()); in RewriteObjCArrayLiteralExpr() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | ExpandVariadics.cpp | 241 SmallVector<Type *> ArgTypes(FTy->param_begin(), FTy->param_end()); in inlinableVariadicFunctionType() local 242 ArgTypes.push_back(ABI->vaListParameterType(M)); in inlinableVariadicFunctionType() 243 return FunctionType::get(FTy->getReturnType(), ArgTypes, in inlinableVariadicFunctionType() 541 SmallVector<Type *> ArgTypes(FTy->param_begin(), FTy->param_end()); in deriveFixedArityReplacement() local 542 ArgTypes.push_back(ABI->vaListParameterType(M)); in deriveFixedArityReplacement()
|
/freebsd/sys/contrib/dev/acpica/include/ |
H A D | acstruct.h | 200 UINT32 ArgTypes; member
|