Lines Matching refs:PointerType
608 return flattenPointerTypes(cast<PointerType>(Ty)->getElementType());
615 Type *ElTy = cast<PointerType>(FullTy)->getElementType();
1774 !PointerType::isValidElementType(ResultTy))
1776 ResultTy = PointerType::get(ResultTy, AddressSpace);
3157 AddressSpace = cast<PointerType>(Ty)->getAddressSpace();
3204 FullTy = PointerType::get(FullTy, AddressSpace);
3254 if (isa<PointerType>(FTy))
3351 Type *FullTy = PointerType::get(FullFTy, AddrSpace);
3390 auto *PTy = dyn_cast<PointerType>(Ty);
3441 FullTy = PointerType::get(FullTy, AddrSpace);
3740 if (!isa<PointerType>(PtrType))
3742 Type *ElemType = cast<PointerType>(PtrType)->getElementType();
3747 if (!PointerType::isLoadableOrStorableType(ElemType))
4565 PointerType *CalleeTy = dyn_cast<PointerType>(Callee->getType());
4570 dyn_cast<FunctionType>(cast<PointerType>(FullTy)->getElementType());
4652 PointerType *OpTy = dyn_cast<PointerType>(Callee->getType());
4657 dyn_cast<FunctionType>(cast<PointerType>(FullTy)->getElementType());
4820 auto *PTy = dyn_cast_or_null<PointerType>(Ty);
4848 FullTy = PointerType::get(FullTy, AS);
4859 if (!isa<PointerType>(Op->getType()))
4892 if (!isa<PointerType>(Op->getType()))
4957 !isa<PointerType>(Ptr->getType()) ||
4994 if (!isa<PointerType>(Ptr->getType()))
5004 FullTy = cast<PointerType>(FullTy)->getElementType();
5051 !isa<PointerType>(Ptr->getType()) ||
5116 PointerType *OpTy = dyn_cast<PointerType>(Callee->getType());
5121 dyn_cast<FunctionType>(cast<PointerType>(FullTy)->getElementType());