Lines Matching defs:FPT

153 /// Adds the formal parameters in FPT to the given prefix. If any parameter in
154 /// FPT has pass_object_size attrs, then we'll add parameters for those, too.
158 CanQual<FunctionProtoType> FPT) {
160 if (!FPT->hasExtParameterInfos()) {
163 prefix.append(FPT->param_type_begin(), FPT->param_type_end());
168 // In the vast majority of cases, we'll have precisely FPT->getNumParams()
171 prefix.reserve(prefix.size() + FPT->getNumParams());
173 auto ExtInfos = FPT->getExtParameterInfos();
174 assert(ExtInfos.size() == FPT->getNumParams());
175 for (unsigned I = 0, E = FPT->getNumParams(); I != E; ++I) {
176 prefix.push_back(FPT->getParamType(I));
181 addExtParameterInfosForCall(paramInfos, FPT.getTypePtr(), PrefixSize,
433 CanQual<FunctionProtoType> FPT = GetFormalType(D);
436 FPT, TotalPrefixArgs + ExtraSuffixArgs)
445 FunctionType::ExtInfo Info = FPT->getExtInfo();
449 if (PassProtoArgs && FPT->hasExtParameterInfos()) {
451 addExtParameterInfosForCall(ParamInfos, FPT.getTypePtr(), TotalPrefixArgs,
1759 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>();
1761 if (!isFuncTypeConvertible(FPT))
1769 const FunctionProtoType *FPT) {
1770 if (!FPT)
1773 if (!isUnresolvedExceptionSpec(FPT->getExceptionSpecType()) &&
1774 FPT->isNothrow())
1777 unsigned SMEBits = FPT->getAArch64SMEAttributes();
4529 const auto *FPT = cast<const FunctionProtoType *>(Prototype.P);
4530 IsVariadic = FPT->isVariadic();
4531 ExplicitCC = FPT->getExtInfo().getCC();
4532 ArgTypes.assign(FPT->param_type_begin() + ParamsToSkip,
4533 FPT->param_type_end());