Lines Matching defs:PTy
672 PointerType *PTy = dyn_cast<PointerType>(ATy->getElementType());
673 Assert(PTy, "wrong type for intrinsic global variable", &GV);
1719 if (PointerType *PTy = dyn_cast<PointerType>(Ty)) {
1721 if (!PTy->getElementType()->isSized(&Visited)) {
1729 if (!isa<PointerType>(PTy->getElementType()))
2830 if (auto *PTy = dyn_cast<PointerType>(SrcTy->getScalarType()))
2831 Assert(!DL.isNonIntegralPointerType(PTy),
2857 if (auto *PTy = dyn_cast<PointerType>(DestTy->getScalarType()))
2858 Assert(!DL.isNonIntegralPointerType(PTy),
3454 if (auto *PTy = dyn_cast<PointerType>(GEP.getType())) {
3455 Assert(GEP.getAddressSpace() == PTy->getAddressSpace(),
3522 PointerType *PTy = dyn_cast<PointerType>(LI.getOperand(0)->getType());
3523 Assert(PTy, "Load operand must be a pointer.", &LI);
3548 PointerType *PTy = dyn_cast<PointerType>(SI.getOperand(1)->getType());
3549 Assert(PTy, "Store operand must be a pointer.", &SI);
3550 Type *ElTy = PTy->getElementType();
3609 PointerType *PTy = AI.getType();
3611 Assert(PTy->getAddressSpace() == DL.getAllocaAddrSpace(),
3647 PointerType *PTy = dyn_cast<PointerType>(CXI.getOperand(0)->getType());
3648 Assert(PTy, "First cmpxchg operand must be a pointer.", &CXI);
3649 Type *ElTy = PTy->getElementType();
3667 PointerType *PTy = dyn_cast<PointerType>(RMWI.getOperand(0)->getType());
3668 Assert(PTy, "First atomicrmw operand must be a pointer.", &RMWI);
3669 Type *ElTy = PTy->getElementType();