Home
last modified time | relevance | path

Searched refs:ParamCount (Results 1 – 10 of 10) sorted by relevance

/openbsd-src/gnu/llvm/llvm/tools/llvm-c-test/
H A Dattributes.c28 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 Decho.cpp95 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()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DCallDescription.cpp79 size_t ParamCount) const { in matchesImpl()
87 (!RequiredParams || *RequiredParams <= ParamCount); in matchesImpl()
108 [](size_t ArgCount, size_t ParamCount, in matchesImpl()
112 !CD.RequiredParams || *CD.RequiredParams == ParamCount; in matchesImpl()
144 if (!ExactMatchArgAndParamCounts(ArgCount, ParamCount, *this)) in matchesImpl()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DGTestChecker.cpp199 unsigned ParamCount = CtorDecl->getNumParams(); in checkPostCall() local
205 if (CtorDecl->isCopyConstructor() && ParamCount == 1) { in checkPostCall()
224 if (ParamCount == 1 && CtorDecl->getParamDecl(0)->getType() == BoolTy) { in checkPostCall()
229 if (ParamCount == 2){ in checkPostCall()
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallDescription.h159 size_t ParamCount) const;
/openbsd-src/gnu/llvm/llvm/include/llvm-c/
H A DCore.h1272 LLVMTypeRef *ParamTypes, unsigned ParamCount,
2548 size_t ParamCount);
2557 LLVMTypeRef *ParamTypes, size_t ParamCount);
2569 size_t ParamCount,
2585 size_t ParamCount,
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DCore.cpp689 LLVMTypeRef *ParamTypes, unsigned ParamCount, in LLVMFunctionType() argument
691 ArrayRef<Type*> Tys(unwrap(ParamTypes), ParamCount); in LLVMFunctionType()
2343 size_t ParamCount) { in LLVMGetIntrinsicDeclaration() argument
2344 ArrayRef<Type*> Tys(unwrap(ParamTypes), ParamCount); in LLVMGetIntrinsicDeclaration()
2357 LLVMTypeRef *ParamTypes, size_t ParamCount) { in LLVMIntrinsicGetType() argument
2359 ArrayRef<Type*> Tys(unwrap(ParamTypes), ParamCount); in LLVMIntrinsicGetType()
2365 size_t ParamCount, in LLVMIntrinsicCopyOverloadedName() argument
2368 ArrayRef<Type*> Tys(unwrap(ParamTypes), ParamCount); in LLVMIntrinsicCopyOverloadedName()
2376 size_t ParamCount, in LLVMIntrinsicCopyOverloadedName2() argument
2379 ArrayRef<Type *> Tys(unwrap(ParamTypes), ParamCount); in LLVMIntrinsicCopyOverloadedName2()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp1528 unsigned ParamCount = 0; in LowerCall() local
1566 ArgAlign = getArgumentAlignment(Callee, CB, Ty, ParamCount + 1, DL); in LowerCall()
1575 if (ParamCount == FirstVAArg) { in LowerCall()
1578 DAG.getConstant(ParamCount, dl, MVT::i32), in LowerCall()
1590 DAG.getConstant(ParamCount, dl, MVT::i32), in LowerCall()
1604 Chain, DAG.getConstant(ParamCount, dl, MVT::i32), in LowerCall()
1634 DAG.getConstant(IsVAArg ? FirstVAArg : ParamCount, dl, MVT::i32)); in LowerCall()
1722 ++ParamCount; in LowerCall()
1849 for (unsigned i = 0, e = std::min(CLI.NumFixedArgs + 1, ParamCount); i != e; in LowerCall()
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DWasmObjectFile.cpp1091 uint32_t ParamCount = readVaruint32(Ctx); in parseTypeSection() local
1092 Sig.Params.reserve(ParamCount); in parseTypeSection()
1093 while (ParamCount--) { in parseTypeSection()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaDeclAttr.cpp6658 unsigned ParamCount; in DiagnoseSwiftName() local
6661 ParamCount = Method->getSelector().getNumArgs(); in DiagnoseSwiftName()
6662 Params = Method->parameters().slice(0, ParamCount); in DiagnoseSwiftName()
6666 ParamCount = F->getNumParams(); in DiagnoseSwiftName()
6678 if (ParamCount == 0) { in DiagnoseSwiftName()
6683 ParamCount -= 1; in DiagnoseSwiftName()
6693 if (SwiftParamCount == ParamCount) { in DiagnoseSwiftName()
6695 } else if (SwiftParamCount > ParamCount) { in DiagnoseSwiftName()
6696 ParamCountValid = IsSingleParamInit && ParamCount == 0; in DiagnoseSwiftName()
6709 ParamCountValid = SwiftParamCount + MaybeOutParamCount >= ParamCount; in DiagnoseSwiftName()
[all …]