| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StdLibraryFunctionsChecker.cpp | 675 using ArgTypes = std::vector<std::optional<QualType>>; typedef in __anon892b0c920111::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() 2034 "getchar", Signature(ArgTypes{}, RetType{IntTy}), in initFunctionSummaries() 2399 "dup", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries() 2794 Signature(ArgTypes{IntTy, ConstCharPtrRestrictTy, in initFunctionSummaries() 3577 Signature(ArgTypes{Pthread_tPtrRestrictTy, in initFunctionSummaries() 3618 Signature(ArgTypes{Pthread_mutex_tPtrRestrictTy, in initFunctionSummaries() 3792 Signature(ArgTypes{IntTy, IntTy}, RetType{IntTy}), in initFunctionSummaries() [all …]
|
| /freebsd-14.2/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() 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() 674 &WalkState->ArgTypes, &WalkState->ArgCount); in AcpiPsCompleteOp() 762 WalkState->PrevArgTypes = WalkState->ArgTypes; 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-14.2/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-14.2/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-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | DirectoryEntry.h | 134 template <class... ArgTypes> 135 explicit MapEntryOptionalStorage(std::in_place_t, ArgTypes &&...Args) 136 : MaybeRef(std::forward<ArgTypes>(Args)...) {} 180 template <class... ArgTypes> 181 explicit OptionalStorage(std::in_place_t, ArgTypes &&...Args) 182 : 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-14.2/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 | 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 | 416 SmallVector<CanQualType, 16> ArgTypes; in arrangeCXXConstructorCall() local 431 ? ArgTypes.front() in arrangeCXXConstructorCall() 443 ArgTypes.size()); in arrangeCXXConstructorCall() 1674 ArgTypes[IRFunctionArgs.getSRetArgNo()] = in GetFunctionType() 1680 ArgTypes[IRFunctionArgs.getInallocaArgNo()] = in GetFunctionType() 1707 ArgTypes[FirstIRArg] = llvm::PointerType::get( in GetFunctionType() 1727 ArgTypes[FirstIRArg] = argType; in GetFunctionType() 4405 return llvm::any_of(ArgTypes, [&](QualType Ty) { in hasInAllocaArgs() 4432 SmallVector<QualType, 16> ArgTypes; in EmitCallArgs() local 4466 for (QualType Ty : ArgTypes) { in EmitCallArgs() [all …]
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | functional | 58 template <class... ArgTypes> 60 operator() (ArgTypes&&...) const 392 template<class R, class... ArgTypes> 393 class function<R(ArgTypes...)> 439 R operator()(ArgTypes...) const; 455 template <class R, class ... ArgTypes> 458 template <class R, class ... ArgTypes> 461 template <class R, class ... ArgTypes> 464 template <class R, class ... ArgTypes> 468 template <class R, class ... ArgTypes> [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> 396 template <class Fn, class... ArgTypes> inline constexpr bool is_invocable_v 397 = is_invocable<Fn, ArgTypes...>::value; // C++17 399 = is_invocable_r<R, Fn, ArgTypes...>::value; // C++17 [all …]
|
| H A D | coroutine | 18 template <class R, class... ArgTypes>
|
| /freebsd-14.2/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) in HashBuilder()
|
| /freebsd-14.2/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-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVPrepareFunctions.cpp | 78 ArrayRef<Type *> ArgTypes, in getOrCreateFunction() argument 80 FunctionType *FT = FunctionType::get(RetTy, ArgTypes, false); in getOrCreateFunction() 334 SmallVector<Type *, 4> ArgTypes; in removeAggregateTypesFromSignature() local 337 ArgTypes.push_back(B.getInt32Ty()); in removeAggregateTypesFromSignature() 341 ArgTypes.push_back(Arg.getType()); in removeAggregateTypesFromSignature() 344 FunctionType::get(RetType, ArgTypes, F->getFunctionType()->isVarArg()); in removeAggregateTypesFromSignature()
|
| 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()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | EntryExitInstrumenter.cpp | 57 Type *ArgTypes[] = {PointerType::getUnqual(C), PointerType::getUnqual(C)}; in insertCall() local 60 Func, FunctionType::get(Type::getVoidTy(C), ArgTypes, false)); in insertCall()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | SmallVector.h | 414 template <typename... ArgTypes> T &growAndEmplaceBack(ArgTypes &&... Args) { in growAndEmplaceBack() 418 ::new ((void *)(NewElts + this->size())) T(std::forward<ArgTypes>(Args)...); in growAndEmplaceBack() 565 template <typename... ArgTypes> T &growAndEmplaceBack(ArgTypes &&... Args) { in growAndEmplaceBack() 569 push_back(T(std::forward<ArgTypes>(Args)...)); in growAndEmplaceBack() 950 template <typename... ArgTypes> reference emplace_back(ArgTypes &&... Args) { in emplace_back() 952 return this->growAndEmplaceBack(std::forward<ArgTypes>(Args)...); in emplace_back() 954 ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...); in emplace_back()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 2669 SmallVector<QualType, 4> ArgTypes; in RewriteObjCBoxedExpr() local 2790 SmallVector<QualType, 4> ArgTypes; in RewriteObjCArrayLiteralExpr() local 2935 SmallVector<QualType, 8> ArgTypes; in RewriteObjCDictionaryLiteralExpr() local 2945 ArgTypes.push_back(T); in RewriteObjCDictionaryLiteralExpr() 3483 SmallVector<QualType, 8> ArgTypes; in SynthMessageExpr() local 3500 ArgTypes.push_back(t); in SynthMessageExpr() 4531 SmallVector<QualType, 8> ArgTypes; in convertFunctionTypeOfBlocks() local 4541 ArgTypes.push_back(t); in convertFunctionTypeOfBlocks() 4596 SmallVector<QualType, 8> ArgTypes; in SynthesizeBlockCall() local 4599 ArgTypes.push_back(PtrBlock); in SynthesizeBlockCall() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaRISCVVectorLookup.cpp | 414 SmallVector<QualType, 8> ArgTypes; in CreateRVVIntrinsicDecl() local 419 ArgTypes.push_back(RVVType2Qual(Context, Sigs[i])); in CreateRVVIntrinsicDecl() 427 BuiltinFuncType = Context.getFunctionType(RetType, ArgTypes, PI); in CreateRVVIntrinsicDecl()
|