Lines Matching refs:getNumParams
136 unsigned NumParams = FT->getNumParams(); in checkStringCopyLibFuncSignature()
185 if (NumParams == FT->getNumParams() - 1) in checkStringCopyLibFuncSignature()
186 return FT->getParamType(FT->getNumParams() - 1) == SizeTTy; in checkStringCopyLibFuncSignature()
198 if (FT->getNumParams() != 2|| in optimizeStrCat()
246 if (FT->getNumParams() != 3 || FT->getReturnType() != B.getInt8PtrTy() || in optimizeStrNCat()
288 if (FT->getNumParams() != 2 || FT->getReturnType() != B.getInt8PtrTy() || in optimizeStrChr()
333 if (FT->getNumParams() != 2 || FT->getReturnType() != B.getInt8PtrTy() || in optimizeStrRChr()
368 if (FT->getNumParams() != 2 || !FT->getReturnType()->isIntegerTy(32) || in optimizeStrCmp()
409 if (FT->getNumParams() != 3 || !FT->getReturnType()->isIntegerTy(32) || in optimizeStrNCmp()
546 if (FT->getNumParams() != 1 || FT->getParamType(0) != B.getInt8PtrTy() || in optimizeStrLen()
582 if (FT->getNumParams() != 2 || FT->getParamType(0) != B.getInt8PtrTy() || in optimizeStrPBrk()
615 if ((FT->getNumParams() != 2 && FT->getNumParams() != 3) || in optimizeStrTo()
633 if (FT->getNumParams() != 2 || FT->getParamType(0) != B.getInt8PtrTy() || in optimizeStrSpn()
661 if (FT->getNumParams() != 2 || FT->getParamType(0) != B.getInt8PtrTy() || in optimizeStrCSpn()
692 if (FT->getNumParams() != 2 || !FT->getParamType(0)->isPointerTy() || in optimizeStrStr()
753 if (FT->getNumParams() != 3 || !FT->getParamType(0)->isPointerTy() || in optimizeMemChr()
839 if (FT->getNumParams() != 3 || !FT->getParamType(0)->isPointerTy() || in optimizeMemCmp()
978 if (FT->getNumParams() != 1 || !FT->getReturnType()->isDoubleTy() || in optimizeUnaryDoubleFP()
1016 if (FT->getNumParams() != 2 || FT->getReturnType() != FT->getParamType(0) || in optimizeBinaryDoubleFP()
1048 if (FT->getNumParams() != 1 || FT->getReturnType() != FT->getParamType(0) || in optimizeCos()
1096 if (FT->getNumParams() != 2 || FT->getReturnType() != FT->getParamType(0) || in optimizePow()
1224 if (FT->getNumParams() != 1 || FT->getReturnType() != FT->getParamType(0) || in optimizeExp2()
1275 if (FT->getNumParams() != 1 || FT->getReturnType() != FT->getParamType(0) || in optimizeFabs()
1303 if (FT->getNumParams() != 2 || FT->getReturnType() != FT->getParamType(0) || in optimizeFMinFMax()
1348 if (FT->getNumParams() != 1 || FT->getReturnType() != FT->getParamType(0) || in optimizeLog()
1465 if (FT->getNumParams() != 1 || FT->getReturnType() != FT->getParamType(0) || in optimizeTan()
1539 return AttributesSafe && FT->getNumParams() == 1 && in isTrigLibCall()
1639 return FT->getNumParams() == 1 && FT->getReturnType()->isIntegerTy(32) && in checkIntUnaryReturnAndParam()
1673 if (FT->getNumParams() != 1 || !FT->getReturnType()->isIntegerTy() || in optimizeAbs()
1823 if (FT->getNumParams() < 1 || !FT->getParamType(0)->isPointerTy() || in optimizePrintF()
1909 if (FT->getNumParams() != 2 || !FT->getParamType(0)->isPointerTy() || in optimizeSPrintF()
1985 if (FT->getNumParams() != 2 || !FT->getParamType(0)->isPointerTy() || in optimizeFPrintF()
2014 if (FT->getNumParams() != 4 || !FT->getParamType(0)->isPointerTy() || in optimizeFWrite()
2050 if (FT->getNumParams() != 2 || !FT->getParamType(0)->isPointerTy() || in optimizeFPuts()
2070 if (FT->getNumParams() < 1 || !FT->getParamType(0)->isPointerTy() || in optimizePuts()