| /freebsd/contrib/llvm-project/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 64 if (Msg->getNumArgs() != 1) in rewriteObjCRedundantCallWithLiteral() 183 if (Msg->getNumArgs() != 1) in rewriteToSubscriptGetCommon() 231 if (Msg->getNumArgs() != 2) in rewriteToArraySubscriptSet() 265 if (Msg->getNumArgs() != 2) in rewriteToDictionarySubscriptSet() 311 if (Msg->getNumArgs() != 2) in rewriteToObjCSubscriptSyntax() 392 if (Msg->getNumArgs() != 0) in rewriteToArrayLiteral() 399 if (Msg->getNumArgs() != 1) in rewriteToArrayLiteral() 410 if (Msg->getNumArgs() == 0) in rewriteToArrayLiteral() 412 const Expr *SentinelExpr = Msg->getArg(Msg->getNumArgs() - 1); in rewriteToArrayLiteral() 416 for (unsigned i = 0, e = Msg->getNumArgs() - 1; i != e; ++i) in rewriteToArrayLiteral() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CallEvent.h | 259 virtual unsigned getNumArgs() const = 0; 559 unsigned getNumArgs() const override { return getOriginExpr()->getNumArgs(); } in getNumArgs() function 596 unsigned getNumArgs() const override { return getOriginExpr()->getNumArgs(); } in getNumArgs() function 755 unsigned getNumArgs() const override { in getNumArgs() function 757 assert(getOriginExpr()->getNumArgs() > 0); in getNumArgs() 758 return getOriginExpr()->getNumArgs() - 1; in getNumArgs() 811 unsigned getNumArgs() const override { in getNumArgs() function 813 return CE->getNumArgs(); in getNumArgs() 856 unsigned getNumArgs() const override { in getNumArgs() function 857 return getOriginExpr()->getNumArgs() - 1; in getNumArgs() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | RawPtrRefLambdaCapturesChecker.cpp | 153 if (ArgIndex >= CE->getNumArgs()) in checkASTDecl() 174 if (ArgIndex >= CE->getNumArgs()) in checkASTDecl() 201 if (!CE || !CE->getNumArgs()) in checkASTDecl() 207 if (InnerCE && InnerCE->getNumArgs()) in checkASTDecl() 253 if (!MD || CE->getNumArgs() < 1) in checkASTDecl() 306 if (Checker->isPtrType(clsName) && CE->getNumArgs()) { in checkASTDecl() 313 CE->getNumArgs() == 1) { in checkASTDecl() 322 if (CE->isCallToStdMove() && CE->getNumArgs() == 1) { in checkASTDecl() 327 if (isCtorOfSafePtr(Callee) && CE->getNumArgs() == 1) { in checkASTDecl() 340 if (!Checker->isPtrType(clsName) || !OpCE->getNumArgs()) in checkASTDecl()
|
| H A D | ASTUtils.cpp | 114 if (operatorCall->getNumArgs() == 1) { in tryToFindPtrOrigin() 122 if (call->isCallToStdMove() && call->getNumArgs() == 1) { in tryToFindPtrOrigin() 166 !Selector.getNumArgs()) in tryToFindPtrOrigin() 225 if (OCE->getOperator() == OO_Star && OCE->getNumArgs() == 1) in isConstOwnerPtrMemberExpr()
|
| H A D | ForwardDeclChecker.cpp | 219 P < F->param_end() && ArgIdx < CE->getNumArgs(); ++P, ++ArgIdx) in visitCallExpr() 237 P < F->param_end() && ArgIdx < CE->getNumArgs(); ++P, ++ArgIdx) in visitConstructExpr() 258 auto ArgCount = E->getNumArgs(); in visitObjCMessageExpr() 269 safeGetName(InnerCallee) == "move" && InnerCE->getNumArgs() == 1) { in visitCallArg()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
| H A D | CodeGenInstAlias.cpp | 159 if (MIOpInfo->getNumArgs() == 0) { in getMINumOperands() 164 return MIOpInfo->getNumArgs(); in getMINumOperands() 183 for (unsigned i = 0, e = Result->getNumArgs(); i != e; ++i) { in CodeGenInstAlias() 214 if (AliasOpNo >= Result->getNumArgs()) in CodeGenInstAlias() 255 if (AliasOpNo >= Result->getNumArgs()) in CodeGenInstAlias() 279 if (AliasOpNo != Result->getNumArgs()) in CodeGenInstAlias()
|
| H A D | CodeGenInstruction.cpp | 42 NumDefs = OutDI->getNumArgs(); in CGIOperandList() 57 unsigned e = InDI->getNumArgs() + OutDI->getNumArgs(); in CGIOperandList() 109 if (unsigned NumArgs = MIOpInfo->getNumArgs()) in CGIOperandList() 146 if (SubArgDag->getNumArgs() != NumOps) { in CGIOperandList() 149 Twine(SubArgDag->getNumArgs()) + in CGIOperandList() 285 for (unsigned i = 0, e = MIOpInfo->getNumArgs(); i != e; ++i) in ParseOperandName() 580 if (!ConstraintList || i >= ConstraintList->getNumArgs()) in isOperandImpl()
|
| H A D | SubtargetFeatureInfo.cpp | 144 if (OpName == "not" && D->getNumArgs() == 1) { in emitFeaturesAux() 148 if ((OpName == "any_of" || OpName == "all_of") && D->getNumArgs() > 0) { in emitFeaturesAux() 149 bool Paren = D->getNumArgs() > 1 && std::exchange(ParenIfBinOp, true); in emitFeaturesAux()
|
| H A D | VarLenCodeEmitterGen.cpp | 117 if (!DI->getNumArgs() || !isa<StringInit>(DI->getArg(0))) in getCustomCoders() 143 int i = Reverse ? DI->getNumArgs() - 1 : 0; in buildRec() 144 int e = Reverse ? -1 : DI->getNumArgs(); in buildRec() 168 if (DI->getNumArgs() < 2) in buildRec() 187 if (DI->getNumArgs() < 3) in buildRec()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MismatchedIteratorChecker.cpp | 63 if (Call.getNumArgs() < 1) in checkPreCall() 72 if (Call.getNumArgs() < 2) in checkPreCall() 89 if (Call.getNumArgs() == 2) { in checkPreCall() 94 if (Call.getNumArgs() == 2 && in checkPreCall() 101 if (Call.getNumArgs() == 3 && in checkPreCall() 113 if (Call.getNumArgs() < 2) in checkPreCall()
|
| H A D | UnixAPIChecker.cpp | 227 if (Call.getNumArgs() < MinArgCount) in CheckOpenVariant() 238 if (Call.getNumArgs() == MaxArgCount) { in CheckOpenVariant() 253 } else if (Call.getNumArgs() > MaxArgCount) { in CheckOpenVariant() 296 if (Call.getNumArgs() < MaxArgCount) { in CheckOpenVariant() 383 if (Call.getNumArgs() < 2) in CheckGetDelimOrGetline() 420 if (Call.getNumArgs() < 1) in CheckPthreadOnce() 505 if (CE->getNumArgs() != numArgs) in BasicAllocationCheck() 530 unsigned int nArgs = CE->getNumArgs(); in CheckCallocZero()
|
| H A D | ObjCContainersChecker.cpp | 81 if (Name.empty() || CE->getNumArgs() < 1) in checkPostStmt() 86 if (CE->getNumArgs() < 3) in checkPostStmt() 104 if (Name.empty() || CE->getNumArgs() < 2) in checkPreStmt()
|
| H A D | IteratorRangeChecker.cpp | 91 if (Call.getNumArgs() >= 1) { in checkPreCall() 100 if (Call.getNumArgs() >= 1) { in checkPreCall() 107 if (Call.getNumArgs() >= 1 && in checkPreCall() 114 if (Call.getNumArgs() >= 2 && in checkPreCall() 131 if (Call.getNumArgs() > 1) { in checkPreCall()
|
| H A D | BuiltinFunctionChecker.cpp | 46 assert(Call.getNumArgs() == 3); in getOverflowBuiltinResultType() 54 assert(Call.getNumArgs() == 3); in getOverflowBuiltinResultType() 203 assert(Call.getNumArgs() == 3); in handleOverflowBuiltin() 311 assert (Call.getNumArgs() > 0); in evalCall()
|
| H A D | IteratorModeling.cpp | 206 if (isa<CXXConstructorCall>(&Call) && Call.getNumArgs() == 1) { in checkPostCall() 222 for (unsigned i = 0; i < Call.getNumArgs(); ++i) { in checkPostCall() 375 if (Call.getNumArgs() >= 1 && in handleOverloadedOperator() 381 } else if (Call.getNumArgs() >= 2) { in handleOverloadedOperator() 405 Call.getNumArgs()); in handleOverloadedOperator() 410 Call.getNumArgs()); in handleOverloadedOperator() 415 Call.getNumArgs()); in handleOverloadedOperator() 420 Call.getNumArgs()); in handleOverloadedOperator()
|
| H A D | ObjCContainersASTChecker.cpp | 105 if (CE->getNumArgs() != 4) in VisitCallExpr() 112 if (CE->getNumArgs() != 6) in VisitCallExpr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Option/ |
| H A D | Option.cpp | 85 O << " NumArgs:" << getNumArgs(); in print() 172 Index += 1 + getNumArgs(); in acceptInternal() 176 auto A = std::make_unique<Arg>(*this, Spelling, Index - 1 - getNumArgs(), in acceptInternal() 177 Args.getArgString(Index - getNumArgs())); in acceptInternal() 178 for (unsigned i = 1; i != getNumArgs(); ++i) in acceptInternal() 179 A->getValues().push_back(Args.getArgString(Index - getNumArgs() + i)); in acceptInternal()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
| H A D | PatternParser.cpp | 52 if (List.getNumArgs() == 0) { in parsePatternList() 59 for (unsigned I = 0; I < List.getNumArgs(); ++I) { in parsePatternList() 141 for (unsigned K = 0; K < DagPat->getNumArgs(); ++K) { in parseInstructionPattern() 165 if (Matcher->getNumArgs() == 0) { in parseWipMatchOpcodeMatcher() 207 if (DagOp->getNumArgs() != 1) in parseInstructionPatternOperand() 283 for (unsigned K = 0; K < Op->getNumArgs(); ++K) { in parseInstructionPatternMIFlags() 391 for (unsigned K = 0; K < OpsList.getNumArgs(); ++K) { in parsePatFragParamList()
|
| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | CommentToXML.cpp | 268 if (C->getNumArgs() == 0) in visitInlineCommandComment() 278 for (unsigned i = 0, e = C->getNumArgs(); i != e; ++i) { in visitInlineCommandComment() 285 assert(C->getNumArgs() == 1); in visitInlineCommandComment() 291 assert(C->getNumArgs() == 1); in visitInlineCommandComment() 297 assert(C->getNumArgs() == 1); in visitInlineCommandComment() 303 assert(C->getNumArgs() == 1); in visitInlineCommandComment() 618 if (C->getNumArgs() == 0) in visitInlineCommandComment() 628 for (unsigned i = 0, e = C->getNumArgs(); i != e; ++i) { in visitInlineCommandComment() 634 assert(C->getNumArgs() == 1); in visitInlineCommandComment() 640 assert(C->getNumArgs() == 1); in visitInlineCommandComment() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibFunc.h | 339 virtual unsigned getNumArgs() const = 0; 381 unsigned getNumArgs() const { return Impl->getNumArgs(); } in getNumArgs() function 444 unsigned getNumArgs() const override; 474 unsigned getNumArgs() const override;
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | X86FoldTablesEmitter.cpp | 395 unsigned MemOutSize = MemRec->getValueAsDag("OutOperandList")->getNumArgs(); in operator ()() 396 unsigned RegOutSize = RegRec->getValueAsDag("OutOperandList")->getNumArgs(); in operator ()() 397 unsigned MemInSize = MemRec->getValueAsDag("InOperandList")->getNumArgs(); in operator ()() 398 unsigned RegInSize = RegRec->getValueAsDag("InOperandList")->getNumArgs(); in operator ()() 516 for (unsigned I = 0, E = In->getNumArgs(); I != E; ++I) { in addBroadcastEntry() 542 unsigned MemOutSize = MemRec->getValueAsDag("OutOperandList")->getNumArgs(); in updateTables() 543 unsigned RegOutSize = RegRec->getValueAsDag("OutOperandList")->getNumArgs(); in updateTables() 544 unsigned MemInSize = MemRec->getValueAsDag("InOperandList")->getNumArgs(); in updateTables() 545 unsigned RegInSize = RegRec->getValueAsDag("InOperandList")->getNumArgs(); in updateTables()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | SourceCodeBuilders.cpp | 25 if (CE->getNumArgs() > 0 && in reallyIgnoreImplicit() 58 return Op->getNumArgs() == 2 && Op->getOperator() != OO_PlusPlus && in needParensAfterUnaryOperator() 195 if (OpCall->getOperator() == K && OpCall->getNumArgs() == 1) in maybeGetOperatorObjectArg()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | IdentifierTable.h | 904 unsigned getNumArgs() const { in getNumArgs() function 938 using DeclarationNameExtra::getNumArgs; 947 return keyword_begin() + getNumArgs(); in keyword_end() 951 assert(i < getNumArgs() && "getIdentifierInfoForSlot(): illegal index"); in getIdentifierInfoForSlot() 963 Profile(ID, keyword_begin(), getNumArgs()); in Profile() 1072 unsigned getNumArgs() const;
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | OSLog.cpp | 182 ArrayRef<const Expr *> Args(E->getArgs(), E->getArgs() + E->getNumArgs()); in computeOSLogBufferLayout() 188 assert(E->getNumArgs() >= 1 && in computeOSLogBufferLayout() 194 assert(E->getNumArgs() >= 2 && in computeOSLogBufferLayout()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CallDescription.cpp | 59 return matchesImpl(FD, Call.getNumArgs(), Call.parameters().size()); in matches() 67 return matchesImpl(FD, CE.getNumArgs(), FD->param_size()); in matchesAsWritten()
|