nir: add a function usage tracker
authorDave Airlie <airlied@redhat.com>
Mon, 26 Oct 2020 21:28:04 +0000 (07:28 +1000)
committerMarge Bot <emma+marge@anholt.net>
Tue, 12 Sep 2023 01:57:50 +0000 (01:57 +0000)
commit18ca6c37f0f8eb117013f0c845735b803ac27a4d
tree767022388ff0659a6eb003338f57fcb130d89771
parentf5bf4657fbc3943cf132a949766ac5c01a386278
nir: add a function usage tracker

allows dropping old fns

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24687>
src/compiler/nir/nir.h
src/compiler/nir/nir_functions.c