| /llvm-project-15.0.7/llvm/tools/llvm-c-test/ |
| H A D | attributes.c | 28 int Idx, ParamCount; in llvm_test_function_attributes() local 29 for (Idx = LLVMAttributeFunctionIndex, ParamCount = LLVMCountParams(F); in llvm_test_function_attributes() 30 Idx <= ParamCount; ++Idx) { in llvm_test_function_attributes() 62 int Idx, ParamCount; in llvm_test_callsite_attributes() local 64 ParamCount = LLVMCountParams(F); in llvm_test_callsite_attributes() 65 Idx <= ParamCount; ++Idx) { in llvm_test_callsite_attributes()
|
| H A D | echo.cpp | 95 unsigned ParamCount = LLVMCountParamTypes(Src); in Clone() local 97 if (ParamCount > 0) { in Clone() 99 safe_malloc(ParamCount * sizeof(LLVMTypeRef))); in Clone() 101 for (unsigned i = 0; i < ParamCount; i++) in Clone() 106 Params, ParamCount, in Clone() 108 if (ParamCount > 0) in Clone()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | CallDescription.cpp | 78 size_t ParamCount) const { in matchesImpl() 86 (!RequiredParams || *RequiredParams <= ParamCount); in matchesImpl() 107 [](size_t ArgCount, size_t ParamCount, in matchesImpl() 111 !CD.RequiredParams || *CD.RequiredParams == ParamCount; in matchesImpl() 143 if (!ExactMatchArgAndParamCounts(ArgCount, ParamCount, *this)) in matchesImpl()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | GTestChecker.cpp | 198 unsigned ParamCount = CtorDecl->getNumParams(); in checkPostCall() local 204 if (CtorDecl->isCopyConstructor() && ParamCount == 1) { in checkPostCall() 223 if (ParamCount == 1 && CtorDecl->getParamDecl(0)->getType() == BoolTy) { in checkPostCall() 228 if (ParamCount == 2){ in checkPostCall()
|
| /llvm-project-15.0.7/llvm/unittests/DebugInfo/CodeView/ |
| H A D | TypeHashingTest.cpp | 36 uint32_t ParamCount, TypeIndex Return, in createProcedureRecord() argument 42 PR.ParameterCount = ParamCount; in createProcedureRecord()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CallDescription.h | 160 size_t ParamCount) const;
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | SuspiciousCallArgumentCheck.cpp | 654 std::size_t ParamCount = ParamNames.size(); in check() local 657 for (std::size_t I = 0; I < ParamCount; ++I) { in check() 658 for (std::size_t J = I + 1; J < ParamCount; ++J) { in check()
|
| /llvm-project-15.0.7/llvm/include/llvm-c/ |
| H A D | Core.h | 1260 LLVMTypeRef *ParamTypes, unsigned ParamCount, 2543 size_t ParamCount); 2552 LLVMTypeRef *ParamTypes, size_t ParamCount); 2564 size_t ParamCount, 2580 size_t ParamCount,
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | RedundantExpressionCheck.cpp | 638 unsigned ParamCount = OperatorDecl->getNumParams(); in canOverloadedOperatorArgsBeModified() local 643 if (ParamCount == 1 && in canOverloadedOperatorArgsBeModified() 650 return CheckSecondParam && ParamCount == 2 && in canOverloadedOperatorArgsBeModified()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Core.cpp | 688 LLVMTypeRef *ParamTypes, unsigned ParamCount, in LLVMFunctionType() argument 690 ArrayRef<Type*> Tys(unwrap(ParamTypes), ParamCount); in LLVMFunctionType() 2364 size_t ParamCount) { in LLVMGetIntrinsicDeclaration() argument 2365 ArrayRef<Type*> Tys(unwrap(ParamTypes), ParamCount); in LLVMGetIntrinsicDeclaration() 2378 LLVMTypeRef *ParamTypes, size_t ParamCount) { in LLVMIntrinsicGetType() argument 2380 ArrayRef<Type*> Tys(unwrap(ParamTypes), ParamCount); in LLVMIntrinsicGetType() 2386 size_t ParamCount, in LLVMIntrinsicCopyOverloadedName() argument 2389 ArrayRef<Type*> Tys(unwrap(ParamTypes), ParamCount); in LLVMIntrinsicCopyOverloadedName() 2397 size_t ParamCount, in LLVMIntrinsicCopyOverloadedName2() argument 2400 ArrayRef<Type *> Tys(unwrap(ParamTypes), ParamCount); in LLVMIntrinsicCopyOverloadedName2()
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | WasmObjectFile.cpp | 1099 uint32_t ParamCount = readVaruint32(Ctx); in parseTypeSection() local 1100 Sig.Params.reserve(ParamCount); in parseTypeSection() 1101 while (ParamCount--) { in parseTypeSection()
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelLowering.cpp | 1488 unsigned ParamCount = 0; in LowerCall() local 1530 ArgAlign = getArgumentAlignment(Callee, CB, Ty, ParamCount + 1, DL); in LowerCall() 1543 DAG.getConstant(ParamCount, dl, MVT::i32), in LowerCall() 1557 Chain, DAG.getConstant(ParamCount, dl, MVT::i32), in LowerCall() 1586 StoreOperands.push_back(DAG.getConstant(ParamCount, dl, MVT::i32)); in LowerCall() 1663 ++ParamCount; in LowerCall() 1768 for (unsigned i = 0, e = ParamCount; i != e; ++i) { in LowerCall()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDeclAttr.cpp | 6539 unsigned ParamCount; in DiagnoseSwiftName() local 6542 ParamCount = Method->getSelector().getNumArgs(); in DiagnoseSwiftName() 6543 Params = Method->parameters().slice(0, ParamCount); in DiagnoseSwiftName() 6547 ParamCount = F->getNumParams(); in DiagnoseSwiftName() 6559 if (ParamCount == 0) { in DiagnoseSwiftName() 6564 ParamCount -= 1; in DiagnoseSwiftName() 6574 if (SwiftParamCount == ParamCount) { in DiagnoseSwiftName() 6576 } else if (SwiftParamCount > ParamCount) { in DiagnoseSwiftName() 6577 ParamCountValid = IsSingleParamInit && ParamCount == 0; in DiagnoseSwiftName() 6590 ParamCountValid = SwiftParamCount + MaybeOutParamCount >= ParamCount; in DiagnoseSwiftName() [all …]
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | StructuralEquivalenceTest.cpp | 405 TEST_F(StructuralEquivalenceFunctionTest, ParamCount) { in TEST_F() argument
|