diff options
author | Matt Turner <mattst88@gmail.com> | 2014-07-15 14:51:43 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2014-08-22 10:23:34 -0700 |
commit | 9cf06e27e1e42ad33f0c6f8dc201300d8d108169 (patch) | |
tree | 11ad6b4f3474720f65f07889eb403056023d3159 /src/mesa/drivers/dri/i965/brw_cfg.h | |
parent | 5e6ead5e8b0a79dce63f741dfca8328b7d4020f9 (diff) | |
download | external_mesa3d-9cf06e27e1e42ad33f0c6f8dc201300d8d108169.zip external_mesa3d-9cf06e27e1e42ad33f0c6f8dc201300d8d108169.tar.gz external_mesa3d-9cf06e27e1e42ad33f0c6f8dc201300d8d108169.tar.bz2 |
i965/cfg: Add functions to combine basic blocks.
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_cfg.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_cfg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_cfg.h b/src/mesa/drivers/dri/i965/brw_cfg.h index ecbb996..ca6a2ac 100644 --- a/src/mesa/drivers/dri/i965/brw_cfg.h +++ b/src/mesa/drivers/dri/i965/brw_cfg.h @@ -60,6 +60,8 @@ struct bblock_t { void add_successor(void *mem_ctx, bblock_t *successor); bool is_predecessor_of(const bblock_t *block) const; bool is_successor_of(const bblock_t *block) const; + bool can_combine_with(const bblock_t *that) const; + void combine_with(bblock_t *that); void dump(backend_visitor *v); #endif |