Lines Matching refs:ptrTy
1010 computeDerivedTypeSize(mlir::Location loc, mlir::Type ptrTy, mlir::Type idxTy,
1012 auto nullPtr = rewriter.create<mlir::LLVM::NullOp>(loc, ptrTy);
1015 auto gep = rewriter.create<mlir::LLVM::GEPOp>(loc, ptrTy, nullPtr, args);
1054 auto ptrTy = llTy.dyn_cast<mlir::LLVM::LLVMPointerType>();
1056 mlir::LLVM::getPrimitiveTypeSizeInBits(ptrTy.getElementType()))
1060 return computeDerivedTypeSize(loc, ptrTy, idxTy, rewriter);
1249 auto ptrTy = mlir::LLVM::LLVMPointerType::get(
1251 auto nullPtr = rewriter.create<mlir::LLVM::NullOp>(loc, ptrTy);
1254 auto gep = rewriter.create<mlir::LLVM::GEPOp>(loc, ptrTy, nullPtr,
2265 auto ptrTy = ty0.dyn_cast<mlir::LLVM::LLVMPointerType>();
2266 assert(ptrTy && "expected pointer type");
2267 mlir::Type eleTy = ptrTy.getElementType();