Add an emitter to produce something similar to opencl-c.h from the
OpenCL builtin descriptions in OpenCLBuiltins.td
Factor out functionality that can be shared between the test emitter
and the header emitter into a new base class.
This only adds the emitter, without any use of it currently.
Example output excerpt (the full output is about 16k lines):
... __ovld __cnfn size_t get_global_id(uint); __ovld __cnfn size_t get_local_size(uint); __ovld __cnfn size_t get_local_id(uint); __ovld __cnfn size_t get_num_groups(uint); __ovld __cnfn size_t get_group_id(uint); __ovld __cnfn size_t get_global_offset(uint); #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 __ovld size_t get_enqueued_local_size(uint); #endif // MinVersion ...