isOpaquePointerTy now returns true for all pointers, so we can replace these with isPointerTy().
CodeGenTypes
CodeGen