[PATCH] OpenCL-specific image2d_t, image3d_t and sampler_t types

We have implemented the OpenCL-specific image2d_t, image3d_t and sampler_t
types as a separate type OpenCLOtherType, unlike in Tanya's patch [1]. The
OpenCL event_t will be supported by OpenCLOtherType as well.

The OpenCL-specific types have many semantic restrictions (e.g. see [2] for
restrictions on the sampler_t type). We will supply shortly semantic checks
in a separate patch (or update this one), as well as tests.

Please note that we assume support for keywords as in our previous patch
[3]. We will revise the patch once Peter's changes [4] are merged into the
trunk.

Please review.

Anton.

[1] Tanya, http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-March/013865.html
[2] Anton, http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-March/014118.html
[3] Anton,
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-February/013463.html
[4] Peter, http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-March/013921.html

00006-other-types.patch (29.1 KB)