diff options
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 7be62ba97ae..39b4c2aaf3e 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -1910,6 +1910,7 @@ typedef struct { /** True when ::break_block is in the else-path of ::nif. */ bool continue_from_then; + bool induction_rhs; struct list_head loop_terminator_link; } nir_loop_terminator; @@ -1918,6 +1919,9 @@ typedef struct { /* Estimated cost (in number of instructions) of the loop */ unsigned instr_cost; + /* Guessed trip count based on array indexing */ + unsigned guessed_trip_count; + /* Maximum number of times the loop is run (if known) */ unsigned max_trip_count; |