Home
last modified time | relevance | path

Searched refs:CalleeType (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp845 PointerType *CalleeType = cast<PointerType>( in visitGCResult() local
848 cast<FunctionType>(CalleeType->getElementType())->getReturnType(); in visitGCResult()
/external/clang/lib/AST/
DExpr.cpp1286 QualType CalleeType = Callee->getType(); in getCallReturnType() local
1287 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()
DExprConstant.cpp4204 QualType CalleeType = Callee->getType(); in handleCallExpr() local
4212 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()
/external/clang/lib/CodeGen/
DCGExpr.cpp3770 RValue CodeGenFunction::EmitCall(QualType CalleeType, llvm::Value *Callee, in EmitCall() argument
3775 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()
DCGExprCXX.cpp1106 const FunctionProtoType *CalleeType, in EmitNewDeleteCall() argument
1112 Args, CalleeType, /*chainCall=*/false), in EmitNewDeleteCall()
/external/clang/lib/Sema/
DSemaExpr.cpp407 enum CalleeType { CT_Function, CT_Method, CT_Block } calleeType; in DiagnoseSentinelCalls() enum
14141 QualType CalleeType = CalleeExpr->getType(); in VisitCallExpr() local
14142 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()