[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / PCH / ocl_types.h
blob96391289f7f3c04075ba13a57151c4980ddedce1
1 /* Used with the ocl_types.cl test */
3 // image1d_t
4 typedef image1d_t img1d_t;
6 // image1d_array_t
7 typedef image1d_array_t img1darr_t;
9 // image1d_buffer_t
10 typedef image1d_buffer_t img1dbuff_t;
12 // image2d_t
13 typedef image2d_t img2d_t;
15 // image2d_array_t
16 typedef image2d_array_t img2darr_t;
18 // image3d_t
19 typedef image3d_t img3d_t;
21 // sampler_t
22 typedef sampler_t smp_t;
24 // event_t
25 typedef event_t evt_t;
27 #if __OPENCL_VERSION__ >= 200
29 // clk_event_t
30 typedef clk_event_t clkevt_t;
32 // queue_t
33 typedef queue_t q_t;
35 // reserve_id_t
36 typedef reserve_id_t reserveid_t;
38 // image2d_depth_t
39 typedef image2d_depth_t img2ddep_t;
41 // image2d_array_depth_t
42 typedef image2d_array_depth_t img2darr_dep_t;
44 #pragma OPENCL EXTENSION cl_khr_gl_msaa_sharing : enable
45 // image2d_msaa_t
46 typedef image2d_msaa_t img2dmsaa_t;
48 // image2d_array_msaa_t
49 typedef image2d_array_msaa_t img2darrmsaa_t;
51 // image2d_msaa_depth_t
52 typedef image2d_msaa_depth_t img2dmsaadep_t;
54 // image2d_array_msaa_depth_t
55 typedef image2d_array_msaa_depth_t img2darrmsaadep_t;
57 // pipe specifier
59 typedef struct _person {
60 int id;
61 const char *name;
62 } Person;
64 void int_pipe_function(pipe int);
66 void person_pipe_function(pipe Person);
67 #endif