Lines Matching refs:PTy
552 if (PointerType *PTy = dyn_cast<PointerType>(Ty)) {
553 Assert1(!ByValI || PTy->getElementType()->isSized(),
1350 PointerType *PTy = dyn_cast<PointerType>(LI.getOperand(0)->getType());
1351 Assert1(PTy, "Load operand must be a pointer.", &LI);
1352 Type *ElTy = PTy->getElementType();
1387 PointerType *PTy = dyn_cast<PointerType>(SI.getOperand(1)->getType());
1388 Assert1(PTy, "Store operand must be a pointer.", &SI);
1389 Type *ElTy = PTy->getElementType();
1406 PointerType *PTy = AI.getType();
1407 Assert1(PTy->getAddressSpace() == 0,
1410 Assert1(PTy->getElementType()->isSized(), "Cannot allocate unsized type",
1422 PointerType *PTy = dyn_cast<PointerType>(CXI.getOperand(0)->getType());
1423 Assert1(PTy, "First cmpxchg operand must be a pointer.", &CXI);
1424 Type *ElTy = PTy->getElementType();
1439 PointerType *PTy = dyn_cast<PointerType>(RMWI.getOperand(0)->getType());
1440 Assert1(PTy, "First atomicrmw operand must be a pointer.", &RMWI);
1441 Type *ElTy = PTy->getElementType();