futhark-0.25.22: An optimising compiler for a functional, array-oriented language.
Safe HaskellSafe-Inferred
LanguageGHC2021

Futhark.Analysis.AlgSimplify

Documentation

data Prod Source #

Constructors

Prod 

Fields

Instances

Instances details
Show Prod Source # 
Instance details

Defined in Futhark.Analysis.AlgSimplify

Methods

showsPrec :: Int -> Prod -> ShowS #

show :: Prod -> String #

showList :: [Prod] -> ShowS #

Eq Prod Source # 
Instance details

Defined in Futhark.Analysis.AlgSimplify

Methods

(==) :: Prod -> Prod -> Bool #

(/=) :: Prod -> Prod -> Bool #

Ord Prod Source # 
Instance details

Defined in Futhark.Analysis.AlgSimplify

Methods

compare :: Prod -> Prod -> Ordering #

(<) :: Prod -> Prod -> Bool #

(<=) :: Prod -> Prod -> Bool #

(>) :: Prod -> Prod -> Bool #

(>=) :: Prod -> Prod -> Bool #

max :: Prod -> Prod -> Prod #

min :: Prod -> Prod -> Prod #

type SofP = [Prod] Source #

simplify :: Exp -> Exp Source #

simplify' :: TExp -> TExp Source #

sumToExp :: SofP -> Exp Source #

isMultipleOf :: Prod -> [Exp] -> Bool Source #