Searched refs:CalleeType (Results 1 – 5 of 5) sorted by relevance
1249 QualType CalleeType = getCallee()->getType(); in getCallReturnType() local1250 if (const PointerType *FnTypePtr = CalleeType->getAs<PointerType>()) in getCallReturnType()1251 CalleeType = FnTypePtr->getPointeeType(); in getCallReturnType()1252 else if (const BlockPointerType *BPT = CalleeType->getAs<BlockPointerType>()) in getCallReturnType()1253 CalleeType = BPT->getPointeeType(); in getCallReturnType()1254 else if (CalleeType->isSpecificPlaceholderType(BuiltinType::BoundMember)) in getCallReturnType()1256 CalleeType = Expr::findBoundMemberType(getCallee()); in getCallReturnType()1258 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in getCallReturnType()
3936 QualType CalleeType = Callee->getType(); in VisitCallExpr() local3944 if (CalleeType->isSpecificBuiltinType(BuiltinType::BoundMember)) { in VisitCallExpr()3964 } else if (CalleeType->isFunctionPointerType()) { in VisitCallExpr()3993 if (!Info.Ctx.hasSameType(CalleeType->getPointeeType(), FD->getType())) in VisitCallExpr()
3121 RValue CodeGenFunction::EmitCall(QualType CalleeType, llvm::Value *Callee, in EmitCall() argument3129 assert(CalleeType->isFunctionPointerType() && in EmitCall()3132 CalleeType = getContext().getCanonicalType(CalleeType); in EmitCall()3135 = cast<FunctionType>(cast<PointerType>(CalleeType)->getPointeeType()); in EmitCall()3175 EmitCheckTypeDescriptor(CalleeType) in EmitCall()
935 const FunctionProtoType *CalleeType, in EmitNewDeleteCall() argument940 CGF.EmitCall(CGF.CGM.getTypes().arrangeFreeFunctionCall(Args, CalleeType), in EmitNewDeleteCall()
347 enum CalleeType { CT_Function, CT_Method, CT_Block } calleeType; in DiagnoseSentinelCalls() enum12776 QualType CalleeType = CalleeExpr->getType(); in VisitCallExpr() local12777 if (CalleeType == S.Context.BoundMemberTy) { in VisitCallExpr()12780 CalleeType = Expr::findBoundMemberType(CalleeExpr); in VisitCallExpr()12781 } else if (const PointerType *Ptr = CalleeType->getAs<PointerType>()) { in VisitCallExpr()12782 CalleeType = Ptr->getPointeeType(); in VisitCallExpr()12785 CalleeType = CalleeType->castAs<BlockPointerType>()->getPointeeType(); in VisitCallExpr()12788 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in VisitCallExpr()