Searched refs:CalleeType (Results 1 – 6 of 6) sorted by relevance
845 PointerType *CalleeType = cast<PointerType>( in visitGCResult() local848 cast<FunctionType>(CalleeType->getElementType())->getReturnType(); in visitGCResult()
1286 QualType CalleeType = Callee->getType(); in getCallReturnType() local1287 if (const auto *FnTypePtr = CalleeType->getAs<PointerType>()) { in getCallReturnType()1288 CalleeType = FnTypePtr->getPointeeType(); in getCallReturnType()1289 } else if (const auto *BPT = CalleeType->getAs<BlockPointerType>()) { in getCallReturnType()1290 CalleeType = BPT->getPointeeType(); in getCallReturnType()1291 } else if (CalleeType->isSpecificPlaceholderType(BuiltinType::BoundMember)) { in getCallReturnType()1296 CalleeType = Expr::findBoundMemberType(Callee); in getCallReturnType()1299 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in getCallReturnType()
4204 QualType CalleeType = Callee->getType(); in handleCallExpr() local4212 if (CalleeType->isSpecificBuiltinType(BuiltinType::BoundMember)) { in handleCallExpr()4232 } else if (CalleeType->isFunctionPointerType()) { in handleCallExpr()4261 if (!Info.Ctx.hasSameType(CalleeType->getPointeeType(), FD->getType())) in handleCallExpr()
3770 RValue CodeGenFunction::EmitCall(QualType CalleeType, llvm::Value *Callee, in EmitCall() argument3775 assert(CalleeType->isFunctionPointerType() && in EmitCall()3781 const FunctionProtoType *NonCanonicalFTP = CalleeType->getAs<PointerType>() in EmitCall()3798 CalleeType = getContext().getCanonicalType(CalleeType); in EmitCall()3801 cast<FunctionType>(cast<PointerType>(CalleeType)->getPointeeType()); in EmitCall()3838 EmitCheckTypeDescriptor(CalleeType) in EmitCall()
1106 const FunctionProtoType *CalleeType, in EmitNewDeleteCall() argument1112 Args, CalleeType, /*chainCall=*/false), in EmitNewDeleteCall()
407 enum CalleeType { CT_Function, CT_Method, CT_Block } calleeType; in DiagnoseSentinelCalls() enum14141 QualType CalleeType = CalleeExpr->getType(); in VisitCallExpr() local14142 if (CalleeType == S.Context.BoundMemberTy) { in VisitCallExpr()14145 CalleeType = Expr::findBoundMemberType(CalleeExpr); in VisitCallExpr()14146 } else if (const PointerType *Ptr = CalleeType->getAs<PointerType>()) { in VisitCallExpr()14147 CalleeType = Ptr->getPointeeType(); in VisitCallExpr()14150 CalleeType = CalleeType->castAs<BlockPointerType>()->getPointeeType(); in VisitCallExpr()14153 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in VisitCallExpr()