Searched defs:FPT (Results 1 - 21 of 21) sorted by relevance

/external/clang/lib/CodeGen/
H A DCGCXXABI.cpp80 const FunctionProtoType *FPT = local
85 CGM.getTypes().arrangeCXXMethodType(RD, FPT));
H A DCGVTables.cpp131 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); local
132 QualType ResultType = FPT->getReturnType();
201 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); local
203 CGM.getCXXABI().HasThisReturn(GD) ? ThisType : FPT->getReturnType();
252 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); local
256 CGM.getTypes().arrangeCXXMethodCall(CallArgs, FPT,
257 RequiredArgs::forPrototypePlus(FPT, 1));
274 CGM.getCXXABI().HasThisReturn(GD) ? ThisType : FPT->getReturnType();
H A DCGExprCXX.cpp56 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); local
57 RequiredArgs required = RequiredArgs::forPrototypePlus(FPT, Args.size());
60 EmitCallArgs(Args, FPT, ArgBeg, ArgEnd);
62 return EmitCall(CGM.getTypes().arrangeCXXMethodCall(Args, FPT, required),
244 const FunctionProtoType *FPT = local
275 RequiredArgs required = RequiredArgs::forPrototypePlus(FPT, 1);
278 EmitCallArgs(Args, FPT, E->arg_begin(), E->arg_end());
279 return EmitCall(CGM.getTypes().arrangeCXXMethodCall(Args, FPT, required),
1079 const FunctionProtoType *FPT
1081 assert(FPT
[all...]
H A DCGClass.cpp1683 const FunctionProtoType *FPT = D->getType()->castAs<FunctionProtoType>(); local
1684 EmitCallArgs(Args, FPT, ArgBeg, ArgEnd);
1713 const FunctionProtoType *FPT = D->getType()->castAs<FunctionProtoType>(); local
1721 QualType QT = *(FPT->param_type_begin());
1727 EmitCallArgs(Args, FPT->isVariadic(), FPT->param_type_begin() + 1,
1728 FPT->param_type_end(), ArgBeg + 1, ArgEnd);
1730 EmitCall(CGM.getTypes().arrangeCXXMethodCall(Args, FPT, RequiredArgs::All),
2103 const FunctionProtoType *FPT = local
2105 QualType resultType = FPT
[all...]
H A DCGCall.cpp258 CanQual<FunctionProtoType> FPT = GetFormalType(D); local
259 RequiredArgs Required = RequiredArgs::forPrototypePlus(FPT, 1 + ExtraArgs);
264 FunctionType::ExtInfo Info = FPT->getExtInfo();
439 const FunctionProtoType *FPT,
447 FunctionType::ExtInfo info = FPT->getExtInfo();
448 return arrangeLLVMFunctionInfo(GetReturnType(FPT->getReturnType()), true,
1052 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); local
1054 if (!isFuncTypeConvertible(FPT))
1090 const FunctionProtoType *FPT = Fn->getType()->getAs<FunctionProtoType>(); local
1091 if (FPT
438 arrangeCXXMethodCall(const CallArgList &args, const FunctionProtoType *FPT, RequiredArgs required) argument
[all...]
H A DCGDebugInfo.cpp780 else if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(Ty)) {
781 for (unsigned i = 0, e = FPT->getNumParams(); i != e; ++i)
782 EltTys.push_back(getOrCreateType(FPT->getParamType(i), Unit));
783 if (FPT->isVariadic())
1896 const FunctionProtoType *FPT = local
1900 FPT->getTypeQuals())),
1901 FPT, U), ClassType);
2433 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FnType))
2434 for (unsigned i = 0, e = FPT->getNumParams(); i != e; ++i)
2435 EltTys.push_back(getOrCreateType(FPT
[all...]
H A DItaniumCXXABI.cpp379 const FunctionProtoType *FPT = local
386 CGM.getTypes().arrangeCXXMethodType(RD, FPT));
668 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); local
671 if (Types.isFuncTypeConvertible(FPT)) {
H A DMicrosoftCXXABI.cpp795 const FunctionProtoType *FPT = Ctor->getType()->castAs<FunctionProtoType>(); local
797 if (FPT->isVariadic())
1057 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); local
1058 if (FPT->isVariadic())
1140 const FunctionProtoType *FPT = D->getType()->castAs<FunctionProtoType>(); local
1145 if (FPT->isVariadic())
1957 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); local
1960 if (Types.isFuncTypeConvertible(FPT)) {
2441 const FunctionProtoType *FPT = local
2446 CGM.getTypes().arrangeCXXMethodType(RD, FPT));
[all...]
/external/clang/lib/Sema/
H A DSemaExceptionSpec.cpp114 Sema::ResolveExceptionSpec(SourceLocation Loc, const FunctionProtoType *FPT) { argument
115 if (!isUnresolvedExceptionSpec(FPT->getExceptionSpecType()))
116 return FPT;
118 FunctionDecl *SourceDecl = FPT->getExceptionSpecDecl();
H A DSemaLambda.cpp365 const FunctionProtoType *FPT = MethodType->castAs<FunctionProtoType>(); local
366 QualType Result = FPT->getReturnType();
369 MethodType = Context.getFunctionType(Result, FPT->getParamTypes(),
370 FPT->getExtProtoInfo());
H A DSemaStmt.cpp2577 const FunctionProtoType *FPT = local
2579 return FPT->getReturnType()->isUndeducedType();
H A DSemaType.cpp1358 const FunctionProtoType *FPT = T->getAs<FunctionProtoType>(); local
1359 if (!FPT || (FPT->getTypeQuals() == 0 && FPT->getRefQualifier() == RQ_None))
1364 << getFunctionQualifiersAsString(FPT);
H A DSemaTemplate.cpp6649 const FunctionProtoType *FPT = FT->castAs<FunctionProtoType>(); local
6650 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
6652 FT = Context.getFunctionType(FPT->getReturnType(),
6653 FPT->getParamTypes(), EPI);
H A DSemaDecl.cpp6991 const FunctionProtoType *FPT = local
6994 SubstAutoType(FPT->getReturnType(), Context.DependentTy);
6995 NewFD->setType(Context.getFunctionType(Result, FPT->getParamTypes(),
6996 FPT->getExtProtoInfo()));
7109 const FunctionProtoType *FPT = R->getAs<FunctionProtoType>(); local
7112 getLangOpts().CPlusPlus11 && FPT && !FPT->hasExceptionSpec()) {
7113 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
7115 NewFD->setType(Context.getFunctionType(FPT->getReturnType(),
7116 FPT
7742 const FunctionProtoType *FPT = local
[all...]
H A DSemaDeclCXX.cpp4474 auto *FPT = MD->getType()->getAs<FunctionProtoType>(); local
4475 S.ResolveExceptionSpec(Class->getLocation(), FPT);
4829 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); local
4830 if (FPT->getExceptionSpecType() != EST_Unevaluated)
8735 const FunctionProtoType *FPT = DerivedType->castAs<FunctionProtoType>(); local
8736 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
8739 DerivedCtor->setType(Context.getFunctionType(FPT->getReturnType(),
8740 FPT->getParamTypes(), EPI));
8744 for (unsigned I = 0, N = FPT->getNumParams(); I != N; ++I) {
8746 Context.getTrivialTypeSourceInfo(FPT
[all...]
H A DSemaExpr.cpp10637 const FunctionProtoType *FPT = cast<FunctionProtoType>(FTy); local
10638 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
10641 BlockTy = Context.getFunctionType(RetTy, FPT->getParamTypes(), EPI);
11485 const FunctionProtoType *FPT = Func->getType()->getAs<FunctionProtoType>(); local
11486 if (FPT && isUnresolvedExceptionSpec(FPT->getExceptionSpecType()))
11487 ResolveExceptionSpec(Loc, FPT);
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp310 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); local
311 if (!FPT)
315 if (FPT->getNumParams() != 1)
319 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>();
346 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); local
347 if (!FPT)
351 if (FPT->getNumParams() != 2)
355 if (!FPT->getParamType(0)->isIntegralOrUnscopedEnumerationType())
359 const PointerType *PT = FPT->getParamType(1)->getAs<PointerType>();
390 const FunctionProtoType *FPT local
559 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); local
[all...]
/external/clang/lib/AST/
H A DType.cpp2233 const FunctionProtoType *FPT = cast<FunctionProtoType>(T); local
2234 CachedProperties result = Cache::get(FPT->getReturnType());
2235 for (const auto &ai : FPT->param_types())
2317 const FunctionProtoType *FPT = cast<FunctionProtoType>(T); local
2318 LinkageInfo LV = computeLinkageInfo(FPT->getReturnType());
2319 for (const auto &ai : FPT->param_types())
H A DDecl.cpp2414 const FunctionProtoType *FPT = getType()->castAs<FunctionProtoType>(); local
2415 if (FPT->getNumParams() == 0 || FPT->getNumParams() > 2 || FPT->isVariadic())
2420 if (FPT->getNumParams() == 1)
2425 QualType Ty = FPT->getParamType(1);
2588 const FunctionProtoType *FPT = getType()->getAs<FunctionProtoType>(); local
2589 return FPT ? FPT->getNumParams() : 0;
H A DASTContext.cpp2088 const FunctionProtoType *FPT = cast<FunctionProtoType>(T); local
2089 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
2091 Result = getFunctionType(FPT->getReturnType(), FPT->getParamTypes(), EPI);
2101 const FunctionProtoType *FPT = FD->getType()->castAs<FunctionProtoType>(); local
2102 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
2103 FD->setType(getFunctionType(ResultType, FPT->getParamTypes(), EPI));
5420 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) {
5421 for (const auto &I : FPT->param_types())
7338 if (const FunctionProtoType *FPT
[all...]
/external/clang/lib/Serialization/
H A DASTReaderDecl.cpp3271 auto *FPT = FD->getType()->castAs<FunctionProtoType>(); local
3272 auto EPI = FPT->getExtProtoInfo();
3275 FD->setType(Reader.Context.getFunctionType(FPT->getReturnType(),
3276 FPT->getParamTypes(), EPI));

Completed in 426 milliseconds