<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/153827>153827</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] Refactor `DXILABI.h` to not depend on `ScopedPrinter.h`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
joaosaffran
</td>
</tr>
</table>
<pre>
`DXILABI.h` currently depends on `ScopedPrinter.h`, which is quite heavy. Since `DXILABI.h` is included in multiple places, this dependency has increased clang compilation time by 2%. See https://llvm-compile-time-tracker.com/compare_clang.php?from=ca9ddd54b77020322a94a8032276b46cc1046522&to=d56fa965243bcdc115b8f262ce79cf2547500c6d&stat=instructions%3Au&sortBy=interestingness.
Requested from: https://github.com/llvm/llvm-project/pull/152229#discussion_r2278528672
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUks9q3DwUxZ9G3ogY6dqS7YUXk28YvkAWJbPpLujP9VipRnIkOWHevthJKaR00Z3g3Ht0z-GncnaXgDgScU_EsVJrmWMaX6KKWU1TUqHS0d5GItnx-8Pj4f6hnolk1KwpYSj-Ri0uGGymMVAi2dnEBe235ELBtI8S-I--z87M1GX6urqCdEb1dqvp2QWD9Kuzy9QF41eLlrpAr6svbvFIF68M5s2tzC5_fovB3Ois9pWEKqOlxqtwoSZeF-dVcTHQ4q5I9Y0CAVHTMyKdS1kyaQ4ETgRO3r9d7z4W8G4bvitJmR-YahOvBE6bpBI-7871Mi-kOU0pXklzNGqw1opWdx0D1gCooVX99uikbqUxnLVSABCQJZLmaIWc1CAFtI021nAudD-BBIPdYCYQbScYM9ISkLmoQpqjC7mk1WxBMgHRHNZNi6nc33a1YMJcXLgEzLkm7EDY4QlfV8wFLf048_Al8MWVedWf6bb0v0pYUnxBUwicltV7AicuAGAg0FiXzZqzi-E5AXS9gF52QCs7NnZoBlXhyDshoBO876t5xGkQWlg2CDk0tuVc80kbzjnjHBuEyo3AQLCeCy5BQl8L0BMK3Zihb_XQG9IyvCrn6-2yOqZL5XJeceSi6aGrvNLo844tQMB3uqsEYKM4jXscvV4yaZl3ueTfNsUVv_P-_-P5kYgjfcJJmRLTHyiWSEMsn6j9FfBqTX7854L3c_Ne8Z7nbYSfAQAA__-G1CC_">