Home
last modified time | relevance | path

Searched refs:ParamTypes (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DFunction.cpp20 llvm::SmallVectorImpl<PrimType> &&ParamTypes, in Function() argument
25 ParamTypes(std::move(ParamTypes)), Params(std::move(Params)), in Function()
H A DFunction.h124 return llvm::reverse(ParamTypes); in args_reverse()
187 unsigned getNumParams() const { return ParamTypes.size(); } in getNumParams()
212 llvm::SmallVectorImpl<PrimType> &&ParamTypes,
253 llvm::SmallVector<PrimType, 8> ParamTypes; variable
H A DByteCodeEmitter.cpp71 SmallVector<PrimType, 8> ParamTypes; in compileFunc() local
82 ParamTypes.push_back(PT_Ptr); in compileFunc()
95 ParamTypes.push_back(PT_Ptr); in compileFunc()
143 ParamTypes.push_back(PT); in compileFunc()
154 P.createFunction(FuncDecl, ParamOffset, std::move(ParamTypes), in compileFunc()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp399 std::vector<std::string> *ParamTypes = nullptr; member
436 if (ParamTypes && ParamTypes->size() == ParamNumber) in allocParam()
437 ParamTypes->push_back(std::string(Type)); in allocParam()
728 std::vector<const Type *> ParamTypes; member in __anon819a2c470111::IRIntrinsicResult
731 const std::vector<const Type *> &ParamTypes, in IRIntrinsicResult() argument
733 : IntrinsicID(std::string(IntrinsicID)), ParamTypes(ParamTypes), in IRIntrinsicResult()
740 if (!ParamTypes.empty()) { in genCode()
743 for (auto T : ParamTypes) { in genCode()
1253 std::vector<const Type *> ParamTypes; in getCodeForDag() local
1255 ParamTypes.push_back(getType(RParam, Param)); in getCodeForDag()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeductionGuide.cpp439 NamedDecl *buildSimpleDeductionGuide(MutableArrayRef<QualType> ParamTypes) { in buildSimpleDeductionGuide()
445 QualType Result = SemaRef.BuildFunctionType(DeducedType, ParamTypes, Loc, in buildSimpleDeductionGuide()
460 for (auto T : ParamTypes) { in buildSimpleDeductionGuide()
506 SmallVector<QualType, 4> ParamTypes; in transformFunctionProtoType() local
536 ParamTypes.push_back(NewParam->getType()); in transformFunctionProtoType()
559 ReturnType, ParamTypes, TL.getBeginLoc(), DeductionGuideName, EPI); in transformFunctionProtoType()
1261 MutableArrayRef<QualType> ParamTypes, SourceLocation Loc) { in DeclareAggregateDeductionGuideForTypeAlias() argument
1270 for (QualType P : ParamTypes) { in DeclareAggregateDeductionGuideForTypeAlias()
1292 TemplateDecl *Template, MutableArrayRef<QualType> ParamTypes, in DeclareAggregateDeductionGuideFromInitList() argument
1296 for (auto &T : ParamTypes) in DeclareAggregateDeductionGuideFromInitList()
[all …]
H A DSemaOverload.cpp7597 [&](ArrayRef<QualType> ParamTypes) { in AddMethodTemplateCandidate() argument
7599 MethodTmpl, ParamTypes, Args, CandidateSet, Conversions, in AddMethodTemplateCandidate()
7682 [&](ArrayRef<QualType> ParamTypes) { in AddTemplateOverloadCandidate() argument
7684 FunctionTemplate, ParamTypes, Args, CandidateSet, Conversions, in AddTemplateOverloadCandidate()
7724 FunctionTemplateDecl *FunctionTemplate, ArrayRef<QualType> ParamTypes, in CheckNonDependentConversions() argument
7753 !ParamTypes[0]->isDependentType()) { in CheckNonDependentConversions()
7757 FD->hasCXXExplicitFunctionObjectParameter() ? ParamTypes[0] in CheckNonDependentConversions()
7767 for (unsigned I = 0, N = std::min(ParamTypes.size() - Offset, Args.size()); in CheckNonDependentConversions()
7769 QualType ParamType = ParamTypes[I + Offset]; in CheckNonDependentConversions()
8661 QualType ParamTypes[2]; in AddBuiltinAssignmentOperatorCandidates() local
[all …]
H A DSemaAPINotes.cpp527 SmallVector<QualType, 4> ParamTypes; in ProcessAPINotes() local
529 ParamTypes.push_back(Param->getType()); in ProcessAPINotes()
531 FD->setType(S.Context.getFunctionType(OverriddenResultType, ParamTypes, in ProcessAPINotes()
H A DSemaTemplateDeduction.cpp3435 SmallVectorImpl<QualType> &ParamTypes, QualType *FunctionType, in SubstituteExplicitTemplateArguments() argument
3445 ParamTypes.push_back(P->getType()); in SubstituteExplicitTemplateArguments()
3540 Proto->getExtParameterInfosOrNull(), MLTAL, ParamTypes, in SubstituteExplicitTemplateArguments()
3582 Proto->getExtParameterInfosOrNull(), MLTAL, ParamTypes, in SubstituteExplicitTemplateArguments()
3588 EPI.ExtParameterInfos = ExtParamInfos.getPointerOrNull(ParamTypes.size()); in SubstituteExplicitTemplateArguments()
3589 *FunctionType = BuildFunctionType(ResultType, ParamTypes, in SubstituteExplicitTemplateArguments()
4405 SmallVector<QualType, 8> ParamTypes; in DeduceTemplateArguments() local
4411 FunctionTemplate, *ExplicitTemplateArgs, Deduced, ParamTypes, nullptr, in DeduceTemplateArguments()
4421 ParamTypes.push_back(Function->getParamDecl(I)->getType()); in DeduceTemplateArguments()
4456 for (unsigned ParamIdx = 0, NumParamTypes = ParamTypes.size(), ArgIdx = 0; in DeduceTemplateArguments()
[all …]
H A DTreeTransform.h722 const QualType *ParamTypes,
729 const QualType *ParamTypes, in TransformFunctionTypeParams() argument
734 Loc, Params, ParamTypes, ParamInfos, PTypes, PVars, PInfos, nullptr); in TransformFunctionTypeParams()
1006 MutableArrayRef<QualType> ParamTypes,
5953 const QualType *ParamTypes, in TransformFunctionTypeParams() argument
6083 assert(ParamTypes); in TransformFunctionTypeParams()
6084 QualType OldType = ParamTypes[i]; in TransformFunctionTypeParams()
6209 SmallVector<QualType, 4> ParamTypes; in TransformFunctionProtoType() local
6221 ParamTypes, &ParamDecls, ExtParamInfos)) in TransformFunctionProtoType()
6249 ParamTypes, &ParamDecls, ExtParamInfos)) in TransformFunctionProtoType()
[all …]
H A DSemaType.cpp2606 MutableArrayRef<QualType> ParamTypes, in BuildFunctionType() argument
2613 for (unsigned Idx = 0, Cnt = ParamTypes.size(); Idx < Cnt; ++Idx) { in BuildFunctionType()
2615 QualType ParamType = Context.getAdjustedParameterType(ParamTypes[Idx]); in BuildFunctionType()
2635 ParamTypes[Idx] = ParamType; in BuildFunctionType()
2639 checkExtParameterInfos(*this, ParamTypes, EPI, in BuildFunctionType()
2651 return Context.getFunctionType(T, ParamTypes, EPI); in BuildFunctionType()
H A DSemaTemplateInstantiate.cpp3193 SmallVectorImpl<QualType> &ParamTypes, in SubstParmTypes() argument
3203 Loc, Params, nullptr, ExtParamInfos, ParamTypes, OutParams, ParamInfos); in SubstParmTypes()
/freebsd/sys/contrib/dev/acpica/compiler/
H A Daslexternal.c199 UINT32 ParamTypes[ACPI_METHOD_NUM_ARGS]; in ExDoExternal() local
238 ParamCount = MtProcessParameterTypeList (TypeOp->Asl.Child, ParamTypes); in ExDoExternal()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1558 typename ReturnTypesF, typename... ParamTypes>
1561 PolymorphicMatcher(const ParamTypes &... Params) : Params(Params...) {}
1568 return Matcher<T>(new_from_tuple<MatcherT<T, ParamTypes...>>(Params));
1575 new_from_tuple<MatcherT<T, ParamTypes...>>(std::move(Params)));
1579 std::tuple<ParamTypes...> Params;
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h1394 LLVMTypeRef *ParamTypes, unsigned ParamCount,
2796 LLVMTypeRef *ParamTypes,
2806 LLVMTypeRef *ParamTypes, size_t ParamCount);
2817 LLVMTypeRef *ParamTypes,
2833 LLVMTypeRef *ParamTypes,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp1013 Type *ParamTypes[] = { in getOrInsertValueProfilingCall() local
1018 FunctionType::get(ReturnTy, ArrayRef(ParamTypes), false); in getOrInsertValueProfilingCall()
2029 Type *ParamTypes[] = {VoidPtrTy, Int64Ty}; in emitRegistration() local
2031 FunctionType::get(VoidTy, ArrayRef(ParamTypes), false); in emitRegistration()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp375 encodeULEB128(Sig.ParamTypes.size(), OS); in writeSectionContent()
376 for (auto ParamType : Sig.ParamTypes) in writeSectionContent()
H A DWasmYAML.cpp304 IO.mapRequired("ParamTypes", Signature.ParamTypes); in mapping()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp766 LLVMTypeRef *ParamTypes, unsigned ParamCount, in LLVMFunctionType() argument
768 ArrayRef<Type*> Tys(unwrap(ParamTypes), ParamCount); in LLVMFunctionType()
2453 LLVMTypeRef *ParamTypes, in LLVMGetIntrinsicDeclaration() argument
2455 ArrayRef<Type*> Tys(unwrap(ParamTypes), ParamCount); in LLVMGetIntrinsicDeclaration()
2468 LLVMTypeRef *ParamTypes, size_t ParamCount) { in LLVMIntrinsicGetType() argument
2470 ArrayRef<Type*> Tys(unwrap(ParamTypes), ParamCount); in LLVMIntrinsicGetType()
2475 LLVMTypeRef *ParamTypes, in LLVMIntrinsicCopyOverloadedName() argument
2479 ArrayRef<Type*> Tys(unwrap(ParamTypes), ParamCount); in LLVMIntrinsicCopyOverloadedName()
2486 LLVMTypeRef *ParamTypes, in LLVMIntrinsicCopyOverloadedName2() argument
2490 ArrayRef<Type *> Tys(unwrap(ParamTypes), ParamCount); in LLVMIntrinsicCopyOverloadedName2()
H A DAutoUpgrade.cpp1199 ArrayRef<Type *> ParamTypes = in upgradeIntrinsicFunction1() local
1201 NewFn = Intrinsic::getDeclaration(F->getParent(), ID, ParamTypes); in upgradeIntrinsicFunction1()
1209 Type *ParamTypes[2] = { in upgradeIntrinsicFunction1() local
1214 ParamTypes); in upgradeIntrinsicFunction1()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.cpp878 SmallVector<SPIRVType *, 4> ParamTypes; in createSPIRVType() local
880 ParamTypes.push_back(findSPIRVType(t, MIRBuilder)); in createSPIRVType()
882 return getOpTypeFunction(RetTy, ParamTypes, MIRBuilder); in createSPIRVType()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h156 std::vector<ValueType> ParamTypes; member
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsics.td604 list<LLVMType> ParamTypes> {
605 list<LLVMType> AllTypes = !listconcat(RetTypes, ParamTypes);
651 // * ParamTypes is a list containing the parameter types expected for the
664 list<LLVMType> ParamTypes = param_types;
674 TypeInfoGen TypeInfo = TypeInfoGen<RetTypes, ParamTypes>;
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp4835 llvm::SmallVector<llvm::Type *, 4> ParamTypes; in EmitOMPTaskBasedDirective() local
4837 ParamTypes.push_back(PrivatesPtr->getType()); in EmitOMPTaskBasedDirective()
4844 ParamTypes.push_back(PrivatePtr.getType()); in EmitOMPTaskBasedDirective()
4854 ParamTypes.push_back(PrivatePtr.getType()); in EmitOMPTaskBasedDirective()
4863 ParamTypes.push_back(PrivatePtr.getType()); in EmitOMPTaskBasedDirective()
4880 ParamTypes.push_back(PrivatePtr.getType()); in EmitOMPTaskBasedDirective()
4883 ParamTypes, /*isVarArg=*/false); in EmitOMPTaskBasedDirective()
5155 llvm::SmallVector<llvm::Type *, 4> ParamTypes; in EmitOMPTargetTaskBasedDirective() local
5157 ParamTypes.push_back(PrivatesPtr->getType()); in EmitOMPTargetTaskBasedDirective()
5165 ParamTypes.push_back(PrivatePtr.getType()); in EmitOMPTargetTaskBasedDirective()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1449 ArrayRef<Type *> ParamTypes, in emitLibCall() argument
1458 FunctionType *FuncType = FunctionType::get(ReturnType, ParamTypes, IsVaArgs); in emitLibCall()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h10243 FunctionTemplateDecl *FunctionTemplate, ArrayRef<QualType> ParamTypes,
12238 SmallVectorImpl<QualType> &ParamTypes, QualType *FunctionType,
12591 TemplateDecl *Template, MutableArrayRef<QualType> ParamTypes,
13298 SmallVectorImpl<QualType> &ParamTypes,
14677 QualType BuildFunctionType(QualType T, MutableArrayRef<QualType> ParamTypes,

12