Lines Matching refs:getAs
459 if (const PointerType *PT = OCT->getAs<PointerType>()) {
558 const PointerType *PT = funcType->getAs<PointerType>();
1049 if (const PointerType* PT = retType->getAs<PointerType>())
1051 else if (const BlockPointerType *BPT = retType->getAs<BlockPointerType>())
1053 if ((FPRetType = PointeeTy->getAs<FunctionType>())) {
1863 t->getAs<ObjCObjectPointerType>()) {
2067 if (const PointerType *PT = T->getAs<PointerType>()) {
2124 const FunctionType *funcType = FD->getType()->getAs<FunctionType>();
2192 const Type* TypePtr = QT->getAs<Type>();
2198 TypePtr = QT->getAs<Type>();
2295 const FunctionType *funcType = FD->getType()->getAs<FunctionType>();
3731 CPT = DRE->getType()->getAs<BlockPointerType>();
3733 CPT = MExpr->getType()->getAs<BlockPointerType>();
3739 CPT = IEXPR->getType()->getAs<BlockPointerType>();
3754 CPT = IRE->getType()->getAs<BlockPointerType>();
3762 const FunctionType *FT = CPT->getPointeeType()->getAs<FunctionType>();
3904 const Type* TypePtr = QT->getAs<Type>();
3964 const PointerType *PT = QT->getAs<PointerType>();
3966 FTP = PT->getPointeeType()->getAs<FunctionProtoType>();
3968 const BlockPointerType *BPT = QT->getAs<BlockPointerType>();
3970 FTP = BPT->getPointeeType()->getAs<FunctionProtoType>();
3982 const PointerType *PT = QT->getAs<PointerType>();
3984 FTP = PT->getPointeeType()->getAs<FunctionProtoType>();
3986 const BlockPointerType *BPT = QT->getAs<BlockPointerType>();
3988 FTP = BPT->getPointeeType()->getAs<FunctionProtoType>();