package dataflow
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
trait
ControlFlow
extends AnyRef
Control flow interface.
-
trait
ControlFlowImpl
extends ControlFlow
Control flow implementation.
- trait Dataflow extends LivenessImpl with VariablesImpl with ControlFlowImpl
- trait DataflowFor extends Dataflow
-
class
DataflowForTests
extends DataflowFor with Tests
Tests of extended data flow attribution.
-
class
DataflowTests
extends Driver with Dataflow with TestCompiler[Stm]
Tests of data flow attribution.
-
class
Driver
extends SyntaxAnalyser with Compiler[Stm]
Parse a simple imperative language program, calculate its dataflow relations and use them to remove dead assignments.
- case class For (init: Stm, c: Stm, inc: Stm, body: Stm) extends Stm with Product with Serializable
- case class Foreach (cond: Var, body: Stm) extends Stm with Product with Serializable
-
trait
Liveness
extends AnyRef
Variable liveness interface.
-
trait
LivenessImpl
extends Liveness
Variable liveness implementation.
-
class
SyntaxAnalyser
extends PositionedParserUtilities
Syntax analyser for simple imperative dataflow language.
-
trait
Variables
extends AnyRef
Variable use and definition interface.
-
trait
VariablesImpl
extends Variables
Variable use and definition implementation.
Value Members
-
object
DataflowTree
Imperative language AST for dataflow example.
-
object
Main
extends Driver
Dataflow language implementation main program.
-
object
Optimiser
extends Dataflow
Optimise a dataflow program.
Optimise a dataflow program. Currently: a) eliminate assignments to variables that are not live out of the assignment and b) remove empty statements from sequences.