| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaMSP430.cpp | 57 std::optional<llvm::APSInt> NumParams = llvm::APSInt(32); in handleInterruptAttr() local 58 if (!(NumParams = NumParamsExpr->getIntegerConstantExpr(getASTContext()))) { in handleInterruptAttr() 65 unsigned Num = NumParams->getLimitedValue(255); in handleInterruptAttr() 68 << AL << (int)NumParams->getSExtValue() in handleInterruptAttr()
|
| H A D | SemaAvailability.cpp | 352 unsigned NumParams; in tryParseObjCMethodName() local 356 NumParams = SlotNames.size(); in tryParseObjCMethodName() 361 NumParams = 0; in tryParseObjCMethodName() 371 return NumParams; in tryParseObjCMethodName() 638 std::optional<unsigned> NumParams = tryParseObjCMethodName( in DoEmitAvailabilityWarning() local 640 if (NumParams && *NumParams == Sel.getNumArgs()) { in DoEmitAvailabilityWarning()
|
| H A D | DeclSpec.cpp | 162 unsigned NumParams, in getFunction() argument 200 I.Fun.NumParams = NumParams; in getFunction() 233 if (NumParams) { in getFunction() 239 NumParams <= std::size(TheDeclarator.InlineParams)) { in getFunction() 241 new (I.Fun.Params) ParamInfo[NumParams]; in getFunction() 245 I.Fun.Params = new DeclaratorChunk::ParamInfo[NumParams]; in getFunction() 248 for (unsigned i = 0; i < NumParams; i++) in getFunction() 428 if (Fun.NumParams) { in isExplicitObjectMemberFunction()
|
| H A D | SemaX86.cpp | 997 unsigned NumParams = getFunctionOrMethodNumParams(D); in handleAnyInterruptAttr() local 998 if (NumParams < 1 || NumParams > 2) { in handleAnyInterruptAttr() 1021 if (NumParams == 2 && in handleAnyInterruptAttr()
|
| /freebsd/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 | 1795 unsigned NumParams = FD->getNumParams(); in printNestedNameSpecifier() local 1796 for (unsigned i = 0; i < NumParams; ++i) { in printNestedNameSpecifier() 1803 if (NumParams > 0) in printNestedNameSpecifier() 5334 NumParams = NewParamInfo.size(); in setParams() 5536 OutlinedFunctionDecl::OutlinedFunctionDecl(DeclContext *DC, unsigned NumParams) in OutlinedFunctionDecl() argument 5538 DeclContext(OutlinedFunction), NumParams(NumParams), in OutlinedFunctionDecl() 5543 unsigned NumParams) { in Create() argument 5544 return new (C, DC, additionalSizeToAlloc<ImplicitParamDecl *>(NumParams)) in Create() 5545 OutlinedFunctionDecl(DC, NumParams); in Create() 5550 unsigned NumParams) { in CreateDeserialized() argument [all …]
|
| H A D | ExprCXX.cpp | 1791 unsigned NumParams, in FunctionParmPackExpr() argument 1794 ParamPack(ParamPack), NameLoc(NameLoc), NumParameters(NumParams) { in FunctionParmPackExpr() 1796 std::uninitialized_copy(Params, Params + NumParams, getTrailingObjects()); in FunctionParmPackExpr() 1811 unsigned NumParams) { in CreateEmpty() argument 1812 return new (Context.Allocate(totalSizeToAlloc<ValueDecl *>(NumParams))) in CreateEmpty()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyAddMissingPrototypes.cpp | 80 unsigned NumParams = F.getFunctionType()->getNumParams(); in runOnModule() local 81 if (NumParams != 0) { in runOnModule() 82 if (!(NumParams == 1 && F.arg_begin()->hasStructRetAttr())) in runOnModule()
|
| /freebsd/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 | Decl.h | 4635 unsigned NumParams = 0; variable 4684 unsigned getNumParams() const { return NumParams; } in getNumParams() 4790 unsigned NumParams; 4795 explicit OutlinedFunctionDecl(DeclContext *DC, unsigned NumParams); 4807 unsigned NumParams); 4809 CreateDeserialized(ASTContext &C, GlobalDeclID ID, unsigned NumParams); 4817 unsigned getNumParams() const { return NumParams; } in getNumParams() 4820 assert(i < NumParams); in getParam() 4824 assert(i < NumParams); in setParam() 4835 parameter_const_iterator param_end() const { return getParams() + NumParams; } in param_end() [all …]
|
| H A D | DeclTemplate.h | 85 unsigned NumParams : 29; variable 107 return NumParams; in numTrailingObjects() 136 iterator end() { return begin() + NumParams; } in end() 137 const_iterator end() const { return begin() + NumParams; } in end() 139 unsigned size() const { return NumParams; } in size() 140 bool empty() const { return NumParams == 0; } in empty() 2469 unsigned NumParams = 0; 2481 TemplateParameterList **Params, unsigned NumParams, 2483 : Decl(Decl::FriendTemplate, DC, Loc), NumParams(NumParams), 2518 assert(i <= NumParams); [all …]
|
| 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 {const_cast<ParmVarDecl **>(getParams()), NumParams}; in parameters() 378 assert(Idx < NumParams && "Index out of bounds!"); in getParamDecl() 663 unsigned NumParams; variable 686 unsigned size() const { return NumParams; } in size()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | VFABIDemangler.cpp | 612 for (unsigned Pos = 0, NumParams = Parameters.size(); Pos < NumParams; in hasValidParameterList() local 633 if (Parameters[Pos].LinearStepOrPos >= int(NumParams)) in hasValidParameterList() 646 for (unsigned NextPos = Pos + 1; NextPos < NumParams; ++NextPos) in hasValidParameterList()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | HotColdSplitting.cpp | 353 int NumParams = NumInputs + NumOutputsAndSplitPhis; in getOutliningPenalty() local 354 if (NumParams > MaxParametersForSplit) { in getOutliningPenalty() 361 LLVM_DEBUG(dbgs() << "Applying penalty for: " << NumParams << " params\n"); in getOutliningPenalty() 362 Penalty += CostForArgMaterialization * NumParams; in getOutliningPenalty()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaInternal.h | 26 return FTI.NumParams == 1 && !FTI.isVariadic && in FTIHasSingleVoidParameter() 34 return FTI.NumParams && !FTIHasSingleVoidParameter(FTI); in FTIHasNonVoidParameters()
|
| H A D | ParsedTemplate.h | 258 unsigned NumParams);
|
| H A D | DeclSpec.h | 1402 unsigned NumParams; member 1467 for (unsigned I = 0; I < NumParams; ++I) in freeParams() 1473 NumParams = 0; in freeParams() 1507 bool isKNRPrototype() const { return !hasPrototype && NumParams != 0; } in isKNRPrototype() 1716 ParamInfo *Params, unsigned NumParams,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CallPromotionUtils.cpp | 415 unsigned NumParams = Callee->getFunctionType()->getNumParams(); in isLegalToPromote() local 422 if (NumArgs != NumParams && !Callee->isVarArg()) { in isLegalToPromote() 432 for (; I < NumParams; ++I) { in isLegalToPromote()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TargetLibraryInfo.cpp | 1117 unsigned NumParams = FTy.getNumParams(); in isValidProtoForLibFunc() local 1125 if (!RetTy->isFloatingPointTy() || NumParams == 0) in isValidProtoForLibFunc() 1132 if (NumParams == 1) in isValidProtoForLibFunc() 1135 else if (NumParams == 2) in isValidProtoForLibFunc() 1144 if (NumParams != 1) in isValidProtoForLibFunc() 1208 if (Idx == NumParams) { in isValidProtoForLibFunc() 1221 return Idx == NumParams + 1 && !FTy.isFunctionVarArg(); in isValidProtoForLibFunc()
|
| H A D | MemoryBuiltins.cpp | 106 unsigned NumParams; member 207 FTy->getNumParams() == FnData->NumParams && in getAllocationDataForFunction() 255 Result.NumParams = CB->arg_size(); in getAllocationSize() 452 unsigned NumParams; member 540 if (FTy->getNumParams() != FnData->NumParams) in isLibFreeFunction()
|
| /freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | DeclarationFragments.cpp | 667 unsigned NumParams = Block.getNumParams(); in getFragmentsForBlock() local 669 if (!BlockProto || NumParams == 0) { in getFragmentsForBlock() 676 for (unsigned I = 0; I != NumParams; ++I) { in getFragmentsForBlock() 680 if (I == NumParams - 1 && BlockProto.getTypePtr()->isVariadic()) in getFragmentsForBlock() 747 unsigned NumParams = Func->getNumParams(); in getFragmentsForFunction() local 748 for (unsigned i = 0; i != NumParams; ++i) { in getFragmentsForFunction() 755 if (NumParams > 0) in getFragmentsForFunction()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 1134 unsigned NumParams = Record.readInt(); in VisitFunctionDecl() local 1136 Params.reserve(NumParams); in VisitFunctionDecl() 1137 for (unsigned I = 0; I != NumParams; ++I) in VisitFunctionDecl() 1191 unsigned NumParams = Record.readInt(); in VisitObjCMethodDecl() local 1193 Params.reserve(NumParams); in VisitObjCMethodDecl() 1194 for (unsigned I = 0; I != NumParams; ++I) in VisitObjCMethodDecl() 1778 unsigned NumParams = Record.readInt(); in VisitBlockDecl() local 1780 Params.reserve(NumParams); in VisitBlockDecl() 1781 for (unsigned I = 0; I != NumParams; ++I) in VisitBlockDecl() 1810 for (unsigned I = 0; I < D->NumParams; ++I) in VisitOutlinedFunctionDecl() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibFunc.cpp | 1047 const unsigned NumParams = FuncTy->getNumParams(); in isCompatibleSignature() local 1048 if (NumParams != CallTy->getNumParams()) in isCompatibleSignature() 1051 for (unsigned I = 0; I != NumParams; ++I) { in isCompatibleSignature()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfdump/ |
| H A D | Statistics.cpp | 101 uint64_t NumParams = 0; member 457 FnStats.NumParams++; in collectStatsForDie() 1008 ParamTotal += Stats.NumParams; in collectStatsForObjectFile()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.h | 149 BTFTypeFuncProto(const DISubroutineType *STy, uint32_t NumParams,
|