Home
last modified time | relevance | path

Searched refs:ArgTypes (Results 1 – 25 of 64) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp673 using ArgTypes = ArrayRef<std::optional<QualType>>; typedef in __anon4d759d9c0111::StdLibraryFunctionsChecker
695 Signature(ArgTypes ArgTys, RetType RetTy) { in Signature()
1835 "isalnum", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1857 "isalpha", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1871 "isascii", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1881 "isblank", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1891 "iscntrl", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1902 "isdigit", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1911 "isgraph", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1923 "islower", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
[all …]
/freebsd/sys/contrib/dev/acpica/components/parser/
H A Dpsobject.c212 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 Dpsloop.c223 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 DM68kCallingConv.h30 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 Dexresop.c261 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 DDirectoryEntry.h127 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 DCustomizableOptional.h44 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 DFileEntry.h223 template <class... ArgTypes>
224 explicit OptionalStorage(std::in_place_t, ArgTypes &&...Args)
225 : StorageImpl(std::in_place_t{}, std::forward<ArgTypes>(Args)...) {}
/freebsd/contrib/llvm-project/libcxx/include/
H A Dfunctional58 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
409 template<class R, class... ArgTypes>
410 class function<R(ArgTypes...)>
411 : public unary_function<T1, R> // iff sizeof...(ArgTypes) == 1 and
412 // ArgTypes contains T1
413 : public binary_function<T1, T2, R> // iff sizeof...(ArgTypes) == 2 and
414 // ArgTypes contains T1 and T2
[all …]
H A Dtype_traits162 template <class Fn, class... ArgTypes> struct is_invocable; // since C++17
163 template <class R, class Fn, class... ArgTypes>
166 template <class Fn, class... ArgTypes>
168 template <class R, class Fn, class... ArgTypes>
182 template <class Fn, class... ArgTypes>
183 … struct result_of<Fn(ArgTypes...)>; // deprecated in C++17; removed in C++20
184 template <class Fn, class... ArgTypes>
265 template <class Fn, class... ArgTypes>
267 = typename invoke_result<Fn, ArgTypes...>::type; // since C++17
437 template <class Fn, class... ArgTypes> inline constexpr bool is_invocable_v
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dfunctional58 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 Dtype_traits152 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 …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerWriter.cpp110 SmallVector<QualType, 16> ArgTypes; in VisitFunctionDecl() local
112 ArgTypes.push_back(i->getType()); in VisitFunctionDecl()
114 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitFunctionDecl()
126 SmallVector<QualType, 16> ArgTypes; in VisitObjCMethodDecl() local
127 ArgTypes.push_back(D->getSelfType(Ctx, D->getClassInterface(), in VisitObjCMethodDecl()
129 ArgTypes.push_back(Ctx.getObjCSelType()); in VisitObjCMethodDecl()
131 ArgTypes.push_back(i->getType()); in VisitObjCMethodDecl()
133 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitObjCMethodDecl()
H A DCGGPUBuiltin.cpp25 llvm::Type *ArgTypes[] = {llvm::PointerType::getUnqual(M.getContext()), in GetVprintfDeclaration() local
28 llvm::Type::getInt32Ty(M.getContext()), ArgTypes, false); in GetVprintfDeclaration()
83 llvm::SmallVector<llvm::Type *, 8> ArgTypes; in packArgsIntoNVPTXFormatBuffer() local
85 ArgTypes.push_back(Args[I].getRValue(*CGF).getScalarVal()->getType()); in packArgsIntoNVPTXFormatBuffer()
92 llvm::Type *AllocaTy = llvm::StructType::create(ArgTypes, "printf_args"); in packArgsIntoNVPTXFormatBuffer()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DHashBuilder.h78 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 Ddbexec.c758 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/libc/src/__support/CPP/
H A Doptional.h91 template <typename... ArgTypes>
92 LIBC_INLINE constexpr optional(in_place_t, ArgTypes &&...Args)
93 : storage(in_place, forward<ArgTypes>(Args)...) {
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600OpenCLImageTypeLoweringPass.cpp258 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 Dtype_traits25 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 DSPIRVPrepareFunctions.cpp76 ArrayRef<Type *> ArgTypes, in getOrCreateFunction() argument
78 FunctionType *FT = FunctionType::get(RetTy, ArgTypes, false); in getOrCreateFunction()
451 SmallVector<Type *, 4> ArgTypes; in removeAggregateTypesFromSignature() local
454 ArgTypes.push_back(B.getInt32Ty()); in removeAggregateTypesFromSignature()
458 ArgTypes.push_back(Arg.getType()); in removeAggregateTypesFromSignature()
461 FunctionType::get(RetType, ArgTypes, F->getFunctionType()->isVarArg()); in removeAggregateTypesFromSignature()
H A DSPIRVRegularizer.cpp196 SmallVector<Type *, 2> ArgTypes = {OldF->getArg(0)->getType(), Arg0Ty}; in visitCallScalToVec() local
198 FunctionType::get(OldF->getReturnType(), ArgTypes, OldF->isVarArg()); in visitCallScalToVec()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallVector.h402 template <typename... ArgTypes> T &growAndEmplaceBack(ArgTypes &&... Args) { in growAndEmplaceBack()
406 ::new ((void *)(NewElts + this->size())) T(std::forward<ArgTypes>(Args)...); in growAndEmplaceBack()
553 template <typename... ArgTypes> T &growAndEmplaceBack(ArgTypes &&... Args) { in growAndEmplaceBack()
557 push_back(T(std::forward<ArgTypes>(Args)...)); in growAndEmplaceBack()
938 template <typename... ArgTypes> reference emplace_back(ArgTypes &&... Args) { in emplace_back()
940 return this->growAndEmplaceBack(std::forward<ArgTypes>(Args)...); in emplace_back()
942 ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...); in emplace_back()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DEntryExitInstrumenter.cpp80 Type *ArgTypes[] = {PointerType::getUnqual(C), PointerType::getUnqual(C)}; in insertCall() local
83 Func, FunctionType::get(Type::getVoidTy(C), ArgTypes, false)); in insertCall()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp418 SmallVectorImpl<QualType> &ArgTypes,
2667 SmallVector<QualType, 4> ArgTypes; in RewriteObjCBoxedExpr() local
2668 ArgTypes.push_back(Context->getObjCClassType()); in RewriteObjCBoxedExpr()
2669 ArgTypes.push_back(Context->getObjCSelType()); in RewriteObjCBoxedExpr()
2671 ArgTypes.push_back(PI->getType()); in RewriteObjCBoxedExpr()
2686 getSimpleFunctionType(returnType, ArgTypes, BoxingMethod->isVariadic()); in RewriteObjCBoxedExpr()
2788 SmallVector<QualType, 4> ArgTypes; in RewriteObjCArrayLiteralExpr() local
2789 ArgTypes.push_back(Context->getObjCClassType()); in RewriteObjCArrayLiteralExpr()
2790 ArgTypes.push_back(Context->getObjCSelType()); in RewriteObjCArrayLiteralExpr()
2792 ArgTypes.push_back(PI->getType()); in RewriteObjCArrayLiteralExpr()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExpandVariadics.cpp223 SmallVector<Type *> ArgTypes(FTy->params()); in inlinableVariadicFunctionType() local
224 ArgTypes.push_back(ABI->vaListParameterType(M)); in inlinableVariadicFunctionType()
225 return FunctionType::get(FTy->getReturnType(), ArgTypes, in inlinableVariadicFunctionType()
522 SmallVector<Type *> ArgTypes(FTy->params()); in deriveFixedArityReplacement() local
523 ArgTypes.push_back(ABI->vaListParameterType(M)); in deriveFixedArityReplacement()

123