LCOV - code coverage report
Current view: top level - build-llvm/lib/Target/AMDGPU - AMDGPUGenIntrinsics.inc (source / functions) Hit Total Coverage
Test: llvm-toolchain.info Lines: 1 22 4.5 %
Date: 2018-06-17 00:07:59 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
       2             : |*                                                                            *|
       3             : |* Intrinsic Function Source Fragment                                         *|
       4             : |*                                                                            *|
       5             : |* Automatically generated file, do not edit!                                 *|
       6             : |*                                                                            *|
       7             : \*===----------------------------------------------------------------------===*/
       8             : 
       9             : // VisualStudio defines setjmp as _setjmp
      10             : #if defined(_MSC_VER) && defined(setjmp) && \
      11             :                          !defined(setjmp_undefined_for_msvc)
      12             : #  pragma push_macro("setjmp")
      13             : #  undef setjmp
      14             : #  define setjmp_undefined_for_msvc
      15             : #endif
      16             : 
      17             : // Enum values for Intrinsics.h
      18             : #ifdef GET_INTRINSIC_ENUM_VALUES
      19             :     AMDGPU_kill,                               // llvm.AMDGPU.kill
      20             :     SI_buffer_load_dword,                      // llvm.SI.buffer.load.dword
      21             :     SI_image_d16helper_GATHER4_B_CL_O2d,       // llvm.SI.image.d16helper.GATHER4.B.CL.O2d
      22             :     SI_image_d16helper_GATHER4_B_CL_O2darray,  // llvm.SI.image.d16helper.GATHER4.B.CL.O2darray
      23             :     SI_image_d16helper_GATHER4_B_CL_Ocube,     // llvm.SI.image.d16helper.GATHER4.B.CL.Ocube
      24             :     SI_image_d16helper_GATHER4_B_CL2d,         // llvm.SI.image.d16helper.GATHER4.B.CL2d
      25             :     SI_image_d16helper_GATHER4_B_CL2darray,    // llvm.SI.image.d16helper.GATHER4.B.CL2darray
      26             :     SI_image_d16helper_GATHER4_B_CLcube,       // llvm.SI.image.d16helper.GATHER4.B.CLcube
      27             :     SI_image_d16helper_GATHER4_B_O2d,          // llvm.SI.image.d16helper.GATHER4.B.O2d
      28             :     SI_image_d16helper_GATHER4_B_O2darray,     // llvm.SI.image.d16helper.GATHER4.B.O2darray
      29             :     SI_image_d16helper_GATHER4_B_Ocube,        // llvm.SI.image.d16helper.GATHER4.B.Ocube
      30             :     SI_image_d16helper_GATHER4_B2d,            // llvm.SI.image.d16helper.GATHER4.B2d
      31             :     SI_image_d16helper_GATHER4_B2darray,       // llvm.SI.image.d16helper.GATHER4.B2darray
      32             :     SI_image_d16helper_GATHER4_Bcube,          // llvm.SI.image.d16helper.GATHER4.Bcube
      33             :     SI_image_d16helper_GATHER4_C_B_CL_O2d,     // llvm.SI.image.d16helper.GATHER4.C.B.CL.O2d
      34             :     SI_image_d16helper_GATHER4_C_B_CL_O2darray,  // llvm.SI.image.d16helper.GATHER4.C.B.CL.O2darray
      35             :     SI_image_d16helper_GATHER4_C_B_CL_Ocube,   // llvm.SI.image.d16helper.GATHER4.C.B.CL.Ocube
      36             :     SI_image_d16helper_GATHER4_C_B_CL2d,       // llvm.SI.image.d16helper.GATHER4.C.B.CL2d
      37             :     SI_image_d16helper_GATHER4_C_B_CL2darray,  // llvm.SI.image.d16helper.GATHER4.C.B.CL2darray
      38             :     SI_image_d16helper_GATHER4_C_B_CLcube,     // llvm.SI.image.d16helper.GATHER4.C.B.CLcube
      39             :     SI_image_d16helper_GATHER4_C_B_O2d,        // llvm.SI.image.d16helper.GATHER4.C.B.O2d
      40             :     SI_image_d16helper_GATHER4_C_B_O2darray,   // llvm.SI.image.d16helper.GATHER4.C.B.O2darray
      41             :     SI_image_d16helper_GATHER4_C_B_Ocube,      // llvm.SI.image.d16helper.GATHER4.C.B.Ocube
      42             :     SI_image_d16helper_GATHER4_C_B2d,          // llvm.SI.image.d16helper.GATHER4.C.B2d
      43             :     SI_image_d16helper_GATHER4_C_B2darray,     // llvm.SI.image.d16helper.GATHER4.C.B2darray
      44             :     SI_image_d16helper_GATHER4_C_Bcube,        // llvm.SI.image.d16helper.GATHER4.C.Bcube
      45             :     SI_image_d16helper_GATHER4_C_CL_O2d,       // llvm.SI.image.d16helper.GATHER4.C.CL.O2d
      46             :     SI_image_d16helper_GATHER4_C_CL_O2darray,  // llvm.SI.image.d16helper.GATHER4.C.CL.O2darray
      47             :     SI_image_d16helper_GATHER4_C_CL_Ocube,     // llvm.SI.image.d16helper.GATHER4.C.CL.Ocube
      48             :     SI_image_d16helper_GATHER4_C_CL2d,         // llvm.SI.image.d16helper.GATHER4.C.CL2d
      49             :     SI_image_d16helper_GATHER4_C_CL2darray,    // llvm.SI.image.d16helper.GATHER4.C.CL2darray
      50             :     SI_image_d16helper_GATHER4_C_CLcube,       // llvm.SI.image.d16helper.GATHER4.C.CLcube
      51             :     SI_image_d16helper_GATHER4_C_L_O2d,        // llvm.SI.image.d16helper.GATHER4.C.L.O2d
      52             :     SI_image_d16helper_GATHER4_C_L_O2darray,   // llvm.SI.image.d16helper.GATHER4.C.L.O2darray
      53             :     SI_image_d16helper_GATHER4_C_L_Ocube,      // llvm.SI.image.d16helper.GATHER4.C.L.Ocube
      54             :     SI_image_d16helper_GATHER4_C_L2d,          // llvm.SI.image.d16helper.GATHER4.C.L2d
      55             :     SI_image_d16helper_GATHER4_C_L2darray,     // llvm.SI.image.d16helper.GATHER4.C.L2darray
      56             :     SI_image_d16helper_GATHER4_C_LZ_O2d,       // llvm.SI.image.d16helper.GATHER4.C.LZ.O2d
      57             :     SI_image_d16helper_GATHER4_C_LZ_O2darray,  // llvm.SI.image.d16helper.GATHER4.C.LZ.O2darray
      58             :     SI_image_d16helper_GATHER4_C_LZ_Ocube,     // llvm.SI.image.d16helper.GATHER4.C.LZ.Ocube
      59             :     SI_image_d16helper_GATHER4_C_LZ2d,         // llvm.SI.image.d16helper.GATHER4.C.LZ2d
      60             :     SI_image_d16helper_GATHER4_C_LZ2darray,    // llvm.SI.image.d16helper.GATHER4.C.LZ2darray
      61             :     SI_image_d16helper_GATHER4_C_LZcube,       // llvm.SI.image.d16helper.GATHER4.C.LZcube
      62             :     SI_image_d16helper_GATHER4_C_Lcube,        // llvm.SI.image.d16helper.GATHER4.C.Lcube
      63             :     SI_image_d16helper_GATHER4_C_O2d,          // llvm.SI.image.d16helper.GATHER4.C.O2d
      64             :     SI_image_d16helper_GATHER4_C_O2darray,     // llvm.SI.image.d16helper.GATHER4.C.O2darray
      65             :     SI_image_d16helper_GATHER4_C_Ocube,        // llvm.SI.image.d16helper.GATHER4.C.Ocube
      66             :     SI_image_d16helper_GATHER4_C2d,            // llvm.SI.image.d16helper.GATHER4.C2d
      67             :     SI_image_d16helper_GATHER4_C2darray,       // llvm.SI.image.d16helper.GATHER4.C2darray
      68             :     SI_image_d16helper_GATHER4_CL_O2d,         // llvm.SI.image.d16helper.GATHER4.CL.O2d
      69             :     SI_image_d16helper_GATHER4_CL_O2darray,    // llvm.SI.image.d16helper.GATHER4.CL.O2darray
      70             :     SI_image_d16helper_GATHER4_CL_Ocube,       // llvm.SI.image.d16helper.GATHER4.CL.Ocube
      71             :     SI_image_d16helper_GATHER4_CL2d,           // llvm.SI.image.d16helper.GATHER4.CL2d
      72             :     SI_image_d16helper_GATHER4_CL2darray,      // llvm.SI.image.d16helper.GATHER4.CL2darray
      73             :     SI_image_d16helper_GATHER4_CLcube,         // llvm.SI.image.d16helper.GATHER4.CLcube
      74             :     SI_image_d16helper_GATHER4_Ccube,          // llvm.SI.image.d16helper.GATHER4.Ccube
      75             :     SI_image_d16helper_GATHER4_L_O2d,          // llvm.SI.image.d16helper.GATHER4.L.O2d
      76             :     SI_image_d16helper_GATHER4_L_O2darray,     // llvm.SI.image.d16helper.GATHER4.L.O2darray
      77             :     SI_image_d16helper_GATHER4_L_Ocube,        // llvm.SI.image.d16helper.GATHER4.L.Ocube
      78             :     SI_image_d16helper_GATHER4_L2d,            // llvm.SI.image.d16helper.GATHER4.L2d
      79             :     SI_image_d16helper_GATHER4_L2darray,       // llvm.SI.image.d16helper.GATHER4.L2darray
      80             :     SI_image_d16helper_GATHER4_LZ_O2d,         // llvm.SI.image.d16helper.GATHER4.LZ.O2d
      81             :     SI_image_d16helper_GATHER4_LZ_O2darray,    // llvm.SI.image.d16helper.GATHER4.LZ.O2darray
      82             :     SI_image_d16helper_GATHER4_LZ_Ocube,       // llvm.SI.image.d16helper.GATHER4.LZ.Ocube
      83             :     SI_image_d16helper_GATHER4_LZ2d,           // llvm.SI.image.d16helper.GATHER4.LZ2d
      84             :     SI_image_d16helper_GATHER4_LZ2darray,      // llvm.SI.image.d16helper.GATHER4.LZ2darray
      85             :     SI_image_d16helper_GATHER4_LZcube,         // llvm.SI.image.d16helper.GATHER4.LZcube
      86             :     SI_image_d16helper_GATHER4_Lcube,          // llvm.SI.image.d16helper.GATHER4.Lcube
      87             :     SI_image_d16helper_GATHER4_O2d,            // llvm.SI.image.d16helper.GATHER4.O2d
      88             :     SI_image_d16helper_GATHER4_O2darray,       // llvm.SI.image.d16helper.GATHER4.O2darray
      89             :     SI_image_d16helper_GATHER4_Ocube,          // llvm.SI.image.d16helper.GATHER4.Ocube
      90             :     SI_image_d16helper_GATHER42d,              // llvm.SI.image.d16helper.GATHER42d
      91             :     SI_image_d16helper_GATHER42darray,         // llvm.SI.image.d16helper.GATHER42darray
      92             :     SI_image_d16helper_GATHER4cube,            // llvm.SI.image.d16helper.GATHER4cube
      93             :     SI_image_d16helper_GET_LOD1d,              // llvm.SI.image.d16helper.GET.LOD1d
      94             :     SI_image_d16helper_GET_LOD1darray,         // llvm.SI.image.d16helper.GET.LOD1darray
      95             :     SI_image_d16helper_GET_LOD2d,              // llvm.SI.image.d16helper.GET.LOD2d
      96             :     SI_image_d16helper_GET_LOD2darray,         // llvm.SI.image.d16helper.GET.LOD2darray
      97             :     SI_image_d16helper_GET_LOD3d,              // llvm.SI.image.d16helper.GET.LOD3d
      98             :     SI_image_d16helper_GET_LODcube,            // llvm.SI.image.d16helper.GET.LODcube
      99             :     SI_image_d16helper_LOAD_MIP1d,             // llvm.SI.image.d16helper.LOAD.MIP1d
     100             :     SI_image_d16helper_LOAD_MIP1darray,        // llvm.SI.image.d16helper.LOAD.MIP1darray
     101             :     SI_image_d16helper_LOAD_MIP2d,             // llvm.SI.image.d16helper.LOAD.MIP2d
     102             :     SI_image_d16helper_LOAD_MIP2darray,        // llvm.SI.image.d16helper.LOAD.MIP2darray
     103             :     SI_image_d16helper_LOAD_MIP3d,             // llvm.SI.image.d16helper.LOAD.MIP3d
     104             :     SI_image_d16helper_LOAD_MIPcube,           // llvm.SI.image.d16helper.LOAD.MIPcube
     105             :     SI_image_d16helper_LOAD1d,                 // llvm.SI.image.d16helper.LOAD1d
     106             :     SI_image_d16helper_LOAD1darray,            // llvm.SI.image.d16helper.LOAD1darray
     107             :     SI_image_d16helper_LOAD2d,                 // llvm.SI.image.d16helper.LOAD2d
     108             :     SI_image_d16helper_LOAD2darray,            // llvm.SI.image.d16helper.LOAD2darray
     109             :     SI_image_d16helper_LOAD2darraymsaa,        // llvm.SI.image.d16helper.LOAD2darraymsaa
     110             :     SI_image_d16helper_LOAD2dmsaa,             // llvm.SI.image.d16helper.LOAD2dmsaa
     111             :     SI_image_d16helper_LOAD3d,                 // llvm.SI.image.d16helper.LOAD3d
     112             :     SI_image_d16helper_LOADcube,               // llvm.SI.image.d16helper.LOADcube
     113             :     SI_image_d16helper_SAMPLE_B_CL_O1d,        // llvm.SI.image.d16helper.SAMPLE.B.CL.O1d
     114             :     SI_image_d16helper_SAMPLE_B_CL_O1darray,   // llvm.SI.image.d16helper.SAMPLE.B.CL.O1darray
     115             :     SI_image_d16helper_SAMPLE_B_CL_O2d,        // llvm.SI.image.d16helper.SAMPLE.B.CL.O2d
     116             :     SI_image_d16helper_SAMPLE_B_CL_O2darray,   // llvm.SI.image.d16helper.SAMPLE.B.CL.O2darray
     117             :     SI_image_d16helper_SAMPLE_B_CL_O3d,        // llvm.SI.image.d16helper.SAMPLE.B.CL.O3d
     118             :     SI_image_d16helper_SAMPLE_B_CL_Ocube,      // llvm.SI.image.d16helper.SAMPLE.B.CL.Ocube
     119             :     SI_image_d16helper_SAMPLE_B_CL1d,          // llvm.SI.image.d16helper.SAMPLE.B.CL1d
     120             :     SI_image_d16helper_SAMPLE_B_CL1darray,     // llvm.SI.image.d16helper.SAMPLE.B.CL1darray
     121             :     SI_image_d16helper_SAMPLE_B_CL2d,          // llvm.SI.image.d16helper.SAMPLE.B.CL2d
     122             :     SI_image_d16helper_SAMPLE_B_CL2darray,     // llvm.SI.image.d16helper.SAMPLE.B.CL2darray
     123             :     SI_image_d16helper_SAMPLE_B_CL3d,          // llvm.SI.image.d16helper.SAMPLE.B.CL3d
     124             :     SI_image_d16helper_SAMPLE_B_CLcube,        // llvm.SI.image.d16helper.SAMPLE.B.CLcube
     125             :     SI_image_d16helper_SAMPLE_B_O1d,           // llvm.SI.image.d16helper.SAMPLE.B.O1d
     126             :     SI_image_d16helper_SAMPLE_B_O1darray,      // llvm.SI.image.d16helper.SAMPLE.B.O1darray
     127             :     SI_image_d16helper_SAMPLE_B_O2d,           // llvm.SI.image.d16helper.SAMPLE.B.O2d
     128             :     SI_image_d16helper_SAMPLE_B_O2darray,      // llvm.SI.image.d16helper.SAMPLE.B.O2darray
     129             :     SI_image_d16helper_SAMPLE_B_O3d,           // llvm.SI.image.d16helper.SAMPLE.B.O3d
     130             :     SI_image_d16helper_SAMPLE_B_Ocube,         // llvm.SI.image.d16helper.SAMPLE.B.Ocube
     131             :     SI_image_d16helper_SAMPLE_B1d,             // llvm.SI.image.d16helper.SAMPLE.B1d
     132             :     SI_image_d16helper_SAMPLE_B1darray,        // llvm.SI.image.d16helper.SAMPLE.B1darray
     133             :     SI_image_d16helper_SAMPLE_B2d,             // llvm.SI.image.d16helper.SAMPLE.B2d
     134             :     SI_image_d16helper_SAMPLE_B2darray,        // llvm.SI.image.d16helper.SAMPLE.B2darray
     135             :     SI_image_d16helper_SAMPLE_B3d,             // llvm.SI.image.d16helper.SAMPLE.B3d
     136             :     SI_image_d16helper_SAMPLE_Bcube,           // llvm.SI.image.d16helper.SAMPLE.Bcube
     137             :     SI_image_d16helper_SAMPLE_C_B_CL_O1d,      // llvm.SI.image.d16helper.SAMPLE.C.B.CL.O1d
     138             :     SI_image_d16helper_SAMPLE_C_B_CL_O1darray,  // llvm.SI.image.d16helper.SAMPLE.C.B.CL.O1darray
     139             :     SI_image_d16helper_SAMPLE_C_B_CL_O2d,      // llvm.SI.image.d16helper.SAMPLE.C.B.CL.O2d
     140             :     SI_image_d16helper_SAMPLE_C_B_CL_O2darray,  // llvm.SI.image.d16helper.SAMPLE.C.B.CL.O2darray
     141             :     SI_image_d16helper_SAMPLE_C_B_CL_O3d,      // llvm.SI.image.d16helper.SAMPLE.C.B.CL.O3d
     142             :     SI_image_d16helper_SAMPLE_C_B_CL_Ocube,    // llvm.SI.image.d16helper.SAMPLE.C.B.CL.Ocube
     143             :     SI_image_d16helper_SAMPLE_C_B_CL1d,        // llvm.SI.image.d16helper.SAMPLE.C.B.CL1d
     144             :     SI_image_d16helper_SAMPLE_C_B_CL1darray,   // llvm.SI.image.d16helper.SAMPLE.C.B.CL1darray
     145             :     SI_image_d16helper_SAMPLE_C_B_CL2d,        // llvm.SI.image.d16helper.SAMPLE.C.B.CL2d
     146             :     SI_image_d16helper_SAMPLE_C_B_CL2darray,   // llvm.SI.image.d16helper.SAMPLE.C.B.CL2darray
     147             :     SI_image_d16helper_SAMPLE_C_B_CL3d,        // llvm.SI.image.d16helper.SAMPLE.C.B.CL3d
     148             :     SI_image_d16helper_SAMPLE_C_B_CLcube,      // llvm.SI.image.d16helper.SAMPLE.C.B.CLcube
     149             :     SI_image_d16helper_SAMPLE_C_B_O1d,         // llvm.SI.image.d16helper.SAMPLE.C.B.O1d
     150             :     SI_image_d16helper_SAMPLE_C_B_O1darray,    // llvm.SI.image.d16helper.SAMPLE.C.B.O1darray
     151             :     SI_image_d16helper_SAMPLE_C_B_O2d,         // llvm.SI.image.d16helper.SAMPLE.C.B.O2d
     152             :     SI_image_d16helper_SAMPLE_C_B_O2darray,    // llvm.SI.image.d16helper.SAMPLE.C.B.O2darray
     153             :     SI_image_d16helper_SAMPLE_C_B_O3d,         // llvm.SI.image.d16helper.SAMPLE.C.B.O3d
     154             :     SI_image_d16helper_SAMPLE_C_B_Ocube,       // llvm.SI.image.d16helper.SAMPLE.C.B.Ocube
     155             :     SI_image_d16helper_SAMPLE_C_B1d,           // llvm.SI.image.d16helper.SAMPLE.C.B1d
     156             :     SI_image_d16helper_SAMPLE_C_B1darray,      // llvm.SI.image.d16helper.SAMPLE.C.B1darray
     157             :     SI_image_d16helper_SAMPLE_C_B2d,           // llvm.SI.image.d16helper.SAMPLE.C.B2d
     158             :     SI_image_d16helper_SAMPLE_C_B2darray,      // llvm.SI.image.d16helper.SAMPLE.C.B2darray
     159             :     SI_image_d16helper_SAMPLE_C_B3d,           // llvm.SI.image.d16helper.SAMPLE.C.B3d
     160             :     SI_image_d16helper_SAMPLE_C_Bcube,         // llvm.SI.image.d16helper.SAMPLE.C.Bcube
     161             :     SI_image_d16helper_SAMPLE_C_CD_CL_O1d,     // llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O1d
     162             :     SI_image_d16helper_SAMPLE_C_CD_CL_O1darray,  // llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O1darray
     163             :     SI_image_d16helper_SAMPLE_C_CD_CL_O2d,     // llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O2d
     164             :     SI_image_d16helper_SAMPLE_C_CD_CL_O2darray,  // llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O2darray
     165             :     SI_image_d16helper_SAMPLE_C_CD_CL_O3d,     // llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O3d
     166             :     SI_image_d16helper_SAMPLE_C_CD_CL_Ocube,   // llvm.SI.image.d16helper.SAMPLE.C.CD.CL.Ocube
     167             :     SI_image_d16helper_SAMPLE_C_CD_CL1d,       // llvm.SI.image.d16helper.SAMPLE.C.CD.CL1d
     168             :     SI_image_d16helper_SAMPLE_C_CD_CL1darray,  // llvm.SI.image.d16helper.SAMPLE.C.CD.CL1darray
     169             :     SI_image_d16helper_SAMPLE_C_CD_CL2d,       // llvm.SI.image.d16helper.SAMPLE.C.CD.CL2d
     170             :     SI_image_d16helper_SAMPLE_C_CD_CL2darray,  // llvm.SI.image.d16helper.SAMPLE.C.CD.CL2darray
     171             :     SI_image_d16helper_SAMPLE_C_CD_CL3d,       // llvm.SI.image.d16helper.SAMPLE.C.CD.CL3d
     172             :     SI_image_d16helper_SAMPLE_C_CD_CLcube,     // llvm.SI.image.d16helper.SAMPLE.C.CD.CLcube
     173             :     SI_image_d16helper_SAMPLE_C_CD_O1d,        // llvm.SI.image.d16helper.SAMPLE.C.CD.O1d
     174             :     SI_image_d16helper_SAMPLE_C_CD_O1darray,   // llvm.SI.image.d16helper.SAMPLE.C.CD.O1darray
     175             :     SI_image_d16helper_SAMPLE_C_CD_O2d,        // llvm.SI.image.d16helper.SAMPLE.C.CD.O2d
     176             :     SI_image_d16helper_SAMPLE_C_CD_O2darray,   // llvm.SI.image.d16helper.SAMPLE.C.CD.O2darray
     177             :     SI_image_d16helper_SAMPLE_C_CD_O3d,        // llvm.SI.image.d16helper.SAMPLE.C.CD.O3d
     178             :     SI_image_d16helper_SAMPLE_C_CD_Ocube,      // llvm.SI.image.d16helper.SAMPLE.C.CD.Ocube
     179             :     SI_image_d16helper_SAMPLE_C_CD1d,          // llvm.SI.image.d16helper.SAMPLE.C.CD1d
     180             :     SI_image_d16helper_SAMPLE_C_CD1darray,     // llvm.SI.image.d16helper.SAMPLE.C.CD1darray
     181             :     SI_image_d16helper_SAMPLE_C_CD2d,          // llvm.SI.image.d16helper.SAMPLE.C.CD2d
     182             :     SI_image_d16helper_SAMPLE_C_CD2darray,     // llvm.SI.image.d16helper.SAMPLE.C.CD2darray
     183             :     SI_image_d16helper_SAMPLE_C_CD3d,          // llvm.SI.image.d16helper.SAMPLE.C.CD3d
     184             :     SI_image_d16helper_SAMPLE_C_CDcube,        // llvm.SI.image.d16helper.SAMPLE.C.CDcube
     185             :     SI_image_d16helper_SAMPLE_C_CL_O1d,        // llvm.SI.image.d16helper.SAMPLE.C.CL.O1d
     186             :     SI_image_d16helper_SAMPLE_C_CL_O1darray,   // llvm.SI.image.d16helper.SAMPLE.C.CL.O1darray
     187             :     SI_image_d16helper_SAMPLE_C_CL_O2d,        // llvm.SI.image.d16helper.SAMPLE.C.CL.O2d
     188             :     SI_image_d16helper_SAMPLE_C_CL_O2darray,   // llvm.SI.image.d16helper.SAMPLE.C.CL.O2darray
     189             :     SI_image_d16helper_SAMPLE_C_CL_O3d,        // llvm.SI.image.d16helper.SAMPLE.C.CL.O3d
     190             :     SI_image_d16helper_SAMPLE_C_CL_Ocube,      // llvm.SI.image.d16helper.SAMPLE.C.CL.Ocube
     191             :     SI_image_d16helper_SAMPLE_C_CL1d,          // llvm.SI.image.d16helper.SAMPLE.C.CL1d
     192             :     SI_image_d16helper_SAMPLE_C_CL1darray,     // llvm.SI.image.d16helper.SAMPLE.C.CL1darray
     193             :     SI_image_d16helper_SAMPLE_C_CL2d,          // llvm.SI.image.d16helper.SAMPLE.C.CL2d
     194             :     SI_image_d16helper_SAMPLE_C_CL2darray,     // llvm.SI.image.d16helper.SAMPLE.C.CL2darray
     195             :     SI_image_d16helper_SAMPLE_C_CL3d,          // llvm.SI.image.d16helper.SAMPLE.C.CL3d
     196             :     SI_image_d16helper_SAMPLE_C_CLcube,        // llvm.SI.image.d16helper.SAMPLE.C.CLcube
     197             :     SI_image_d16helper_SAMPLE_C_D_CL_O1d,      // llvm.SI.image.d16helper.SAMPLE.C.D.CL.O1d
     198             :     SI_image_d16helper_SAMPLE_C_D_CL_O1darray,  // llvm.SI.image.d16helper.SAMPLE.C.D.CL.O1darray
     199             :     SI_image_d16helper_SAMPLE_C_D_CL_O2d,      // llvm.SI.image.d16helper.SAMPLE.C.D.CL.O2d
     200             :     SI_image_d16helper_SAMPLE_C_D_CL_O2darray,  // llvm.SI.image.d16helper.SAMPLE.C.D.CL.O2darray
     201             :     SI_image_d16helper_SAMPLE_C_D_CL_O3d,      // llvm.SI.image.d16helper.SAMPLE.C.D.CL.O3d
     202             :     SI_image_d16helper_SAMPLE_C_D_CL_Ocube,    // llvm.SI.image.d16helper.SAMPLE.C.D.CL.Ocube
     203             :     SI_image_d16helper_SAMPLE_C_D_CL1d,        // llvm.SI.image.d16helper.SAMPLE.C.D.CL1d
     204             :     SI_image_d16helper_SAMPLE_C_D_CL1darray,   // llvm.SI.image.d16helper.SAMPLE.C.D.CL1darray
     205             :     SI_image_d16helper_SAMPLE_C_D_CL2d,        // llvm.SI.image.d16helper.SAMPLE.C.D.CL2d
     206             :     SI_image_d16helper_SAMPLE_C_D_CL2darray,   // llvm.SI.image.d16helper.SAMPLE.C.D.CL2darray
     207             :     SI_image_d16helper_SAMPLE_C_D_CL3d,        // llvm.SI.image.d16helper.SAMPLE.C.D.CL3d
     208             :     SI_image_d16helper_SAMPLE_C_D_CLcube,      // llvm.SI.image.d16helper.SAMPLE.C.D.CLcube
     209             :     SI_image_d16helper_SAMPLE_C_D_O1d,         // llvm.SI.image.d16helper.SAMPLE.C.D.O1d
     210             :     SI_image_d16helper_SAMPLE_C_D_O1darray,    // llvm.SI.image.d16helper.SAMPLE.C.D.O1darray
     211             :     SI_image_d16helper_SAMPLE_C_D_O2d,         // llvm.SI.image.d16helper.SAMPLE.C.D.O2d
     212             :     SI_image_d16helper_SAMPLE_C_D_O2darray,    // llvm.SI.image.d16helper.SAMPLE.C.D.O2darray
     213             :     SI_image_d16helper_SAMPLE_C_D_O3d,         // llvm.SI.image.d16helper.SAMPLE.C.D.O3d
     214             :     SI_image_d16helper_SAMPLE_C_D_Ocube,       // llvm.SI.image.d16helper.SAMPLE.C.D.Ocube
     215             :     SI_image_d16helper_SAMPLE_C_D1d,           // llvm.SI.image.d16helper.SAMPLE.C.D1d
     216             :     SI_image_d16helper_SAMPLE_C_D1darray,      // llvm.SI.image.d16helper.SAMPLE.C.D1darray
     217             :     SI_image_d16helper_SAMPLE_C_D2d,           // llvm.SI.image.d16helper.SAMPLE.C.D2d
     218             :     SI_image_d16helper_SAMPLE_C_D2darray,      // llvm.SI.image.d16helper.SAMPLE.C.D2darray
     219             :     SI_image_d16helper_SAMPLE_C_D3d,           // llvm.SI.image.d16helper.SAMPLE.C.D3d
     220             :     SI_image_d16helper_SAMPLE_C_Dcube,         // llvm.SI.image.d16helper.SAMPLE.C.Dcube
     221             :     SI_image_d16helper_SAMPLE_C_L_O1d,         // llvm.SI.image.d16helper.SAMPLE.C.L.O1d
     222             :     SI_image_d16helper_SAMPLE_C_L_O1darray,    // llvm.SI.image.d16helper.SAMPLE.C.L.O1darray
     223             :     SI_image_d16helper_SAMPLE_C_L_O2d,         // llvm.SI.image.d16helper.SAMPLE.C.L.O2d
     224             :     SI_image_d16helper_SAMPLE_C_L_O2darray,    // llvm.SI.image.d16helper.SAMPLE.C.L.O2darray
     225             :     SI_image_d16helper_SAMPLE_C_L_O3d,         // llvm.SI.image.d16helper.SAMPLE.C.L.O3d
     226             :     SI_image_d16helper_SAMPLE_C_L_Ocube,       // llvm.SI.image.d16helper.SAMPLE.C.L.Ocube
     227             :     SI_image_d16helper_SAMPLE_C_L1d,           // llvm.SI.image.d16helper.SAMPLE.C.L1d
     228             :     SI_image_d16helper_SAMPLE_C_L1darray,      // llvm.SI.image.d16helper.SAMPLE.C.L1darray
     229             :     SI_image_d16helper_SAMPLE_C_L2d,           // llvm.SI.image.d16helper.SAMPLE.C.L2d
     230             :     SI_image_d16helper_SAMPLE_C_L2darray,      // llvm.SI.image.d16helper.SAMPLE.C.L2darray
     231             :     SI_image_d16helper_SAMPLE_C_L3d,           // llvm.SI.image.d16helper.SAMPLE.C.L3d
     232             :     SI_image_d16helper_SAMPLE_C_LZ_O1d,        // llvm.SI.image.d16helper.SAMPLE.C.LZ.O1d
     233             :     SI_image_d16helper_SAMPLE_C_LZ_O1darray,   // llvm.SI.image.d16helper.SAMPLE.C.LZ.O1darray
     234             :     SI_image_d16helper_SAMPLE_C_LZ_O2d,        // llvm.SI.image.d16helper.SAMPLE.C.LZ.O2d
     235             :     SI_image_d16helper_SAMPLE_C_LZ_O2darray,   // llvm.SI.image.d16helper.SAMPLE.C.LZ.O2darray
     236             :     SI_image_d16helper_SAMPLE_C_LZ_O3d,        // llvm.SI.image.d16helper.SAMPLE.C.LZ.O3d
     237             :     SI_image_d16helper_SAMPLE_C_LZ_Ocube,      // llvm.SI.image.d16helper.SAMPLE.C.LZ.Ocube
     238             :     SI_image_d16helper_SAMPLE_C_LZ1d,          // llvm.SI.image.d16helper.SAMPLE.C.LZ1d
     239             :     SI_image_d16helper_SAMPLE_C_LZ1darray,     // llvm.SI.image.d16helper.SAMPLE.C.LZ1darray
     240             :     SI_image_d16helper_SAMPLE_C_LZ2d,          // llvm.SI.image.d16helper.SAMPLE.C.LZ2d
     241             :     SI_image_d16helper_SAMPLE_C_LZ2darray,     // llvm.SI.image.d16helper.SAMPLE.C.LZ2darray
     242             :     SI_image_d16helper_SAMPLE_C_LZ3d,          // llvm.SI.image.d16helper.SAMPLE.C.LZ3d
     243             :     SI_image_d16helper_SAMPLE_C_LZcube,        // llvm.SI.image.d16helper.SAMPLE.C.LZcube
     244             :     SI_image_d16helper_SAMPLE_C_Lcube,         // llvm.SI.image.d16helper.SAMPLE.C.Lcube
     245             :     SI_image_d16helper_SAMPLE_C_O1d,           // llvm.SI.image.d16helper.SAMPLE.C.O1d
     246             :     SI_image_d16helper_SAMPLE_C_O1darray,      // llvm.SI.image.d16helper.SAMPLE.C.O1darray
     247             :     SI_image_d16helper_SAMPLE_C_O2d,           // llvm.SI.image.d16helper.SAMPLE.C.O2d
     248             :     SI_image_d16helper_SAMPLE_C_O2darray,      // llvm.SI.image.d16helper.SAMPLE.C.O2darray
     249             :     SI_image_d16helper_SAMPLE_C_O3d,           // llvm.SI.image.d16helper.SAMPLE.C.O3d
     250             :     SI_image_d16helper_SAMPLE_C_Ocube,         // llvm.SI.image.d16helper.SAMPLE.C.Ocube
     251             :     SI_image_d16helper_SAMPLE_C1d,             // llvm.SI.image.d16helper.SAMPLE.C1d
     252             :     SI_image_d16helper_SAMPLE_C1darray,        // llvm.SI.image.d16helper.SAMPLE.C1darray
     253             :     SI_image_d16helper_SAMPLE_C2d,             // llvm.SI.image.d16helper.SAMPLE.C2d
     254             :     SI_image_d16helper_SAMPLE_C2darray,        // llvm.SI.image.d16helper.SAMPLE.C2darray
     255             :     SI_image_d16helper_SAMPLE_C3d,             // llvm.SI.image.d16helper.SAMPLE.C3d
     256             :     SI_image_d16helper_SAMPLE_CD_CL_O1d,       // llvm.SI.image.d16helper.SAMPLE.CD.CL.O1d
     257             :     SI_image_d16helper_SAMPLE_CD_CL_O1darray,  // llvm.SI.image.d16helper.SAMPLE.CD.CL.O1darray
     258             :     SI_image_d16helper_SAMPLE_CD_CL_O2d,       // llvm.SI.image.d16helper.SAMPLE.CD.CL.O2d
     259             :     SI_image_d16helper_SAMPLE_CD_CL_O2darray,  // llvm.SI.image.d16helper.SAMPLE.CD.CL.O2darray
     260             :     SI_image_d16helper_SAMPLE_CD_CL_O3d,       // llvm.SI.image.d16helper.SAMPLE.CD.CL.O3d
     261             :     SI_image_d16helper_SAMPLE_CD_CL_Ocube,     // llvm.SI.image.d16helper.SAMPLE.CD.CL.Ocube
     262             :     SI_image_d16helper_SAMPLE_CD_CL1d,         // llvm.SI.image.d16helper.SAMPLE.CD.CL1d
     263             :     SI_image_d16helper_SAMPLE_CD_CL1darray,    // llvm.SI.image.d16helper.SAMPLE.CD.CL1darray
     264             :     SI_image_d16helper_SAMPLE_CD_CL2d,         // llvm.SI.image.d16helper.SAMPLE.CD.CL2d
     265             :     SI_image_d16helper_SAMPLE_CD_CL2darray,    // llvm.SI.image.d16helper.SAMPLE.CD.CL2darray
     266             :     SI_image_d16helper_SAMPLE_CD_CL3d,         // llvm.SI.image.d16helper.SAMPLE.CD.CL3d
     267             :     SI_image_d16helper_SAMPLE_CD_CLcube,       // llvm.SI.image.d16helper.SAMPLE.CD.CLcube
     268             :     SI_image_d16helper_SAMPLE_CD_O1d,          // llvm.SI.image.d16helper.SAMPLE.CD.O1d
     269             :     SI_image_d16helper_SAMPLE_CD_O1darray,     // llvm.SI.image.d16helper.SAMPLE.CD.O1darray
     270             :     SI_image_d16helper_SAMPLE_CD_O2d,          // llvm.SI.image.d16helper.SAMPLE.CD.O2d
     271             :     SI_image_d16helper_SAMPLE_CD_O2darray,     // llvm.SI.image.d16helper.SAMPLE.CD.O2darray
     272             :     SI_image_d16helper_SAMPLE_CD_O3d,          // llvm.SI.image.d16helper.SAMPLE.CD.O3d
     273             :     SI_image_d16helper_SAMPLE_CD_Ocube,        // llvm.SI.image.d16helper.SAMPLE.CD.Ocube
     274             :     SI_image_d16helper_SAMPLE_CD1d,            // llvm.SI.image.d16helper.SAMPLE.CD1d
     275             :     SI_image_d16helper_SAMPLE_CD1darray,       // llvm.SI.image.d16helper.SAMPLE.CD1darray
     276             :     SI_image_d16helper_SAMPLE_CD2d,            // llvm.SI.image.d16helper.SAMPLE.CD2d
     277             :     SI_image_d16helper_SAMPLE_CD2darray,       // llvm.SI.image.d16helper.SAMPLE.CD2darray
     278             :     SI_image_d16helper_SAMPLE_CD3d,            // llvm.SI.image.d16helper.SAMPLE.CD3d
     279             :     SI_image_d16helper_SAMPLE_CDcube,          // llvm.SI.image.d16helper.SAMPLE.CDcube
     280             :     SI_image_d16helper_SAMPLE_CL_O1d,          // llvm.SI.image.d16helper.SAMPLE.CL.O1d
     281             :     SI_image_d16helper_SAMPLE_CL_O1darray,     // llvm.SI.image.d16helper.SAMPLE.CL.O1darray
     282             :     SI_image_d16helper_SAMPLE_CL_O2d,          // llvm.SI.image.d16helper.SAMPLE.CL.O2d
     283             :     SI_image_d16helper_SAMPLE_CL_O2darray,     // llvm.SI.image.d16helper.SAMPLE.CL.O2darray
     284             :     SI_image_d16helper_SAMPLE_CL_O3d,          // llvm.SI.image.d16helper.SAMPLE.CL.O3d
     285             :     SI_image_d16helper_SAMPLE_CL_Ocube,        // llvm.SI.image.d16helper.SAMPLE.CL.Ocube
     286             :     SI_image_d16helper_SAMPLE_CL1d,            // llvm.SI.image.d16helper.SAMPLE.CL1d
     287             :     SI_image_d16helper_SAMPLE_CL1darray,       // llvm.SI.image.d16helper.SAMPLE.CL1darray
     288             :     SI_image_d16helper_SAMPLE_CL2d,            // llvm.SI.image.d16helper.SAMPLE.CL2d
     289             :     SI_image_d16helper_SAMPLE_CL2darray,       // llvm.SI.image.d16helper.SAMPLE.CL2darray
     290             :     SI_image_d16helper_SAMPLE_CL3d,            // llvm.SI.image.d16helper.SAMPLE.CL3d
     291             :     SI_image_d16helper_SAMPLE_CLcube,          // llvm.SI.image.d16helper.SAMPLE.CLcube
     292             :     SI_image_d16helper_SAMPLE_Ccube,           // llvm.SI.image.d16helper.SAMPLE.Ccube
     293             :     SI_image_d16helper_SAMPLE_D_CL_O1d,        // llvm.SI.image.d16helper.SAMPLE.D.CL.O1d
     294             :     SI_image_d16helper_SAMPLE_D_CL_O1darray,   // llvm.SI.image.d16helper.SAMPLE.D.CL.O1darray
     295             :     SI_image_d16helper_SAMPLE_D_CL_O2d,        // llvm.SI.image.d16helper.SAMPLE.D.CL.O2d
     296             :     SI_image_d16helper_SAMPLE_D_CL_O2darray,   // llvm.SI.image.d16helper.SAMPLE.D.CL.O2darray
     297             :     SI_image_d16helper_SAMPLE_D_CL_O3d,        // llvm.SI.image.d16helper.SAMPLE.D.CL.O3d
     298             :     SI_image_d16helper_SAMPLE_D_CL_Ocube,      // llvm.SI.image.d16helper.SAMPLE.D.CL.Ocube
     299             :     SI_image_d16helper_SAMPLE_D_CL1d,          // llvm.SI.image.d16helper.SAMPLE.D.CL1d
     300             :     SI_image_d16helper_SAMPLE_D_CL1darray,     // llvm.SI.image.d16helper.SAMPLE.D.CL1darray
     301             :     SI_image_d16helper_SAMPLE_D_CL2d,          // llvm.SI.image.d16helper.SAMPLE.D.CL2d
     302             :     SI_image_d16helper_SAMPLE_D_CL2darray,     // llvm.SI.image.d16helper.SAMPLE.D.CL2darray
     303             :     SI_image_d16helper_SAMPLE_D_CL3d,          // llvm.SI.image.d16helper.SAMPLE.D.CL3d
     304             :     SI_image_d16helper_SAMPLE_D_CLcube,        // llvm.SI.image.d16helper.SAMPLE.D.CLcube
     305             :     SI_image_d16helper_SAMPLE_D_O1d,           // llvm.SI.image.d16helper.SAMPLE.D.O1d
     306             :     SI_image_d16helper_SAMPLE_D_O1darray,      // llvm.SI.image.d16helper.SAMPLE.D.O1darray
     307             :     SI_image_d16helper_SAMPLE_D_O2d,           // llvm.SI.image.d16helper.SAMPLE.D.O2d
     308             :     SI_image_d16helper_SAMPLE_D_O2darray,      // llvm.SI.image.d16helper.SAMPLE.D.O2darray
     309             :     SI_image_d16helper_SAMPLE_D_O3d,           // llvm.SI.image.d16helper.SAMPLE.D.O3d
     310             :     SI_image_d16helper_SAMPLE_D_Ocube,         // llvm.SI.image.d16helper.SAMPLE.D.Ocube
     311             :     SI_image_d16helper_SAMPLE_D1d,             // llvm.SI.image.d16helper.SAMPLE.D1d
     312             :     SI_image_d16helper_SAMPLE_D1darray,        // llvm.SI.image.d16helper.SAMPLE.D1darray
     313             :     SI_image_d16helper_SAMPLE_D2d,             // llvm.SI.image.d16helper.SAMPLE.D2d
     314             :     SI_image_d16helper_SAMPLE_D2darray,        // llvm.SI.image.d16helper.SAMPLE.D2darray
     315             :     SI_image_d16helper_SAMPLE_D3d,             // llvm.SI.image.d16helper.SAMPLE.D3d
     316             :     SI_image_d16helper_SAMPLE_Dcube,           // llvm.SI.image.d16helper.SAMPLE.Dcube
     317             :     SI_image_d16helper_SAMPLE_L_O1d,           // llvm.SI.image.d16helper.SAMPLE.L.O1d
     318             :     SI_image_d16helper_SAMPLE_L_O1darray,      // llvm.SI.image.d16helper.SAMPLE.L.O1darray
     319             :     SI_image_d16helper_SAMPLE_L_O2d,           // llvm.SI.image.d16helper.SAMPLE.L.O2d
     320             :     SI_image_d16helper_SAMPLE_L_O2darray,      // llvm.SI.image.d16helper.SAMPLE.L.O2darray
     321             :     SI_image_d16helper_SAMPLE_L_O3d,           // llvm.SI.image.d16helper.SAMPLE.L.O3d
     322             :     SI_image_d16helper_SAMPLE_L_Ocube,         // llvm.SI.image.d16helper.SAMPLE.L.Ocube
     323             :     SI_image_d16helper_SAMPLE_L1d,             // llvm.SI.image.d16helper.SAMPLE.L1d
     324             :     SI_image_d16helper_SAMPLE_L1darray,        // llvm.SI.image.d16helper.SAMPLE.L1darray
     325             :     SI_image_d16helper_SAMPLE_L2d,             // llvm.SI.image.d16helper.SAMPLE.L2d
     326             :     SI_image_d16helper_SAMPLE_L2darray,        // llvm.SI.image.d16helper.SAMPLE.L2darray
     327             :     SI_image_d16helper_SAMPLE_L3d,             // llvm.SI.image.d16helper.SAMPLE.L3d
     328             :     SI_image_d16helper_SAMPLE_LZ_O1d,          // llvm.SI.image.d16helper.SAMPLE.LZ.O1d
     329             :     SI_image_d16helper_SAMPLE_LZ_O1darray,     // llvm.SI.image.d16helper.SAMPLE.LZ.O1darray
     330             :     SI_image_d16helper_SAMPLE_LZ_O2d,          // llvm.SI.image.d16helper.SAMPLE.LZ.O2d
     331             :     SI_image_d16helper_SAMPLE_LZ_O2darray,     // llvm.SI.image.d16helper.SAMPLE.LZ.O2darray
     332             :     SI_image_d16helper_SAMPLE_LZ_O3d,          // llvm.SI.image.d16helper.SAMPLE.LZ.O3d
     333             :     SI_image_d16helper_SAMPLE_LZ_Ocube,        // llvm.SI.image.d16helper.SAMPLE.LZ.Ocube
     334             :     SI_image_d16helper_SAMPLE_LZ1d,            // llvm.SI.image.d16helper.SAMPLE.LZ1d
     335             :     SI_image_d16helper_SAMPLE_LZ1darray,       // llvm.SI.image.d16helper.SAMPLE.LZ1darray
     336             :     SI_image_d16helper_SAMPLE_LZ2d,            // llvm.SI.image.d16helper.SAMPLE.LZ2d
     337             :     SI_image_d16helper_SAMPLE_LZ2darray,       // llvm.SI.image.d16helper.SAMPLE.LZ2darray
     338             :     SI_image_d16helper_SAMPLE_LZ3d,            // llvm.SI.image.d16helper.SAMPLE.LZ3d
     339             :     SI_image_d16helper_SAMPLE_LZcube,          // llvm.SI.image.d16helper.SAMPLE.LZcube
     340             :     SI_image_d16helper_SAMPLE_Lcube,           // llvm.SI.image.d16helper.SAMPLE.Lcube
     341             :     SI_image_d16helper_SAMPLE_O1d,             // llvm.SI.image.d16helper.SAMPLE.O1d
     342             :     SI_image_d16helper_SAMPLE_O1darray,        // llvm.SI.image.d16helper.SAMPLE.O1darray
     343             :     SI_image_d16helper_SAMPLE_O2d,             // llvm.SI.image.d16helper.SAMPLE.O2d
     344             :     SI_image_d16helper_SAMPLE_O2darray,        // llvm.SI.image.d16helper.SAMPLE.O2darray
     345             :     SI_image_d16helper_SAMPLE_O3d,             // llvm.SI.image.d16helper.SAMPLE.O3d
     346             :     SI_image_d16helper_SAMPLE_Ocube,           // llvm.SI.image.d16helper.SAMPLE.Ocube
     347             :     SI_image_d16helper_SAMPLE1d,               // llvm.SI.image.d16helper.SAMPLE1d
     348             :     SI_image_d16helper_SAMPLE1darray,          // llvm.SI.image.d16helper.SAMPLE1darray
     349             :     SI_image_d16helper_SAMPLE2d,               // llvm.SI.image.d16helper.SAMPLE2d
     350             :     SI_image_d16helper_SAMPLE2darray,          // llvm.SI.image.d16helper.SAMPLE2darray
     351             :     SI_image_d16helper_SAMPLE3d,               // llvm.SI.image.d16helper.SAMPLE3d
     352             :     SI_image_d16helper_SAMPLEcube,             // llvm.SI.image.d16helper.SAMPLEcube
     353             :     SI_image_d16helper_STORE_MIP1d,            // llvm.SI.image.d16helper.STORE.MIP1d
     354             :     SI_image_d16helper_STORE_MIP1darray,       // llvm.SI.image.d16helper.STORE.MIP1darray
     355             :     SI_image_d16helper_STORE_MIP2d,            // llvm.SI.image.d16helper.STORE.MIP2d
     356             :     SI_image_d16helper_STORE_MIP2darray,       // llvm.SI.image.d16helper.STORE.MIP2darray
     357             :     SI_image_d16helper_STORE_MIP3d,            // llvm.SI.image.d16helper.STORE.MIP3d
     358             :     SI_image_d16helper_STORE_MIPcube,          // llvm.SI.image.d16helper.STORE.MIPcube
     359             :     SI_image_d16helper_STORE1d,                // llvm.SI.image.d16helper.STORE1d
     360             :     SI_image_d16helper_STORE1darray,           // llvm.SI.image.d16helper.STORE1darray
     361             :     SI_image_d16helper_STORE2d,                // llvm.SI.image.d16helper.STORE2d
     362             :     SI_image_d16helper_STORE2darray,           // llvm.SI.image.d16helper.STORE2darray
     363             :     SI_image_d16helper_STORE2darraymsaa,       // llvm.SI.image.d16helper.STORE2darraymsaa
     364             :     SI_image_d16helper_STORE2dmsaa,            // llvm.SI.image.d16helper.STORE2dmsaa
     365             :     SI_image_d16helper_STORE3d,                // llvm.SI.image.d16helper.STORE3d
     366             :     SI_image_d16helper_STOREcube,              // llvm.SI.image.d16helper.STOREcube
     367             :     SI_load_const,                             // llvm.SI.load.const
     368             :     SI_tbuffer_store                           // llvm.SI.tbuffer.store
     369             : #endif
     370             : 
     371             : // Target mapping
     372             : #ifdef GET_INTRINSIC_TARGET_DATA
     373             : struct IntrinsicTargetInfo {
     374             :   llvm::StringLiteral Name;
     375             :   size_t Offset;
     376             :   size_t Count;
     377             : };
     378             : static constexpr IntrinsicTargetInfo TargetInfos[] = {
     379             :   {llvm::StringLiteral(""), 0, 0},
     380             :   {llvm::StringLiteral("AMDGPU"), 0, 1},
     381             :   {llvm::StringLiteral("SI"), 1, 349},
     382             : };
     383             : #endif
     384             : 
     385             : // Intrinsic ID to name table
     386             : #ifdef GET_INTRINSIC_NAME_TABLE
     387             :   // Note that entry #0 is the invalid intrinsic!
     388             :   "llvm.AMDGPU.kill",
     389             :   "llvm.SI.buffer.load.dword",
     390             :   "llvm.SI.image.d16helper.GATHER4.B.CL.O2d",
     391             :   "llvm.SI.image.d16helper.GATHER4.B.CL.O2darray",
     392             :   "llvm.SI.image.d16helper.GATHER4.B.CL.Ocube",
     393             :   "llvm.SI.image.d16helper.GATHER4.B.CL2d",
     394             :   "llvm.SI.image.d16helper.GATHER4.B.CL2darray",
     395             :   "llvm.SI.image.d16helper.GATHER4.B.CLcube",
     396             :   "llvm.SI.image.d16helper.GATHER4.B.O2d",
     397             :   "llvm.SI.image.d16helper.GATHER4.B.O2darray",
     398             :   "llvm.SI.image.d16helper.GATHER4.B.Ocube",
     399             :   "llvm.SI.image.d16helper.GATHER4.B2d",
     400             :   "llvm.SI.image.d16helper.GATHER4.B2darray",
     401             :   "llvm.SI.image.d16helper.GATHER4.Bcube",
     402             :   "llvm.SI.image.d16helper.GATHER4.C.B.CL.O2d",
     403             :   "llvm.SI.image.d16helper.GATHER4.C.B.CL.O2darray",
     404             :   "llvm.SI.image.d16helper.GATHER4.C.B.CL.Ocube",
     405             :   "llvm.SI.image.d16helper.GATHER4.C.B.CL2d",
     406             :   "llvm.SI.image.d16helper.GATHER4.C.B.CL2darray",
     407             :   "llvm.SI.image.d16helper.GATHER4.C.B.CLcube",
     408             :   "llvm.SI.image.d16helper.GATHER4.C.B.O2d",
     409             :   "llvm.SI.image.d16helper.GATHER4.C.B.O2darray",
     410             :   "llvm.SI.image.d16helper.GATHER4.C.B.Ocube",
     411             :   "llvm.SI.image.d16helper.GATHER4.C.B2d",
     412             :   "llvm.SI.image.d16helper.GATHER4.C.B2darray",
     413             :   "llvm.SI.image.d16helper.GATHER4.C.Bcube",
     414             :   "llvm.SI.image.d16helper.GATHER4.C.CL.O2d",
     415             :   "llvm.SI.image.d16helper.GATHER4.C.CL.O2darray",
     416             :   "llvm.SI.image.d16helper.GATHER4.C.CL.Ocube",
     417             :   "llvm.SI.image.d16helper.GATHER4.C.CL2d",
     418             :   "llvm.SI.image.d16helper.GATHER4.C.CL2darray",
     419             :   "llvm.SI.image.d16helper.GATHER4.C.CLcube",
     420             :   "llvm.SI.image.d16helper.GATHER4.C.L.O2d",
     421             :   "llvm.SI.image.d16helper.GATHER4.C.L.O2darray",
     422             :   "llvm.SI.image.d16helper.GATHER4.C.L.Ocube",
     423             :   "llvm.SI.image.d16helper.GATHER4.C.L2d",
     424             :   "llvm.SI.image.d16helper.GATHER4.C.L2darray",
     425             :   "llvm.SI.image.d16helper.GATHER4.C.LZ.O2d",
     426             :   "llvm.SI.image.d16helper.GATHER4.C.LZ.O2darray",
     427             :   "llvm.SI.image.d16helper.GATHER4.C.LZ.Ocube",
     428             :   "llvm.SI.image.d16helper.GATHER4.C.LZ2d",
     429             :   "llvm.SI.image.d16helper.GATHER4.C.LZ2darray",
     430             :   "llvm.SI.image.d16helper.GATHER4.C.LZcube",
     431             :   "llvm.SI.image.d16helper.GATHER4.C.Lcube",
     432             :   "llvm.SI.image.d16helper.GATHER4.C.O2d",
     433             :   "llvm.SI.image.d16helper.GATHER4.C.O2darray",
     434             :   "llvm.SI.image.d16helper.GATHER4.C.Ocube",
     435             :   "llvm.SI.image.d16helper.GATHER4.C2d",
     436             :   "llvm.SI.image.d16helper.GATHER4.C2darray",
     437             :   "llvm.SI.image.d16helper.GATHER4.CL.O2d",
     438             :   "llvm.SI.image.d16helper.GATHER4.CL.O2darray",
     439             :   "llvm.SI.image.d16helper.GATHER4.CL.Ocube",
     440             :   "llvm.SI.image.d16helper.GATHER4.CL2d",
     441             :   "llvm.SI.image.d16helper.GATHER4.CL2darray",
     442             :   "llvm.SI.image.d16helper.GATHER4.CLcube",
     443             :   "llvm.SI.image.d16helper.GATHER4.Ccube",
     444             :   "llvm.SI.image.d16helper.GATHER4.L.O2d",
     445             :   "llvm.SI.image.d16helper.GATHER4.L.O2darray",
     446             :   "llvm.SI.image.d16helper.GATHER4.L.Ocube",
     447             :   "llvm.SI.image.d16helper.GATHER4.L2d",
     448             :   "llvm.SI.image.d16helper.GATHER4.L2darray",
     449             :   "llvm.SI.image.d16helper.GATHER4.LZ.O2d",
     450             :   "llvm.SI.image.d16helper.GATHER4.LZ.O2darray",
     451             :   "llvm.SI.image.d16helper.GATHER4.LZ.Ocube",
     452             :   "llvm.SI.image.d16helper.GATHER4.LZ2d",
     453             :   "llvm.SI.image.d16helper.GATHER4.LZ2darray",
     454             :   "llvm.SI.image.d16helper.GATHER4.LZcube",
     455             :   "llvm.SI.image.d16helper.GATHER4.Lcube",
     456             :   "llvm.SI.image.d16helper.GATHER4.O2d",
     457             :   "llvm.SI.image.d16helper.GATHER4.O2darray",
     458             :   "llvm.SI.image.d16helper.GATHER4.Ocube",
     459             :   "llvm.SI.image.d16helper.GATHER42d",
     460             :   "llvm.SI.image.d16helper.GATHER42darray",
     461             :   "llvm.SI.image.d16helper.GATHER4cube",
     462             :   "llvm.SI.image.d16helper.GET.LOD1d",
     463             :   "llvm.SI.image.d16helper.GET.LOD1darray",
     464             :   "llvm.SI.image.d16helper.GET.LOD2d",
     465             :   "llvm.SI.image.d16helper.GET.LOD2darray",
     466             :   "llvm.SI.image.d16helper.GET.LOD3d",
     467             :   "llvm.SI.image.d16helper.GET.LODcube",
     468             :   "llvm.SI.image.d16helper.LOAD.MIP1d",
     469             :   "llvm.SI.image.d16helper.LOAD.MIP1darray",
     470             :   "llvm.SI.image.d16helper.LOAD.MIP2d",
     471             :   "llvm.SI.image.d16helper.LOAD.MIP2darray",
     472             :   "llvm.SI.image.d16helper.LOAD.MIP3d",
     473             :   "llvm.SI.image.d16helper.LOAD.MIPcube",
     474             :   "llvm.SI.image.d16helper.LOAD1d",
     475             :   "llvm.SI.image.d16helper.LOAD1darray",
     476             :   "llvm.SI.image.d16helper.LOAD2d",
     477             :   "llvm.SI.image.d16helper.LOAD2darray",
     478             :   "llvm.SI.image.d16helper.LOAD2darraymsaa",
     479             :   "llvm.SI.image.d16helper.LOAD2dmsaa",
     480             :   "llvm.SI.image.d16helper.LOAD3d",
     481             :   "llvm.SI.image.d16helper.LOADcube",
     482             :   "llvm.SI.image.d16helper.SAMPLE.B.CL.O1d",
     483             :   "llvm.SI.image.d16helper.SAMPLE.B.CL.O1darray",
     484             :   "llvm.SI.image.d16helper.SAMPLE.B.CL.O2d",
     485             :   "llvm.SI.image.d16helper.SAMPLE.B.CL.O2darray",
     486             :   "llvm.SI.image.d16helper.SAMPLE.B.CL.O3d",
     487             :   "llvm.SI.image.d16helper.SAMPLE.B.CL.Ocube",
     488             :   "llvm.SI.image.d16helper.SAMPLE.B.CL1d",
     489             :   "llvm.SI.image.d16helper.SAMPLE.B.CL1darray",
     490             :   "llvm.SI.image.d16helper.SAMPLE.B.CL2d",
     491             :   "llvm.SI.image.d16helper.SAMPLE.B.CL2darray",
     492             :   "llvm.SI.image.d16helper.SAMPLE.B.CL3d",
     493             :   "llvm.SI.image.d16helper.SAMPLE.B.CLcube",
     494             :   "llvm.SI.image.d16helper.SAMPLE.B.O1d",
     495             :   "llvm.SI.image.d16helper.SAMPLE.B.O1darray",
     496             :   "llvm.SI.image.d16helper.SAMPLE.B.O2d",
     497             :   "llvm.SI.image.d16helper.SAMPLE.B.O2darray",
     498             :   "llvm.SI.image.d16helper.SAMPLE.B.O3d",
     499             :   "llvm.SI.image.d16helper.SAMPLE.B.Ocube",
     500             :   "llvm.SI.image.d16helper.SAMPLE.B1d",
     501             :   "llvm.SI.image.d16helper.SAMPLE.B1darray",
     502             :   "llvm.SI.image.d16helper.SAMPLE.B2d",
     503             :   "llvm.SI.image.d16helper.SAMPLE.B2darray",
     504             :   "llvm.SI.image.d16helper.SAMPLE.B3d",
     505             :   "llvm.SI.image.d16helper.SAMPLE.Bcube",
     506             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL.O1d",
     507             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL.O1darray",
     508             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL.O2d",
     509             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL.O2darray",
     510             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL.O3d",
     511             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL.Ocube",
     512             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL1d",
     513             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL1darray",
     514             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL2d",
     515             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL2darray",
     516             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL3d",
     517             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CLcube",
     518             :   "llvm.SI.image.d16helper.SAMPLE.C.B.O1d",
     519             :   "llvm.SI.image.d16helper.SAMPLE.C.B.O1darray",
     520             :   "llvm.SI.image.d16helper.SAMPLE.C.B.O2d",
     521             :   "llvm.SI.image.d16helper.SAMPLE.C.B.O2darray",
     522             :   "llvm.SI.image.d16helper.SAMPLE.C.B.O3d",
     523             :   "llvm.SI.image.d16helper.SAMPLE.C.B.Ocube",
     524             :   "llvm.SI.image.d16helper.SAMPLE.C.B1d",
     525             :   "llvm.SI.image.d16helper.SAMPLE.C.B1darray",
     526             :   "llvm.SI.image.d16helper.SAMPLE.C.B2d",
     527             :   "llvm.SI.image.d16helper.SAMPLE.C.B2darray",
     528             :   "llvm.SI.image.d16helper.SAMPLE.C.B3d",
     529             :   "llvm.SI.image.d16helper.SAMPLE.C.Bcube",
     530             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O1d",
     531             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O1darray",
     532             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O2d",
     533             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O2darray",
     534             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O3d",
     535             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL.Ocube",
     536             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL1d",
     537             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL1darray",
     538             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL2d",
     539             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL2darray",
     540             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL3d",
     541             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CLcube",
     542             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.O1d",
     543             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.O1darray",
     544             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.O2d",
     545             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.O2darray",
     546             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.O3d",
     547             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.Ocube",
     548             :   "llvm.SI.image.d16helper.SAMPLE.C.CD1d",
     549             :   "llvm.SI.image.d16helper.SAMPLE.C.CD1darray",
     550             :   "llvm.SI.image.d16helper.SAMPLE.C.CD2d",
     551             :   "llvm.SI.image.d16helper.SAMPLE.C.CD2darray",
     552             :   "llvm.SI.image.d16helper.SAMPLE.C.CD3d",
     553             :   "llvm.SI.image.d16helper.SAMPLE.C.CDcube",
     554             :   "llvm.SI.image.d16helper.SAMPLE.C.CL.O1d",
     555             :   "llvm.SI.image.d16helper.SAMPLE.C.CL.O1darray",
     556             :   "llvm.SI.image.d16helper.SAMPLE.C.CL.O2d",
     557             :   "llvm.SI.image.d16helper.SAMPLE.C.CL.O2darray",
     558             :   "llvm.SI.image.d16helper.SAMPLE.C.CL.O3d",
     559             :   "llvm.SI.image.d16helper.SAMPLE.C.CL.Ocube",
     560             :   "llvm.SI.image.d16helper.SAMPLE.C.CL1d",
     561             :   "llvm.SI.image.d16helper.SAMPLE.C.CL1darray",
     562             :   "llvm.SI.image.d16helper.SAMPLE.C.CL2d",
     563             :   "llvm.SI.image.d16helper.SAMPLE.C.CL2darray",
     564             :   "llvm.SI.image.d16helper.SAMPLE.C.CL3d",
     565             :   "llvm.SI.image.d16helper.SAMPLE.C.CLcube",
     566             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL.O1d",
     567             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL.O1darray",
     568             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL.O2d",
     569             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL.O2darray",
     570             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL.O3d",
     571             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL.Ocube",
     572             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL1d",
     573             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL1darray",
     574             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL2d",
     575             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL2darray",
     576             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL3d",
     577             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CLcube",
     578             :   "llvm.SI.image.d16helper.SAMPLE.C.D.O1d",
     579             :   "llvm.SI.image.d16helper.SAMPLE.C.D.O1darray",
     580             :   "llvm.SI.image.d16helper.SAMPLE.C.D.O2d",
     581             :   "llvm.SI.image.d16helper.SAMPLE.C.D.O2darray",
     582             :   "llvm.SI.image.d16helper.SAMPLE.C.D.O3d",
     583             :   "llvm.SI.image.d16helper.SAMPLE.C.D.Ocube",
     584             :   "llvm.SI.image.d16helper.SAMPLE.C.D1d",
     585             :   "llvm.SI.image.d16helper.SAMPLE.C.D1darray",
     586             :   "llvm.SI.image.d16helper.SAMPLE.C.D2d",
     587             :   "llvm.SI.image.d16helper.SAMPLE.C.D2darray",
     588             :   "llvm.SI.image.d16helper.SAMPLE.C.D3d",
     589             :   "llvm.SI.image.d16helper.SAMPLE.C.Dcube",
     590             :   "llvm.SI.image.d16helper.SAMPLE.C.L.O1d",
     591             :   "llvm.SI.image.d16helper.SAMPLE.C.L.O1darray",
     592             :   "llvm.SI.image.d16helper.SAMPLE.C.L.O2d",
     593             :   "llvm.SI.image.d16helper.SAMPLE.C.L.O2darray",
     594             :   "llvm.SI.image.d16helper.SAMPLE.C.L.O3d",
     595             :   "llvm.SI.image.d16helper.SAMPLE.C.L.Ocube",
     596             :   "llvm.SI.image.d16helper.SAMPLE.C.L1d",
     597             :   "llvm.SI.image.d16helper.SAMPLE.C.L1darray",
     598             :   "llvm.SI.image.d16helper.SAMPLE.C.L2d",
     599             :   "llvm.SI.image.d16helper.SAMPLE.C.L2darray",
     600             :   "llvm.SI.image.d16helper.SAMPLE.C.L3d",
     601             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ.O1d",
     602             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ.O1darray",
     603             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ.O2d",
     604             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ.O2darray",
     605             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ.O3d",
     606             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ.Ocube",
     607             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ1d",
     608             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ1darray",
     609             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ2d",
     610             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ2darray",
     611             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ3d",
     612             :   "llvm.SI.image.d16helper.SAMPLE.C.LZcube",
     613             :   "llvm.SI.image.d16helper.SAMPLE.C.Lcube",
     614             :   "llvm.SI.image.d16helper.SAMPLE.C.O1d",
     615             :   "llvm.SI.image.d16helper.SAMPLE.C.O1darray",
     616             :   "llvm.SI.image.d16helper.SAMPLE.C.O2d",
     617             :   "llvm.SI.image.d16helper.SAMPLE.C.O2darray",
     618             :   "llvm.SI.image.d16helper.SAMPLE.C.O3d",
     619             :   "llvm.SI.image.d16helper.SAMPLE.C.Ocube",
     620             :   "llvm.SI.image.d16helper.SAMPLE.C1d",
     621             :   "llvm.SI.image.d16helper.SAMPLE.C1darray",
     622             :   "llvm.SI.image.d16helper.SAMPLE.C2d",
     623             :   "llvm.SI.image.d16helper.SAMPLE.C2darray",
     624             :   "llvm.SI.image.d16helper.SAMPLE.C3d",
     625             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL.O1d",
     626             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL.O1darray",
     627             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL.O2d",
     628             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL.O2darray",
     629             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL.O3d",
     630             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL.Ocube",
     631             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL1d",
     632             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL1darray",
     633             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL2d",
     634             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL2darray",
     635             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL3d",
     636             :   "llvm.SI.image.d16helper.SAMPLE.CD.CLcube",
     637             :   "llvm.SI.image.d16helper.SAMPLE.CD.O1d",
     638             :   "llvm.SI.image.d16helper.SAMPLE.CD.O1darray",
     639             :   "llvm.SI.image.d16helper.SAMPLE.CD.O2d",
     640             :   "llvm.SI.image.d16helper.SAMPLE.CD.O2darray",
     641             :   "llvm.SI.image.d16helper.SAMPLE.CD.O3d",
     642             :   "llvm.SI.image.d16helper.SAMPLE.CD.Ocube",
     643             :   "llvm.SI.image.d16helper.SAMPLE.CD1d",
     644             :   "llvm.SI.image.d16helper.SAMPLE.CD1darray",
     645             :   "llvm.SI.image.d16helper.SAMPLE.CD2d",
     646             :   "llvm.SI.image.d16helper.SAMPLE.CD2darray",
     647             :   "llvm.SI.image.d16helper.SAMPLE.CD3d",
     648             :   "llvm.SI.image.d16helper.SAMPLE.CDcube",
     649             :   "llvm.SI.image.d16helper.SAMPLE.CL.O1d",
     650             :   "llvm.SI.image.d16helper.SAMPLE.CL.O1darray",
     651             :   "llvm.SI.image.d16helper.SAMPLE.CL.O2d",
     652             :   "llvm.SI.image.d16helper.SAMPLE.CL.O2darray",
     653             :   "llvm.SI.image.d16helper.SAMPLE.CL.O3d",
     654             :   "llvm.SI.image.d16helper.SAMPLE.CL.Ocube",
     655             :   "llvm.SI.image.d16helper.SAMPLE.CL1d",
     656             :   "llvm.SI.image.d16helper.SAMPLE.CL1darray",
     657             :   "llvm.SI.image.d16helper.SAMPLE.CL2d",
     658             :   "llvm.SI.image.d16helper.SAMPLE.CL2darray",
     659             :   "llvm.SI.image.d16helper.SAMPLE.CL3d",
     660             :   "llvm.SI.image.d16helper.SAMPLE.CLcube",
     661             :   "llvm.SI.image.d16helper.SAMPLE.Ccube",
     662             :   "llvm.SI.image.d16helper.SAMPLE.D.CL.O1d",
     663             :   "llvm.SI.image.d16helper.SAMPLE.D.CL.O1darray",
     664             :   "llvm.SI.image.d16helper.SAMPLE.D.CL.O2d",
     665             :   "llvm.SI.image.d16helper.SAMPLE.D.CL.O2darray",
     666             :   "llvm.SI.image.d16helper.SAMPLE.D.CL.O3d",
     667             :   "llvm.SI.image.d16helper.SAMPLE.D.CL.Ocube",
     668             :   "llvm.SI.image.d16helper.SAMPLE.D.CL1d",
     669             :   "llvm.SI.image.d16helper.SAMPLE.D.CL1darray",
     670             :   "llvm.SI.image.d16helper.SAMPLE.D.CL2d",
     671             :   "llvm.SI.image.d16helper.SAMPLE.D.CL2darray",
     672             :   "llvm.SI.image.d16helper.SAMPLE.D.CL3d",
     673             :   "llvm.SI.image.d16helper.SAMPLE.D.CLcube",
     674             :   "llvm.SI.image.d16helper.SAMPLE.D.O1d",
     675             :   "llvm.SI.image.d16helper.SAMPLE.D.O1darray",
     676             :   "llvm.SI.image.d16helper.SAMPLE.D.O2d",
     677             :   "llvm.SI.image.d16helper.SAMPLE.D.O2darray",
     678             :   "llvm.SI.image.d16helper.SAMPLE.D.O3d",
     679             :   "llvm.SI.image.d16helper.SAMPLE.D.Ocube",
     680             :   "llvm.SI.image.d16helper.SAMPLE.D1d",
     681             :   "llvm.SI.image.d16helper.SAMPLE.D1darray",
     682             :   "llvm.SI.image.d16helper.SAMPLE.D2d",
     683             :   "llvm.SI.image.d16helper.SAMPLE.D2darray",
     684             :   "llvm.SI.image.d16helper.SAMPLE.D3d",
     685             :   "llvm.SI.image.d16helper.SAMPLE.Dcube",
     686             :   "llvm.SI.image.d16helper.SAMPLE.L.O1d",
     687             :   "llvm.SI.image.d16helper.SAMPLE.L.O1darray",
     688             :   "llvm.SI.image.d16helper.SAMPLE.L.O2d",
     689             :   "llvm.SI.image.d16helper.SAMPLE.L.O2darray",
     690             :   "llvm.SI.image.d16helper.SAMPLE.L.O3d",
     691             :   "llvm.SI.image.d16helper.SAMPLE.L.Ocube",
     692             :   "llvm.SI.image.d16helper.SAMPLE.L1d",
     693             :   "llvm.SI.image.d16helper.SAMPLE.L1darray",
     694             :   "llvm.SI.image.d16helper.SAMPLE.L2d",
     695             :   "llvm.SI.image.d16helper.SAMPLE.L2darray",
     696             :   "llvm.SI.image.d16helper.SAMPLE.L3d",
     697             :   "llvm.SI.image.d16helper.SAMPLE.LZ.O1d",
     698             :   "llvm.SI.image.d16helper.SAMPLE.LZ.O1darray",
     699             :   "llvm.SI.image.d16helper.SAMPLE.LZ.O2d",
     700             :   "llvm.SI.image.d16helper.SAMPLE.LZ.O2darray",
     701             :   "llvm.SI.image.d16helper.SAMPLE.LZ.O3d",
     702             :   "llvm.SI.image.d16helper.SAMPLE.LZ.Ocube",
     703             :   "llvm.SI.image.d16helper.SAMPLE.LZ1d",
     704             :   "llvm.SI.image.d16helper.SAMPLE.LZ1darray",
     705             :   "llvm.SI.image.d16helper.SAMPLE.LZ2d",
     706             :   "llvm.SI.image.d16helper.SAMPLE.LZ2darray",
     707             :   "llvm.SI.image.d16helper.SAMPLE.LZ3d",
     708             :   "llvm.SI.image.d16helper.SAMPLE.LZcube",
     709             :   "llvm.SI.image.d16helper.SAMPLE.Lcube",
     710             :   "llvm.SI.image.d16helper.SAMPLE.O1d",
     711             :   "llvm.SI.image.d16helper.SAMPLE.O1darray",
     712             :   "llvm.SI.image.d16helper.SAMPLE.O2d",
     713             :   "llvm.SI.image.d16helper.SAMPLE.O2darray",
     714             :   "llvm.SI.image.d16helper.SAMPLE.O3d",
     715             :   "llvm.SI.image.d16helper.SAMPLE.Ocube",
     716             :   "llvm.SI.image.d16helper.SAMPLE1d",
     717             :   "llvm.SI.image.d16helper.SAMPLE1darray",
     718             :   "llvm.SI.image.d16helper.SAMPLE2d",
     719             :   "llvm.SI.image.d16helper.SAMPLE2darray",
     720             :   "llvm.SI.image.d16helper.SAMPLE3d",
     721             :   "llvm.SI.image.d16helper.SAMPLEcube",
     722             :   "llvm.SI.image.d16helper.STORE.MIP1d",
     723             :   "llvm.SI.image.d16helper.STORE.MIP1darray",
     724             :   "llvm.SI.image.d16helper.STORE.MIP2d",
     725             :   "llvm.SI.image.d16helper.STORE.MIP2darray",
     726             :   "llvm.SI.image.d16helper.STORE.MIP3d",
     727             :   "llvm.SI.image.d16helper.STORE.MIPcube",
     728             :   "llvm.SI.image.d16helper.STORE1d",
     729             :   "llvm.SI.image.d16helper.STORE1darray",
     730             :   "llvm.SI.image.d16helper.STORE2d",
     731             :   "llvm.SI.image.d16helper.STORE2darray",
     732             :   "llvm.SI.image.d16helper.STORE2darraymsaa",
     733             :   "llvm.SI.image.d16helper.STORE2dmsaa",
     734             :   "llvm.SI.image.d16helper.STORE3d",
     735             :   "llvm.SI.image.d16helper.STOREcube",
     736             :   "llvm.SI.load.const",
     737             :   "llvm.SI.tbuffer.store",
     738             : #endif
     739             : 
     740             : // Intrinsic ID to overload bitset
     741             : #ifdef GET_INTRINSIC_OVERLOAD_TABLE
     742             : static const uint8_t OTable[] = {
     743             :   0 | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     744             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     745             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     746             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     747             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     748             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     749             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     750             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     751             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     752             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     753             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     754             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     755             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     756             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     757             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     758             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     759             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     760             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     761             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     762             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     763             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     764             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     765             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     766             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     767             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     768             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     769             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     770             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     771             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     772             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     773             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     774             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     775             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     776             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     777             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     778             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     779             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     780             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     781             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     782             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     783             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     784             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     785             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     786             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6)
     787             : };
     788             : 
     789         505 : return (OTable[id/8] & (1 << (id%8))) != 0;
     790             : #endif
     791             : 
     792             : // Global intrinsic function declaration type table.
     793             : #ifdef GET_INTRINSIC_GENERATOR_GLOBAL
     794             : static const unsigned IIT_Table[] = {
     795             :   0x70, (1U<<31) | 1393, (1U<<31) | 716, (1U<<31) | 1114, (1U<<31) | 1114, (1U<<31) | 697, (1U<<31) | 1093, 
     796             :   (1U<<31) | 1093, (1U<<31) | 462, (1U<<31) | 716, (1U<<31) | 716, (1U<<31) | 445, (1U<<31) | 697, (1U<<31) | 697, (1U<<31) | 676, 
     797             :   (1U<<31) | 1070, (1U<<31) | 1070, (1U<<31) | 656, (1U<<31) | 1048, (1U<<31) | 1048, (1U<<31) | 426, (1U<<31) | 676, (1U<<31) | 676, 
     798             :   (1U<<31) | 408, (1U<<31) | 656, (1U<<31) | 656, (1U<<31) | 173, (1U<<31) | 251, (1U<<31) | 251, (1U<<31) | 155, (1U<<31) | 231, 
     799             :   (1U<<31) | 231, (1U<<31) | 173, (1U<<31) | 251, (1U<<31) | 251, (1U<<31) | 155, (1U<<31) | 231, (1U<<31) | 103, (1U<<31) | 173, 
     800             :   (1U<<31) | 173, (1U<<31) | 87, (1U<<31) | 155, (1U<<31) | 155, (1U<<31) | 231, (1U<<31) | 103, (1U<<31) | 173, (1U<<31) | 173, 
     801             :   (1U<<31) | 87, (1U<<31) | 155, (1U<<31) | 137, (1U<<31) | 211, (1U<<31) | 211, (1U<<31) | 120, (1U<<31) | 192, (1U<<31) | 192, 
     802             :   (1U<<31) | 155, (1U<<31) | 137, (1U<<31) | 211, (1U<<31) | 211, (1U<<31) | 120, (1U<<31) | 192, (1U<<31) | 71, (1U<<31) | 137, 
     803             :   (1U<<31) | 137, (1U<<31) | 56, (1U<<31) | 120, (1U<<31) | 120, (1U<<31) | 192, (1U<<31) | 71, (1U<<31) | 137, (1U<<31) | 137, 
     804             :   (1U<<31) | 56, (1U<<31) | 120, (1U<<31) | 120, (1U<<31) | 0, (1U<<31) | 56, (1U<<31) | 56, (1U<<31) | 120, (1U<<31) | 120, 
     805             :   (1U<<31) | 120, (1U<<31) | 1419, (1U<<31) | 1432, (1U<<31) | 1432, (1U<<31) | 1447, (1U<<31) | 1447, (1U<<31) | 1447, (1U<<31) | 1408, 
     806             :   (1U<<31) | 1419, (1U<<31) | 1419, (1U<<31) | 1432, (1U<<31) | 1447, (1U<<31) | 1432, (1U<<31) | 1432, (1U<<31) | 1432, (1U<<31) | 462, 
     807             :   (1U<<31) | 716, (1U<<31) | 716, (1U<<31) | 1114, (1U<<31) | 1114, (1U<<31) | 1114, (1U<<31) | 445, (1U<<31) | 697, (1U<<31) | 697, 
     808             :   (1U<<31) | 1093, (1U<<31) | 1093, (1U<<31) | 1093, (1U<<31) | 320, (1U<<31) | 462, (1U<<31) | 462, (1U<<31) | 716, (1U<<31) | 716, 
     809             :   (1U<<31) | 716, (1U<<31) | 305, (1U<<31) | 445, (1U<<31) | 445, (1U<<31) | 697, (1U<<31) | 697, (1U<<31) | 697, (1U<<31) | 426, 
     810             :   (1U<<31) | 676, (1U<<31) | 676, (1U<<31) | 1070, (1U<<31) | 1070, (1U<<31) | 1070, (1U<<31) | 408, (1U<<31) | 656, (1U<<31) | 656, 
     811             :   (1U<<31) | 1048, (1U<<31) | 1048, (1U<<31) | 1048, (1U<<31) | 288, (1U<<31) | 426, (1U<<31) | 426, (1U<<31) | 676, (1U<<31) | 676, 
     812             :   (1U<<31) | 676, (1U<<31) | 272, (1U<<31) | 408, (1U<<31) | 408, (1U<<31) | 656, (1U<<31) | 656, (1U<<31) | 656, (1U<<31) | 539, 
     813             :   (1U<<31) | 801, (1U<<31) | 901, (1U<<31) | 1219, (1U<<31) | 1343, (1U<<31) | 1219, (1U<<31) | 519, (1U<<31) | 779, (1U<<31) | 875, 
     814             :   (1U<<31) | 1191, (1U<<31) | 1311, (1U<<31) | 1191, (1U<<31) | 389, (1U<<31) | 539, (1U<<31) | 631, (1U<<31) | 901, (1U<<31) | 1017, 
     815             :   (1U<<31) | 901, (1U<<31) | 371, (1U<<31) | 519, (1U<<31) | 607, (1U<<31) | 875, (1U<<31) | 987, (1U<<31) | 875, (1U<<31) | 103, 
     816             :   (1U<<31) | 173, (1U<<31) | 173, (1U<<31) | 251, (1U<<31) | 251, (1U<<31) | 251, (1U<<31) | 87, (1U<<31) | 155, (1U<<31) | 155, 
     817             :   (1U<<31) | 231, (1U<<31) | 231, (1U<<31) | 231, (1U<<31) | 539, (1U<<31) | 801, (1U<<31) | 901, (1U<<31) | 1219, (1U<<31) | 1343, 
     818             :   (1U<<31) | 1219, (1U<<31) | 519, (1U<<31) | 779, (1U<<31) | 875, (1U<<31) | 1191, (1U<<31) | 1311, (1U<<31) | 1191, (1U<<31) | 389, 
     819             :   (1U<<31) | 539, (1U<<31) | 631, (1U<<31) | 901, (1U<<31) | 1017, (1U<<31) | 901, (1U<<31) | 371, (1U<<31) | 519, (1U<<31) | 607, 
     820             :   (1U<<31) | 875, (1U<<31) | 987, (1U<<31) | 875, (1U<<31) | 103, (1U<<31) | 173, (1U<<31) | 173, (1U<<31) | 251, (1U<<31) | 251, 
     821             :   (1U<<31) | 251, (1U<<31) | 87, (1U<<31) | 155, (1U<<31) | 155, (1U<<31) | 231, (1U<<31) | 231, (1U<<31) | 41, (1U<<31) | 103, 
     822             :   (1U<<31) | 103, (1U<<31) | 173, (1U<<31) | 173, (1U<<31) | 173, (1U<<31) | 27, (1U<<31) | 87, (1U<<31) | 87, (1U<<31) | 155, 
     823             :   (1U<<31) | 155, (1U<<31) | 155, (1U<<31) | 231, (1U<<31) | 41, (1U<<31) | 103, (1U<<31) | 103, (1U<<31) | 173, (1U<<31) | 173, 
     824             :   (1U<<31) | 173, (1U<<31) | 27, (1U<<31) | 87, (1U<<31) | 87, (1U<<31) | 155, (1U<<31) | 155, (1U<<31) | 499, (1U<<31) | 757, 
     825             :   (1U<<31) | 849, (1U<<31) | 1163, (1U<<31) | 1279, (1U<<31) | 1163, (1U<<31) | 480, (1U<<31) | 736, (1U<<31) | 824, (1U<<31) | 1136, 
     826             :   (1U<<31) | 1248, (1U<<31) | 1136, (1U<<31) | 353, (1U<<31) | 499, (1U<<31) | 583, (1U<<31) | 849, (1U<<31) | 957, (1U<<31) | 849, 
     827             :   (1U<<31) | 336, (1U<<31) | 480, (1U<<31) | 560, (1U<<31) | 824, (1U<<31) | 928, (1U<<31) | 824, (1U<<31) | 71, (1U<<31) | 137, 
     828             :   (1U<<31) | 137, (1U<<31) | 211, (1U<<31) | 211, (1U<<31) | 211, (1U<<31) | 56, (1U<<31) | 120, (1U<<31) | 120, (1U<<31) | 192, 
     829             :   (1U<<31) | 192, (1U<<31) | 192, (1U<<31) | 155, (1U<<31) | 499, (1U<<31) | 757, (1U<<31) | 849, (1U<<31) | 1163, (1U<<31) | 1279, 
     830             :   (1U<<31) | 1163, (1U<<31) | 480, (1U<<31) | 736, (1U<<31) | 824, (1U<<31) | 1136, (1U<<31) | 1248, (1U<<31) | 1136, (1U<<31) | 353, 
     831             :   (1U<<31) | 499, (1U<<31) | 583, (1U<<31) | 849, (1U<<31) | 957, (1U<<31) | 849, (1U<<31) | 336, (1U<<31) | 480, (1U<<31) | 560, 
     832             :   (1U<<31) | 824, (1U<<31) | 928, (1U<<31) | 824, (1U<<31) | 71, (1U<<31) | 137, (1U<<31) | 137, (1U<<31) | 211, (1U<<31) | 211, 
     833             :   (1U<<31) | 211, (1U<<31) | 56, (1U<<31) | 120, (1U<<31) | 120, (1U<<31) | 192, (1U<<31) | 192, (1U<<31) | 13, (1U<<31) | 71, 
     834             :   (1U<<31) | 71, (1U<<31) | 137, (1U<<31) | 137, (1U<<31) | 137, (1U<<31) | 0, (1U<<31) | 56, (1U<<31) | 56, (1U<<31) | 120, 
     835             :   (1U<<31) | 120, (1U<<31) | 120, (1U<<31) | 192, (1U<<31) | 13, (1U<<31) | 71, (1U<<31) | 71, (1U<<31) | 137, (1U<<31) | 137, 
     836             :   (1U<<31) | 137, (1U<<31) | 0, (1U<<31) | 56, (1U<<31) | 56, (1U<<31) | 120, (1U<<31) | 120, (1U<<31) | 120, (1U<<31) | 1418, 
     837             :   (1U<<31) | 1431, (1U<<31) | 1431, (1U<<31) | 1446, (1U<<31) | 1446, (1U<<31) | 1446, (1U<<31) | 1407, (1U<<31) | 1418, (1U<<31) | 1418, 
     838             :   (1U<<31) | 1431, (1U<<31) | 1446, (1U<<31) | 1431, (1U<<31) | 1431, (1U<<31) | 1431, 0x41f7, (1U<<31) | 1376, 0
     839             : };
     840             : 
     841             : static const unsigned char IIT_LongEncodingTable[] = {
     842             :   /* 0 */ 15, 0, 4, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     843             :   /* 13 */ 15, 0, 4, 4, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     844             :   /* 27 */ 15, 0, 4, 7, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     845             :   /* 41 */ 15, 0, 4, 4, 7, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     846             :   /* 56 */ 15, 0, 4, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     847             :   /* 71 */ 15, 0, 4, 4, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     848             :   /* 87 */ 15, 0, 4, 7, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     849             :   /* 103 */ 15, 0, 4, 4, 7, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     850             :   /* 120 */ 15, 0, 4, 15, 10, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     851             :   /* 137 */ 15, 0, 4, 4, 15, 10, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     852             :   /* 155 */ 15, 0, 4, 7, 15, 10, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     853             :   /* 173 */ 15, 0, 4, 4, 7, 15, 10, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     854             :   /* 192 */ 15, 0, 4, 15, 10, 15, 10, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     855             :   /* 211 */ 15, 0, 4, 4, 15, 10, 15, 10, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     856             :   /* 231 */ 15, 0, 4, 7, 15, 10, 15, 10, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     857             :   /* 251 */ 15, 0, 4, 4, 7, 15, 10, 15, 10, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     858             :   /* 272 */ 15, 0, 4, 15, 10, 7, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     859             :   /* 288 */ 15, 0, 4, 4, 15, 10, 7, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     860             :   /* 305 */ 15, 0, 4, 15, 10, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     861             :   /* 320 */ 15, 0, 4, 4, 15, 10, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     862             :   /* 336 */ 15, 0, 4, 15, 10, 15, 10, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     863             :   /* 353 */ 15, 0, 4, 4, 15, 10, 15, 10, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     864             :   /* 371 */ 15, 0, 4, 7, 15, 10, 15, 10, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     865             :   /* 389 */ 15, 0, 4, 4, 7, 15, 10, 15, 10, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     866             :   /* 408 */ 15, 0, 4, 15, 10, 7, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     867             :   /* 426 */ 15, 0, 4, 4, 15, 10, 7, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     868             :   /* 445 */ 15, 0, 4, 15, 10, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     869             :   /* 462 */ 15, 0, 4, 4, 15, 10, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     870             :   /* 480 */ 15, 0, 4, 15, 10, 15, 10, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     871             :   /* 499 */ 15, 0, 4, 4, 15, 10, 15, 10, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     872             :   /* 519 */ 15, 0, 4, 7, 15, 10, 15, 10, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     873             :   /* 539 */ 15, 0, 4, 4, 7, 15, 10, 15, 10, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     874             :   /* 560 */ 15, 0, 4, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     875             :   /* 583 */ 15, 0, 4, 4, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     876             :   /* 607 */ 15, 0, 4, 7, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     877             :   /* 631 */ 15, 0, 4, 4, 7, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     878             :   /* 656 */ 15, 0, 4, 15, 10, 7, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     879             :   /* 676 */ 15, 0, 4, 4, 15, 10, 7, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     880             :   /* 697 */ 15, 0, 4, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     881             :   /* 716 */ 15, 0, 4, 4, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     882             :   /* 736 */ 15, 0, 4, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     883             :   /* 757 */ 15, 0, 4, 4, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     884             :   /* 779 */ 15, 0, 4, 7, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     885             :   /* 801 */ 15, 0, 4, 4, 7, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     886             :   /* 824 */ 15, 0, 4, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     887             :   /* 849 */ 15, 0, 4, 4, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     888             :   /* 875 */ 15, 0, 4, 7, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     889             :   /* 901 */ 15, 0, 4, 4, 7, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     890             :   /* 928 */ 15, 0, 4, 15, 10, 15, 10, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     891             :   /* 957 */ 15, 0, 4, 4, 15, 10, 15, 10, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     892             :   /* 987 */ 15, 0, 4, 7, 15, 10, 15, 10, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     893             :   /* 1017 */ 15, 0, 4, 4, 7, 15, 10, 15, 10, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     894             :   /* 1048 */ 15, 0, 4, 15, 10, 7, 15, 18, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     895             :   /* 1070 */ 15, 0, 4, 4, 15, 10, 7, 15, 18, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     896             :   /* 1093 */ 15, 0, 4, 15, 10, 15, 18, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     897             :   /* 1114 */ 15, 0, 4, 4, 15, 10, 15, 18, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     898             :   /* 1136 */ 15, 0, 4, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     899             :   /* 1163 */ 15, 0, 4, 4, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     900             :   /* 1191 */ 15, 0, 4, 7, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     901             :   /* 1219 */ 15, 0, 4, 4, 7, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     902             :   /* 1248 */ 15, 0, 4, 15, 10, 15, 10, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     903             :   /* 1279 */ 15, 0, 4, 4, 15, 10, 15, 10, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     904             :   /* 1311 */ 15, 0, 4, 7, 15, 10, 15, 10, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     905             :   /* 1343 */ 15, 0, 4, 4, 7, 15, 10, 15, 10, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     906             :   /* 1376 */ 0, 15, 1, 15, 9, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 0,
     907             :   /* 1393 */ 15, 1, 15, 9, 15, 17, 4, 4, 4, 4, 4, 4, 4, 0,
     908             :   /* 1407 */ 0, 15, 0, 4, 15, 9, 11, 4, 4, 4, 0,
     909             :   /* 1418 */ 0, 15, 0, 4, 15, 9, 15, 9, 11, 4, 4, 4, 0,
     910             :   /* 1431 */ 0, 15, 0, 4, 15, 9, 15, 9, 15, 9, 11, 4, 4, 4, 0,
     911             :   /* 1446 */ 0, 15, 0, 4, 15, 9, 15, 9, 15, 9, 15, 9, 11, 4, 4, 4, 0,
     912             :   255
     913             : };
     914             : 
     915             : #endif
     916             : 
     917             : // Add parameter attributes that are not common to all intrinsics.
     918             : #ifdef GET_INTRINSIC_ATTRIBUTES
     919           0 : static AttributeList getAttributes(LLVMContext &C, AMDGPUIntrinsic::ID id) {
     920             :   static const uint8_t IntrinsicsToAttributesMap[] = {
     921             :     1, // llvm.AMDGPU.kill
     922             :     2, // llvm.SI.buffer.load.dword
     923             :     3, // llvm.SI.image.d16helper.GATHER4.B.CL.O2d
     924             :     3, // llvm.SI.image.d16helper.GATHER4.B.CL.O2darray
     925             :     3, // llvm.SI.image.d16helper.GATHER4.B.CL.Ocube
     926             :     3, // llvm.SI.image.d16helper.GATHER4.B.CL2d
     927             :     3, // llvm.SI.image.d16helper.GATHER4.B.CL2darray
     928             :     3, // llvm.SI.image.d16helper.GATHER4.B.CLcube
     929             :     3, // llvm.SI.image.d16helper.GATHER4.B.O2d
     930             :     3, // llvm.SI.image.d16helper.GATHER4.B.O2darray
     931             :     3, // llvm.SI.image.d16helper.GATHER4.B.Ocube
     932             :     3, // llvm.SI.image.d16helper.GATHER4.B2d
     933             :     3, // llvm.SI.image.d16helper.GATHER4.B2darray
     934             :     3, // llvm.SI.image.d16helper.GATHER4.Bcube
     935             :     3, // llvm.SI.image.d16helper.GATHER4.C.B.CL.O2d
     936             :     3, // llvm.SI.image.d16helper.GATHER4.C.B.CL.O2darray
     937             :     3, // llvm.SI.image.d16helper.GATHER4.C.B.CL.Ocube
     938             :     3, // llvm.SI.image.d16helper.GATHER4.C.B.CL2d
     939             :     3, // llvm.SI.image.d16helper.GATHER4.C.B.CL2darray
     940             :     3, // llvm.SI.image.d16helper.GATHER4.C.B.CLcube
     941             :     3, // llvm.SI.image.d16helper.GATHER4.C.B.O2d
     942             :     3, // llvm.SI.image.d16helper.GATHER4.C.B.O2darray
     943             :     3, // llvm.SI.image.d16helper.GATHER4.C.B.Ocube
     944             :     3, // llvm.SI.image.d16helper.GATHER4.C.B2d
     945             :     3, // llvm.SI.image.d16helper.GATHER4.C.B2darray
     946             :     3, // llvm.SI.image.d16helper.GATHER4.C.Bcube
     947             :     3, // llvm.SI.image.d16helper.GATHER4.C.CL.O2d
     948             :     3, // llvm.SI.image.d16helper.GATHER4.C.CL.O2darray
     949             :     3, // llvm.SI.image.d16helper.GATHER4.C.CL.Ocube
     950             :     3, // llvm.SI.image.d16helper.GATHER4.C.CL2d
     951             :     3, // llvm.SI.image.d16helper.GATHER4.C.CL2darray
     952             :     3, // llvm.SI.image.d16helper.GATHER4.C.CLcube
     953             :     3, // llvm.SI.image.d16helper.GATHER4.C.L.O2d
     954             :     3, // llvm.SI.image.d16helper.GATHER4.C.L.O2darray
     955             :     3, // llvm.SI.image.d16helper.GATHER4.C.L.Ocube
     956             :     3, // llvm.SI.image.d16helper.GATHER4.C.L2d
     957             :     3, // llvm.SI.image.d16helper.GATHER4.C.L2darray
     958             :     3, // llvm.SI.image.d16helper.GATHER4.C.LZ.O2d
     959             :     3, // llvm.SI.image.d16helper.GATHER4.C.LZ.O2darray
     960             :     3, // llvm.SI.image.d16helper.GATHER4.C.LZ.Ocube
     961             :     3, // llvm.SI.image.d16helper.GATHER4.C.LZ2d
     962             :     3, // llvm.SI.image.d16helper.GATHER4.C.LZ2darray
     963             :     3, // llvm.SI.image.d16helper.GATHER4.C.LZcube
     964             :     3, // llvm.SI.image.d16helper.GATHER4.C.Lcube
     965             :     3, // llvm.SI.image.d16helper.GATHER4.C.O2d
     966             :     3, // llvm.SI.image.d16helper.GATHER4.C.O2darray
     967             :     3, // llvm.SI.image.d16helper.GATHER4.C.Ocube
     968             :     3, // llvm.SI.image.d16helper.GATHER4.C2d
     969             :     3, // llvm.SI.image.d16helper.GATHER4.C2darray
     970             :     3, // llvm.SI.image.d16helper.GATHER4.CL.O2d
     971             :     3, // llvm.SI.image.d16helper.GATHER4.CL.O2darray
     972             :     3, // llvm.SI.image.d16helper.GATHER4.CL.Ocube
     973             :     3, // llvm.SI.image.d16helper.GATHER4.CL2d
     974             :     3, // llvm.SI.image.d16helper.GATHER4.CL2darray
     975             :     3, // llvm.SI.image.d16helper.GATHER4.CLcube
     976             :     3, // llvm.SI.image.d16helper.GATHER4.Ccube
     977             :     3, // llvm.SI.image.d16helper.GATHER4.L.O2d
     978             :     3, // llvm.SI.image.d16helper.GATHER4.L.O2darray
     979             :     3, // llvm.SI.image.d16helper.GATHER4.L.Ocube
     980             :     3, // llvm.SI.image.d16helper.GATHER4.L2d
     981             :     3, // llvm.SI.image.d16helper.GATHER4.L2darray
     982             :     3, // llvm.SI.image.d16helper.GATHER4.LZ.O2d
     983             :     3, // llvm.SI.image.d16helper.GATHER4.LZ.O2darray
     984             :     3, // llvm.SI.image.d16helper.GATHER4.LZ.Ocube
     985             :     3, // llvm.SI.image.d16helper.GATHER4.LZ2d
     986             :     3, // llvm.SI.image.d16helper.GATHER4.LZ2darray
     987             :     3, // llvm.SI.image.d16helper.GATHER4.LZcube
     988             :     3, // llvm.SI.image.d16helper.GATHER4.Lcube
     989             :     3, // llvm.SI.image.d16helper.GATHER4.O2d
     990             :     3, // llvm.SI.image.d16helper.GATHER4.O2darray
     991             :     3, // llvm.SI.image.d16helper.GATHER4.Ocube
     992             :     3, // llvm.SI.image.d16helper.GATHER42d
     993             :     3, // llvm.SI.image.d16helper.GATHER42darray
     994             :     3, // llvm.SI.image.d16helper.GATHER4cube
     995             :     4, // llvm.SI.image.d16helper.GET.LOD1d
     996             :     4, // llvm.SI.image.d16helper.GET.LOD1darray
     997             :     4, // llvm.SI.image.d16helper.GET.LOD2d
     998             :     4, // llvm.SI.image.d16helper.GET.LOD2darray
     999             :     4, // llvm.SI.image.d16helper.GET.LOD3d
    1000             :     4, // llvm.SI.image.d16helper.GET.LODcube
    1001             :     3, // llvm.SI.image.d16helper.LOAD.MIP1d
    1002             :     3, // llvm.SI.image.d16helper.LOAD.MIP1darray
    1003             :     3, // llvm.SI.image.d16helper.LOAD.MIP2d
    1004             :     3, // llvm.SI.image.d16helper.LOAD.MIP2darray
    1005             :     3, // llvm.SI.image.d16helper.LOAD.MIP3d
    1006             :     3, // llvm.SI.image.d16helper.LOAD.MIPcube
    1007             :     3, // llvm.SI.image.d16helper.LOAD1d
    1008             :     3, // llvm.SI.image.d16helper.LOAD1darray
    1009             :     3, // llvm.SI.image.d16helper.LOAD2d
    1010             :     3, // llvm.SI.image.d16helper.LOAD2darray
    1011             :     3, // llvm.SI.image.d16helper.LOAD2darraymsaa
    1012             :     3, // llvm.SI.image.d16helper.LOAD2dmsaa
    1013             :     3, // llvm.SI.image.d16helper.LOAD3d
    1014             :     3, // llvm.SI.image.d16helper.LOADcube
    1015             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL.O1d
    1016             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL.O1darray
    1017             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL.O2d
    1018             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL.O2darray
    1019             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL.O3d
    1020             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL.Ocube
    1021             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL1d
    1022             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL1darray
    1023             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL2d
    1024             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL2darray
    1025             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL3d
    1026             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CLcube
    1027             :     3, // llvm.SI.image.d16helper.SAMPLE.B.O1d
    1028             :     3, // llvm.SI.image.d16helper.SAMPLE.B.O1darray
    1029             :     3, // llvm.SI.image.d16helper.SAMPLE.B.O2d
    1030             :     3, // llvm.SI.image.d16helper.SAMPLE.B.O2darray
    1031             :     3, // llvm.SI.image.d16helper.SAMPLE.B.O3d
    1032             :     3, // llvm.SI.image.d16helper.SAMPLE.B.Ocube
    1033             :     3, // llvm.SI.image.d16helper.SAMPLE.B1d
    1034             :     3, // llvm.SI.image.d16helper.SAMPLE.B1darray
    1035             :     3, // llvm.SI.image.d16helper.SAMPLE.B2d
    1036             :     3, // llvm.SI.image.d16helper.SAMPLE.B2darray
    1037             :     3, // llvm.SI.image.d16helper.SAMPLE.B3d
    1038             :     3, // llvm.SI.image.d16helper.SAMPLE.Bcube
    1039             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL.O1d
    1040             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL.O1darray
    1041             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL.O2d
    1042             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL.O2darray
    1043             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL.O3d
    1044             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL.Ocube
    1045             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL1d
    1046             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL1darray
    1047             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL2d
    1048             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL2darray
    1049             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL3d
    1050             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CLcube
    1051             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.O1d
    1052             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.O1darray
    1053             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.O2d
    1054             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.O2darray
    1055             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.O3d
    1056             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.Ocube
    1057             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B1d
    1058             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B1darray
    1059             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B2d
    1060             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B2darray
    1061             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B3d
    1062             :     3, // llvm.SI.image.d16helper.SAMPLE.C.Bcube
    1063             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O1d
    1064             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O1darray
    1065             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O2d
    1066             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O2darray
    1067             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O3d
    1068             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL.Ocube
    1069             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL1d
    1070             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL1darray
    1071             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL2d
    1072             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL2darray
    1073             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL3d
    1074             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CLcube
    1075             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.O1d
    1076             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.O1darray
    1077             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.O2d
    1078             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.O2darray
    1079             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.O3d
    1080             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.Ocube
    1081             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD1d
    1082             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD1darray
    1083             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD2d
    1084             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD2darray
    1085             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD3d
    1086             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CDcube
    1087             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL.O1d
    1088             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL.O1darray
    1089             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL.O2d
    1090             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL.O2darray
    1091             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL.O3d
    1092             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL.Ocube
    1093             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL1d
    1094             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL1darray
    1095             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL2d
    1096             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL2darray
    1097             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL3d
    1098             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CLcube
    1099             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL.O1d
    1100             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL.O1darray
    1101             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL.O2d
    1102             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL.O2darray
    1103             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL.O3d
    1104             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL.Ocube
    1105             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL1d
    1106             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL1darray
    1107             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL2d
    1108             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL2darray
    1109             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL3d
    1110             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CLcube
    1111             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.O1d
    1112             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.O1darray
    1113             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.O2d
    1114             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.O2darray
    1115             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.O3d
    1116             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.Ocube
    1117             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D1d
    1118             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D1darray
    1119             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D2d
    1120             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D2darray
    1121             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D3d
    1122             :     3, // llvm.SI.image.d16helper.SAMPLE.C.Dcube
    1123             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L.O1d
    1124             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L.O1darray
    1125             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L.O2d
    1126             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L.O2darray
    1127             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L.O3d
    1128             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L.Ocube
    1129             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L1d
    1130             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L1darray
    1131             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L2d
    1132             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L2darray
    1133             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L3d
    1134             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ.O1d
    1135             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ.O1darray
    1136             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ.O2d
    1137             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ.O2darray
    1138             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ.O3d
    1139             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ.Ocube
    1140             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ1d
    1141             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ1darray
    1142             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ2d
    1143             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ2darray
    1144             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ3d
    1145             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZcube
    1146             :     3, // llvm.SI.image.d16helper.SAMPLE.C.Lcube
    1147             :     3, // llvm.SI.image.d16helper.SAMPLE.C.O1d
    1148             :     3, // llvm.SI.image.d16helper.SAMPLE.C.O1darray
    1149             :     3, // llvm.SI.image.d16helper.SAMPLE.C.O2d
    1150             :     3, // llvm.SI.image.d16helper.SAMPLE.C.O2darray
    1151             :     3, // llvm.SI.image.d16helper.SAMPLE.C.O3d
    1152             :     3, // llvm.SI.image.d16helper.SAMPLE.C.Ocube
    1153             :     3, // llvm.SI.image.d16helper.SAMPLE.C1d
    1154             :     3, // llvm.SI.image.d16helper.SAMPLE.C1darray
    1155             :     3, // llvm.SI.image.d16helper.SAMPLE.C2d
    1156             :     3, // llvm.SI.image.d16helper.SAMPLE.C2darray
    1157             :     3, // llvm.SI.image.d16helper.SAMPLE.C3d
    1158             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL.O1d
    1159             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL.O1darray
    1160             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL.O2d
    1161             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL.O2darray
    1162             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL.O3d
    1163             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL.Ocube
    1164             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL1d
    1165             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL1darray
    1166             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL2d
    1167             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL2darray
    1168             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL3d
    1169             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CLcube
    1170             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.O1d
    1171             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.O1darray
    1172             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.O2d
    1173             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.O2darray
    1174             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.O3d
    1175             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.Ocube
    1176             :     3, // llvm.SI.image.d16helper.SAMPLE.CD1d
    1177             :     3, // llvm.SI.image.d16helper.SAMPLE.CD1darray
    1178             :     3, // llvm.SI.image.d16helper.SAMPLE.CD2d
    1179             :     3, // llvm.SI.image.d16helper.SAMPLE.CD2darray
    1180             :     3, // llvm.SI.image.d16helper.SAMPLE.CD3d
    1181             :     3, // llvm.SI.image.d16helper.SAMPLE.CDcube
    1182             :     3, // llvm.SI.image.d16helper.SAMPLE.CL.O1d
    1183             :     3, // llvm.SI.image.d16helper.SAMPLE.CL.O1darray
    1184             :     3, // llvm.SI.image.d16helper.SAMPLE.CL.O2d
    1185             :     3, // llvm.SI.image.d16helper.SAMPLE.CL.O2darray
    1186             :     3, // llvm.SI.image.d16helper.SAMPLE.CL.O3d
    1187             :     3, // llvm.SI.image.d16helper.SAMPLE.CL.Ocube
    1188             :     3, // llvm.SI.image.d16helper.SAMPLE.CL1d
    1189             :     3, // llvm.SI.image.d16helper.SAMPLE.CL1darray
    1190             :     3, // llvm.SI.image.d16helper.SAMPLE.CL2d
    1191             :     3, // llvm.SI.image.d16helper.SAMPLE.CL2darray
    1192             :     3, // llvm.SI.image.d16helper.SAMPLE.CL3d
    1193             :     3, // llvm.SI.image.d16helper.SAMPLE.CLcube
    1194             :     3, // llvm.SI.image.d16helper.SAMPLE.Ccube
    1195             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL.O1d
    1196             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL.O1darray
    1197             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL.O2d
    1198             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL.O2darray
    1199             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL.O3d
    1200             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL.Ocube
    1201             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL1d
    1202             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL1darray
    1203             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL2d
    1204             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL2darray
    1205             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL3d
    1206             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CLcube
    1207             :     3, // llvm.SI.image.d16helper.SAMPLE.D.O1d
    1208             :     3, // llvm.SI.image.d16helper.SAMPLE.D.O1darray
    1209             :     3, // llvm.SI.image.d16helper.SAMPLE.D.O2d
    1210             :     3, // llvm.SI.image.d16helper.SAMPLE.D.O2darray
    1211             :     3, // llvm.SI.image.d16helper.SAMPLE.D.O3d
    1212             :     3, // llvm.SI.image.d16helper.SAMPLE.D.Ocube
    1213             :     3, // llvm.SI.image.d16helper.SAMPLE.D1d
    1214             :     3, // llvm.SI.image.d16helper.SAMPLE.D1darray
    1215             :     3, // llvm.SI.image.d16helper.SAMPLE.D2d
    1216             :     3, // llvm.SI.image.d16helper.SAMPLE.D2darray
    1217             :     3, // llvm.SI.image.d16helper.SAMPLE.D3d
    1218             :     3, // llvm.SI.image.d16helper.SAMPLE.Dcube
    1219             :     3, // llvm.SI.image.d16helper.SAMPLE.L.O1d
    1220             :     3, // llvm.SI.image.d16helper.SAMPLE.L.O1darray
    1221             :     3, // llvm.SI.image.d16helper.SAMPLE.L.O2d
    1222             :     3, // llvm.SI.image.d16helper.SAMPLE.L.O2darray
    1223             :     3, // llvm.SI.image.d16helper.SAMPLE.L.O3d
    1224             :     3, // llvm.SI.image.d16helper.SAMPLE.L.Ocube
    1225             :     3, // llvm.SI.image.d16helper.SAMPLE.L1d
    1226             :     3, // llvm.SI.image.d16helper.SAMPLE.L1darray
    1227             :     3, // llvm.SI.image.d16helper.SAMPLE.L2d
    1228             :     3, // llvm.SI.image.d16helper.SAMPLE.L2darray
    1229             :     3, // llvm.SI.image.d16helper.SAMPLE.L3d
    1230             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ.O1d
    1231             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ.O1darray
    1232             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ.O2d
    1233             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ.O2darray
    1234             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ.O3d
    1235             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ.Ocube
    1236             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ1d
    1237             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ1darray
    1238             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ2d
    1239             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ2darray
    1240             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ3d
    1241             :     3, // llvm.SI.image.d16helper.SAMPLE.LZcube
    1242             :     3, // llvm.SI.image.d16helper.SAMPLE.Lcube
    1243             :     3, // llvm.SI.image.d16helper.SAMPLE.O1d
    1244             :     3, // llvm.SI.image.d16helper.SAMPLE.O1darray
    1245             :     3, // llvm.SI.image.d16helper.SAMPLE.O2d
    1246             :     3, // llvm.SI.image.d16helper.SAMPLE.O2darray
    1247             :     3, // llvm.SI.image.d16helper.SAMPLE.O3d
    1248             :     3, // llvm.SI.image.d16helper.SAMPLE.Ocube
    1249             :     3, // llvm.SI.image.d16helper.SAMPLE1d
    1250             :     3, // llvm.SI.image.d16helper.SAMPLE1darray
    1251             :     3, // llvm.SI.image.d16helper.SAMPLE2d
    1252             :     3, // llvm.SI.image.d16helper.SAMPLE2darray
    1253             :     3, // llvm.SI.image.d16helper.SAMPLE3d
    1254             :     3, // llvm.SI.image.d16helper.SAMPLEcube
    1255             :     5, // llvm.SI.image.d16helper.STORE.MIP1d
    1256             :     5, // llvm.SI.image.d16helper.STORE.MIP1darray
    1257             :     5, // llvm.SI.image.d16helper.STORE.MIP2d
    1258             :     5, // llvm.SI.image.d16helper.STORE.MIP2darray
    1259             :     5, // llvm.SI.image.d16helper.STORE.MIP3d
    1260             :     5, // llvm.SI.image.d16helper.STORE.MIPcube
    1261             :     5, // llvm.SI.image.d16helper.STORE1d
    1262             :     5, // llvm.SI.image.d16helper.STORE1darray
    1263             :     5, // llvm.SI.image.d16helper.STORE2d
    1264             :     5, // llvm.SI.image.d16helper.STORE2darray
    1265             :     5, // llvm.SI.image.d16helper.STORE2darraymsaa
    1266             :     5, // llvm.SI.image.d16helper.STORE2dmsaa
    1267             :     5, // llvm.SI.image.d16helper.STORE3d
    1268             :     5, // llvm.SI.image.d16helper.STOREcube
    1269             :     4, // llvm.SI.load.const
    1270             :     1, // llvm.SI.tbuffer.store
    1271             :   };
    1272             : 
    1273           0 :   AttributeList AS[1];
    1274             :   unsigned NumAttrs = 0;
    1275           0 :   if (id != 0) {
    1276           0 :     switch(IntrinsicsToAttributesMap[id - Intrinsic::num_intrinsics]) {
    1277           0 :     default: llvm_unreachable("Invalid attribute number");
    1278           0 :     case 1: {
    1279           0 :       const Attribute::AttrKind Atts[] = {Attribute::NoUnwind};
    1280           0 :       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
    1281             :       NumAttrs = 1;
    1282             :       break;
    1283             :       }
    1284           0 :     case 5: {
    1285           0 :       const Attribute::AttrKind Atts[] = {Attribute::NoUnwind,Attribute::WriteOnly};
    1286           0 :       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
    1287             :       NumAttrs = 1;
    1288             :       break;
    1289             :       }
    1290           0 :     case 3: {
    1291           0 :       const Attribute::AttrKind Atts[] = {Attribute::NoUnwind,Attribute::ReadOnly};
    1292           0 :       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
    1293             :       NumAttrs = 1;
    1294             :       break;
    1295             :       }
    1296           0 :     case 2: {
    1297           0 :       const Attribute::AttrKind Atts[] = {Attribute::NoUnwind,Attribute::ReadOnly,Attribute::ArgMemOnly};
    1298           0 :       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
    1299             :       NumAttrs = 1;
    1300             :       break;
    1301             :       }
    1302           0 :     case 4: {
    1303           0 :       const Attribute::AttrKind Atts[] = {Attribute::NoUnwind,Attribute::ReadNone};
    1304           0 :       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
    1305             :       NumAttrs = 1;
    1306             :       break;
    1307             :       }
    1308             :     }
    1309             :   }
    1310           0 :   return AttributeList::get(C, makeArrayRef(AS, NumAttrs));
    1311             : }
    1312             : #endif // GET_INTRINSIC_ATTRIBUTES
    1313             : 
    1314             : // Get the LLVM intrinsic that corresponds to a builtin.
    1315             : // This is used by the C front-end.  The builtin name is passed
    1316             : // in as BuiltinName, and a target prefix (e.g. 'ppc') is passed
    1317             : // in as TargetPrefix.  The result is assigned to 'IntrinsicID'.
    1318             : #ifdef GET_LLVM_INTRINSIC_FOR_GCC_BUILTIN
    1319             : static AMDGPUIntrinsic::ID getIntrinsicForGCCBuiltin(const char *TargetPrefixStr, StringRef BuiltinNameStr) {
    1320             :   return (AMDGPUIntrinsic::ID)Intrinsic::not_intrinsic;
    1321             : }
    1322             : #endif
    1323             : 
    1324             : // Get the LLVM intrinsic that corresponds to a builtin.
    1325             : // This is used by the C front-end.  The builtin name is passed
    1326             : // in as BuiltinName, and a target prefix (e.g. 'ppc') is passed
    1327             : // in as TargetPrefix.  The result is assigned to 'IntrinsicID'.
    1328             : #ifdef GET_LLVM_INTRINSIC_FOR_MS_BUILTIN
    1329             : static AMDGPUIntrinsic::ID getIntrinsicForMSBuiltin(const char *TargetPrefixStr, StringRef BuiltinNameStr) {
    1330             :   return (AMDGPUIntrinsic::ID)Intrinsic::not_intrinsic;
    1331             : }
    1332             : #endif
    1333             : 
    1334             : #if defined(_MSC_VER) && defined(setjmp_undefined_for_msvc)
    1335             : // let's return it to _setjmp state
    1336             : #  pragma pop_macro("setjmp")
    1337             : #  undef setjmp_undefined_for_msvc
    1338             : #endif
    1339             : 

Generated by: LCOV version 1.13