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

/external/clang/lib/CodeGen/
H A DCGCXXABI.cpp46 const FunctionProtoType *FPT = local
51 CGM.getTypes().arrangeCXXMethodType(RD, FPT));
H A DCGVTables.cpp227 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); local
228 QualType ResultType = FPT->getResultType();
296 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); local
299 CGM.getCXXABI().HasThisReturn(GD) ? ThisType : FPT->getResultType();
353 CGM.getTypes().arrangeCXXMethodCall(CallArgs, FPT,
354 RequiredArgs::forPrototypePlus(FPT, 1));
H A DCGExprCXX.cpp55 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); local
56 RequiredArgs required = RequiredArgs::forPrototypePlus(FPT, Args.size());
59 EmitCallArgs(Args, FPT, ArgBeg, ArgEnd);
61 return EmitCall(CGM.getTypes().arrangeCXXMethodCall(Args, FPT, required),
331 const FunctionProtoType *FPT = local
362 RequiredArgs required = RequiredArgs::forPrototypePlus(FPT, 1);
365 EmitCallArgs(Args, FPT, E->arg_begin(), E->arg_end());
366 return EmitCall(CGM.getTypes().arrangeCXXMethodCall(Args, FPT, required), Callee,
1069 const FunctionProtoType *FPT
1071 assert(FPT
[all...]
H A DItaniumCXXABI.cpp273 const FunctionProtoType *FPT = local
280 CGM.getTypes().arrangeCXXMethodType(RD, FPT));
564 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); local
567 if (Types.isFuncTypeConvertible(FPT)) {
H A DMicrosoftCXXABI.cpp821 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); local
824 if (Types.isFuncTypeConvertible(FPT)) {
1274 const FunctionProtoType *FPT = local
1279 CGM.getTypes().arrangeCXXMethodType(RD, FPT));
H A DCGCall.cpp393 const FunctionProtoType *FPT,
401 FunctionType::ExtInfo info = FPT->getExtInfo();
402 adjustCXXMethodInfo(*this, info, FPT->isVariadic());
403 return arrangeLLVMFunctionInfo(GetReturnType(FPT->getResultType()),
979 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); local
981 if (!isFuncTypeConvertible(FPT))
1015 const FunctionProtoType *FPT = Fn->getType()->getAs<FunctionProtoType>(); local
1016 if (FPT && FPT->isNothrow(getContext()))
392 arrangeCXXMethodCall(const CallArgList &args, const FunctionProtoType *FPT, RequiredArgs required) argument
H A DCGClass.cpp1680 const FunctionProtoType *FPT = D->getType()->getAs<FunctionProtoType>(); local
1689 QualType QT = *(FPT->arg_type_begin());
1697 for (FunctionProtoType::arg_type_iterator I = FPT->arg_type_begin()+1,
1698 E = FPT->arg_type_end(); I != E; ++I, ++Arg) {
1704 assert((Arg == ArgEnd || FPT->isVariadic()) &&
1712 EmitCall(CGM.getTypes().arrangeCXXMethodCall(Args, FPT, RequiredArgs::All),
2149 const FunctionProtoType *FPT = local
2151 QualType resultType = FPT->getResultType();
/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 DSemaTemplate.cpp6400 const FunctionProtoType *FPT = FT->castAs<FunctionProtoType>(); local
6401 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
6403 FT = Context.getFunctionType(FPT->getResultType(), FPT->getArgTypes(),
H A DSemaDecl.cpp6724 const FunctionProtoType *FPT = R->getAs<FunctionProtoType>(); local
6727 getLangOpts().CPlusPlus11 && FPT && !FPT->hasExceptionSpec()) {
6728 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
6730 NewFD->setType(Context.getFunctionType(FPT->getResultType(),
6731 FPT->getArgTypes(), EPI));
7322 const FunctionProtoType *FPT = local
7324 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
7326 MD->setType(Context.getFunctionType(FPT->getResultType(),
7327 FPT
[all...]
H A DSemaDeclCXX.cpp4435 updateExceptionSpec(Sema &S, FunctionDecl *FD, const FunctionProtoType *FPT, argument
4437 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
4439 FD->setType(S.Context.getFunctionType(FPT->getResultType(),
4440 FPT->getArgTypes(), EPI));
4444 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); local
4445 if (FPT->getExceptionSpecType() != EST_Unevaluated)
4453 updateExceptionSpec(*this, MD, FPT, ExceptSpec);
8198 const FunctionProtoType *FPT = DerivedType->castAs<FunctionProtoType>(); local
8199 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
8202 DerivedCtor->setType(Context.getFunctionType(FPT
[all...]
H A DSemaExpr.cpp10206 const FunctionProtoType *FPT = cast<FunctionProtoType>(FTy); local
10207 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
10210 BlockTy = Context.getFunctionType(RetTy, FPT->getArgTypes(), EPI);
11028 const FunctionProtoType *FPT = Func->getType()->getAs<FunctionProtoType>(); local
11029 if (FPT && isUnresolvedExceptionSpec(FPT->getExceptionSpecType()))
11030 ResolveExceptionSpec(Loc, FPT);
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp300 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); local
301 if (!FPT)
305 if (FPT->getNumArgs() != 1)
309 const PointerType *PT = FPT->getArgType(0)->getAs<PointerType>();
337 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); local
338 if (!FPT)
342 if (FPT->getNumArgs() != 2)
346 if (!FPT->getArgType(0)->isIntegralOrUnscopedEnumerationType())
350 const PointerType *PT = FPT->getArgType(1)->getAs<PointerType>();
382 const FunctionProtoType *FPT local
555 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); local
[all...]
/external/clang/lib/AST/
H A DMicrosoftMangle.cpp1374 const FunctionProtoType *FPT = local
1376 bool isVariadic = FPT->isVariadic();
1533 if (const FunctionProtoType *FPT = PointeeType->getAs<FunctionProtoType>()) {
1536 mangleFunctionType(FPT, NULL, false, true);
1817 // FIXME: mangle return adjustment? Most likely includes using an overridee FPT?
H A DType.cpp2197 const FunctionProtoType *FPT = cast<FunctionProtoType>(T); local
2198 CachedProperties result = Cache::get(FPT->getResultType());
2199 for (FunctionProtoType::arg_type_iterator ai = FPT->arg_type_begin(),
2200 ae = FPT->arg_type_end(); ai != ae; ++ai)
2282 const FunctionProtoType *FPT = cast<FunctionProtoType>(T); local
2283 LinkageInfo LV = computeLinkageInfo(FPT->getResultType());
2284 for (FunctionProtoType::arg_type_iterator ai = FPT->arg_type_begin(),
2285 ae = FPT->arg_type_end(); ai != ae; ++ai)
H A DDecl.cpp2239 const FunctionProtoType *FPT = getType()->castAs<FunctionProtoType>(); local
2240 if (FPT->getNumArgs() > 2 || FPT->isVariadic())
2245 if (FPT->getNumArgs() == 1)
2250 QualType Ty = FPT->getArgType(1);
H A DASTContext.cpp2061 const FunctionProtoType *FPT = cast<FunctionProtoType>(T); local
2062 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
2064 Result = getFunctionType(FPT->getResultType(), FPT->getArgTypes(), EPI);
2074 const FunctionProtoType *FPT = FD->getType()->castAs<FunctionProtoType>(); local
2075 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
2076 FD->setType(getFunctionType(ResultType, FPT->getArgTypes(), EPI));
5346 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) {
5347 for (FunctionProtoType::arg_type_iterator I = FPT->arg_type_begin(),
5348 E = FPT
[all...]

Completed in 331 milliseconds