| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | StmtCXX.cpp | 97 unsigned NumParams) { in Create() argument 99 CoroutineBodyStmt::FirstParamMove + NumParams); in Create() 103 Result->NumParams = NumParams; in Create() 105 std::uninitialized_fill(ParamBegin, ParamBegin + NumParams, in Create() 111 : Stmt(CoroutineBodyStmtClass), NumParams(Args.ParamMoves.size()) { in CoroutineBodyStmt()
|
| H A D | Decl.cpp | 1793 unsigned NumParams = FD->getNumParams(); in printNestedNameSpecifier() local 1794 for (unsigned i = 0; i < NumParams; ++i) { in printNestedNameSpecifier() 1801 if (NumParams > 0) in printNestedNameSpecifier() 5171 NumParams = NewParamInfo.size(); in setParams() 5354 CapturedDecl::CapturedDecl(DeclContext *DC, unsigned NumParams) in CapturedDecl() argument 5356 NumParams(NumParams), ContextParam(0), BodyAndNothrow(nullptr, false) {} in CapturedDecl() 5359 unsigned NumParams) { in Create() argument 5360 return new (C, DC, additionalSizeToAlloc<ImplicitParamDecl *>(NumParams)) in Create() 5361 CapturedDecl(DC, NumParams); in Create() 5365 unsigned NumParams) { in CreateDeserialized() argument [all …]
|
| H A D | ExprCXX.cpp | 1700 unsigned NumParams, in FunctionParmPackExpr() argument 1703 ParamPack(ParamPack), NameLoc(NameLoc), NumParameters(NumParams) { in FunctionParmPackExpr() 1705 std::uninitialized_copy(Params, Params + NumParams, in FunctionParmPackExpr() 1721 unsigned NumParams) { in CreateEmpty() argument 1722 return new (Context.Allocate(totalSizeToAlloc<VarDecl *>(NumParams))) in CreateEmpty()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyAddMissingPrototypes.cpp | 81 unsigned NumParams = F.getFunctionType()->getNumParams(); in runOnModule() local 82 if (NumParams != 0) { in runOnModule() 83 if (!(NumParams == 1 && F.arg_begin()->hasStructRetAttr())) in runOnModule()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | StmtCXX.h | 336 unsigned NumParams; variable 371 unsigned NumParams); 424 return {getStoredStmts() + SubStmt::FirstParamMove, NumParams}; in getParamMoves() 437 getStoredStmts() + SubStmt::FirstParamMove + NumParams); in children() 443 NumParams); in children() 448 getStoredStmts() + SubStmt::FirstParamMove + NumParams); in childrenExclBody() 454 NumParams); in childrenExclBody()
|
| H A D | DeclObjC.h | 153 unsigned NumParams = 0; variable 193 return reinterpret_cast<SourceLocation *>(getParams() + NumParams); in getStoredSelLocs() 196 return reinterpret_cast<const SourceLocation *>(getParams() + NumParams); in getStoredSelLocs() 347 unsigned param_size() const { return NumParams; } in param_size() 359 return param_const_iterator(getParams() + NumParams); in param_end() 363 param_iterator param_end() { return param_iterator(getParams() + NumParams); } in param_end() 374 return llvm::ArrayRef(const_cast<ParmVarDecl **>(getParams()), NumParams); in parameters() 378 assert(Idx < NumParams && "Index out of bounds!"); in getParamDecl() 662 unsigned NumParams; variable 685 unsigned size() const { return NumParams; } in size()
|
| H A D | DeclTemplate.h | 82 unsigned NumParams : 29; variable 104 return NumParams; in numTrailingObjects() 133 iterator end() { return begin() + NumParams; } in end() 134 const_iterator end() const { return begin() + NumParams; } in end() 136 unsigned size() const { return NumParams; } in size() 2450 unsigned NumParams = 0; 2462 TemplateParameterList **Params, unsigned NumParams, 2464 : Decl(Decl::FriendTemplate, DC, Loc), NumParams(NumParams), 2499 assert(i <= NumParams); 2504 return NumParams;
|
| H A D | Decl.h | 4502 unsigned NumParams = 0; variable 4551 unsigned getNumParams() const { return NumParams; } in getNumParams() 4642 return NumParams; in numTrailingObjects() 4647 unsigned NumParams; 4655 explicit CapturedDecl(DeclContext *DC, unsigned NumParams); 4671 unsigned NumParams); 4681 unsigned getNumParams() const { return NumParams; } in getNumParams() 4684 assert(i < NumParams); in getParam() 4688 assert(i < NumParams); in setParam() 4702 assert(ContextParam < NumParams); in getContextParam() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAvailability.cpp | 271 unsigned NumParams; in tryParseObjCMethodName() local 275 NumParams = SlotNames.size(); in tryParseObjCMethodName() 280 NumParams = 0; in tryParseObjCMethodName() 290 return NumParams; in tryParseObjCMethodName() 518 std::optional<unsigned> NumParams = tryParseObjCMethodName( in DoEmitAvailabilityWarning() local 520 if (NumParams && *NumParams == Sel.getNumArgs()) { in DoEmitAvailabilityWarning()
|
| H A D | DeclSpec.cpp | 165 unsigned NumParams, in getFunction() argument 203 I.Fun.NumParams = NumParams; in getFunction() 236 if (NumParams) { in getFunction() 242 NumParams <= std::size(TheDeclarator.InlineParams)) { in getFunction() 244 new (I.Fun.Params) ParamInfo[NumParams]; in getFunction() 248 I.Fun.Params = new DeclaratorChunk::ParamInfo[NumParams]; in getFunction() 251 for (unsigned i = 0; i < NumParams; i++) in getFunction() 427 if (Fun.NumParams) { in isExplicitObjectMemberFunction()
|
| H A D | SemaCast.cpp | 1160 unsigned NumParams = SrcFPTy->getNumParams(); in checkCastFunctionType() local 1162 if (NumParams > DstNumParams) { in checkCastFunctionType() 1165 NumParams = DstNumParams; in checkCastFunctionType() 1166 } else if (NumParams < DstNumParams) { in checkCastFunctionType() 1171 for (unsigned i = 0; i < NumParams; ++i) in checkCastFunctionType()
|
| H A D | SemaType.cpp | 3895 if (!RT->isRecordType() && FTI.NumParams > 1) in warnAboutAmbiguousFunction() 3899 if (RT->isReferenceType() && FTI.NumParams != 1) in warnAboutAmbiguousFunction() 3942 if (FTI.NumParams > 0) { in warnAboutAmbiguousFunction() 5495 if (!FTI.NumParams && !FTI.isVariadic && in GetFullTypeForDeclarator() 5503 if (!FTI.NumParams && FTI.isVariadic && !LangOpts.CPlusPlus) { in GetFullTypeForDeclarator() 5516 if (FTI.NumParams && FTI.Params[0].Param == nullptr) { in GetFullTypeForDeclarator() 5545 ParamTys.reserve(FTI.NumParams); in GetFullTypeForDeclarator() 5548 ExtParameterInfos(FTI.NumParams); in GetFullTypeForDeclarator() 5551 for (unsigned i = 0, e = FTI.NumParams; i != e; ++i) { in GetFullTypeForDeclarator() 5563 if (FTI.NumParams != 1 || FTI.isVariadic) { in GetFullTypeForDeclarator() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | VFABIDemangler.cpp | 603 for (unsigned Pos = 0, NumParams = Parameters.size(); Pos < NumParams; in hasValidParameterList() local 624 if (Parameters[Pos].LinearStepOrPos >= int(NumParams)) in hasValidParameterList() 637 for (unsigned NextPos = Pos + 1; NextPos < NumParams; ++NextPos) in hasValidParameterList()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | HotColdSplitting.cpp | 339 int NumParams = NumInputs + NumOutputsAndSplitPhis; in getOutliningPenalty() local 340 if (NumParams > MaxParametersForSplit) { in getOutliningPenalty() 347 LLVM_DEBUG(dbgs() << "Applying penalty for: " << NumParams << " params\n"); in getOutliningPenalty() 348 Penalty += CostForArgMaterialization * NumParams; in getOutliningPenalty()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CallPromotionUtils.cpp | 401 unsigned NumParams = Callee->getFunctionType()->getNumParams(); in isLegalToPromote() local 408 if (NumArgs != NumParams && !Callee->isVarArg()) { in isLegalToPromote() 418 for (; I < NumParams; ++I) { in isLegalToPromote()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaInternal.h | 30 return FTI.NumParams == 1 && !FTI.isVariadic && in FTIHasSingleVoidParameter() 38 return FTI.NumParams && !FTIHasSingleVoidParameter(FTI); in FTIHasNonVoidParameters()
|
| H A D | ParsedTemplate.h | 259 unsigned NumParams);
|
| H A D | DeclSpec.h | 1354 unsigned NumParams; member 1419 for (unsigned I = 0; I < NumParams; ++I) in freeParams() 1425 NumParams = 0; in freeParams() 1459 bool isKNRPrototype() const { return !hasPrototype && NumParams != 0; } in isKNRPrototype() 1666 ParamInfo *Params, unsigned NumParams,
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | DeclarationFragments.cpp | 616 unsigned NumParams = Block.getNumParams(); in getFragmentsForBlock() local 618 if (!BlockProto || NumParams == 0) { in getFragmentsForBlock() 625 for (unsigned I = 0; I != NumParams; ++I) { in getFragmentsForBlock() 629 if (I == NumParams - 1 && BlockProto.getTypePtr()->isVariadic()) in getFragmentsForBlock() 698 unsigned NumParams = Func->getNumParams(); in getFragmentsForFunction() local 699 for (unsigned i = 0; i != NumParams; ++i) { in getFragmentsForFunction() 706 if (NumParams > 0) in getFragmentsForFunction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TargetLibraryInfo.cpp | 1027 unsigned NumParams = FTy.getNumParams(); in isValidProtoForLibFunc() local 1042 if (NumParams == 1) in isValidProtoForLibFunc() 1045 else if (NumParams == 2) in isValidProtoForLibFunc() 1054 if (NumParams != 1) in isValidProtoForLibFunc() 1112 if (Idx == NumParams) { in isValidProtoForLibFunc() 1125 return Idx == NumParams + 1 && !FTy.isFunctionVarArg(); in isValidProtoForLibFunc()
|
| H A D | MemoryBuiltins.cpp | 107 unsigned NumParams; member 210 FTy->getNumParams() == FnData->NumParams && in getAllocationDataForFunction() 267 Result.NumParams = Callee->getNumOperands(); in getAllocationSize() 461 unsigned NumParams; member 550 if (FTy->getNumParams() != FnData->NumParams) in isLibFreeFunction()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 1153 unsigned NumParams = Record.readInt(); in VisitFunctionDecl() local 1155 Params.reserve(NumParams); in VisitFunctionDecl() 1156 for (unsigned I = 0; I != NumParams; ++I) in VisitFunctionDecl() 1192 unsigned NumParams = Record.readInt(); in VisitObjCMethodDecl() local 1194 Params.reserve(NumParams); in VisitObjCMethodDecl() 1195 for (unsigned I = 0; I != NumParams; ++I) in VisitObjCMethodDecl() 1775 unsigned NumParams = Record.readInt(); in VisitBlockDecl() local 1777 Params.reserve(NumParams); in VisitBlockDecl() 1778 for (unsigned I = 0; I != NumParams; ++I) in VisitBlockDecl() 2379 unsigned NumParams = Record.readInt(); in VisitFriendTemplateDecl() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-dwarfdump/ |
| H A D | Statistics.cpp | 100 uint64_t NumParams = 0; member 446 FnStats.NumParams++; in collectStatsForDie() 934 ParamTotal += Stats.NumParams; in collectStatsForObjectFile()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.h | 149 BTFTypeFuncProto(const DISubroutineType *STy, uint32_t NumParams,
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/APINotes/ |
| H A D | APINotesReader.cpp | 344 unsigned NumParams = in ReadFunctionInfo() local 346 while (NumParams > 0) { in ReadFunctionInfo() 350 --NumParams; in ReadFunctionInfo()
|