| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Futhark.Analysis.PrimExp.Simplify
Description
Defines simplification functions for PrimExps.
Synopsis
- simplifyPrimExp :: SimplifiableLore lore => PrimExp VName -> SimpleM lore (PrimExp VName)
- simplifyExtPrimExp :: SimplifiableLore lore => PrimExp (Ext VName) -> SimpleM lore (PrimExp (Ext VName))
Documentation
simplifyPrimExp :: SimplifiableLore lore => PrimExp VName -> SimpleM lore (PrimExp VName) Source #
simplifyExtPrimExp :: SimplifiableLore lore => PrimExp (Ext VName) -> SimpleM lore (PrimExp (Ext VName)) Source #
Like simplifyPrimExp, but where leaves may be Exts.