feldspar-compiler-0.6.0.2: Compiler for the Feldspar language

Safe HaskellNone

Feldspar.Compiler.Imperative.Representation

Contents

Synopsis

Documentation

class Annotation t s Source

Associated Types

type Label t s Source

Instances

Annotation () s 
Annotation UnrollSemInf ComplexConst 
Annotation UnrollSemInf ArrayConst 
Annotation UnrollSemInf BoolConst 
Annotation UnrollSemInf FloatConst 
Annotation UnrollSemInf IntConst 
Annotation UnrollSemInf StructField 
Annotation UnrollSemInf ArrayElem 
Annotation UnrollSemInf SizeOf 
Annotation UnrollSemInf Cast 
Annotation UnrollSemInf FunctionCall 
Annotation UnrollSemInf ParLoop 
Annotation UnrollSemInf SeqLoop 
Annotation UnrollSemInf Branch 
Annotation UnrollSemInf Sequence 
Annotation UnrollSemInf Run 
Annotation UnrollSemInf Spawn 
Annotation UnrollSemInf ProcedureCall 
Annotation UnrollSemInf Assign 
Annotation UnrollSemInf Comment 
Annotation UnrollSemInf Empty 
Annotation UnrollSemInf ProcDecl 
Annotation UnrollSemInf ProcDef 
Annotation UnrollSemInf Struct 
Annotation UnrollSemInf Variable 
Annotation UnrollSemInf Constant 
Annotation UnrollSemInf Expression 
Annotation UnrollSemInf Declaration 
Annotation UnrollSemInf ActualParameter 
Annotation UnrollSemInf Program 
Annotation UnrollSemInf Block 
Annotation UnrollSemInf StructMember 
Annotation UnrollSemInf Entity 
Annotation UnrollSemInf Module 
Annotation DebugToCSemanticInfo ComplexConst 
Annotation DebugToCSemanticInfo ArrayConst 
Annotation DebugToCSemanticInfo BoolConst 
Annotation DebugToCSemanticInfo FloatConst 
Annotation DebugToCSemanticInfo IntConst 
Annotation DebugToCSemanticInfo StructField 
Annotation DebugToCSemanticInfo ArrayElem 
Annotation DebugToCSemanticInfo SizeOf 
Annotation DebugToCSemanticInfo Cast 
Annotation DebugToCSemanticInfo FunctionCall 
Annotation DebugToCSemanticInfo ParLoop 
Annotation DebugToCSemanticInfo SeqLoop 
Annotation DebugToCSemanticInfo Branch 
Annotation DebugToCSemanticInfo Sequence 
Annotation DebugToCSemanticInfo Run 
Annotation DebugToCSemanticInfo Spawn 
Annotation DebugToCSemanticInfo ProcedureCall 
Annotation DebugToCSemanticInfo Assign 
Annotation DebugToCSemanticInfo Comment 
Annotation DebugToCSemanticInfo Empty 
Annotation DebugToCSemanticInfo ProcDecl 
Annotation DebugToCSemanticInfo ProcDef 
Annotation DebugToCSemanticInfo Struct 
Annotation DebugToCSemanticInfo Variable 
Annotation DebugToCSemanticInfo Constant 
Annotation DebugToCSemanticInfo Expression 
Annotation DebugToCSemanticInfo Declaration 
Annotation DebugToCSemanticInfo ActualParameter 
Annotation DebugToCSemanticInfo Program 
Annotation DebugToCSemanticInfo Block 
Annotation DebugToCSemanticInfo StructMember 
Annotation DebugToCSemanticInfo Entity 
Annotation DebugToCSemanticInfo Module 

data Program t Source

data Expression t Source

data Length Source

Constructors

LiteralLen Int 
UndefinedLen 

Instances

data Size Source

Constructors

S8 
S16 
S32 
S40 
S64 

Instances

class HasType a whereSource

Associated Types

type TypeOf a Source

Methods

typeof :: a -> TypeOf aSource

reprError :: forall a. ErrorClass -> String -> aSource

class (Show (Label t Module), Show (Label t Entity), Show (Label t Struct), Show (Label t ProcDef), Show (Label t ProcDecl), Show (Label t StructMember), Show (Label t Block), Show (Label t Program), Show (Label t Empty), Show (Label t Comment), Show (Label t Assign), Show (Label t ProcedureCall), Show (Label t Spawn), Show (Label t Run), Show (Label t Sequence), Show (Label t Branch), Show (Label t SeqLoop), Show (Label t ParLoop), Show (Label t ActualParameter), Show (Label t Declaration), Show (Label t Expression), Show (Label t FunctionCall), Show (Label t Cast), Show (Label t SizeOf), Show (Label t ArrayElem), Show (Label t StructField), Show (Label t Constant), Show (Label t IntConst), Show (Label t FloatConst), Show (Label t BoolConst), Show (Label t ArrayConst), Show (Label t ComplexConst), Show (Label t Variable)) => ShowLabel t Source

class (Eq (Label t Module), Eq (Label t Entity), Eq (Label t Struct), Eq (Label t ProcDef), Eq (Label t ProcDecl), Eq (Label t StructMember), Eq (Label t Block), Eq (Label t Program), Eq (Label t Empty), Eq (Label t Comment), Eq (Label t Assign), Eq (Label t ProcedureCall), Eq (Label t Spawn), Eq (Label t Run), Eq (Label t Sequence), Eq (Label t Branch), Eq (Label t SeqLoop), Eq (Label t ParLoop), Eq (Label t ActualParameter), Eq (Label t Declaration), Eq (Label t Expression), Eq (Label t FunctionCall), Eq (Label t Cast), Eq (Label t SizeOf), Eq (Label t StructField), Eq (Label t ArrayElem), Eq (Label t Constant), Eq (Label t IntConst), Eq (Label t FloatConst), Eq (Label t BoolConst), Eq (Label t ArrayConst), Eq (Label t ComplexConst), Eq (Label t Variable)) => EqLabel t Source

Set and get labels