Lines Matching defs:FPT
143 /// Adds the formal parameters in FPT to the given prefix. If any parameter in
144 /// FPT has pass_object_size attrs, then we'll add parameters for those, too.
148 CanQual<FunctionProtoType> FPT) {
150 if (!FPT->hasExtParameterInfos()) {
153 prefix.append(FPT->param_type_begin(), FPT->param_type_end());
158 // In the vast majority of cases, we'll have precisely FPT->getNumParams()
161 prefix.reserve(prefix.size() + FPT->getNumParams());
163 auto ExtInfos = FPT->getExtParameterInfos();
164 assert(ExtInfos.size() == FPT->getNumParams());
165 for (unsigned I = 0, E = FPT->getNumParams(); I != E; ++I) {
166 prefix.push_back(FPT->getParamType(I));
171 addExtParameterInfosForCall(paramInfos, FPT.getTypePtr(), PrefixSize,
407 CanQual<FunctionProtoType> FPT = GetFormalType(D);
410 FPT, TotalPrefixArgs + ExtraSuffixArgs)
420 FunctionType::ExtInfo Info = FPT->getExtInfo();
424 if (PassProtoArgs && FPT->hasExtParameterInfos()) {
426 addExtParameterInfosForCall(ParamInfos, FPT.getTypePtr(), TotalPrefixArgs,
1716 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>();
1718 if (!isFuncTypeConvertible(FPT))
1726 const FunctionProtoType *FPT) {
1727 if (!FPT)
1730 if (!isUnresolvedExceptionSpec(FPT->getExceptionSpecType()) &&
1731 FPT->isNothrow())
4084 const auto *FPT = Prototype.P.get<const FunctionProtoType *>();
4085 IsVariadic = FPT->isVariadic();
4086 ExplicitCC = FPT->getExtInfo().getCC();
4087 ArgTypes.assign(FPT->param_type_begin() + ParamsToSkip,
4088 FPT->param_type_end());