Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DFunction.h143 return llvm::reverse(ParamTypes); in args_reverse()
203 unsigned getNumParams() const { return ParamTypes.size(); } in getNumParams()
227 return ParamTypes[ParamIndex]; in getParamType()
233 llvm::SmallVectorImpl<PrimType> &&ParamTypes,
275 llvm::SmallVector<PrimType, 8> ParamTypes; variable
H A DFunction.cpp18 llvm::SmallVectorImpl<PrimType> &&ParamTypes, in Function() argument
23 ParamTypes(std::move(ParamTypes)), Params(std::move(Params)), in Function()
H A DContext.cpp444 SmallVector<PrimType, 8> ParamTypes; in getOrCreateFunction() local
455 ParamTypes.push_back(PT_Ptr); in getOrCreateFunction()
468 ParamTypes.push_back(PT_Ptr); in getOrCreateFunction()
501 ParamTypes.push_back(PT); in getOrCreateFunction()
507 FuncDecl, ParamOffset, std::move(ParamTypes), std::move(ParamDescriptors), in getOrCreateFunction()
516 SmallVector<PrimType, 8> ParamTypes; in getOrCreateObjCBlock() local
529 ParamTypes.push_back(PT); in getOrCreateObjCBlock()
537 P->createFunction(E, ParamOffset, std::move(ParamTypes), in getOrCreateObjCBlock()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp397 std::vector<std::string> *ParamTypes = nullptr; member
434 if (ParamTypes && ParamTypes->size() == ParamNumber) in allocParam()
435 ParamTypes->push_back(std::string(Type)); in allocParam()
726 std::vector<const Type *> ParamTypes; member in __anon819a2c470111::IRIntrinsicResult
729 const std::vector<const Type *> &ParamTypes, in IRIntrinsicResult() argument
731 : IntrinsicID(std::string(IntrinsicID)), ParamTypes(ParamTypes), in IRIntrinsicResult()
738 if (!ParamTypes.empty()) { in genCode()
741 for (auto T : ParamTypes) { in genCode()
1256 std::vector<const Type *> ParamTypes; in getCodeForDag() local
1258 ParamTypes.push_back(getType(RParam, Param)); in getCodeForDag()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DGlobalMergeFunctions.cpp195 SmallVector<Type *> ParamTypes(OrigTy->param_begin(), OrigTy->param_end()); in createMergedFunction() local
197 ParamTypes.append(ConstParamTypes.begin(), ConstParamTypes.end()); in createMergedFunction()
199 ParamTypes, /*isVarArg=*/false); in createMergedFunction()
468 SmallVector<Type *> ParamTypes; in merge() local
475 ParamTypes.push_back(Opnd->getType()); in merge()
480 createMergedFunction(FMI, ParamTypes, *ParamLocsVec); in merge()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeductionGuide.cpp504 NamedDecl *buildSimpleDeductionGuide(MutableArrayRef<QualType> ParamTypes) { in buildSimpleDeductionGuide()
510 QualType Result = SemaRef.BuildFunctionType(DeducedType, ParamTypes, Loc, in buildSimpleDeductionGuide()
525 for (auto T : ParamTypes) { in buildSimpleDeductionGuide()
552 SmallVector<QualType, 4> ParamTypes; in transformFunctionProtoType() local
582 ParamTypes.push_back(NewParam->getType()); in transformFunctionProtoType()
605 ReturnType, ParamTypes, TL.getBeginLoc(), DeductionGuideName, EPI); in transformFunctionProtoType()
1323 MutableArrayRef<QualType> ParamTypes, SourceLocation Loc) { in DeclareAggregateDeductionGuideForTypeAlias() argument
1332 for (QualType P : ParamTypes) { in DeclareAggregateDeductionGuideForTypeAlias()
1354 TemplateDecl *Template, MutableArrayRef<QualType> ParamTypes, in DeclareAggregateDeductionGuideFromInitList() argument
1358 for (auto &T : ParamTypes) in DeclareAggregateDeductionGuideFromInitList()
[all …]
H A DSemaOverload.cpp7895 [&](ArrayRef<QualType> ParamTypes, in AddMethodTemplateCandidateImmediately()
7898 MethodTmpl, ParamTypes, Args, CandidateSet, Conversions, in AddMethodTemplateCandidateImmediately()
8018 [&](ArrayRef<QualType> ParamTypes, in AddTemplateOverloadCandidateImmediately()
8021 FunctionTemplate, ParamTypes, Args, CandidateSet, Conversions, in AddTemplateOverloadCandidateImmediately()
8104 FunctionTemplateDecl *FunctionTemplate, ArrayRef<QualType> ParamTypes, in CheckNonDependentConversions() argument
8138 !ParamTypes[0]->isDependentType()) { in CheckNonDependentConversions()
8142 FD->hasCXXExplicitFunctionObjectParameter() ? ParamTypes[0] in CheckNonDependentConversions()
8193 for (unsigned I = 0, N = std::min(ParamTypes.size() - Offset, Args.size()); in CheckNonDependentConversions()
8195 QualType ParamType = ParamTypes[I + Offset]; in CheckNonDependentConversions()
9122 QualType ParamTypes[2]; in AddBuiltinAssignmentOperatorCandidates() local
[all …]
H A DHLSLBuiltinTypeDeclBuilder.cpp377 SmallVector<QualType> ParamTypes; in createDecl() local
379 ParamTypes.emplace_back(MP.Ty); in createDecl()
385 QualType FuncTy = AST.getFunctionType(ReturnTy, ParamTypes, ExtInfo); in createDecl()
H A DSemaAPINotes.cpp602 SmallVector<QualType, 4> ParamTypes; in ProcessAPINotes() local
604 ParamTypes.push_back(Param->getType()); in ProcessAPINotes()
606 FD->setType(S.Context.getFunctionType(OverriddenResultType, ParamTypes, in ProcessAPINotes()
H A DSemaTemplateDeduction.cpp3509 SmallVectorImpl<QualType> &ParamTypes, QualType *FunctionType, in SubstituteExplicitTemplateArguments() argument
3519 ParamTypes.push_back(P->getType()); in SubstituteExplicitTemplateArguments()
3614 Proto->getExtParameterInfosOrNull(), MLTAL, ParamTypes, in SubstituteExplicitTemplateArguments()
3656 Proto->getExtParameterInfosOrNull(), MLTAL, ParamTypes, in SubstituteExplicitTemplateArguments()
3662 EPI.ExtParameterInfos = ExtParamInfos.getPointerOrNull(ParamTypes.size()); in SubstituteExplicitTemplateArguments()
3663 *FunctionType = BuildFunctionType(ResultType, ParamTypes, in SubstituteExplicitTemplateArguments()
4511 SmallVector<QualType, 8> ParamTypes; in DeduceTemplateArguments() local
4517 FunctionTemplate, *ExplicitTemplateArgs, Deduced, ParamTypes, nullptr, in DeduceTemplateArguments()
4527 ParamTypes.push_back(Function->getParamDecl(I)->getType()); in DeduceTemplateArguments()
4562 for (unsigned ParamIdx = 0, NumParamTypes = ParamTypes.size(), ArgIdx = 0; in DeduceTemplateArguments()
[all …]
H A DTreeTransform.h724 const QualType *ParamTypes,
731 const QualType *ParamTypes, in TransformFunctionTypeParams() argument
736 Loc, Params, ParamTypes, ParamInfos, PTypes, PVars, PInfos, nullptr); in TransformFunctionTypeParams()
1011 MutableArrayRef<QualType> ParamTypes,
6180 const QualType *ParamTypes, in TransformFunctionTypeParams() argument
6310 assert(ParamTypes); in TransformFunctionTypeParams()
6311 QualType OldType = ParamTypes[i]; in TransformFunctionTypeParams()
6436 SmallVector<QualType, 4> ParamTypes; in TransformFunctionProtoType() local
6448 ParamTypes, &ParamDecls, ExtParamInfos)) in TransformFunctionProtoType()
6476 ParamTypes, &ParamDecls, ExtParamInfos)) in TransformFunctionProtoType()
[all …]
H A DSemaType.cpp2645 MutableArrayRef<QualType> ParamTypes, in BuildFunctionType() argument
2652 for (unsigned Idx = 0, Cnt = ParamTypes.size(); Idx < Cnt; ++Idx) { in BuildFunctionType()
2654 QualType ParamType = Context.getAdjustedParameterType(ParamTypes[Idx]); in BuildFunctionType()
2678 ParamTypes[Idx] = ParamType; in BuildFunctionType()
2682 checkExtParameterInfos(*this, ParamTypes, EPI, in BuildFunctionType()
2694 return Context.getFunctionType(T, ParamTypes, EPI); in BuildFunctionType()
/freebsd/sys/contrib/dev/acpica/compiler/
H A Daslexternal.c206 UINT32 ParamTypes[ACPI_METHOD_NUM_ARGS]; in ExDoExternal() local
247 ParamCount = MtProcessParameterTypeList (TypeOp->Asl.Child, ParamTypes); in ExDoExternal()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1559 typename ReturnTypesF, typename... ParamTypes>
1562 PolymorphicMatcher(const ParamTypes &... Params) : Params(Params...) {}
1569 return Matcher<T>(new_from_tuple<MatcherT<T, ParamTypes...>>(Params));
1576 new_from_tuple<MatcherT<T, ParamTypes...>>(std::move(Params)));
1580 std::tuple<ParamTypes...> Params;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp1024 Type *ParamTypes[] = { in getOrInsertValueProfilingCall() local
1029 FunctionType::get(ReturnTy, ArrayRef(ParamTypes), false); in getOrInsertValueProfilingCall()
2033 Type *ParamTypes[] = {VoidPtrTy, Int64Ty}; in emitRegistration() local
2035 FunctionType::get(VoidTy, ArrayRef(ParamTypes), false); in emitRegistration()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp383 encodeULEB128(Sig.ParamTypes.size(), OS); in writeSectionContent()
384 for (auto ParamType : Sig.ParamTypes) in writeSectionContent()
H A DWasmYAML.cpp305 IO.mapRequired("ParamTypes", Signature.ParamTypes); in mapping()
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h1440 LLVMTypeRef *ParamTypes,
2924 LLVMTypeRef *ParamTypes,
2934 LLVMTypeRef *ParamTypes,
2946 LLVMTypeRef *ParamTypes,
2963 LLVMTypeRef *ParamTypes,
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp764 LLVMTypeRef *ParamTypes, unsigned ParamCount, in LLVMFunctionType() argument
766 ArrayRef<Type*> Tys(unwrap(ParamTypes), ParamCount); in LLVMFunctionType()
2467 LLVMTypeRef *ParamTypes, in LLVMGetIntrinsicDeclaration() argument
2469 ArrayRef<Type*> Tys(unwrap(ParamTypes), ParamCount); in LLVMGetIntrinsicDeclaration()
2482 LLVMTypeRef *ParamTypes, size_t ParamCount) { in LLVMIntrinsicGetType() argument
2484 ArrayRef<Type*> Tys(unwrap(ParamTypes), ParamCount); in LLVMIntrinsicGetType()
2488 char *LLVMIntrinsicCopyOverloadedName(unsigned ID, LLVMTypeRef *ParamTypes, in LLVMIntrinsicCopyOverloadedName() argument
2491 ArrayRef<Type*> Tys(unwrap(ParamTypes), ParamCount); in LLVMIntrinsicCopyOverloadedName()
2498 LLVMTypeRef *ParamTypes, in LLVMIntrinsicCopyOverloadedName2() argument
2501 ArrayRef<Type *> Tys(unwrap(ParamTypes), ParamCount); in LLVMIntrinsicCopyOverloadedName2()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.cpp752 DITypeRefArray ParamTypes = in createBPFUnreachable() local
754 DISubroutineType *FuncType = DBuilder.createSubroutineType(ParamTypes); in createBPFUnreachable()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h157 std::vector<ValueType> ParamTypes; member
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsics.td640 list<LLVMType> ParamTypes> {
641 list<LLVMType> AllTypes = !listconcat(RetTypes, ParamTypes);
687 // * ParamTypes is a list containing the parameter types expected for the
700 list<LLVMType> ParamTypes = param_types;
708 TypeInfoGen TypeInfo = TypeInfoGen<RetTypes, ParamTypes>;
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp5035 llvm::SmallVector<llvm::Type *, 4> ParamTypes; in EmitOMPTaskBasedDirective() local
5037 ParamTypes.push_back(PrivatesPtr->getType()); in EmitOMPTaskBasedDirective()
5044 ParamTypes.push_back(PrivatePtr.getType()); in EmitOMPTaskBasedDirective()
5054 ParamTypes.push_back(PrivatePtr.getType()); in EmitOMPTaskBasedDirective()
5063 ParamTypes.push_back(PrivatePtr.getType()); in EmitOMPTaskBasedDirective()
5080 ParamTypes.push_back(PrivatePtr.getType()); in EmitOMPTaskBasedDirective()
5083 ParamTypes, /*isVarArg=*/false); in EmitOMPTaskBasedDirective()
5356 llvm::SmallVector<llvm::Type *, 4> ParamTypes; in EmitOMPTargetTaskBasedDirective() local
5358 ParamTypes.push_back(PrivatesPtr->getType()); in EmitOMPTargetTaskBasedDirective()
5366 ParamTypes.push_back(PrivatePtr.getType()); in EmitOMPTargetTaskBasedDirective()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.cpp1071 SmallVector<SPIRVType *, 4> ParamTypes; in createSPIRVType() local
1073 ParamTypes.push_back(findSPIRVType(ParamTy, MIRBuilder, AccQual, in createSPIRVType()
1075 return getOpTypeFunction(RetTy, ParamTypes, MIRBuilder); in createSPIRVType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1598 ArrayRef<Type *> ParamTypes, in emitLibCall() argument
1607 FunctionType *FuncType = FunctionType::get(ReturnType, ParamTypes, IsVaArgs); in emitLibCall()

12