agx/lower_address: Add helper to match multiplies
Currently, we hardcode logic in the addressing chasing code to look for ishl instructions that shift by constants. We can generalize this to looking for integer multiplies by constants to optimize more addressing patterns. Add a helper to do so.
Signed-off-by: Alyssa Rosenzweig alyssa@rosenzweig.io