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

Futhark.IR.Seq

Description

A sequential representation.

Synopsis

Documentation

data Seq Source #

The phantom type for the Seq representation.

Instances

Instances details
BuilderOps Seq Source # 
Instance details

Defined in Futhark.IR.Seq

Methods

mkExpDecB :: (MonadBuilder m, Rep m ~ Seq) => Pat (LetDec Seq) -> Exp Seq -> m (ExpDec Seq) Source #

mkBodyB :: (MonadBuilder m, Rep m ~ Seq) => Stms Seq -> Result -> m (Body Seq) Source #

mkLetNamesB :: (MonadBuilder m, Rep m ~ Seq) => [VName] -> Exp Seq -> m (Stm Seq) Source #

Buildable Seq Source # 
Instance details

Defined in Futhark.IR.Seq

PrettyRep Seq Source # 
Instance details

Defined in Futhark.IR.Seq

Methods

ppExpDec :: ExpDec Seq -> Exp Seq -> Maybe (Doc a) Source #

ASTRep Seq Source # 
Instance details

Defined in Futhark.IR.Seq

RepTypes Seq Source # 
Instance details

Defined in Futhark.IR.Seq

TraverseOpStms Seq Source # 
Instance details

Defined in Futhark.IR.Seq

Checkable Seq Source # 
Instance details

Defined in Futhark.IR.Seq

BuilderOps (Wise Seq) Source # 
Instance details

Defined in Futhark.IR.Seq

TraverseOpStms (Wise Seq) Source # 
Instance details

Defined in Futhark.IR.Seq

type BodyDec Seq Source # 
Instance details

Defined in Futhark.IR.Seq

type BodyDec Seq = ()
type BranchType Seq Source # 
Instance details

Defined in Futhark.IR.Seq

type ExpDec Seq Source # 
Instance details

Defined in Futhark.IR.Seq

type ExpDec Seq = ()
type FParamInfo Seq Source # 
Instance details

Defined in Futhark.IR.Seq

type LParamInfo Seq Source # 
Instance details

Defined in Futhark.IR.Seq

type LetDec Seq Source # 
Instance details

Defined in Futhark.IR.Seq

type LetDec Seq = Type
type OpC Seq Source # 
Instance details

Defined in Futhark.IR.Seq

type OpC Seq = NoOp :: Type -> Type
type RetType Seq Source # 
Instance details

Defined in Futhark.IR.Seq

Simplification

simplifyProg :: Prog Seq -> PassM (Prog Seq) Source #

Simplify a sequential program.

Module re-exports