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 25 4.0 %
Date: 2018-05-20 00:06:23 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             :     r600_ddx,                                  // llvm.r600.ddx
     370             :     r600_ddy,                                  // llvm.r600.ddy
     371             :     r600_dot4,                                 // llvm.r600.dot4
     372             :     r600_store_swizzle,                        // llvm.r600.store.swizzle
     373             :     r600_tex,                                  // llvm.r600.tex
     374             :     r600_texc,                                 // llvm.r600.texc
     375             :     r600_txb,                                  // llvm.r600.txb
     376             :     r600_txbc,                                 // llvm.r600.txbc
     377             :     r600_txf,                                  // llvm.r600.txf
     378             :     r600_txl,                                  // llvm.r600.txl
     379             :     r600_txlc,                                 // llvm.r600.txlc
     380             :     r600_txq                                   // llvm.r600.txq
     381             : #endif
     382             : 
     383             : // Target mapping
     384             : #ifdef GET_INTRINSIC_TARGET_DATA
     385             : struct IntrinsicTargetInfo {
     386             :   llvm::StringLiteral Name;
     387             :   size_t Offset;
     388             :   size_t Count;
     389             : };
     390             : static constexpr IntrinsicTargetInfo TargetInfos[] = {
     391             :   {llvm::StringLiteral(""), 0, 0},
     392             :   {llvm::StringLiteral("AMDGPU"), 0, 1},
     393             :   {llvm::StringLiteral("SI"), 1, 349},
     394             :   {llvm::StringLiteral("r600"), 350, 12},
     395             : };
     396             : #endif
     397             : 
     398             : // Intrinsic ID to name table
     399             : #ifdef GET_INTRINSIC_NAME_TABLE
     400             :   // Note that entry #0 is the invalid intrinsic!
     401             :   "llvm.AMDGPU.kill",
     402             :   "llvm.SI.buffer.load.dword",
     403             :   "llvm.SI.image.d16helper.GATHER4.B.CL.O2d",
     404             :   "llvm.SI.image.d16helper.GATHER4.B.CL.O2darray",
     405             :   "llvm.SI.image.d16helper.GATHER4.B.CL.Ocube",
     406             :   "llvm.SI.image.d16helper.GATHER4.B.CL2d",
     407             :   "llvm.SI.image.d16helper.GATHER4.B.CL2darray",
     408             :   "llvm.SI.image.d16helper.GATHER4.B.CLcube",
     409             :   "llvm.SI.image.d16helper.GATHER4.B.O2d",
     410             :   "llvm.SI.image.d16helper.GATHER4.B.O2darray",
     411             :   "llvm.SI.image.d16helper.GATHER4.B.Ocube",
     412             :   "llvm.SI.image.d16helper.GATHER4.B2d",
     413             :   "llvm.SI.image.d16helper.GATHER4.B2darray",
     414             :   "llvm.SI.image.d16helper.GATHER4.Bcube",
     415             :   "llvm.SI.image.d16helper.GATHER4.C.B.CL.O2d",
     416             :   "llvm.SI.image.d16helper.GATHER4.C.B.CL.O2darray",
     417             :   "llvm.SI.image.d16helper.GATHER4.C.B.CL.Ocube",
     418             :   "llvm.SI.image.d16helper.GATHER4.C.B.CL2d",
     419             :   "llvm.SI.image.d16helper.GATHER4.C.B.CL2darray",
     420             :   "llvm.SI.image.d16helper.GATHER4.C.B.CLcube",
     421             :   "llvm.SI.image.d16helper.GATHER4.C.B.O2d",
     422             :   "llvm.SI.image.d16helper.GATHER4.C.B.O2darray",
     423             :   "llvm.SI.image.d16helper.GATHER4.C.B.Ocube",
     424             :   "llvm.SI.image.d16helper.GATHER4.C.B2d",
     425             :   "llvm.SI.image.d16helper.GATHER4.C.B2darray",
     426             :   "llvm.SI.image.d16helper.GATHER4.C.Bcube",
     427             :   "llvm.SI.image.d16helper.GATHER4.C.CL.O2d",
     428             :   "llvm.SI.image.d16helper.GATHER4.C.CL.O2darray",
     429             :   "llvm.SI.image.d16helper.GATHER4.C.CL.Ocube",
     430             :   "llvm.SI.image.d16helper.GATHER4.C.CL2d",
     431             :   "llvm.SI.image.d16helper.GATHER4.C.CL2darray",
     432             :   "llvm.SI.image.d16helper.GATHER4.C.CLcube",
     433             :   "llvm.SI.image.d16helper.GATHER4.C.L.O2d",
     434             :   "llvm.SI.image.d16helper.GATHER4.C.L.O2darray",
     435             :   "llvm.SI.image.d16helper.GATHER4.C.L.Ocube",
     436             :   "llvm.SI.image.d16helper.GATHER4.C.L2d",
     437             :   "llvm.SI.image.d16helper.GATHER4.C.L2darray",
     438             :   "llvm.SI.image.d16helper.GATHER4.C.LZ.O2d",
     439             :   "llvm.SI.image.d16helper.GATHER4.C.LZ.O2darray",
     440             :   "llvm.SI.image.d16helper.GATHER4.C.LZ.Ocube",
     441             :   "llvm.SI.image.d16helper.GATHER4.C.LZ2d",
     442             :   "llvm.SI.image.d16helper.GATHER4.C.LZ2darray",
     443             :   "llvm.SI.image.d16helper.GATHER4.C.LZcube",
     444             :   "llvm.SI.image.d16helper.GATHER4.C.Lcube",
     445             :   "llvm.SI.image.d16helper.GATHER4.C.O2d",
     446             :   "llvm.SI.image.d16helper.GATHER4.C.O2darray",
     447             :   "llvm.SI.image.d16helper.GATHER4.C.Ocube",
     448             :   "llvm.SI.image.d16helper.GATHER4.C2d",
     449             :   "llvm.SI.image.d16helper.GATHER4.C2darray",
     450             :   "llvm.SI.image.d16helper.GATHER4.CL.O2d",
     451             :   "llvm.SI.image.d16helper.GATHER4.CL.O2darray",
     452             :   "llvm.SI.image.d16helper.GATHER4.CL.Ocube",
     453             :   "llvm.SI.image.d16helper.GATHER4.CL2d",
     454             :   "llvm.SI.image.d16helper.GATHER4.CL2darray",
     455             :   "llvm.SI.image.d16helper.GATHER4.CLcube",
     456             :   "llvm.SI.image.d16helper.GATHER4.Ccube",
     457             :   "llvm.SI.image.d16helper.GATHER4.L.O2d",
     458             :   "llvm.SI.image.d16helper.GATHER4.L.O2darray",
     459             :   "llvm.SI.image.d16helper.GATHER4.L.Ocube",
     460             :   "llvm.SI.image.d16helper.GATHER4.L2d",
     461             :   "llvm.SI.image.d16helper.GATHER4.L2darray",
     462             :   "llvm.SI.image.d16helper.GATHER4.LZ.O2d",
     463             :   "llvm.SI.image.d16helper.GATHER4.LZ.O2darray",
     464             :   "llvm.SI.image.d16helper.GATHER4.LZ.Ocube",
     465             :   "llvm.SI.image.d16helper.GATHER4.LZ2d",
     466             :   "llvm.SI.image.d16helper.GATHER4.LZ2darray",
     467             :   "llvm.SI.image.d16helper.GATHER4.LZcube",
     468             :   "llvm.SI.image.d16helper.GATHER4.Lcube",
     469             :   "llvm.SI.image.d16helper.GATHER4.O2d",
     470             :   "llvm.SI.image.d16helper.GATHER4.O2darray",
     471             :   "llvm.SI.image.d16helper.GATHER4.Ocube",
     472             :   "llvm.SI.image.d16helper.GATHER42d",
     473             :   "llvm.SI.image.d16helper.GATHER42darray",
     474             :   "llvm.SI.image.d16helper.GATHER4cube",
     475             :   "llvm.SI.image.d16helper.GET.LOD1d",
     476             :   "llvm.SI.image.d16helper.GET.LOD1darray",
     477             :   "llvm.SI.image.d16helper.GET.LOD2d",
     478             :   "llvm.SI.image.d16helper.GET.LOD2darray",
     479             :   "llvm.SI.image.d16helper.GET.LOD3d",
     480             :   "llvm.SI.image.d16helper.GET.LODcube",
     481             :   "llvm.SI.image.d16helper.LOAD.MIP1d",
     482             :   "llvm.SI.image.d16helper.LOAD.MIP1darray",
     483             :   "llvm.SI.image.d16helper.LOAD.MIP2d",
     484             :   "llvm.SI.image.d16helper.LOAD.MIP2darray",
     485             :   "llvm.SI.image.d16helper.LOAD.MIP3d",
     486             :   "llvm.SI.image.d16helper.LOAD.MIPcube",
     487             :   "llvm.SI.image.d16helper.LOAD1d",
     488             :   "llvm.SI.image.d16helper.LOAD1darray",
     489             :   "llvm.SI.image.d16helper.LOAD2d",
     490             :   "llvm.SI.image.d16helper.LOAD2darray",
     491             :   "llvm.SI.image.d16helper.LOAD2darraymsaa",
     492             :   "llvm.SI.image.d16helper.LOAD2dmsaa",
     493             :   "llvm.SI.image.d16helper.LOAD3d",
     494             :   "llvm.SI.image.d16helper.LOADcube",
     495             :   "llvm.SI.image.d16helper.SAMPLE.B.CL.O1d",
     496             :   "llvm.SI.image.d16helper.SAMPLE.B.CL.O1darray",
     497             :   "llvm.SI.image.d16helper.SAMPLE.B.CL.O2d",
     498             :   "llvm.SI.image.d16helper.SAMPLE.B.CL.O2darray",
     499             :   "llvm.SI.image.d16helper.SAMPLE.B.CL.O3d",
     500             :   "llvm.SI.image.d16helper.SAMPLE.B.CL.Ocube",
     501             :   "llvm.SI.image.d16helper.SAMPLE.B.CL1d",
     502             :   "llvm.SI.image.d16helper.SAMPLE.B.CL1darray",
     503             :   "llvm.SI.image.d16helper.SAMPLE.B.CL2d",
     504             :   "llvm.SI.image.d16helper.SAMPLE.B.CL2darray",
     505             :   "llvm.SI.image.d16helper.SAMPLE.B.CL3d",
     506             :   "llvm.SI.image.d16helper.SAMPLE.B.CLcube",
     507             :   "llvm.SI.image.d16helper.SAMPLE.B.O1d",
     508             :   "llvm.SI.image.d16helper.SAMPLE.B.O1darray",
     509             :   "llvm.SI.image.d16helper.SAMPLE.B.O2d",
     510             :   "llvm.SI.image.d16helper.SAMPLE.B.O2darray",
     511             :   "llvm.SI.image.d16helper.SAMPLE.B.O3d",
     512             :   "llvm.SI.image.d16helper.SAMPLE.B.Ocube",
     513             :   "llvm.SI.image.d16helper.SAMPLE.B1d",
     514             :   "llvm.SI.image.d16helper.SAMPLE.B1darray",
     515             :   "llvm.SI.image.d16helper.SAMPLE.B2d",
     516             :   "llvm.SI.image.d16helper.SAMPLE.B2darray",
     517             :   "llvm.SI.image.d16helper.SAMPLE.B3d",
     518             :   "llvm.SI.image.d16helper.SAMPLE.Bcube",
     519             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL.O1d",
     520             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL.O1darray",
     521             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL.O2d",
     522             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL.O2darray",
     523             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL.O3d",
     524             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL.Ocube",
     525             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL1d",
     526             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL1darray",
     527             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL2d",
     528             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL2darray",
     529             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CL3d",
     530             :   "llvm.SI.image.d16helper.SAMPLE.C.B.CLcube",
     531             :   "llvm.SI.image.d16helper.SAMPLE.C.B.O1d",
     532             :   "llvm.SI.image.d16helper.SAMPLE.C.B.O1darray",
     533             :   "llvm.SI.image.d16helper.SAMPLE.C.B.O2d",
     534             :   "llvm.SI.image.d16helper.SAMPLE.C.B.O2darray",
     535             :   "llvm.SI.image.d16helper.SAMPLE.C.B.O3d",
     536             :   "llvm.SI.image.d16helper.SAMPLE.C.B.Ocube",
     537             :   "llvm.SI.image.d16helper.SAMPLE.C.B1d",
     538             :   "llvm.SI.image.d16helper.SAMPLE.C.B1darray",
     539             :   "llvm.SI.image.d16helper.SAMPLE.C.B2d",
     540             :   "llvm.SI.image.d16helper.SAMPLE.C.B2darray",
     541             :   "llvm.SI.image.d16helper.SAMPLE.C.B3d",
     542             :   "llvm.SI.image.d16helper.SAMPLE.C.Bcube",
     543             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O1d",
     544             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O1darray",
     545             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O2d",
     546             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O2darray",
     547             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O3d",
     548             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL.Ocube",
     549             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL1d",
     550             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL1darray",
     551             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL2d",
     552             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL2darray",
     553             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CL3d",
     554             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.CLcube",
     555             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.O1d",
     556             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.O1darray",
     557             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.O2d",
     558             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.O2darray",
     559             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.O3d",
     560             :   "llvm.SI.image.d16helper.SAMPLE.C.CD.Ocube",
     561             :   "llvm.SI.image.d16helper.SAMPLE.C.CD1d",
     562             :   "llvm.SI.image.d16helper.SAMPLE.C.CD1darray",
     563             :   "llvm.SI.image.d16helper.SAMPLE.C.CD2d",
     564             :   "llvm.SI.image.d16helper.SAMPLE.C.CD2darray",
     565             :   "llvm.SI.image.d16helper.SAMPLE.C.CD3d",
     566             :   "llvm.SI.image.d16helper.SAMPLE.C.CDcube",
     567             :   "llvm.SI.image.d16helper.SAMPLE.C.CL.O1d",
     568             :   "llvm.SI.image.d16helper.SAMPLE.C.CL.O1darray",
     569             :   "llvm.SI.image.d16helper.SAMPLE.C.CL.O2d",
     570             :   "llvm.SI.image.d16helper.SAMPLE.C.CL.O2darray",
     571             :   "llvm.SI.image.d16helper.SAMPLE.C.CL.O3d",
     572             :   "llvm.SI.image.d16helper.SAMPLE.C.CL.Ocube",
     573             :   "llvm.SI.image.d16helper.SAMPLE.C.CL1d",
     574             :   "llvm.SI.image.d16helper.SAMPLE.C.CL1darray",
     575             :   "llvm.SI.image.d16helper.SAMPLE.C.CL2d",
     576             :   "llvm.SI.image.d16helper.SAMPLE.C.CL2darray",
     577             :   "llvm.SI.image.d16helper.SAMPLE.C.CL3d",
     578             :   "llvm.SI.image.d16helper.SAMPLE.C.CLcube",
     579             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL.O1d",
     580             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL.O1darray",
     581             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL.O2d",
     582             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL.O2darray",
     583             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL.O3d",
     584             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL.Ocube",
     585             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL1d",
     586             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL1darray",
     587             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL2d",
     588             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL2darray",
     589             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CL3d",
     590             :   "llvm.SI.image.d16helper.SAMPLE.C.D.CLcube",
     591             :   "llvm.SI.image.d16helper.SAMPLE.C.D.O1d",
     592             :   "llvm.SI.image.d16helper.SAMPLE.C.D.O1darray",
     593             :   "llvm.SI.image.d16helper.SAMPLE.C.D.O2d",
     594             :   "llvm.SI.image.d16helper.SAMPLE.C.D.O2darray",
     595             :   "llvm.SI.image.d16helper.SAMPLE.C.D.O3d",
     596             :   "llvm.SI.image.d16helper.SAMPLE.C.D.Ocube",
     597             :   "llvm.SI.image.d16helper.SAMPLE.C.D1d",
     598             :   "llvm.SI.image.d16helper.SAMPLE.C.D1darray",
     599             :   "llvm.SI.image.d16helper.SAMPLE.C.D2d",
     600             :   "llvm.SI.image.d16helper.SAMPLE.C.D2darray",
     601             :   "llvm.SI.image.d16helper.SAMPLE.C.D3d",
     602             :   "llvm.SI.image.d16helper.SAMPLE.C.Dcube",
     603             :   "llvm.SI.image.d16helper.SAMPLE.C.L.O1d",
     604             :   "llvm.SI.image.d16helper.SAMPLE.C.L.O1darray",
     605             :   "llvm.SI.image.d16helper.SAMPLE.C.L.O2d",
     606             :   "llvm.SI.image.d16helper.SAMPLE.C.L.O2darray",
     607             :   "llvm.SI.image.d16helper.SAMPLE.C.L.O3d",
     608             :   "llvm.SI.image.d16helper.SAMPLE.C.L.Ocube",
     609             :   "llvm.SI.image.d16helper.SAMPLE.C.L1d",
     610             :   "llvm.SI.image.d16helper.SAMPLE.C.L1darray",
     611             :   "llvm.SI.image.d16helper.SAMPLE.C.L2d",
     612             :   "llvm.SI.image.d16helper.SAMPLE.C.L2darray",
     613             :   "llvm.SI.image.d16helper.SAMPLE.C.L3d",
     614             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ.O1d",
     615             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ.O1darray",
     616             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ.O2d",
     617             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ.O2darray",
     618             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ.O3d",
     619             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ.Ocube",
     620             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ1d",
     621             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ1darray",
     622             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ2d",
     623             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ2darray",
     624             :   "llvm.SI.image.d16helper.SAMPLE.C.LZ3d",
     625             :   "llvm.SI.image.d16helper.SAMPLE.C.LZcube",
     626             :   "llvm.SI.image.d16helper.SAMPLE.C.Lcube",
     627             :   "llvm.SI.image.d16helper.SAMPLE.C.O1d",
     628             :   "llvm.SI.image.d16helper.SAMPLE.C.O1darray",
     629             :   "llvm.SI.image.d16helper.SAMPLE.C.O2d",
     630             :   "llvm.SI.image.d16helper.SAMPLE.C.O2darray",
     631             :   "llvm.SI.image.d16helper.SAMPLE.C.O3d",
     632             :   "llvm.SI.image.d16helper.SAMPLE.C.Ocube",
     633             :   "llvm.SI.image.d16helper.SAMPLE.C1d",
     634             :   "llvm.SI.image.d16helper.SAMPLE.C1darray",
     635             :   "llvm.SI.image.d16helper.SAMPLE.C2d",
     636             :   "llvm.SI.image.d16helper.SAMPLE.C2darray",
     637             :   "llvm.SI.image.d16helper.SAMPLE.C3d",
     638             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL.O1d",
     639             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL.O1darray",
     640             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL.O2d",
     641             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL.O2darray",
     642             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL.O3d",
     643             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL.Ocube",
     644             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL1d",
     645             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL1darray",
     646             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL2d",
     647             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL2darray",
     648             :   "llvm.SI.image.d16helper.SAMPLE.CD.CL3d",
     649             :   "llvm.SI.image.d16helper.SAMPLE.CD.CLcube",
     650             :   "llvm.SI.image.d16helper.SAMPLE.CD.O1d",
     651             :   "llvm.SI.image.d16helper.SAMPLE.CD.O1darray",
     652             :   "llvm.SI.image.d16helper.SAMPLE.CD.O2d",
     653             :   "llvm.SI.image.d16helper.SAMPLE.CD.O2darray",
     654             :   "llvm.SI.image.d16helper.SAMPLE.CD.O3d",
     655             :   "llvm.SI.image.d16helper.SAMPLE.CD.Ocube",
     656             :   "llvm.SI.image.d16helper.SAMPLE.CD1d",
     657             :   "llvm.SI.image.d16helper.SAMPLE.CD1darray",
     658             :   "llvm.SI.image.d16helper.SAMPLE.CD2d",
     659             :   "llvm.SI.image.d16helper.SAMPLE.CD2darray",
     660             :   "llvm.SI.image.d16helper.SAMPLE.CD3d",
     661             :   "llvm.SI.image.d16helper.SAMPLE.CDcube",
     662             :   "llvm.SI.image.d16helper.SAMPLE.CL.O1d",
     663             :   "llvm.SI.image.d16helper.SAMPLE.CL.O1darray",
     664             :   "llvm.SI.image.d16helper.SAMPLE.CL.O2d",
     665             :   "llvm.SI.image.d16helper.SAMPLE.CL.O2darray",
     666             :   "llvm.SI.image.d16helper.SAMPLE.CL.O3d",
     667             :   "llvm.SI.image.d16helper.SAMPLE.CL.Ocube",
     668             :   "llvm.SI.image.d16helper.SAMPLE.CL1d",
     669             :   "llvm.SI.image.d16helper.SAMPLE.CL1darray",
     670             :   "llvm.SI.image.d16helper.SAMPLE.CL2d",
     671             :   "llvm.SI.image.d16helper.SAMPLE.CL2darray",
     672             :   "llvm.SI.image.d16helper.SAMPLE.CL3d",
     673             :   "llvm.SI.image.d16helper.SAMPLE.CLcube",
     674             :   "llvm.SI.image.d16helper.SAMPLE.Ccube",
     675             :   "llvm.SI.image.d16helper.SAMPLE.D.CL.O1d",
     676             :   "llvm.SI.image.d16helper.SAMPLE.D.CL.O1darray",
     677             :   "llvm.SI.image.d16helper.SAMPLE.D.CL.O2d",
     678             :   "llvm.SI.image.d16helper.SAMPLE.D.CL.O2darray",
     679             :   "llvm.SI.image.d16helper.SAMPLE.D.CL.O3d",
     680             :   "llvm.SI.image.d16helper.SAMPLE.D.CL.Ocube",
     681             :   "llvm.SI.image.d16helper.SAMPLE.D.CL1d",
     682             :   "llvm.SI.image.d16helper.SAMPLE.D.CL1darray",
     683             :   "llvm.SI.image.d16helper.SAMPLE.D.CL2d",
     684             :   "llvm.SI.image.d16helper.SAMPLE.D.CL2darray",
     685             :   "llvm.SI.image.d16helper.SAMPLE.D.CL3d",
     686             :   "llvm.SI.image.d16helper.SAMPLE.D.CLcube",
     687             :   "llvm.SI.image.d16helper.SAMPLE.D.O1d",
     688             :   "llvm.SI.image.d16helper.SAMPLE.D.O1darray",
     689             :   "llvm.SI.image.d16helper.SAMPLE.D.O2d",
     690             :   "llvm.SI.image.d16helper.SAMPLE.D.O2darray",
     691             :   "llvm.SI.image.d16helper.SAMPLE.D.O3d",
     692             :   "llvm.SI.image.d16helper.SAMPLE.D.Ocube",
     693             :   "llvm.SI.image.d16helper.SAMPLE.D1d",
     694             :   "llvm.SI.image.d16helper.SAMPLE.D1darray",
     695             :   "llvm.SI.image.d16helper.SAMPLE.D2d",
     696             :   "llvm.SI.image.d16helper.SAMPLE.D2darray",
     697             :   "llvm.SI.image.d16helper.SAMPLE.D3d",
     698             :   "llvm.SI.image.d16helper.SAMPLE.Dcube",
     699             :   "llvm.SI.image.d16helper.SAMPLE.L.O1d",
     700             :   "llvm.SI.image.d16helper.SAMPLE.L.O1darray",
     701             :   "llvm.SI.image.d16helper.SAMPLE.L.O2d",
     702             :   "llvm.SI.image.d16helper.SAMPLE.L.O2darray",
     703             :   "llvm.SI.image.d16helper.SAMPLE.L.O3d",
     704             :   "llvm.SI.image.d16helper.SAMPLE.L.Ocube",
     705             :   "llvm.SI.image.d16helper.SAMPLE.L1d",
     706             :   "llvm.SI.image.d16helper.SAMPLE.L1darray",
     707             :   "llvm.SI.image.d16helper.SAMPLE.L2d",
     708             :   "llvm.SI.image.d16helper.SAMPLE.L2darray",
     709             :   "llvm.SI.image.d16helper.SAMPLE.L3d",
     710             :   "llvm.SI.image.d16helper.SAMPLE.LZ.O1d",
     711             :   "llvm.SI.image.d16helper.SAMPLE.LZ.O1darray",
     712             :   "llvm.SI.image.d16helper.SAMPLE.LZ.O2d",
     713             :   "llvm.SI.image.d16helper.SAMPLE.LZ.O2darray",
     714             :   "llvm.SI.image.d16helper.SAMPLE.LZ.O3d",
     715             :   "llvm.SI.image.d16helper.SAMPLE.LZ.Ocube",
     716             :   "llvm.SI.image.d16helper.SAMPLE.LZ1d",
     717             :   "llvm.SI.image.d16helper.SAMPLE.LZ1darray",
     718             :   "llvm.SI.image.d16helper.SAMPLE.LZ2d",
     719             :   "llvm.SI.image.d16helper.SAMPLE.LZ2darray",
     720             :   "llvm.SI.image.d16helper.SAMPLE.LZ3d",
     721             :   "llvm.SI.image.d16helper.SAMPLE.LZcube",
     722             :   "llvm.SI.image.d16helper.SAMPLE.Lcube",
     723             :   "llvm.SI.image.d16helper.SAMPLE.O1d",
     724             :   "llvm.SI.image.d16helper.SAMPLE.O1darray",
     725             :   "llvm.SI.image.d16helper.SAMPLE.O2d",
     726             :   "llvm.SI.image.d16helper.SAMPLE.O2darray",
     727             :   "llvm.SI.image.d16helper.SAMPLE.O3d",
     728             :   "llvm.SI.image.d16helper.SAMPLE.Ocube",
     729             :   "llvm.SI.image.d16helper.SAMPLE1d",
     730             :   "llvm.SI.image.d16helper.SAMPLE1darray",
     731             :   "llvm.SI.image.d16helper.SAMPLE2d",
     732             :   "llvm.SI.image.d16helper.SAMPLE2darray",
     733             :   "llvm.SI.image.d16helper.SAMPLE3d",
     734             :   "llvm.SI.image.d16helper.SAMPLEcube",
     735             :   "llvm.SI.image.d16helper.STORE.MIP1d",
     736             :   "llvm.SI.image.d16helper.STORE.MIP1darray",
     737             :   "llvm.SI.image.d16helper.STORE.MIP2d",
     738             :   "llvm.SI.image.d16helper.STORE.MIP2darray",
     739             :   "llvm.SI.image.d16helper.STORE.MIP3d",
     740             :   "llvm.SI.image.d16helper.STORE.MIPcube",
     741             :   "llvm.SI.image.d16helper.STORE1d",
     742             :   "llvm.SI.image.d16helper.STORE1darray",
     743             :   "llvm.SI.image.d16helper.STORE2d",
     744             :   "llvm.SI.image.d16helper.STORE2darray",
     745             :   "llvm.SI.image.d16helper.STORE2darraymsaa",
     746             :   "llvm.SI.image.d16helper.STORE2dmsaa",
     747             :   "llvm.SI.image.d16helper.STORE3d",
     748             :   "llvm.SI.image.d16helper.STOREcube",
     749             :   "llvm.SI.load.const",
     750             :   "llvm.SI.tbuffer.store",
     751             :   "llvm.r600.ddx",
     752             :   "llvm.r600.ddy",
     753             :   "llvm.r600.dot4",
     754             :   "llvm.r600.store.swizzle",
     755             :   "llvm.r600.tex",
     756             :   "llvm.r600.texc",
     757             :   "llvm.r600.txb",
     758             :   "llvm.r600.txbc",
     759             :   "llvm.r600.txf",
     760             :   "llvm.r600.txl",
     761             :   "llvm.r600.txlc",
     762             :   "llvm.r600.txq",
     763             : #endif
     764             : 
     765             : // Intrinsic ID to overload bitset
     766             : #ifdef GET_INTRINSIC_OVERLOAD_TABLE
     767             : static const uint8_t OTable[] = {
     768             :   0 | (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) | (1<<7),
     787             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     788             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     789             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     790             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     791             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     792             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     793             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     794             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     795             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     796             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     797             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     798             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     799             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     800             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     801             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     802             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     803             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     804             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     805             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     806             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     807             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     808             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     809             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     810             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6) | (1<<7),
     811             :   0 | (1<<0) | (1<<1) | (1<<2) | (1<<3) | (1<<4) | (1<<5) | (1<<6),
     812             :   0,
     813             :   0
     814             : };
     815             : 
     816         873 : return (OTable[id/8] & (1 << (id%8))) != 0;
     817             : #endif
     818             : 
     819             : // Global intrinsic function declaration type table.
     820             : #ifdef GET_INTRINSIC_GENERATOR_GLOBAL
     821             : static const unsigned IIT_Table[] = {
     822             :   0x70, (1U<<31) | 1421, (1U<<31) | 716, (1U<<31) | 1114, (1U<<31) | 1114, (1U<<31) | 697, (1U<<31) | 1093, 
     823             :   (1U<<31) | 1093, (1U<<31) | 462, (1U<<31) | 716, (1U<<31) | 716, (1U<<31) | 445, (1U<<31) | 697, (1U<<31) | 697, (1U<<31) | 676, 
     824             :   (1U<<31) | 1070, (1U<<31) | 1070, (1U<<31) | 656, (1U<<31) | 1048, (1U<<31) | 1048, (1U<<31) | 426, (1U<<31) | 676, (1U<<31) | 676, 
     825             :   (1U<<31) | 408, (1U<<31) | 656, (1U<<31) | 656, (1U<<31) | 173, (1U<<31) | 251, (1U<<31) | 251, (1U<<31) | 155, (1U<<31) | 231, 
     826             :   (1U<<31) | 231, (1U<<31) | 173, (1U<<31) | 251, (1U<<31) | 251, (1U<<31) | 155, (1U<<31) | 231, (1U<<31) | 103, (1U<<31) | 173, 
     827             :   (1U<<31) | 173, (1U<<31) | 87, (1U<<31) | 155, (1U<<31) | 155, (1U<<31) | 231, (1U<<31) | 103, (1U<<31) | 173, (1U<<31) | 173, 
     828             :   (1U<<31) | 87, (1U<<31) | 155, (1U<<31) | 137, (1U<<31) | 211, (1U<<31) | 211, (1U<<31) | 120, (1U<<31) | 192, (1U<<31) | 192, 
     829             :   (1U<<31) | 155, (1U<<31) | 137, (1U<<31) | 211, (1U<<31) | 211, (1U<<31) | 120, (1U<<31) | 192, (1U<<31) | 71, (1U<<31) | 137, 
     830             :   (1U<<31) | 137, (1U<<31) | 56, (1U<<31) | 120, (1U<<31) | 120, (1U<<31) | 192, (1U<<31) | 71, (1U<<31) | 137, (1U<<31) | 137, 
     831             :   (1U<<31) | 56, (1U<<31) | 120, (1U<<31) | 120, (1U<<31) | 0, (1U<<31) | 56, (1U<<31) | 56, (1U<<31) | 120, (1U<<31) | 120, 
     832             :   (1U<<31) | 120, (1U<<31) | 1447, (1U<<31) | 1460, (1U<<31) | 1460, (1U<<31) | 1475, (1U<<31) | 1475, (1U<<31) | 1475, (1U<<31) | 1436, 
     833             :   (1U<<31) | 1447, (1U<<31) | 1447, (1U<<31) | 1460, (1U<<31) | 1475, (1U<<31) | 1460, (1U<<31) | 1460, (1U<<31) | 1460, (1U<<31) | 462, 
     834             :   (1U<<31) | 716, (1U<<31) | 716, (1U<<31) | 1114, (1U<<31) | 1114, (1U<<31) | 1114, (1U<<31) | 445, (1U<<31) | 697, (1U<<31) | 697, 
     835             :   (1U<<31) | 1093, (1U<<31) | 1093, (1U<<31) | 1093, (1U<<31) | 320, (1U<<31) | 462, (1U<<31) | 462, (1U<<31) | 716, (1U<<31) | 716, 
     836             :   (1U<<31) | 716, (1U<<31) | 305, (1U<<31) | 445, (1U<<31) | 445, (1U<<31) | 697, (1U<<31) | 697, (1U<<31) | 697, (1U<<31) | 426, 
     837             :   (1U<<31) | 676, (1U<<31) | 676, (1U<<31) | 1070, (1U<<31) | 1070, (1U<<31) | 1070, (1U<<31) | 408, (1U<<31) | 656, (1U<<31) | 656, 
     838             :   (1U<<31) | 1048, (1U<<31) | 1048, (1U<<31) | 1048, (1U<<31) | 288, (1U<<31) | 426, (1U<<31) | 426, (1U<<31) | 676, (1U<<31) | 676, 
     839             :   (1U<<31) | 676, (1U<<31) | 272, (1U<<31) | 408, (1U<<31) | 408, (1U<<31) | 656, (1U<<31) | 656, (1U<<31) | 656, (1U<<31) | 539, 
     840             :   (1U<<31) | 801, (1U<<31) | 901, (1U<<31) | 1219, (1U<<31) | 1343, (1U<<31) | 1219, (1U<<31) | 519, (1U<<31) | 779, (1U<<31) | 875, 
     841             :   (1U<<31) | 1191, (1U<<31) | 1311, (1U<<31) | 1191, (1U<<31) | 389, (1U<<31) | 539, (1U<<31) | 631, (1U<<31) | 901, (1U<<31) | 1017, 
     842             :   (1U<<31) | 901, (1U<<31) | 371, (1U<<31) | 519, (1U<<31) | 607, (1U<<31) | 875, (1U<<31) | 987, (1U<<31) | 875, (1U<<31) | 103, 
     843             :   (1U<<31) | 173, (1U<<31) | 173, (1U<<31) | 251, (1U<<31) | 251, (1U<<31) | 251, (1U<<31) | 87, (1U<<31) | 155, (1U<<31) | 155, 
     844             :   (1U<<31) | 231, (1U<<31) | 231, (1U<<31) | 231, (1U<<31) | 539, (1U<<31) | 801, (1U<<31) | 901, (1U<<31) | 1219, (1U<<31) | 1343, 
     845             :   (1U<<31) | 1219, (1U<<31) | 519, (1U<<31) | 779, (1U<<31) | 875, (1U<<31) | 1191, (1U<<31) | 1311, (1U<<31) | 1191, (1U<<31) | 389, 
     846             :   (1U<<31) | 539, (1U<<31) | 631, (1U<<31) | 901, (1U<<31) | 1017, (1U<<31) | 901, (1U<<31) | 371, (1U<<31) | 519, (1U<<31) | 607, 
     847             :   (1U<<31) | 875, (1U<<31) | 987, (1U<<31) | 875, (1U<<31) | 103, (1U<<31) | 173, (1U<<31) | 173, (1U<<31) | 251, (1U<<31) | 251, 
     848             :   (1U<<31) | 251, (1U<<31) | 87, (1U<<31) | 155, (1U<<31) | 155, (1U<<31) | 231, (1U<<31) | 231, (1U<<31) | 41, (1U<<31) | 103, 
     849             :   (1U<<31) | 103, (1U<<31) | 173, (1U<<31) | 173, (1U<<31) | 173, (1U<<31) | 27, (1U<<31) | 87, (1U<<31) | 87, (1U<<31) | 155, 
     850             :   (1U<<31) | 155, (1U<<31) | 155, (1U<<31) | 231, (1U<<31) | 41, (1U<<31) | 103, (1U<<31) | 103, (1U<<31) | 173, (1U<<31) | 173, 
     851             :   (1U<<31) | 173, (1U<<31) | 27, (1U<<31) | 87, (1U<<31) | 87, (1U<<31) | 155, (1U<<31) | 155, (1U<<31) | 499, (1U<<31) | 757, 
     852             :   (1U<<31) | 849, (1U<<31) | 1163, (1U<<31) | 1279, (1U<<31) | 1163, (1U<<31) | 480, (1U<<31) | 736, (1U<<31) | 824, (1U<<31) | 1136, 
     853             :   (1U<<31) | 1248, (1U<<31) | 1136, (1U<<31) | 353, (1U<<31) | 499, (1U<<31) | 583, (1U<<31) | 849, (1U<<31) | 957, (1U<<31) | 849, 
     854             :   (1U<<31) | 336, (1U<<31) | 480, (1U<<31) | 560, (1U<<31) | 824, (1U<<31) | 928, (1U<<31) | 824, (1U<<31) | 71, (1U<<31) | 137, 
     855             :   (1U<<31) | 137, (1U<<31) | 211, (1U<<31) | 211, (1U<<31) | 211, (1U<<31) | 56, (1U<<31) | 120, (1U<<31) | 120, (1U<<31) | 192, 
     856             :   (1U<<31) | 192, (1U<<31) | 192, (1U<<31) | 155, (1U<<31) | 499, (1U<<31) | 757, (1U<<31) | 849, (1U<<31) | 1163, (1U<<31) | 1279, 
     857             :   (1U<<31) | 1163, (1U<<31) | 480, (1U<<31) | 736, (1U<<31) | 824, (1U<<31) | 1136, (1U<<31) | 1248, (1U<<31) | 1136, (1U<<31) | 353, 
     858             :   (1U<<31) | 499, (1U<<31) | 583, (1U<<31) | 849, (1U<<31) | 957, (1U<<31) | 849, (1U<<31) | 336, (1U<<31) | 480, (1U<<31) | 560, 
     859             :   (1U<<31) | 824, (1U<<31) | 928, (1U<<31) | 824, (1U<<31) | 71, (1U<<31) | 137, (1U<<31) | 137, (1U<<31) | 211, (1U<<31) | 211, 
     860             :   (1U<<31) | 211, (1U<<31) | 56, (1U<<31) | 120, (1U<<31) | 120, (1U<<31) | 192, (1U<<31) | 192, (1U<<31) | 13, (1U<<31) | 71, 
     861             :   (1U<<31) | 71, (1U<<31) | 137, (1U<<31) | 137, (1U<<31) | 137, (1U<<31) | 0, (1U<<31) | 56, (1U<<31) | 56, (1U<<31) | 120, 
     862             :   (1U<<31) | 120, (1U<<31) | 120, (1U<<31) | 192, (1U<<31) | 13, (1U<<31) | 71, (1U<<31) | 71, (1U<<31) | 137, (1U<<31) | 137, 
     863             :   (1U<<31) | 137, (1U<<31) | 0, (1U<<31) | 56, (1U<<31) | 56, (1U<<31) | 120, (1U<<31) | 120, (1U<<31) | 120, (1U<<31) | 1446, 
     864             :   (1U<<31) | 1459, (1U<<31) | 1459, (1U<<31) | 1474, (1U<<31) | 1474, (1U<<31) | 1474, (1U<<31) | 1435, (1U<<31) | 1446, (1U<<31) | 1446, 
     865             :   (1U<<31) | 1459, (1U<<31) | 1474, (1U<<31) | 1459, (1U<<31) | 1459, (1U<<31) | 1459, 0x41f7, (1U<<31) | 1376, (1U<<31) | 1407, 
     866             :   (1U<<31) | 1407, 0x7a7a7, 0x447a0, (1U<<31) | 1407, (1U<<31) | 1407, (1U<<31) | 1407, (1U<<31) | 1407, (1U<<31) | 1393, 
     867             :   (1U<<31) | 1407, (1U<<31) | 1407, (1U<<31) | 1393, 0
     868             : };
     869             : 
     870             : static const unsigned char IIT_LongEncodingTable[] = {
     871             :   /* 0 */ 15, 0, 4, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     872             :   /* 13 */ 15, 0, 4, 4, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     873             :   /* 27 */ 15, 0, 4, 7, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     874             :   /* 41 */ 15, 0, 4, 4, 7, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     875             :   /* 56 */ 15, 0, 4, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     876             :   /* 71 */ 15, 0, 4, 4, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     877             :   /* 87 */ 15, 0, 4, 7, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     878             :   /* 103 */ 15, 0, 4, 4, 7, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     879             :   /* 120 */ 15, 0, 4, 15, 10, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     880             :   /* 137 */ 15, 0, 4, 4, 15, 10, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     881             :   /* 155 */ 15, 0, 4, 7, 15, 10, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     882             :   /* 173 */ 15, 0, 4, 4, 7, 15, 10, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     883             :   /* 192 */ 15, 0, 4, 15, 10, 15, 10, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     884             :   /* 211 */ 15, 0, 4, 4, 15, 10, 15, 10, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     885             :   /* 231 */ 15, 0, 4, 7, 15, 10, 15, 10, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     886             :   /* 251 */ 15, 0, 4, 4, 7, 15, 10, 15, 10, 15, 10, 15, 10, 11, 4, 10, 4, 1, 4, 4, 0,
     887             :   /* 272 */ 15, 0, 4, 15, 10, 7, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     888             :   /* 288 */ 15, 0, 4, 4, 15, 10, 7, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     889             :   /* 305 */ 15, 0, 4, 15, 10, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     890             :   /* 320 */ 15, 0, 4, 4, 15, 10, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     891             :   /* 336 */ 15, 0, 4, 15, 10, 15, 10, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     892             :   /* 353 */ 15, 0, 4, 4, 15, 10, 15, 10, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     893             :   /* 371 */ 15, 0, 4, 7, 15, 10, 15, 10, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     894             :   /* 389 */ 15, 0, 4, 4, 7, 15, 10, 15, 10, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     895             :   /* 408 */ 15, 0, 4, 15, 10, 7, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     896             :   /* 426 */ 15, 0, 4, 4, 15, 10, 7, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     897             :   /* 445 */ 15, 0, 4, 15, 10, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     898             :   /* 462 */ 15, 0, 4, 4, 15, 10, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     899             :   /* 480 */ 15, 0, 4, 15, 10, 15, 10, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     900             :   /* 499 */ 15, 0, 4, 4, 15, 10, 15, 10, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     901             :   /* 519 */ 15, 0, 4, 7, 15, 10, 15, 10, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     902             :   /* 539 */ 15, 0, 4, 4, 7, 15, 10, 15, 10, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     903             :   /* 560 */ 15, 0, 4, 15, 10, 15, 10, 15, 10, 15, 10, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     904             :   /* 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,
     905             :   /* 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,
     906             :   /* 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,
     907             :   /* 656 */ 15, 0, 4, 15, 10, 7, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     908             :   /* 676 */ 15, 0, 4, 4, 15, 10, 7, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     909             :   /* 697 */ 15, 0, 4, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     910             :   /* 716 */ 15, 0, 4, 4, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     911             :   /* 736 */ 15, 0, 4, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     912             :   /* 757 */ 15, 0, 4, 4, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     913             :   /* 779 */ 15, 0, 4, 7, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     914             :   /* 801 */ 15, 0, 4, 4, 7, 15, 10, 15, 10, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     915             :   /* 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,
     916             :   /* 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,
     917             :   /* 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,
     918             :   /* 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,
     919             :   /* 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,
     920             :   /* 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,
     921             :   /* 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,
     922             :   /* 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,
     923             :   /* 1048 */ 15, 0, 4, 15, 10, 7, 15, 18, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     924             :   /* 1070 */ 15, 0, 4, 4, 15, 10, 7, 15, 18, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     925             :   /* 1093 */ 15, 0, 4, 15, 10, 15, 18, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     926             :   /* 1114 */ 15, 0, 4, 4, 15, 10, 15, 18, 15, 18, 15, 18, 15, 18, 11, 4, 10, 4, 1, 4, 4, 0,
     927             :   /* 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,
     928             :   /* 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,
     929             :   /* 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,
     930             :   /* 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,
     931             :   /* 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,
     932             :   /* 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,
     933             :   /* 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,
     934             :   /* 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,
     935             :   /* 1376 */ 0, 15, 1, 15, 9, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 0,
     936             :   /* 1393 */ 10, 4, 10, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 0,
     937             :   /* 1407 */ 10, 7, 10, 7, 4, 4, 4, 4, 4, 4, 4, 4, 4, 0,
     938             :   /* 1421 */ 15, 1, 15, 9, 15, 17, 4, 4, 4, 4, 4, 4, 4, 0,
     939             :   /* 1435 */ 0, 15, 0, 4, 15, 9, 11, 4, 4, 4, 0,
     940             :   /* 1446 */ 0, 15, 0, 4, 15, 9, 15, 9, 11, 4, 4, 4, 0,
     941             :   /* 1459 */ 0, 15, 0, 4, 15, 9, 15, 9, 15, 9, 11, 4, 4, 4, 0,
     942             :   /* 1474 */ 0, 15, 0, 4, 15, 9, 15, 9, 15, 9, 15, 9, 11, 4, 4, 4, 0,
     943             :   255
     944             : };
     945             : 
     946             : #endif
     947             : 
     948             : // Add parameter attributes that are not common to all intrinsics.
     949             : #ifdef GET_INTRINSIC_ATTRIBUTES
     950           0 : static AttributeList getAttributes(LLVMContext &C, AMDGPUIntrinsic::ID id) {
     951             :   static const uint8_t IntrinsicsToAttributesMap[] = {
     952             :     1, // llvm.AMDGPU.kill
     953             :     2, // llvm.SI.buffer.load.dword
     954             :     3, // llvm.SI.image.d16helper.GATHER4.B.CL.O2d
     955             :     3, // llvm.SI.image.d16helper.GATHER4.B.CL.O2darray
     956             :     3, // llvm.SI.image.d16helper.GATHER4.B.CL.Ocube
     957             :     3, // llvm.SI.image.d16helper.GATHER4.B.CL2d
     958             :     3, // llvm.SI.image.d16helper.GATHER4.B.CL2darray
     959             :     3, // llvm.SI.image.d16helper.GATHER4.B.CLcube
     960             :     3, // llvm.SI.image.d16helper.GATHER4.B.O2d
     961             :     3, // llvm.SI.image.d16helper.GATHER4.B.O2darray
     962             :     3, // llvm.SI.image.d16helper.GATHER4.B.Ocube
     963             :     3, // llvm.SI.image.d16helper.GATHER4.B2d
     964             :     3, // llvm.SI.image.d16helper.GATHER4.B2darray
     965             :     3, // llvm.SI.image.d16helper.GATHER4.Bcube
     966             :     3, // llvm.SI.image.d16helper.GATHER4.C.B.CL.O2d
     967             :     3, // llvm.SI.image.d16helper.GATHER4.C.B.CL.O2darray
     968             :     3, // llvm.SI.image.d16helper.GATHER4.C.B.CL.Ocube
     969             :     3, // llvm.SI.image.d16helper.GATHER4.C.B.CL2d
     970             :     3, // llvm.SI.image.d16helper.GATHER4.C.B.CL2darray
     971             :     3, // llvm.SI.image.d16helper.GATHER4.C.B.CLcube
     972             :     3, // llvm.SI.image.d16helper.GATHER4.C.B.O2d
     973             :     3, // llvm.SI.image.d16helper.GATHER4.C.B.O2darray
     974             :     3, // llvm.SI.image.d16helper.GATHER4.C.B.Ocube
     975             :     3, // llvm.SI.image.d16helper.GATHER4.C.B2d
     976             :     3, // llvm.SI.image.d16helper.GATHER4.C.B2darray
     977             :     3, // llvm.SI.image.d16helper.GATHER4.C.Bcube
     978             :     3, // llvm.SI.image.d16helper.GATHER4.C.CL.O2d
     979             :     3, // llvm.SI.image.d16helper.GATHER4.C.CL.O2darray
     980             :     3, // llvm.SI.image.d16helper.GATHER4.C.CL.Ocube
     981             :     3, // llvm.SI.image.d16helper.GATHER4.C.CL2d
     982             :     3, // llvm.SI.image.d16helper.GATHER4.C.CL2darray
     983             :     3, // llvm.SI.image.d16helper.GATHER4.C.CLcube
     984             :     3, // llvm.SI.image.d16helper.GATHER4.C.L.O2d
     985             :     3, // llvm.SI.image.d16helper.GATHER4.C.L.O2darray
     986             :     3, // llvm.SI.image.d16helper.GATHER4.C.L.Ocube
     987             :     3, // llvm.SI.image.d16helper.GATHER4.C.L2d
     988             :     3, // llvm.SI.image.d16helper.GATHER4.C.L2darray
     989             :     3, // llvm.SI.image.d16helper.GATHER4.C.LZ.O2d
     990             :     3, // llvm.SI.image.d16helper.GATHER4.C.LZ.O2darray
     991             :     3, // llvm.SI.image.d16helper.GATHER4.C.LZ.Ocube
     992             :     3, // llvm.SI.image.d16helper.GATHER4.C.LZ2d
     993             :     3, // llvm.SI.image.d16helper.GATHER4.C.LZ2darray
     994             :     3, // llvm.SI.image.d16helper.GATHER4.C.LZcube
     995             :     3, // llvm.SI.image.d16helper.GATHER4.C.Lcube
     996             :     3, // llvm.SI.image.d16helper.GATHER4.C.O2d
     997             :     3, // llvm.SI.image.d16helper.GATHER4.C.O2darray
     998             :     3, // llvm.SI.image.d16helper.GATHER4.C.Ocube
     999             :     3, // llvm.SI.image.d16helper.GATHER4.C2d
    1000             :     3, // llvm.SI.image.d16helper.GATHER4.C2darray
    1001             :     3, // llvm.SI.image.d16helper.GATHER4.CL.O2d
    1002             :     3, // llvm.SI.image.d16helper.GATHER4.CL.O2darray
    1003             :     3, // llvm.SI.image.d16helper.GATHER4.CL.Ocube
    1004             :     3, // llvm.SI.image.d16helper.GATHER4.CL2d
    1005             :     3, // llvm.SI.image.d16helper.GATHER4.CL2darray
    1006             :     3, // llvm.SI.image.d16helper.GATHER4.CLcube
    1007             :     3, // llvm.SI.image.d16helper.GATHER4.Ccube
    1008             :     3, // llvm.SI.image.d16helper.GATHER4.L.O2d
    1009             :     3, // llvm.SI.image.d16helper.GATHER4.L.O2darray
    1010             :     3, // llvm.SI.image.d16helper.GATHER4.L.Ocube
    1011             :     3, // llvm.SI.image.d16helper.GATHER4.L2d
    1012             :     3, // llvm.SI.image.d16helper.GATHER4.L2darray
    1013             :     3, // llvm.SI.image.d16helper.GATHER4.LZ.O2d
    1014             :     3, // llvm.SI.image.d16helper.GATHER4.LZ.O2darray
    1015             :     3, // llvm.SI.image.d16helper.GATHER4.LZ.Ocube
    1016             :     3, // llvm.SI.image.d16helper.GATHER4.LZ2d
    1017             :     3, // llvm.SI.image.d16helper.GATHER4.LZ2darray
    1018             :     3, // llvm.SI.image.d16helper.GATHER4.LZcube
    1019             :     3, // llvm.SI.image.d16helper.GATHER4.Lcube
    1020             :     3, // llvm.SI.image.d16helper.GATHER4.O2d
    1021             :     3, // llvm.SI.image.d16helper.GATHER4.O2darray
    1022             :     3, // llvm.SI.image.d16helper.GATHER4.Ocube
    1023             :     3, // llvm.SI.image.d16helper.GATHER42d
    1024             :     3, // llvm.SI.image.d16helper.GATHER42darray
    1025             :     3, // llvm.SI.image.d16helper.GATHER4cube
    1026             :     4, // llvm.SI.image.d16helper.GET.LOD1d
    1027             :     4, // llvm.SI.image.d16helper.GET.LOD1darray
    1028             :     4, // llvm.SI.image.d16helper.GET.LOD2d
    1029             :     4, // llvm.SI.image.d16helper.GET.LOD2darray
    1030             :     4, // llvm.SI.image.d16helper.GET.LOD3d
    1031             :     4, // llvm.SI.image.d16helper.GET.LODcube
    1032             :     3, // llvm.SI.image.d16helper.LOAD.MIP1d
    1033             :     3, // llvm.SI.image.d16helper.LOAD.MIP1darray
    1034             :     3, // llvm.SI.image.d16helper.LOAD.MIP2d
    1035             :     3, // llvm.SI.image.d16helper.LOAD.MIP2darray
    1036             :     3, // llvm.SI.image.d16helper.LOAD.MIP3d
    1037             :     3, // llvm.SI.image.d16helper.LOAD.MIPcube
    1038             :     3, // llvm.SI.image.d16helper.LOAD1d
    1039             :     3, // llvm.SI.image.d16helper.LOAD1darray
    1040             :     3, // llvm.SI.image.d16helper.LOAD2d
    1041             :     3, // llvm.SI.image.d16helper.LOAD2darray
    1042             :     3, // llvm.SI.image.d16helper.LOAD2darraymsaa
    1043             :     3, // llvm.SI.image.d16helper.LOAD2dmsaa
    1044             :     3, // llvm.SI.image.d16helper.LOAD3d
    1045             :     3, // llvm.SI.image.d16helper.LOADcube
    1046             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL.O1d
    1047             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL.O1darray
    1048             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL.O2d
    1049             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL.O2darray
    1050             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL.O3d
    1051             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL.Ocube
    1052             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL1d
    1053             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL1darray
    1054             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL2d
    1055             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL2darray
    1056             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CL3d
    1057             :     3, // llvm.SI.image.d16helper.SAMPLE.B.CLcube
    1058             :     3, // llvm.SI.image.d16helper.SAMPLE.B.O1d
    1059             :     3, // llvm.SI.image.d16helper.SAMPLE.B.O1darray
    1060             :     3, // llvm.SI.image.d16helper.SAMPLE.B.O2d
    1061             :     3, // llvm.SI.image.d16helper.SAMPLE.B.O2darray
    1062             :     3, // llvm.SI.image.d16helper.SAMPLE.B.O3d
    1063             :     3, // llvm.SI.image.d16helper.SAMPLE.B.Ocube
    1064             :     3, // llvm.SI.image.d16helper.SAMPLE.B1d
    1065             :     3, // llvm.SI.image.d16helper.SAMPLE.B1darray
    1066             :     3, // llvm.SI.image.d16helper.SAMPLE.B2d
    1067             :     3, // llvm.SI.image.d16helper.SAMPLE.B2darray
    1068             :     3, // llvm.SI.image.d16helper.SAMPLE.B3d
    1069             :     3, // llvm.SI.image.d16helper.SAMPLE.Bcube
    1070             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL.O1d
    1071             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL.O1darray
    1072             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL.O2d
    1073             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL.O2darray
    1074             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL.O3d
    1075             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL.Ocube
    1076             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL1d
    1077             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL1darray
    1078             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL2d
    1079             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL2darray
    1080             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CL3d
    1081             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.CLcube
    1082             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.O1d
    1083             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.O1darray
    1084             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.O2d
    1085             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.O2darray
    1086             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.O3d
    1087             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B.Ocube
    1088             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B1d
    1089             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B1darray
    1090             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B2d
    1091             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B2darray
    1092             :     3, // llvm.SI.image.d16helper.SAMPLE.C.B3d
    1093             :     3, // llvm.SI.image.d16helper.SAMPLE.C.Bcube
    1094             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O1d
    1095             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O1darray
    1096             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O2d
    1097             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O2darray
    1098             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL.O3d
    1099             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL.Ocube
    1100             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL1d
    1101             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL1darray
    1102             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL2d
    1103             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL2darray
    1104             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CL3d
    1105             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.CLcube
    1106             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.O1d
    1107             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.O1darray
    1108             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.O2d
    1109             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.O2darray
    1110             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.O3d
    1111             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD.Ocube
    1112             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD1d
    1113             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD1darray
    1114             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD2d
    1115             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD2darray
    1116             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CD3d
    1117             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CDcube
    1118             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL.O1d
    1119             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL.O1darray
    1120             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL.O2d
    1121             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL.O2darray
    1122             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL.O3d
    1123             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL.Ocube
    1124             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL1d
    1125             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL1darray
    1126             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL2d
    1127             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL2darray
    1128             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CL3d
    1129             :     3, // llvm.SI.image.d16helper.SAMPLE.C.CLcube
    1130             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL.O1d
    1131             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL.O1darray
    1132             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL.O2d
    1133             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL.O2darray
    1134             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL.O3d
    1135             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL.Ocube
    1136             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL1d
    1137             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL1darray
    1138             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL2d
    1139             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL2darray
    1140             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CL3d
    1141             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.CLcube
    1142             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.O1d
    1143             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.O1darray
    1144             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.O2d
    1145             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.O2darray
    1146             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.O3d
    1147             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D.Ocube
    1148             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D1d
    1149             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D1darray
    1150             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D2d
    1151             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D2darray
    1152             :     3, // llvm.SI.image.d16helper.SAMPLE.C.D3d
    1153             :     3, // llvm.SI.image.d16helper.SAMPLE.C.Dcube
    1154             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L.O1d
    1155             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L.O1darray
    1156             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L.O2d
    1157             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L.O2darray
    1158             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L.O3d
    1159             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L.Ocube
    1160             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L1d
    1161             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L1darray
    1162             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L2d
    1163             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L2darray
    1164             :     3, // llvm.SI.image.d16helper.SAMPLE.C.L3d
    1165             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ.O1d
    1166             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ.O1darray
    1167             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ.O2d
    1168             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ.O2darray
    1169             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ.O3d
    1170             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ.Ocube
    1171             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ1d
    1172             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ1darray
    1173             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ2d
    1174             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ2darray
    1175             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZ3d
    1176             :     3, // llvm.SI.image.d16helper.SAMPLE.C.LZcube
    1177             :     3, // llvm.SI.image.d16helper.SAMPLE.C.Lcube
    1178             :     3, // llvm.SI.image.d16helper.SAMPLE.C.O1d
    1179             :     3, // llvm.SI.image.d16helper.SAMPLE.C.O1darray
    1180             :     3, // llvm.SI.image.d16helper.SAMPLE.C.O2d
    1181             :     3, // llvm.SI.image.d16helper.SAMPLE.C.O2darray
    1182             :     3, // llvm.SI.image.d16helper.SAMPLE.C.O3d
    1183             :     3, // llvm.SI.image.d16helper.SAMPLE.C.Ocube
    1184             :     3, // llvm.SI.image.d16helper.SAMPLE.C1d
    1185             :     3, // llvm.SI.image.d16helper.SAMPLE.C1darray
    1186             :     3, // llvm.SI.image.d16helper.SAMPLE.C2d
    1187             :     3, // llvm.SI.image.d16helper.SAMPLE.C2darray
    1188             :     3, // llvm.SI.image.d16helper.SAMPLE.C3d
    1189             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL.O1d
    1190             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL.O1darray
    1191             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL.O2d
    1192             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL.O2darray
    1193             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL.O3d
    1194             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL.Ocube
    1195             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL1d
    1196             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL1darray
    1197             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL2d
    1198             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL2darray
    1199             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CL3d
    1200             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.CLcube
    1201             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.O1d
    1202             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.O1darray
    1203             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.O2d
    1204             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.O2darray
    1205             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.O3d
    1206             :     3, // llvm.SI.image.d16helper.SAMPLE.CD.Ocube
    1207             :     3, // llvm.SI.image.d16helper.SAMPLE.CD1d
    1208             :     3, // llvm.SI.image.d16helper.SAMPLE.CD1darray
    1209             :     3, // llvm.SI.image.d16helper.SAMPLE.CD2d
    1210             :     3, // llvm.SI.image.d16helper.SAMPLE.CD2darray
    1211             :     3, // llvm.SI.image.d16helper.SAMPLE.CD3d
    1212             :     3, // llvm.SI.image.d16helper.SAMPLE.CDcube
    1213             :     3, // llvm.SI.image.d16helper.SAMPLE.CL.O1d
    1214             :     3, // llvm.SI.image.d16helper.SAMPLE.CL.O1darray
    1215             :     3, // llvm.SI.image.d16helper.SAMPLE.CL.O2d
    1216             :     3, // llvm.SI.image.d16helper.SAMPLE.CL.O2darray
    1217             :     3, // llvm.SI.image.d16helper.SAMPLE.CL.O3d
    1218             :     3, // llvm.SI.image.d16helper.SAMPLE.CL.Ocube
    1219             :     3, // llvm.SI.image.d16helper.SAMPLE.CL1d
    1220             :     3, // llvm.SI.image.d16helper.SAMPLE.CL1darray
    1221             :     3, // llvm.SI.image.d16helper.SAMPLE.CL2d
    1222             :     3, // llvm.SI.image.d16helper.SAMPLE.CL2darray
    1223             :     3, // llvm.SI.image.d16helper.SAMPLE.CL3d
    1224             :     3, // llvm.SI.image.d16helper.SAMPLE.CLcube
    1225             :     3, // llvm.SI.image.d16helper.SAMPLE.Ccube
    1226             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL.O1d
    1227             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL.O1darray
    1228             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL.O2d
    1229             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL.O2darray
    1230             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL.O3d
    1231             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL.Ocube
    1232             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL1d
    1233             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL1darray
    1234             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL2d
    1235             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL2darray
    1236             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CL3d
    1237             :     3, // llvm.SI.image.d16helper.SAMPLE.D.CLcube
    1238             :     3, // llvm.SI.image.d16helper.SAMPLE.D.O1d
    1239             :     3, // llvm.SI.image.d16helper.SAMPLE.D.O1darray
    1240             :     3, // llvm.SI.image.d16helper.SAMPLE.D.O2d
    1241             :     3, // llvm.SI.image.d16helper.SAMPLE.D.O2darray
    1242             :     3, // llvm.SI.image.d16helper.SAMPLE.D.O3d
    1243             :     3, // llvm.SI.image.d16helper.SAMPLE.D.Ocube
    1244             :     3, // llvm.SI.image.d16helper.SAMPLE.D1d
    1245             :     3, // llvm.SI.image.d16helper.SAMPLE.D1darray
    1246             :     3, // llvm.SI.image.d16helper.SAMPLE.D2d
    1247             :     3, // llvm.SI.image.d16helper.SAMPLE.D2darray
    1248             :     3, // llvm.SI.image.d16helper.SAMPLE.D3d
    1249             :     3, // llvm.SI.image.d16helper.SAMPLE.Dcube
    1250             :     3, // llvm.SI.image.d16helper.SAMPLE.L.O1d
    1251             :     3, // llvm.SI.image.d16helper.SAMPLE.L.O1darray
    1252             :     3, // llvm.SI.image.d16helper.SAMPLE.L.O2d
    1253             :     3, // llvm.SI.image.d16helper.SAMPLE.L.O2darray
    1254             :     3, // llvm.SI.image.d16helper.SAMPLE.L.O3d
    1255             :     3, // llvm.SI.image.d16helper.SAMPLE.L.Ocube
    1256             :     3, // llvm.SI.image.d16helper.SAMPLE.L1d
    1257             :     3, // llvm.SI.image.d16helper.SAMPLE.L1darray
    1258             :     3, // llvm.SI.image.d16helper.SAMPLE.L2d
    1259             :     3, // llvm.SI.image.d16helper.SAMPLE.L2darray
    1260             :     3, // llvm.SI.image.d16helper.SAMPLE.L3d
    1261             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ.O1d
    1262             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ.O1darray
    1263             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ.O2d
    1264             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ.O2darray
    1265             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ.O3d
    1266             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ.Ocube
    1267             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ1d
    1268             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ1darray
    1269             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ2d
    1270             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ2darray
    1271             :     3, // llvm.SI.image.d16helper.SAMPLE.LZ3d
    1272             :     3, // llvm.SI.image.d16helper.SAMPLE.LZcube
    1273             :     3, // llvm.SI.image.d16helper.SAMPLE.Lcube
    1274             :     3, // llvm.SI.image.d16helper.SAMPLE.O1d
    1275             :     3, // llvm.SI.image.d16helper.SAMPLE.O1darray
    1276             :     3, // llvm.SI.image.d16helper.SAMPLE.O2d
    1277             :     3, // llvm.SI.image.d16helper.SAMPLE.O2darray
    1278             :     3, // llvm.SI.image.d16helper.SAMPLE.O3d
    1279             :     3, // llvm.SI.image.d16helper.SAMPLE.Ocube
    1280             :     3, // llvm.SI.image.d16helper.SAMPLE1d
    1281             :     3, // llvm.SI.image.d16helper.SAMPLE1darray
    1282             :     3, // llvm.SI.image.d16helper.SAMPLE2d
    1283             :     3, // llvm.SI.image.d16helper.SAMPLE2darray
    1284             :     3, // llvm.SI.image.d16helper.SAMPLE3d
    1285             :     3, // llvm.SI.image.d16helper.SAMPLEcube
    1286             :     5, // llvm.SI.image.d16helper.STORE.MIP1d
    1287             :     5, // llvm.SI.image.d16helper.STORE.MIP1darray
    1288             :     5, // llvm.SI.image.d16helper.STORE.MIP2d
    1289             :     5, // llvm.SI.image.d16helper.STORE.MIP2darray
    1290             :     5, // llvm.SI.image.d16helper.STORE.MIP3d
    1291             :     5, // llvm.SI.image.d16helper.STORE.MIPcube
    1292             :     5, // llvm.SI.image.d16helper.STORE1d
    1293             :     5, // llvm.SI.image.d16helper.STORE1darray
    1294             :     5, // llvm.SI.image.d16helper.STORE2d
    1295             :     5, // llvm.SI.image.d16helper.STORE2darray
    1296             :     5, // llvm.SI.image.d16helper.STORE2darraymsaa
    1297             :     5, // llvm.SI.image.d16helper.STORE2dmsaa
    1298             :     5, // llvm.SI.image.d16helper.STORE3d
    1299             :     5, // llvm.SI.image.d16helper.STOREcube
    1300             :     4, // llvm.SI.load.const
    1301             :     1, // llvm.SI.tbuffer.store
    1302             :     4, // llvm.r600.ddx
    1303             :     4, // llvm.r600.ddy
    1304             :     6, // llvm.r600.dot4
    1305             :     1, // llvm.r600.store.swizzle
    1306             :     4, // llvm.r600.tex
    1307             :     4, // llvm.r600.texc
    1308             :     4, // llvm.r600.txb
    1309             :     4, // llvm.r600.txbc
    1310             :     4, // llvm.r600.txf
    1311             :     4, // llvm.r600.txl
    1312             :     4, // llvm.r600.txlc
    1313             :     4, // llvm.r600.txq
    1314             :   };
    1315             : 
    1316           0 :   AttributeList AS[1];
    1317             :   unsigned NumAttrs = 0;
    1318           0 :   if (id != 0) {
    1319           0 :     switch(IntrinsicsToAttributesMap[id - Intrinsic::num_intrinsics]) {
    1320           0 :     default: llvm_unreachable("Invalid attribute number");
    1321           0 :     case 1: {
    1322           0 :       const Attribute::AttrKind Atts[] = {Attribute::NoUnwind};
    1323           0 :       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
    1324             :       NumAttrs = 1;
    1325             :       break;
    1326             :       }
    1327           0 :     case 5: {
    1328           0 :       const Attribute::AttrKind Atts[] = {Attribute::NoUnwind,Attribute::WriteOnly};
    1329           0 :       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
    1330             :       NumAttrs = 1;
    1331             :       break;
    1332             :       }
    1333           0 :     case 3: {
    1334           0 :       const Attribute::AttrKind Atts[] = {Attribute::NoUnwind,Attribute::ReadOnly};
    1335           0 :       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
    1336             :       NumAttrs = 1;
    1337             :       break;
    1338             :       }
    1339           0 :     case 2: {
    1340           0 :       const Attribute::AttrKind Atts[] = {Attribute::NoUnwind,Attribute::ReadOnly,Attribute::ArgMemOnly};
    1341           0 :       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
    1342             :       NumAttrs = 1;
    1343             :       break;
    1344             :       }
    1345           0 :     case 4: {
    1346           0 :       const Attribute::AttrKind Atts[] = {Attribute::NoUnwind,Attribute::ReadNone};
    1347           0 :       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
    1348             :       NumAttrs = 1;
    1349             :       break;
    1350             :       }
    1351           0 :     case 6: {
    1352           0 :       const Attribute::AttrKind Atts[] = {Attribute::NoUnwind,Attribute::Speculatable,Attribute::ReadNone};
    1353           0 :       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
    1354             :       NumAttrs = 1;
    1355             :       break;
    1356             :       }
    1357             :     }
    1358             :   }
    1359           0 :   return AttributeList::get(C, makeArrayRef(AS, NumAttrs));
    1360             : }
    1361             : #endif // GET_INTRINSIC_ATTRIBUTES
    1362             : 
    1363             : // Get the LLVM intrinsic that corresponds to a builtin.
    1364             : // This is used by the C front-end.  The builtin name is passed
    1365             : // in as BuiltinName, and a target prefix (e.g. 'ppc') is passed
    1366             : // in as TargetPrefix.  The result is assigned to 'IntrinsicID'.
    1367             : #ifdef GET_LLVM_INTRINSIC_FOR_GCC_BUILTIN
    1368             : static AMDGPUIntrinsic::ID getIntrinsicForGCCBuiltin(const char *TargetPrefixStr, StringRef BuiltinNameStr) {
    1369             :   return (AMDGPUIntrinsic::ID)Intrinsic::not_intrinsic;
    1370             : }
    1371             : #endif
    1372             : 
    1373             : // Get the LLVM intrinsic that corresponds to a builtin.
    1374             : // This is used by the C front-end.  The builtin name is passed
    1375             : // in as BuiltinName, and a target prefix (e.g. 'ppc') is passed
    1376             : // in as TargetPrefix.  The result is assigned to 'IntrinsicID'.
    1377             : #ifdef GET_LLVM_INTRINSIC_FOR_MS_BUILTIN
    1378             : static AMDGPUIntrinsic::ID getIntrinsicForMSBuiltin(const char *TargetPrefixStr, StringRef BuiltinNameStr) {
    1379             :   return (AMDGPUIntrinsic::ID)Intrinsic::not_intrinsic;
    1380             : }
    1381             : #endif
    1382             : 
    1383             : #if defined(_MSC_VER) && defined(setjmp_undefined_for_msvc)
    1384             : // let's return it to _setjmp state
    1385             : #  pragma pop_macro("setjmp")
    1386             : #  undef setjmp_undefined_for_msvc
    1387             : #endif
    1388             : 

Generated by: LCOV version 1.13