Searched refs:BPT (Results 1 – 9 of 9) sorted by relevance
38 const BlockPointerType *BPT = Ty->getAs<BlockPointerType>(); in isDispatchBlock() local39 if (!BPT) in isDispatchBlock()45 BPT->getPointeeType()->getAs<FunctionProtoType>(); in isDispatchBlock()
419 const auto *BPT = T->castAs<BlockPointerType>(); in convertBlockPointerToFunctionPointer() local420 T = Context->getPointerType(BPT->getPointeeType()); in convertBlockPointerToFunctionPointer()1052 else if (const BlockPointerType *BPT = retType->getAs<BlockPointerType>()) in RewriteTypeIntoString() local1053 PointeeTy = BPT->getPointeeType(); in RewriteTypeIntoString()3960 const BlockPointerType *BPT = QT->getAs<BlockPointerType>(); in PointerTypeTakesAnyBlockArguments() local3961 assert(BPT && "BlockPointerTypeTakeAnyBlockArguments(): not a block pointer type"); in PointerTypeTakesAnyBlockArguments()3962 FTP = BPT->getPointeeType()->getAs<FunctionProtoType>(); in PointerTypeTakesAnyBlockArguments()3978 const BlockPointerType *BPT = QT->getAs<BlockPointerType>(); in PointerTypeTakesAnyObjCQualifiedType() local3979 assert(BPT && "BlockPointerTypeTakeAnyBlockArguments(): not a block pointer type"); in PointerTypeTakesAnyObjCQualifiedType()3980 FTP = BPT->getPointeeType()->getAs<FunctionProtoType>(); in PointerTypeTakesAnyObjCQualifiedType()
509 const auto *BPT = T->castAs<BlockPointerType>(); in convertBlockPointerToFunctionPointer() local510 T = Context->getPointerType(BPT->getPointeeType()); in convertBlockPointerToFunctionPointer()1219 else if (const BlockPointerType *BPT = retType->getAs<BlockPointerType>()) in RewriteTypeIntoString() local1220 PointeeTy = BPT->getPointeeType(); in RewriteTypeIntoString()4807 const BlockPointerType *BPT = QT->getAs<BlockPointerType>(); in PointerTypeTakesAnyBlockArguments() local4808 assert(BPT && "BlockPointerTypeTakeAnyBlockArguments(): not a block pointer type"); in PointerTypeTakesAnyBlockArguments()4809 FTP = BPT->getPointeeType()->getAs<FunctionProtoType>(); in PointerTypeTakesAnyBlockArguments()4825 const BlockPointerType *BPT = QT->getAs<BlockPointerType>(); in PointerTypeTakesAnyObjCQualifiedType() local4826 assert(BPT && "BlockPointerTypeTakeAnyBlockArguments(): not a block pointer type"); in PointerTypeTakesAnyObjCQualifiedType()4827 FTP = BPT->getPointeeType()->getAs<FunctionProtoType>(); in PointerTypeTakesAnyObjCQualifiedType()
1186 const auto *BPT = E->getCallee()->getType()->castAs<BlockPointerType>(); in EmitBlockCallExpr() local1190 QualType FnType = BPT->getPointeeType(); in EmitBlockCallExpr()
630 if (const auto *BPT = getAs<BlockPointerType>()) in getPointeeType() local631 return BPT->getPointeeType(); in getPointeeType()
1498 } else if (const auto *BPT = CalleeType->getAs<BlockPointerType>()) { in getCallReturnType() local1499 CalleeType = BPT->getPointeeType(); in getCallReturnType()
1335 const BlockPointerType *BPT = in checkOpenCLBlockArgs() local1338 BPT->getPointeeType()->castAs<FunctionProtoType>()->getParamTypes(); in checkOpenCLBlockArgs()1440 const BlockPointerType *BPT = in checkOpenCLEnqueueVariadicArgs() local1443 BPT->getPointeeType()->castAs<FunctionProtoType>()->getNumParams(); in checkOpenCLEnqueueVariadicArgs()1534 const BlockPointerType *BPT = in SemaOpenCLBuiltinEnqueueKernel() local1536 if (BPT->getPointeeType()->castAs<FunctionProtoType>()->getNumParams() > 0) { in SemaOpenCLBuiltinEnqueueKernel()
5494 } else if (const auto *BPT = Callee->getAs<BlockPointerType>()) { in getApproximateType() local5495 Callee = BPT->getPointeeType(); in getApproximateType()
6987 } else if (const BlockPointerType *BPT = in BuildResolvedCallExpr() local6989 FuncT = BPT->getPointeeType()->castAs<FunctionType>(); in BuildResolvedCallExpr()