futhark-0.9.1: An optimising compiler for a functional, array-oriented language.

Safe HaskellNone
LanguageHaskell2010

Futhark.Optimise.MemoryBlockMerging.VariableAliases

Description

Find all variable aliases. Avoids having to use the Aliases representation in other modules.

FIXME: This module is silly. It should be able to go away, with the other modules getting variable aliases by using the Aliases representation directly.

Synopsis

Documentation

findVarAliases :: FunDef ExplicitMemory -> VarAliases Source #

Find all variable aliases in a function definition.