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

Safe HaskellNone
LanguageHaskell2010

Futhark.Analysis.Usage

Documentation

usageInStm :: (Attributes lore, Aliased lore, UsageInOp (Op lore)) => Stm lore -> UsageTable Source #

usageInExp :: (Aliased lore, UsageInOp (Op lore)) => Exp lore -> UsageTable Source #

class UsageInOp op where Source #

Methods

usageInOp :: op -> UsageTable Source #

Instances
UsageInOp () Source # 
Instance details

Defined in Futhark.Analysis.Usage

Methods

usageInOp :: () -> UsageTable Source #

Aliased lore => UsageInOp (SOAC lore) Source # 
Instance details

Defined in Futhark.Representation.SOACS.SOAC

Methods

usageInOp :: SOAC lore -> UsageTable Source #

Aliased lore => UsageInOp (KernelExp lore) Source # 
Instance details

Defined in Futhark.Representation.Kernels.KernelExp

Aliased lore => UsageInOp (Kernel lore) Source # 
Instance details

Defined in Futhark.Representation.Kernels.Kernel

Methods

usageInOp :: Kernel lore -> UsageTable Source #

UsageInOp inner => UsageInOp (MemOp inner) Source # 
Instance details

Defined in Futhark.Representation.ExplicitMemory

Methods

usageInOp :: MemOp inner -> UsageTable Source #