collect (and cache) reachable instructions for local declarations after processing all parent instructions