nir: add get_induction_and_limit_vars() helper to loop analysis
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 6 Dec 2018 02:29:05 +0000 (13:29 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 12 Mar 2019 00:52:30 +0000 (00:52 +0000)
commit11e8f8a166dad78985659214755f18f97da64545
treebe1c6c0adf896a613ce5450aeb60bc1c839389bd
parentf219f6114ddbd43c239f22151b698bd1b5b7f86e
nir: add get_induction_and_limit_vars() helper to loop analysis

This helps make find_trip_count() a little easier to follow but
will also be used by a following patch.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/nir/nir_loop_analyze.c