Lines Matching refs:FT
1477 FunctionType *FT = Callee->getFunctionType(); in transformConstExprCastCall() local
1479 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall()
1520 unsigned NumCommonArgs = std::min(FT->getNumParams(), NumActualArgs); in transformConstExprCastCall()
1536 Type *ParamTy = FT->getParamType(i); in transformConstExprCastCall()
1568 if (FT->getNumParams() < NumActualArgs && !FT->isVarArg()) in transformConstExprCastCall()
1575 if (FT->isVarArg()!=cast<FunctionType>(APTy->getElementType())->isVarArg()) in transformConstExprCastCall()
1581 if (FT->isVarArg() && in transformConstExprCastCall()
1583 FT->getNumParams() != in transformConstExprCastCall()
1588 if (FT->getNumParams() < NumActualArgs && FT->isVarArg() && in transformConstExprCastCall()
1595 if (Index <= FT->getNumParams()) in transformConstExprCastCall()
1629 Type *ParamTy = FT->getParamType(i); in transformConstExprCastCall()
1646 for (unsigned i = NumCommonArgs; i != FT->getNumParams(); ++i) in transformConstExprCastCall()
1647 Args.push_back(Constant::getNullValue(FT->getParamType(i))); in transformConstExprCastCall()
1650 if (FT->getNumParams() < NumActualArgs) { in transformConstExprCastCall()
1652 if (FT->isVarArg()) { in transformConstExprCastCall()
1654 for (unsigned i = FT->getNumParams(); i != NumActualArgs; ++i, ++AI) { in transformConstExprCastCall()
1668 attrVec.push_back(AttributeSet::get(FT->getContext(), i + 1, in transformConstExprCastCall()