/external/llvm/lib/Transforms/Scalar/ |
D | SimplifyLibCalls.cpp | 257 if (FTy->getNumParams() != 1 || !FTy->getParamType(0)->isPointerTy()) in inferPrototypeAttributes() 264 if (FTy->getNumParams() != 2 || in inferPrototypeAttributes() 283 if (FTy->getNumParams() < 2 || in inferPrototypeAttributes() 289 if (FTy->getNumParams() != 3 || in inferPrototypeAttributes() 303 if (FTy->getNumParams() < 2 || in inferPrototypeAttributes() 313 if (FTy->getNumParams() != 2 || !FTy->getParamType(1)->isPointerTy()) in inferPrototypeAttributes() 320 if (FTy->getNumParams() < 2 || !FTy->getParamType(1)->isPointerTy()) in inferPrototypeAttributes() 327 if (FTy->getNumParams() < 1 || !FTy->getParamType(0)->isPointerTy()) in inferPrototypeAttributes() 333 if (FTy->getNumParams() < 1 || !FTy->getReturnType()->isPointerTy() || in inferPrototypeAttributes() 343 if (FTy->getNumParams() < 2 || in inferPrototypeAttributes() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 163 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) || in callOptimizer() 186 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) || in callOptimizer() 209 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) || in callOptimizer() 234 if (FT->getNumParams() != 3 || in callOptimizer() 279 if (FT->getNumParams() != 3 || in callOptimizer() 329 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) || in callOptimizer() 354 if (FT->getNumParams() != 2 || in callOptimizer() 404 if (FT->getNumParams() != 3 || in callOptimizer() 448 if (FT->getNumParams() != 2 || in callOptimizer() 494 if (FT->getNumParams() != 2 || in callOptimizer() [all …]
|
D | BuildLibCalls.cpp | 483 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) || in fold() 506 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) || in fold() 524 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) || in fold() 543 if (FT->getNumParams() != 3 || in fold() 569 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) || in fold()
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
D | MCJIT.cpp | 193 assert((FTy->getNumParams() == ArgValues.size() || in runFunction() 194 (FTy->isVarArg() && FTy->getNumParams() <= ArgValues.size())) && in runFunction() 196 assert(FTy->getNumParams() == ArgValues.size() && in runFunction() 231 if (FTy->getNumParams() == 1 && in runFunction()
|
/external/clang/lib/AST/ |
D | DeclCXX.cpp | 1345 if (getNumParams() == 1) in isUsualDeallocationFunction() 1354 if (getNumParams() != 2 || in isUsualDeallocationFunction() 1365 if (FD->getNumParams() == 1) in isUsualDeallocationFunction() 1615 return (getNumParams() == 0) || in isDefaultConstructor() 1616 (getNumParams() > 0 && getParamDecl(0)->hasDefaultArg()); in isDefaultConstructor() 1642 if ((getNumParams() < 1) || in isCopyOrMoveConstructor() 1643 (getNumParams() > 1 && !getParamDecl(1)->hasDefaultArg()) || in isCopyOrMoveConstructor() 1682 return (getNumParams() == 0 && in isConvertingConstructor() 1684 (getNumParams() == 1) || in isConvertingConstructor() 1685 (getNumParams() > 1 && in isConvertingConstructor() [all …]
|
D | Comment.cpp | 160 FD->getNumParams()); in fill() 194 FD->getNumParams()); in fill()
|
D | DeclPrinter.cpp | 429 for (unsigned i = 0, e = D->getNumParams(); i != e; ++i) { in VisitFunctionDecl() 435 if (D->getNumParams()) POut << ", "; in VisitFunctionDecl() 439 for (unsigned i = 0, e = D->getNumParams(); i != e; ++i) { in VisitFunctionDecl() 566 if (!D->hasPrototype() && D->getNumParams()) { in VisitFunctionDecl() 572 for (unsigned i = 0, e = D->getNumParams(); i != e; ++i) { in VisitFunctionDecl()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 946 int ix = FTy->getNumParams(); in visitCallSite() 949 for (CallSite::arg_iterator I = CS.arg_begin()+FTy->getNumParams(), in visitCallSite() 1040 unsigned NumCommonArgs = std::min(FT->getNumParams(), NumActualArgs); in transformConstExprCastCall() 1082 if (FT->getNumParams() < NumActualArgs && !FT->isVarArg()) in transformConstExprCastCall() 1097 FT->getNumParams() != in transformConstExprCastCall() 1098 cast<FunctionType>(APTy->getElementType())->getNumParams()) in transformConstExprCastCall() 1102 if (FT->getNumParams() < NumActualArgs && FT->isVarArg() && in transformConstExprCastCall() 1109 if (Index <= FT->getNumParams()) in transformConstExprCastCall() 1161 for (unsigned i = NumCommonArgs; i != FT->getNumParams(); ++i) in transformConstExprCastCall() 1165 if (FT->getNumParams() < NumActualArgs) { in transformConstExprCastCall() [all …]
|
/external/llvm/lib/Target/ |
D | Mangler.cpp | 222 (!FT->isVarArg() || FT->getNumParams() == 0 || in getNameWithPrefix() 223 (FT->getNumParams() == 1 && F->hasStructRetAttr()))) in getNameWithPrefix()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.cpp | 87 const unsigned ArgCount = F->getFunctionType()->getNumParams(); in runFunction()
|
/external/llvm/lib/IR/ |
D | Function.cpp | 188 if (Ty->getNumParams()) in Function() 221 for (unsigned i = 0, e = FT->getNumParams(); i != e; ++i) { in BuildLazyArguments() 233 return getFunctionType()->getNumParams(); in arg_size() 236 return getFunctionType()->getNumParams() == 0; in arg_empty()
|
D | Verifier.cpp | 729 else if (Index-1 < FT->getNumParams()) in VerifyFunctionAttrs() 829 Assert2(FT->getNumParams() == NumArgs, in visitFunction() 842 Assert1(VerifyAttributeCount(Attrs, FT->getNumParams()), in visitFunction() 1341 Assert1(CS.arg_size() >= FTy->getNumParams(), in VerifyCallSite() 1344 Assert1(CS.arg_size() == FTy->getNumParams(), in VerifyCallSite() 1348 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i) in VerifyCallSite() 1363 for (unsigned Idx = 1 + FTy->getNumParams(); Idx <= CS.arg_size(); ++Idx) { in VerifyCallSite() 2013 for (unsigned i = 0, e = IFTy->getNumParams(); i != e; ++i) in visitIntrinsicFunctionCall()
|
D | InlineAsm.cpp | 292 if (Ty->getNumParams() != NumInputs) return false; in Verify()
|
/external/clang/lib/ARCMigrate/ |
D | TransUnbridgedCasts.cpp | 149 FD->getNumParams() == 1 && in transformNonObjCToObjCCast() 414 if (FD->getName() == "CFRetain" && FD->getNumParams() == 1 && in isPassedToCFRetain() 433 if (i < callE->getNumArgs() && i < FD->getNumParams()) { in isPassedToCParamWithKnownOwnership()
|
/external/llvm/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 87 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i) in profileFunction() 260 if (FTy1->getNumParams() != FTy2->getNumParams() || in isEquivalentType() 267 for (unsigned i = 0, e = FTy1->getNumParams(); i != e; ++i) { in isEquivalentType()
|
D | DeadArgumentElimination.cpp | 465 if (ArgNo >= F->getFunctionType()->getNumParams()) in SurveyUse() 781 SmallVector<bool, 10> ArgAlive(FTy->getNumParams(), false); in RemoveDeadStuffFromFunction() 861 for (unsigned e = FTy->getNumParams(); i != e; ++I, ++i) in RemoveDeadStuffFromFunction()
|
/external/llvm/lib/ExecutionEngine/JIT/ |
D | JIT.cpp | 398 assert((FTy->getNumParams() == ArgValues.size() || in runFunction() 399 (FTy->isVarArg() && FTy->getNumParams() <= ArgValues.size())) && in runFunction() 401 assert(FTy->getNumParams() == ArgValues.size() && in runFunction()
|
/external/clang/include/clang/AST/ |
D | Decl.h | 1735 unsigned param_size() const { return getNumParams(); } in param_size() 1748 unsigned getNumParams() const; 1751 assert(i < getNumParams() && "Illegal param #"); in getParamDecl() 1755 assert(i < getNumParams() && "Illegal param #"); in getParamDecl() 3119 unsigned param_size() const { return getNumParams(); } in param_size() 3130 unsigned getNumParams() const { return NumParams; } in getNumParams() function 3132 assert(i < getNumParams() && "Illegal param #"); in getParamDecl() 3136 assert(i < getNumParams() && "Illegal param #"); in getParamDecl()
|
/external/clang/lib/Sema/ |
D | SemaLambda.cpp | 215 for (unsigned p = 0, NumParams = CallOperator->getNumParams(); in addLambdaParameters() 745 for (unsigned I = 0, N = CallOperator->getNumParams(); I != N; ++I) { in addFunctionPointerConversion() 1004 for (unsigned I = 0, N = CallOperator->getNumParams(); I != N; ++I) { in BuildBlockForLambdaConversion()
|
D | SemaTemplateDeduction.cpp | 2376 Function->param_begin(), Function->getNumParams(), in SubstituteExplicitTemplateArguments() 2414 Function->param_begin(), Function->getNumParams(), in SubstituteExplicitTemplateArguments() 2738 if (ParamIdx >= Specialization->getNumParams()) in FinishTemplateArgumentDeduction() 3073 else if (Args.size() > Function->getNumParams()) { in DeduceTemplateArguments() 3079 CheckArgs = Function->getNumParams(); in DeduceTemplateArguments() 3106 for (unsigned I = 0, N = Function->getNumParams(); I != N; ++I) in DeduceTemplateArguments() 3883 unsigned NumParams = Function->getNumParams(); in isVariadicFunctionTemplate() 4619 for (unsigned I = 0, N = Function->getNumParams(); I != N; ++I) in MarkDeducedTemplateParameters()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 2028 if (ArgNo < FTy->getNumParams()) in checkArgMatches() 2090 if (Args.size() < IRFuncTy->getNumParams() && in ExpandTypeToArgs() 2177 const unsigned ArgAddrSpace = (IRArgNo < IRFuncTy->getNumParams() ? in EmitCall() 2219 if (IRArgNo < IRFuncTy->getNumParams() && in EmitCall() 2315 ActualFT->getNumParams() == CurFT->getNumParams() && in EmitCall() 2316 ActualFT->getNumParams() == Args.size() && in EmitCall() 2319 for (unsigned i = 0, e = ActualFT->getNumParams(); i != e; ++i) in EmitCall()
|
/external/llvm/include/llvm/IR/ |
D | DerivedTypes.h | 133 unsigned getNumParams() const { return NumContainedTys - 1; } in getNumParams() function
|
/external/llvm/lib/Analysis/ |
D | Lint.cpp | 213 FT->getNumParams() <= NumActualArgs : in visitCallSite() 214 FT->getNumParams() == NumActualArgs, in visitCallSite()
|
D | MemoryBuiltins.cpp | 126 FTy->getNumParams() == FnData->NumParams && in getAllocationData() 329 if (FTy->getNumParams() != 1) in isFreeCall()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2139 return (N < Node.getNumParams() && in AST_MATCHER_P2() 2158 for (unsigned I = 0; I < Node.getNumParams(); ++I) { in AST_MATCHER_P() 2176 return Node.getNumParams() == N; in AST_MATCHER_P()
|