Searched refs:CalleeType (Results 1 – 8 of 8) sorted by relevance
392 auto CalleeType = Callee->getFunctionType(); in promoteCall() local393 auto CalleeParamNum = CalleeType->getNumParams(); in promoteCall()396 Type *FormalTy = CalleeType->getParamType(ArgNo); in promoteCall()
877 PointerType *CalleeType = cast<PointerType>( in visitGCResult() local880 cast<FunctionType>(CalleeType->getElementType())->getReturnType(); in visitGCResult()
1274 QualType CalleeType = Callee->getType(); in getCallReturnType() local1275 if (const auto *FnTypePtr = CalleeType->getAs<PointerType>()) { in getCallReturnType()1276 CalleeType = FnTypePtr->getPointeeType(); in getCallReturnType()1277 } else if (const auto *BPT = CalleeType->getAs<BlockPointerType>()) { in getCallReturnType()1278 CalleeType = BPT->getPointeeType(); in getCallReturnType()1279 } else if (CalleeType->isSpecificPlaceholderType(BuiltinType::BoundMember)) { in getCallReturnType()1284 CalleeType = Expr::findBoundMemberType(Callee); in getCallReturnType()1287 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in getCallReturnType()
4351 QualType CalleeType = Callee->getType(); in handleCallExpr() local4359 if (CalleeType->isSpecificBuiltinType(BuiltinType::BoundMember)) { in handleCallExpr()4379 } else if (CalleeType->isFunctionPointerType()) { in handleCallExpr()4408 if (!Info.Ctx.hasSameType(CalleeType->getPointeeType(), FD->getType())) in handleCallExpr()
937 PointerType *CalleeType = cast<PointerType>( in visitGCResult() local940 cast<FunctionType>(CalleeType->getElementType())->getReturnType(); in visitGCResult()
3984 RValue CodeGenFunction::EmitCall(QualType CalleeType, llvm::Value *Callee, in EmitCall() argument3989 assert(CalleeType->isFunctionPointerType() && in EmitCall()3995 const FunctionProtoType *NonCanonicalFTP = CalleeType->getAs<PointerType>() in EmitCall()4012 CalleeType = getContext().getCanonicalType(CalleeType); in EmitCall()4015 cast<FunctionType>(cast<PointerType>(CalleeType)->getPointeeType()); in EmitCall()4052 EmitCheckTypeDescriptor(CalleeType) in EmitCall()
1114 const FunctionProtoType *CalleeType, in EmitNewDeleteCall() argument1120 Args, CalleeType, /*chainCall=*/false), in EmitNewDeleteCall()
419 enum CalleeType { CT_Function, CT_Method, CT_Block } calleeType; in DiagnoseSentinelCalls() enum14614 QualType CalleeType = CalleeExpr->getType(); in VisitCallExpr() local14615 if (CalleeType == S.Context.BoundMemberTy) { in VisitCallExpr()14618 CalleeType = Expr::findBoundMemberType(CalleeExpr); in VisitCallExpr()14619 } else if (const PointerType *Ptr = CalleeType->getAs<PointerType>()) { in VisitCallExpr()14620 CalleeType = Ptr->getPointeeType(); in VisitCallExpr()14623 CalleeType = CalleeType->castAs<BlockPointerType>()->getPointeeType(); in VisitCallExpr()14626 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in VisitCallExpr()