Searched refs:CalleeType (Results 1 – 4 of 4) sorted by relevance
949 QualType CalleeType = getCallee()->getType(); in getCallReturnType() local950 if (const PointerType *FnTypePtr = CalleeType->getAs<PointerType>()) in getCallReturnType()951 CalleeType = FnTypePtr->getPointeeType(); in getCallReturnType()952 else if (const BlockPointerType *BPT = CalleeType->getAs<BlockPointerType>()) in getCallReturnType()953 CalleeType = BPT->getPointeeType(); in getCallReturnType()954 else if (CalleeType->isSpecificPlaceholderType(BuiltinType::BoundMember)) in getCallReturnType()956 CalleeType = Expr::findBoundMemberType(getCallee()); in getCallReturnType()958 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in getCallReturnType()
2564 QualType CalleeType = Callee->getType(); in VisitCallExpr() local2572 if (CalleeType->isSpecificBuiltinType(BuiltinType::BoundMember)) { in VisitCallExpr()2592 } else if (CalleeType->isFunctionPointerType()) { in VisitCallExpr()2621 if (!Info.Ctx.hasSameType(CalleeType->getPointeeType(), FD->getType())) in VisitCallExpr()
2632 RValue CodeGenFunction::EmitCall(QualType CalleeType, llvm::Value *Callee, in EmitCall() argument2639 assert(CalleeType->isFunctionPointerType() && in EmitCall()2642 CalleeType = getContext().getCanonicalType(CalleeType); in EmitCall()2645 = cast<FunctionType>(cast<PointerType>(CalleeType)->getPointeeType()); in EmitCall()
220 enum CalleeType { CT_Function, CT_Method, CT_Block } calleeType; in DiagnoseSentinelCalls() enum10967 QualType CalleeType = CalleeExpr->getType(); in VisitCallExpr() local10968 if (CalleeType == S.Context.BoundMemberTy) { in VisitCallExpr()10971 CalleeType = Expr::findBoundMemberType(CalleeExpr); in VisitCallExpr()10972 } else if (const PointerType *Ptr = CalleeType->getAs<PointerType>()) { in VisitCallExpr()10973 CalleeType = Ptr->getPointeeType(); in VisitCallExpr()10976 CalleeType = CalleeType->castAs<BlockPointerType>()->getPointeeType(); in VisitCallExpr()10979 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in VisitCallExpr()