Lines Matching defs:NumParams
325 unsigned int NumParams = FD->getNumParams();
329 if(!ArgValue.isStrictlyPositive() || ParamIdxFromOne > NumParams) {
331 << Attr.getName() << Idx + 1 << NumParams;
3109 unsigned numParams;
3110 if (S.CheckRegparmAttr(Attr, numParams))
3119 D->addAttr(::new (S.Context) RegparmAttr(Attr.getRange(), S.Context, numParams));
3123 /// otherwise setting numParams to the appropriate value.
3124 bool Sema::CheckRegparmAttr(const AttributeList &Attr, unsigned &numParams) {
3135 llvm::APSInt NumParams(32);
3137 !NumParamsExpr->isIntegerConstantExpr(NumParams, Context)) {
3151 numParams = NumParams.getZExtValue();
3152 if (numParams > Context.getTargetInfo().getRegParmMax()) {