| /openbsd-src/gnu/llvm/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 …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CallEvent.h | 250 virtual unsigned getNumArgs() const = 0; 539 unsigned getNumArgs() const override { return getOriginExpr()->getNumArgs(); } in getNumArgs() function 575 unsigned getNumArgs() const override { return getOriginExpr()->getNumArgs(); } in getNumArgs() function 713 unsigned getNumArgs() const override { in getNumArgs() function 715 return CE->getNumArgs(); in getNumArgs() 757 unsigned getNumArgs() const override { in getNumArgs() function 758 return getOriginExpr()->getNumArgs() - 1; in getNumArgs() 825 unsigned getNumArgs() const override { return 0; } in getNumArgs() function 904 unsigned getNumArgs() const override { return getOriginExpr()->getNumArgs(); } in getNumArgs() function 974 unsigned getNumArgs() const override { in getNumArgs() function [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Option/ |
| H A D | Option.cpp | 83 O << " NumArgs:" << getNumArgs(); in print() 169 Index += 1 + getNumArgs(); in acceptInternal() 173 auto A = std::make_unique<Arg>(*this, Spelling, Index - 1 - getNumArgs(), in acceptInternal() 174 Args.getArgString(Index - getNumArgs())); in acceptInternal() 175 for (unsigned i = 1; i != getNumArgs(); ++i) in acceptInternal() 176 A->getValues().push_back(Args.getArgString(Index - getNumArgs() + i)); in acceptInternal()
|
| /openbsd-src/gnu/llvm/clang/examples/Attribute/ |
| H A D | Attribute.cpp | 62 if (Attr.getNumArgs() > 3) { in handleDeclAttribute() 70 if (Attr.getNumArgs() > 0) { in handleDeclAttribute() 82 for (unsigned i = 0; i < Attr.getNumArgs(); i++) { in handleDeclAttribute()
|
| /openbsd-src/gnu/llvm/llvm/utils/TableGen/ |
| H A D | CodeGenInstruction.cpp | 42 NumDefs = OutDI->getNumArgs(); in CGIOperandList() 56 unsigned e = InDI->getNumArgs() + OutDI->getNumArgs(); in CGIOperandList() 108 if (unsigned NumArgs = MIOpInfo->getNumArgs()) in CGIOperandList() 145 if (SubArgDag->getNumArgs() != NumOps) { in CGIOperandList() 148 Twine(SubArgDag->getNumArgs()) + in CGIOperandList() 292 for (unsigned i = 0, e = MIOpInfo->getNumArgs(); i != e; ++i) in ParseOperandName() 585 if (!ConstraintList || i >= ConstraintList->getNumArgs()) in isOperandImpl() 737 if (MIOpInfo->getNumArgs() == 0) { in getMINumOperands() 742 return MIOpInfo->getNumArgs(); in getMINumOperands() 761 for (unsigned i = 0, e = Result->getNumArgs(); i != e; ++i) { in CodeGenInstAlias() [all …]
|
| H A D | X86FoldTablesEmitter.cpp | 323 unsigned MemOutSize = MemRec->getValueAsDag("OutOperandList")->getNumArgs(); in operator ()() 324 unsigned RegOutSize = RegRec->getValueAsDag("OutOperandList")->getNumArgs(); in operator ()() 325 unsigned MemInSize = MemRec->getValueAsDag("InOperandList")->getNumArgs(); in operator ()() 326 unsigned RegInSize = RegRec->getValueAsDag("InOperandList")->getNumArgs(); in operator ()() 403 unsigned MemInOpsNum = MemRec->getValueAsDag("InOperandList")->getNumArgs(); in addEntryWithFlags() 404 unsigned RegInOpsNum = RegRec->getValueAsDag("InOperandList")->getNumArgs(); in addEntryWithFlags() 456 unsigned MemOutSize = MemRec->getValueAsDag("OutOperandList")->getNumArgs(); in updateTables() 457 unsigned RegOutSize = RegRec->getValueAsDag("OutOperandList")->getNumArgs(); in updateTables() 458 unsigned MemInSize = MemRec->getValueAsDag("InOperandList")->getNumArgs(); in updateTables() 459 unsigned RegInSize = RegRec->getValueAsDag("InOperandList")->getNumArgs(); in updateTables()
|
| H A D | SubtargetFeatureInfo.cpp | 122 if (Op == "not" && D->getNumArgs() == 1) { in emitFeaturesAux() 126 if ((Op == "any_of" || Op == "all_of") && D->getNumArgs() > 0) { in emitFeaturesAux() 127 bool Paren = D->getNumArgs() > 1 && std::exchange(ParenIfBinOp, true); in emitFeaturesAux()
|
| H A D | VarLenCodeEmitterGen.cpp | 103 if (!DI->getNumArgs() || !isa<StringInit>(DI->getArg(0))) in getCustomCoders() 129 int i = Reverse ? DI->getNumArgs() - 1 : 0; in buildRec() 130 int e = Reverse ? -1 : DI->getNumArgs(); in buildRec() 154 if (DI->getNumArgs() < 2) in buildRec() 173 if (DI->getNumArgs() < 3) in buildRec()
|
| H A D | CompressInstEmitter.cpp | 268 if (Dag->getNumArgs() == Inst.Operands.size()) in verifyDagOpCount() 277 if (Dag->getNumArgs() > Inst.Operands.size()) in verifyDagOpCount() 289 if (Dag->getNumArgs() != RealCount) in verifyDagOpCount() 309 for (unsigned i = 0; i < DestDag->getNumArgs(); ++i) { in createDagOperandMapping() 317 for (unsigned i = 0; i < SourceDag->getNumArgs(); ++i) { in createDagOperandMapping() 492 if (D->getNumArgs() == 0) in getReqFeatures() 501 NotArg->getNumArgs() != 1) in getReqFeatures()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UnixAPIChecker.cpp | 182 if (CE->getNumArgs() < MinArgCount) { in CheckOpenVariant() 185 } else if (CE->getNumArgs() == MaxArgCount) { in CheckOpenVariant() 200 } else if (CE->getNumArgs() > MaxArgCount) { in CheckOpenVariant() 255 if (CE->getNumArgs() < MaxArgCount) { in CheckOpenVariant() 278 if (CE->getNumArgs() < 1) in CheckPthreadOnce() 368 if (CE->getNumArgs() != numArgs) in BasicAllocationCheck() 393 unsigned int nArgs = CE->getNumArgs(); in CheckCallocZero()
|
| H A D | MismatchedIteratorChecker.cpp | 73 if (Call.getNumArgs() < 1) in checkPreCall() 82 if (Call.getNumArgs() < 2) in checkPreCall() 99 if (Call.getNumArgs() == 2) { in checkPreCall() 106 if (Call.getNumArgs() == 3 && in checkPreCall() 117 if (Call.getNumArgs() < 2) in checkPreCall()
|
| H A D | ObjCContainersChecker.cpp | 86 if (Name.empty() || CE->getNumArgs() < 1) in checkPostStmt() 91 if (CE->getNumArgs() < 3) in checkPostStmt() 109 if (Name.empty() || CE->getNumArgs() < 2) in checkPreStmt()
|
| H A D | GTestChecker.cpp | 133 assert(Call->getNumArgs() >= 1 && Call->getNumArgs() <= 2); in modelAssertionResultBoolConstructor() 162 assert(Call->getNumArgs() == 1); in modelAssertionResultCopyConstructor()
|
| H A D | IteratorRangeChecker.cpp | 92 if (Call.getNumArgs() >= 1) { in checkPreCall() 101 if (Call.getNumArgs() >= 1) { in checkPreCall() 108 if (Call.getNumArgs() >= 1 && in checkPreCall() 115 if (Call.getNumArgs() >= 2 && in checkPreCall() 132 if (Call.getNumArgs() > 1) { in checkPreCall()
|
| H A D | BuiltinFunctionChecker.cpp | 48 assert (Call.getNumArgs() > 0); in evalCall() 76 assert (Call.getNumArgs() > 0); in evalCall()
|
| H A D | IteratorModeling.cpp | 204 if (isa<CXXConstructorCall>(&Call) && Call.getNumArgs() == 1) { in checkPostCall() 220 for (unsigned i = 0; i < Call.getNumArgs(); ++i) { in checkPostCall() 374 if (Call.getNumArgs() >= 1 && in handleOverloadedOperator() 380 } else if (Call.getNumArgs() >= 2) { in handleOverloadedOperator() 404 Call.getNumArgs()); in handleOverloadedOperator() 409 Call.getNumArgs()); in handleOverloadedOperator() 414 Call.getNumArgs()); in handleOverloadedOperator() 419 Call.getNumArgs()); in handleOverloadedOperator()
|
| H A D | ObjCContainersASTChecker.cpp | 105 if (CE->getNumArgs() != 4) in VisitCallExpr() 112 if (CE->getNumArgs() != 6) in VisitCallExpr()
|
| /openbsd-src/gnu/llvm/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() 617 if (C->getNumArgs() == 0) in visitInlineCommandComment() 627 for (unsigned i = 0, e = C->getNumArgs(); i != e; ++i) { in visitInlineCommandComment() 633 assert(C->getNumArgs() == 1); in visitInlineCommandComment() 639 assert(C->getNumArgs() == 1); in visitInlineCommandComment() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibFunc.h | 333 virtual unsigned getNumArgs() const = 0; 373 unsigned getNumArgs() const { return Impl->getNumArgs(); } in getNumArgs() function 417 unsigned getNumArgs() const override; 447 unsigned getNumArgs() const override;
|
| H A D | AMDGPULibFunc.cpp | 70 unsigned getNumArgs() const; 107 static unsigned getNumArgs(ID Id) { return Table[toIndex(Id)].NumArgs; } in getNumArgs() function in __anon505a1ceb0111::UnmangledFuncInfo 111 unsigned ManglingRule::getNumArgs() const { in getNumArgs() function in __anon505a1ceb0111::ManglingRule 933 unsigned AMDGPUMangledLibFunc::getNumArgs() const { in getNumArgs() function in AMDGPUMangledLibFunc 934 return manglingRules[FuncId].getNumArgs(); in getNumArgs() 937 unsigned AMDGPUUnmangledLibFunc::getNumArgs() const { in getNumArgs() function in AMDGPUUnmangledLibFunc 938 return UnmangledFuncInfo::getNumArgs(FuncId); in getNumArgs() 956 && F->arg_size() == fInfo.getNumArgs()) { in getFunction() 971 && F->arg_size() == fInfo.getNumArgs()) { in getOrInsertFunction()
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/ |
| H A D | IdentifierTable.cpp | 517 using DeclarationNameExtra::getNumArgs; 526 return keyword_begin() + getNumArgs(); in keyword_end() 530 assert(i < getNumArgs() && "getIdentifierInfoForSlot(): illegal index"); in getIdentifierInfoForSlot() 542 Profile(ID, keyword_begin(), getNumArgs()); in Profile() 550 if (getNumArgs() != Names.size()) in isKeywordSelector() 563 unsigned Selector::getNumArgs() const { in getNumArgs() function in Selector 571 return SI->getNumArgs(); in getNumArgs() 609 if (getNumArgs() == 0) { in getAsString()
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CXComment.cpp | 174 return ICC->getNumArgs(); in clang_InlineCommandComment_getNumArgs() 180 if (!ICC || ArgIdx >= ICC->getNumArgs()) in clang_InlineCommandComment_getArgText() 240 return BCC->getNumArgs(); in clang_BlockCommandComment_getNumArgs() 246 if (!BCC || ArgIdx >= BCC->getNumArgs()) in clang_BlockCommandComment_getArgText()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | UncountedCallArgsChecker.cpp | 79 P < F->param_end() && ArgIdx < CE->getNumArgs(); ++P, ++ArgIdx) { in visitCallExpr() 122 if (CE->getNumArgs() == 0) in shouldSkipCall()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | OSLog.cpp | 183 ArrayRef<const Expr *> Args(E->getArgs(), E->getArgs() + E->getNumArgs()); in computeOSLogBufferLayout() 189 assert(E->getNumArgs() >= 1 && in computeOSLogBufferLayout() 195 assert(E->getNumArgs() >= 2 && in computeOSLogBufferLayout()
|