Lines Matching refs:FT
401 void VerifyFunctionAttrs(FunctionType *FT, AttributeSet Attrs,
943 auto *FT = F ? dyn_cast<PointerType>(F->getType()) : nullptr; in visitMDSubprogram() local
944 Assert(F && FT && isa<FunctionType>(FT->getElementType()), in visitMDSubprogram()
945 "invalid function", &N, F, FT); in visitMDSubprogram()
1375 void Verifier::VerifyFunctionAttrs(FunctionType *FT, AttributeSet Attrs, in VerifyFunctionAttrs() argument
1389 Ty = FT->getReturnType(); in VerifyFunctionAttrs()
1390 else if (Idx-1 < FT->getNumParams()) in VerifyFunctionAttrs()
1391 Ty = FT->getParamType(Idx-1); in VerifyFunctionAttrs()
1408 Assert(Ty->canLosslesslyBitCastTo(FT->getReturnType()), in VerifyFunctionAttrs()
1423 Assert(Idx == FT->getNumParams(), "inalloca isn't on the last parameter!", in VerifyFunctionAttrs()
1606 FunctionType *FT = F.getFunctionType(); in visitFunction() local
1613 Assert(FT->getNumParams() == NumArgs, in visitFunction()
1615 FT); in visitFunction()
1625 Assert(VerifyAttributeCount(Attrs, FT->getNumParams()), in visitFunction()
1629 VerifyFunctionAttrs(FT, Attrs, &F); in visitFunction()
1662 Assert(I->getType() == FT->getParamType(i), in visitFunction()
1664 FT->getParamType(i)); in visitFunction()