<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/126586>126586</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [HLSL] Generate remaining Root Signature element Metadata from AST
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            HLSL
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
            inbelic
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          inbelic
      </td>
    </tr>
</table>

<pre>
    This issue handles the generation of root signature LLVM IR metadata from the parsed AST for the remaining root element types.

The infrastructure will have been previously defined in https://github.com/llvm/llvm-project/issues/126584, so this issue simply requires defining the metadata emission in `HLSLRootSignature.h`.

This is dependent on the definition of all root elements when https://github.com/llvm/llvm-project/issues/120472 is completed.

AC:
- [ ] Implement metadata generation for remaining `RootElement` types
- [ ] Add tests of generated metadata using `emit-llvm` in `CodeGenHLSL/RootSignatures.hlsl`
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJykk89uozAQh5_GXEZFxvxpOHCg7aZbKb000d4NHoJXxmZtkypvv7JDk-bcE5KFfzPfNx7unDxqxIaUT4QxqTtUsieMkfIl4YsfjW3Ww6Qz4twcRulAOrcgjFwLhQ78iHBEjZZ7aTSYAawxHkIw94tF2O3-vMPbB0zoueCew2DNFK_N3DoU0O4PMBgbjyxOXGqpj5cUVDih9uDPM7qU0JbQ9jAiSD1Y7rxd-ljiUyoFIz8hdIgaZosnaRanziBwkBoFSA2j97MjeUvYlrDtUfpx6dLeTIRtlTp9fR5ma_5i7wnbRk5H2DZjVbkpCHsGZ8DfFDg5zeoMFv8t0qK7FAu9B5IrLk7SuaBGaiAV_b3b7z6M8fsvQelIKnpli-EgcEYtArnRMe0S_WWYK3Xnx8HniD8jpMUjC5V7M80KPYq1o_Y5BNL2AUj5BKR8gbfwQ5zKFfHb_MMgb0MkFQ2svy4XSEUvk7zLa4UAj867QLYmobiFL25Nwkn6hwhS0VXmsxH4ijo4JWx7p9Wlo3KKVDQRTS7qvOYJNtljXrOsKrJNMjZ5ntO-7-uB57moN1nBq6Hvh5LXNMNcFIlsGGUlZRnN6oJmm7Qos6ob6ozzruBZWZOCBlSVhq5SY49JNNrEB1Mlineo3Lpclx7jZtkmzqFbjo4UVEnn3S3BS6_iQsYL5Qu8rkq-aQ2gcCW9bsn73Ya1-0OyWNX88N1Xyalh_wMAAP__o3Rkcg">