futhark-0.21.5: An optimising compiler for a functional, array-oriented language.
Safe HaskellNone
LanguageHaskell2010

Futhark.Analysis.LastUse

Description

Provides last-use analysis for Futhark programs.

Synopsis

Documentation

type LastUseMap = Map VName Names Source #

LastUseMap tells which names were last used in a given statement. Statements are uniquely identified by the VName of the first value parameter in the statement pattern. Names is the set of names last used.