intel/compiler: Add the ability to defer IP updates in backend_instruction::remove

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11632>
This commit is contained in:
Ian Romanick
2021-06-28 19:02:11 -07:00
parent 71aab9607d
commit 8206b04d43
4 changed files with 22 additions and 4 deletions

View File

@@ -107,7 +107,7 @@ struct backend_instruction : public exec_node {
*/
bool uses_indirect_addressing() const;
void remove(bblock_t *block);
void remove(bblock_t *block, bool defer_later_block_ip_updates = false);
void insert_after(bblock_t *block, backend_instruction *inst);
void insert_before(bblock_t *block, backend_instruction *inst);
void insert_before(bblock_t *block, exec_list *list);