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

Safe HaskellNone
LanguageHaskell2010

Futhark.Optimise.MemoryBlockMerging.VariableMemory

Description

Find all variable-to-memory mappings, so that other modules can lookup the relation. Maps array names to memory blocks.

Synopsis

Documentation

findVarMemMappings :: FunDef ExplicitMemory -> VarMemMappings MemorySrc Source #

Find all variable-memory block mappings in a function definition.