nir: Add helper functions to get the instruction that generated a nir_src
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 6 Jun 2018 02:19:39 +0000 (19:19 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 9 Oct 2018 20:56:42 +0000 (13:56 -0700)
commit10f4a8871ec694b9d2835d670dfc1436736c23d2
treed992d58d3377ffdc8e4fdede2a49ab6b98680714
parent797e34f65879039aecc0a677c44af0a1185edfd7
nir: Add helper functions to get the instruction that generated a nir_src

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
src/compiler/nir/nir.h