Lines Matching defs:PTy
671 PointerType *PTy = dyn_cast<PointerType>(ATy->getElementType());
672 Assert(PTy, "wrong type for intrinsic global variable", &GV);
1663 if (PointerType *PTy = dyn_cast<PointerType>(Ty)) {
1665 if (!PTy->getElementType()->isSized(&Visited)) {
1671 if (!isa<PointerType>(PTy->getElementType()))
2756 if (auto *PTy = dyn_cast<PointerType>(SrcTy->getScalarType()))
2757 Assert(!DL.isNonIntegralPointerType(PTy),
2783 if (auto *PTy = dyn_cast<PointerType>(DestTy->getScalarType()))
2784 Assert(!DL.isNonIntegralPointerType(PTy),
3339 if (auto *PTy = dyn_cast<PointerType>(GEP.getType())) {
3340 Assert(GEP.getAddressSpace() == PTy->getAddressSpace(),
3407 PointerType *PTy = dyn_cast<PointerType>(LI.getOperand(0)->getType());
3408 Assert(PTy, "Load operand must be a pointer.", &LI);
3433 PointerType *PTy = dyn_cast<PointerType>(SI.getOperand(1)->getType());
3434 Assert(PTy, "Store operand must be a pointer.", &SI);
3435 Type *ElTy = PTy->getElementType();
3494 PointerType *PTy = AI.getType();
3496 Assert(PTy->getAddressSpace() == DL.getAllocaAddrSpace(),
3532 PointerType *PTy = dyn_cast<PointerType>(CXI.getOperand(0)->getType());
3533 Assert(PTy, "First cmpxchg operand must be a pointer.", &CXI);
3534 Type *ElTy = PTy->getElementType();
3552 PointerType *PTy = dyn_cast<PointerType>(RMWI.getOperand(0)->getType());
3553 Assert(PTy, "First atomicrmw operand must be a pointer.", &RMWI);
3554 Type *ElTy = PTy->getElementType();