t

scalan

Library

trait Library extends Scalan with WrappersModule with WrappersSpecModule with CollsModule with SizesModule with CostsModule with ConcreteSizesModule with ConcreteCostsModule with MonoidsModule with MonoidInstancesModule with CostedOptionsModule

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Library
  2. CostedOptionsModule
  3. CostedOptionsDefs
  4. CostedOptions
  5. MonoidInstancesModule
  6. MonoidInstancesDefs
  7. MonoidInstances
  8. MonoidsModule
  9. MonoidsDefs
  10. Monoids
  11. ConcreteCostsModule
  12. ConcreteCostsDefs
  13. ConcreteCosts
  14. ConcreteSizesModule
  15. ConcreteSizesDefs
  16. ConcreteSizes
  17. CostsModule
  18. CostsDefs
  19. Costs
  20. SizesModule
  21. SizesDefs
  22. Sizes
  23. CollsModule
  24. CollsDefs
  25. Colls
  26. WrappersSpecModule
  27. WrappersSpecDefs
  28. WrappersSpec
  29. WrappersModule
  30. WRTypesModule
  31. WRTypesDefs
  32. WRTypes
  33. WOptionsModule
  34. WOptionsDefs
  35. WOptions
  36. WSpecialPredefsModule
  37. WSpecialPredefsDefs
  38. WSpecialPredefs
  39. Scalan
  40. DefRewriting
  41. Modules
  42. Entities
  43. Thunks
  44. IfThenElse
  45. Functions
  46. ProgramGraphs
  47. AstGraphs
  48. Transforming
  49. UniversalOps
  50. Equal
  51. OrderingOps
  52. LogicalOps
  53. UnBinOps
  54. NumericOps
  55. Tuples
  56. MethodCalls
  57. GraphVizExport
  58. TypeDescs
  59. Base
  60. AnyRef
  61. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class BaseDef[+T] extends Scalan.Node with Scalan.Def[T]

    Base class for most predefined operations.

    Base class for most predefined operations.

    Definition Classes
    Base
  2. abstract class CompanionDef[T] extends Scalan.Node with Scalan.Def[T]

    Base class for virtualized instances of type companions.

    Base class for virtualized instances of type companions. Each virtualized entity type (trait or class) may have virtualized companion class.

    Definition Classes
    Base
  3. case class Const[T](x: T)(implicit eT: Scalan.Elem[T]) extends Scalan.BaseDef[T] with Product with Serializable

    Default node type for embedding of literal values to graph IR.

    Default node type for embedding of literal values to graph IR. This can be used or those types T when Elem[T] is defined, but Liftable[_,T] is not, i.e. for non-liftable types.

    x

    literal value

    eT

    type descriptor of IR type T

    Definition Classes
    Base
  4. trait Def[+T] extends Scalan.Node

    Base type for all graph nodes (aka computable value definitions).

    Base type for all graph nodes (aka computable value definitions). Each graph node or definition represent one operation node of the data flow graph.

    Definition Classes
    Base
  5. class EntityObject extends AnyRef

    Base class for all objects generated for virtualized types to support staged evaluation machinery.

    Base class for all objects generated for virtualized types to support staged evaluation machinery. Each object contains definitions which can be imported when necessary. All that objects are registered in entityObjects hash map, which is done while IR cake is constructed.

    Definition Classes
    Base
  6. case class EntityObjectOwner(obj: Scalan.EntityObject) extends Scalan.OwnerKind with Product with Serializable
    Definition Classes
    Base
  7. abstract class Node extends Product

    Base class for all IR nodes/operations/definitions.

    Base class for all IR nodes/operations/definitions.

    Definition Classes
    Base
  8. class NotImplementedStagingException extends Scalan.StagingException
    Definition Classes
    Base
  9. sealed abstract class OwnerKind extends AnyRef

    Variants of owner parameter of constructors of nested classes: 1) predefined node classes are owned by IR cake (ScalanOwner) 2) entity classes are owned by enclosing EntityObject

    Variants of owner parameter of constructors of nested classes: 1) predefined node classes are owned by IR cake (ScalanOwner) 2) entity classes are owned by enclosing EntityObject

    Definition Classes
    Base
  10. case class Placeholder[T](eT: Scalan.LElem[T]) extends Scalan.Node with Scalan.Def[T] with Product with Serializable

    Symbols may temporary refer to this node until their target node is updated.

    Symbols may temporary refer to this node until their target node is updated.

    Definition Classes
    Base
  11. abstract class Ref[+T] extends AnyRef

    Abstract representation of a computable value.

    Abstract representation of a computable value. Default implementation is a simple lightweight reference to the corresponding definition. Every Ref have direct access to its Def via node property. Every Ref is typed, and the type is avaliable via elem property.

    Definition Classes
    Base
    See also

    SingleRep

  12. final class SingleRef[+T] extends Scalan.Ref[T]

    A Ref is a symbolic reference used internally to refer to graph nodes.

    A Ref is a symbolic reference used internally to refer to graph nodes. Light weight stateless immutable reference to a graph node (Def[T]). Two symbols are equal if they refer to the nodes with the same id, which is due to Def unification means equal symbols refer to the same instance of Def.

    Definition Classes
    Base
  13. class StagingException extends RuntimeException
    Definition Classes
    Base
  14. abstract class Transformer extends AnyRef

    Base class for Ref to Ref transformations.

    Base class for Ref to Ref transformations. Each transformer keeps a mapping data between references to original nodes and references to the corresponding transformed nodes.

    Definition Classes
    Base
  15. case class Variable[T](varId: Int)(implicit eT: Scalan.LElem[T]) extends Scalan.Node with Scalan.Def[T] with Product with Serializable

    Node class for typed variables.

    Node class for typed variables. In particular for lambda-bound variables.

    varId

    is independent from nodeId, shouldn't be used as node id.

    eT

    type descriptor of the variable type

    Definition Classes
    Base
  16. abstract class CompanionElem[T] extends Scalan.Elem[T]

    Base class for all descriptors of staged companions

    Base class for all descriptors of staged companions

    Definition Classes
    Entities
  17. trait ConcreteElem[TData, TClass] extends Scalan.EntityElem[TClass]

    Base class for all descriptors of staged classes.

    Base class for all descriptors of staged classes.

    Definition Classes
    Entities
  18. trait ConcreteElem1[A, TData, TClass, C[_]] extends Scalan.EntityElem1[A, TClass, C]

    Base class for all descriptors of staged classes with one type parameter.

    Base class for all descriptors of staged classes with one type parameter. Note, it doesn't inherit from ConcreteElem

    Definition Classes
    Entities
  19. abstract class EntityElem[A] extends Scalan.Elem[A] with Equals

    Base class for all descriptors of staged traits.

    Base class for all descriptors of staged traits. See derived classes in impl packages.

    Definition Classes
    Entities
  20. abstract class EntityElem1[A, To, C[_]] extends Scalan.EntityElem[To]

    Base class for all descriptors of staged traits with one type parameter.

    Base class for all descriptors of staged traits with one type parameter.

    Definition Classes
    Entities
  21. type DataEnv = Map[Sym, AnyRef]

    Immutable data environment used to assign data values to graph nodes.

    Immutable data environment used to assign data values to graph nodes.

    Definition Classes
    TypeDescs
  22. type EndoBinOp[A] = BinOp[A, A]
    Definition Classes
    UnBinOps
  23. type EndoUnOp[A] = UnOp[A, A]
    Definition Classes
    UnBinOps
  24. type LElem[A] = Lazy[Elem[A]]

    Type descriptor which is computed lazily on demand.

    Type descriptor which is computed lazily on demand.

    Definition Classes
    TypeDescs
  25. type LambdaData[A, B] = (Lambda[A, B], Nullable[(Ref[A]) ⇒ Ref[B]], Ref[A], Ref[B])
    Definition Classes
    Functions
  26. type LazyRep[T] = MutableLazy[Ref[T]]
  27. type PGraph = ProgramGraph
    Definition Classes
    ProgramGraphs
  28. type RCosted[A] = Ref[Costed[A]]
  29. type RFunc[-A, +B] = Ref[(A) ⇒ B]
    Definition Classes
    Base
  30. type RPair[+A, +B] = Ref[(A, B)]
    Definition Classes
    Base
  31. type RSize[Val] = Ref[Size[Val]]
  32. type SThunk[T] = () ⇒ T
    Definition Classes
    Thunks
  33. type Schedule = Seq[Sym]

    Type synonim for graph schedules.

    Type synonim for graph schedules.

    Definition Classes
    AstGraphs
  34. type ScheduleIds = Buffer[Int]

    Alternative representation of schedules using node ids.

    Alternative representation of schedules using node ids.

    Definition Classes
    AstGraphs
  35. type Subst = HashMap[Sym, Sym]
    Definition Classes
    Functions
  36. type Sym = Ref[_]

    Untyped shortcut sinonim of Ref, which is used as untyped reference to graph nodes (definitions).

    Untyped shortcut sinonim of Ref, which is used as untyped reference to graph nodes (definitions). Following a tradition in compiler engineering we call references to definitions as symbols.

    Definition Classes
    Base
  37. type Th[+T] = Ref[Thunk[T]]
    Definition Classes
    Thunks
  38. type |[+A, +B] = Either[A, B]
    Definition Classes
    Base
  39. case class InvokeFailure(exception: Throwable) extends Scalan.InvokeResult with Product with Serializable

    Exception thrown during MethodCall invocation.

    Exception thrown during MethodCall invocation.

    Definition Classes
    MethodCalls
  40. sealed abstract class InvokeResult extends AnyRef

    Result of MethodCall invocation.

    Result of MethodCall invocation.

    Definition Classes
    MethodCalls
    See also

    tryInvoke

  41. case class InvokeSuccess(result: Scalan.Ref[_]) extends Scalan.InvokeResult with Product with Serializable

    Successful MethodCall invocation with the given result.

    Successful MethodCall invocation with the given result.

    Definition Classes
    MethodCalls
  42. case class MethodCall extends Scalan.Node with Scalan.Def[Any] with Product with Serializable

    Graph node to represent invocation of the method of some class.

    Graph node to represent invocation of the method of some class.

    Definition Classes
    MethodCalls
  43. case class NewObject[A](eA: Scalan.Elem[A], args: Seq[Any]) extends Scalan.BaseDef[A] with Product with Serializable

    Represents invocation of constructor of the class described by eA.

    Represents invocation of constructor of the class described by eA.

    eA

    class descriptor for new instance

    args

    arguments of class constructor

    Definition Classes
    MethodCalls
  44. abstract class BaseElem[A] extends Scalan.Elem[A] with Serializable with Equals
    Definition Classes
    TypeDescs
  45. class BaseElemLiftable[A] extends Scalan.BaseElem[A]

    Type descriptor for primitive types.

    Type descriptor for primitive types. There is implicit val declaration for each primitive type.

    Definition Classes
    TypeDescs
  46. abstract class Cont[F[_]] extends Scalan.TypeDesc

    Descriptor of type constructor of * -> * kind.

    Descriptor of type constructor of * -> * kind. Type constructor is not a type, but rather a function from type to type. It contains methods which abstract relationship between types T, F[T] etc.

    Definition Classes
    TypeDescs
    Annotations
    @implicitNotFound( "No Cont available for ${F}." )
  47. abstract class Elem[A] extends Scalan.TypeDesc

    Type descriptor of staged types, which correspond to source (unstaged) RTypes defined outside of IR cake.

    Type descriptor of staged types, which correspond to source (unstaged) RTypes defined outside of IR cake.

    A

    the type represented by this descriptor

    Definition Classes
    TypeDescs
    Annotations
    @implicitNotFound( "No Elem available for ${A}." )
  48. class ElemCacheEntry extends AnyRef

    Elements cache information for each Elem class.

    Elements cache information for each Elem class.

    Definition Classes
    TypeDescs
  49. case class EnvRep[A](run: (Scalan.DataEnv) ⇒ (Scalan.DataEnv, Scalan.Ref[A])) extends Product with Serializable

    State monad for symbols computed in a data environment.

    State monad for symbols computed in a data environment. DataEnv is used as the state of the state monad.

    Definition Classes
    TypeDescs
  50. case class FuncElem[A, B](eDom: Scalan.Elem[A], eRange: Scalan.Elem[B]) extends Scalan.Elem[(A) ⇒ B] with Product with Serializable

    Type descriptor for A => B type where descriptors for A and B are given as arguments.

    Type descriptor for A => B type where descriptors for A and B are given as arguments.

    Definition Classes
    TypeDescs
  51. trait Functor[F[_]] extends Scalan.Cont[F]
    Definition Classes
    TypeDescs
  52. sealed abstract class MethodDesc extends AnyRef
    Definition Classes
    TypeDescs
  53. case class PairElem[A, B](eFst: Scalan.Elem[A], eSnd: Scalan.Elem[B]) extends Scalan.Elem[(A, B)] with Product with Serializable

    Type descriptor for (A, B) type where descriptors for A and B are given as arguments.

    Type descriptor for (A, B) type where descriptors for A and B are given as arguments.

    Definition Classes
    TypeDescs
  54. case class RMethodDesc(method: Method) extends Scalan.MethodDesc with Product with Serializable
    Definition Classes
    TypeDescs
  55. case class SumElem[A, B](eLeft: Scalan.Elem[A], eRight: Scalan.Elem[B]) extends Scalan.Elem[Scalan.|[A, B]] with Product with Serializable

    Type descriptor for A | B type where descriptors for A and B are given as arguments.

    Type descriptor for A | B type where descriptors for A and B are given as arguments.

    Definition Classes
    TypeDescs
  56. abstract class TypeDesc extends Serializable
    Definition Classes
    TypeDescs
  57. case class WMethodDesc(wrapSpec: WrapSpec, method: Method) extends Scalan.MethodDesc with Product with Serializable
    Definition Classes
    TypeDescs
  58. case class GraphFile(file: File, fileType: String) extends Product with Serializable
    Definition Classes
    GraphVizExport
  59. implicit class SeqExpExtensionsForEmitGraph extends AnyRef
    Definition Classes
    GraphVizExport
  60. implicit class EqualOps[A] extends AnyRef

    Extension methods to construct ApplyBinOp nodes

    Extension methods to construct ApplyBinOp nodes

    Definition Classes
    Equal
  61. case class Equals[A]()(implicit evidence$1: Scalan.Elem[A]) extends Scalan.BinOp[A, Boolean] with Product with Serializable

    Binary operation representing structural equality between arguments.

    Binary operation representing structural equality between arguments.

    Definition Classes
    Equal
  62. case class NotEquals[A]()(implicit evidence$2: Scalan.Elem[A]) extends Scalan.BinOp[A, Boolean] with Product with Serializable

    Binary operation representing structural inequality between arguments.

    Binary operation representing structural inequality between arguments.

    Definition Classes
    Equal
  63. case class Apply[A, B](f: Scalan.Ref[(A) ⇒ B], arg: Scalan.Ref[A], mayInline: Boolean = true) extends Scalan.Node with Scalan.Def[B] with Product with Serializable
    Definition Classes
    Functions
  64. implicit class FuncExtensions[A, B] extends AnyRef
    Definition Classes
    Functions
  65. class Lambda[A, B] extends Scalan.AstGraph with Scalan.Def[(A) ⇒ B]

    Represent lambda expression as IR node.

    Represent lambda expression as IR node.

    Definition Classes
    Functions
  66. implicit class LambdaOps[A, B] extends AnyRef
    Definition Classes
    Functions
  67. class LambdaStack extends AnyRef
    Definition Classes
    Functions
  68. class ElseIfBranch[T] extends AnyRef

    Defines syntax available after IF (cond) THEN thenp ELSEIF (cond1)

    Defines syntax available after IF (cond) THEN thenp ELSEIF (cond1)

    Definition Classes
    IfThenElse
  69. class IfBranch extends AnyRef

    Defines syntax available after IF (cond)

    Defines syntax available after IF (cond)

    Definition Classes
    IfThenElse
  70. case class IfThenElseLazy[T](cond: Scalan.Ref[Boolean], thenp: Scalan.Ref[Scalan.Thunk[T]], elsep: Scalan.Ref[Scalan.Thunk[T]]) extends Scalan.Node with Scalan.Def[T] with Product with Serializable

    IR node to represent IF condition with lazy branches.

    IR node to represent IF condition with lazy branches.

    Definition Classes
    IfThenElse
  71. class ThenIfBranch[T] extends AnyRef

    Defines syntax available after IF (cond) THEN thenp

    Defines syntax available after IF (cond) THEN thenp

    Definition Classes
    IfThenElse
  72. implicit class RepBooleanOps extends AnyRef
    Definition Classes
    LogicalOps
  73. case class Abs[T](n: ExactNumeric[T])(implicit evidence$8: Scalan.Elem[T]) extends Scalan.UnOp[T, T] with Product with Serializable
    Definition Classes
    NumericOps
  74. class DivOp[T] extends Scalan.EndoBinOp[T]
    Definition Classes
    NumericOps
  75. case class IntegralDivide[T](i: ExactIntegral[T])(implicit elem: Scalan.Elem[T]) extends Scalan.DivOp[T] with Product with Serializable
    Definition Classes
    NumericOps
  76. case class IntegralMod[T](i: ExactIntegral[T])(implicit elem: Scalan.Elem[T]) extends Scalan.DivOp[T] with Product with Serializable
    Definition Classes
    NumericOps
  77. implicit class IntegralOpsCls[T] extends AnyRef
    Definition Classes
    NumericOps
  78. case class NumericMinus[T](n: ExactNumeric[T])(implicit evidence$4: Scalan.Elem[T]) extends Scalan.EndoBinOp[T] with Product with Serializable
    Definition Classes
    NumericOps
  79. case class NumericNegate[T](n: ExactNumeric[T])(implicit evidence$7: Scalan.Elem[T]) extends Scalan.UnOp[T, T] with Product with Serializable
    Definition Classes
    NumericOps
  80. implicit class NumericOpsCls[T] extends AnyRef
    Definition Classes
    NumericOps
  81. case class NumericPlus[T](n: ExactNumeric[T])(implicit evidence$3: Scalan.Elem[T]) extends Scalan.EndoBinOp[T] with Product with Serializable
    Definition Classes
    NumericOps
  82. case class NumericTimes[T](n: ExactNumeric[T])(implicit evidence$5: Scalan.Elem[T]) extends Scalan.EndoBinOp[T] with Product with Serializable
    Definition Classes
    NumericOps
  83. case class NumericToDouble[T](n: ExactNumeric[T]) extends Scalan.UnOp[T, Double] with Product with Serializable
    Definition Classes
    NumericOps
  84. case class NumericToFloat[T](n: ExactNumeric[T]) extends Scalan.UnOp[T, Float] with Product with Serializable
    Definition Classes
    NumericOps
  85. case class NumericToInt[T](n: ExactNumeric[T]) extends Scalan.UnOp[T, Int] with Product with Serializable
    Definition Classes
    NumericOps
  86. case class NumericToLong[T](n: ExactNumeric[T]) extends Scalan.UnOp[T, Long] with Product with Serializable
    Definition Classes
    NumericOps
  87. case class OrderingCompare[T](ord: ExactOrdering[T]) extends Scalan.BinOp[T, Int] with Product with Serializable
    Definition Classes
    OrderingOps
  88. case class OrderingGT[T](ord: ExactOrdering[T]) extends Scalan.BinOp[T, Boolean] with Product with Serializable
    Definition Classes
    OrderingOps
  89. case class OrderingGTEQ[T](ord: ExactOrdering[T]) extends Scalan.BinOp[T, Boolean] with Product with Serializable
    Definition Classes
    OrderingOps
  90. case class OrderingLT[T](ord: ExactOrdering[T]) extends Scalan.BinOp[T, Boolean] with Product with Serializable
    Definition Classes
    OrderingOps
  91. case class OrderingLTEQ[T](ord: ExactOrdering[T]) extends Scalan.BinOp[T, Boolean] with Product with Serializable
    Definition Classes
    OrderingOps
  92. case class OrderingMax[T](ord: ExactOrdering[T])(implicit evidence$1: Scalan.Elem[T]) extends Scalan.BinOp[T, T] with Product with Serializable
    Definition Classes
    OrderingOps
  93. case class OrderingMin[T](ord: ExactOrdering[T])(implicit evidence$2: Scalan.Elem[T]) extends Scalan.BinOp[T, T] with Product with Serializable
    Definition Classes
    OrderingOps
  94. class OrderingOpsCls[T] extends AnyRef
    Definition Classes
    OrderingOps
  95. case class LiftableThunk[ST, T](lT: Base.Liftables.Liftable[ST, T]) extends Base.Liftables.Liftable[Scalan.SThunk[ST], Scalan.Thunk[T]] with Product with Serializable
    Definition Classes
    Thunks
  96. implicit class RepThunkOps[T] extends AnyRef
    Definition Classes
    Thunks
  97. trait Thunk[+A] extends AnyRef
    Definition Classes
    Thunks
  98. class ThunkCompanion extends AnyRef
    Definition Classes
    Thunks
  99. case class ThunkConst[ST, T](constValue: Scalan.SThunk[ST], lT: Base.Liftables.Liftable[ST, T]) extends Scalan.BaseDef[Scalan.Thunk[T]] with LiftedConst[Scalan.SThunk[ST], Scalan.Thunk[T]] with Product with Serializable
    Definition Classes
    Thunks
  100. class ThunkDef[A] extends Scalan.AstGraph with Scalan.Def[Scalan.Thunk[A]]
    Definition Classes
    Thunks
  101. case class ThunkElem[A](eItem: Scalan.Elem[A]) extends Scalan.EntityElem1[A, Scalan.Thunk[A], Scalan.Thunk] with Product with Serializable
    Definition Classes
    Thunks
  102. case class ThunkForce[A](thunk: Scalan.Ref[Scalan.Thunk[A]]) extends Scalan.Node with Scalan.Def[A] with Product with Serializable
    Definition Classes
    Thunks
  103. class ThunkScope extends AnyRef
    Definition Classes
    Thunks
  104. class ThunkStack extends AnyRef
    Definition Classes
    Thunks
  105. case class First[A, B](pair: Scalan.Ref[(A, B)]) extends Scalan.Node with Scalan.Def[A] with Product with Serializable
    Definition Classes
    Tuples
  106. implicit class ListOps[A, B] extends AnyRef
    Definition Classes
    Tuples
  107. case class Second[A, B](pair: Scalan.Ref[(A, B)]) extends Scalan.Node with Scalan.Def[B] with Product with Serializable
    Definition Classes
    Tuples
  108. case class Tup[A, B](a: Scalan.Ref[A], b: Scalan.Ref[B]) extends Scalan.Node with Scalan.Def[(A, B)] with Product with Serializable
    Definition Classes
    Tuples
  109. implicit class TupleOps2[A, B] extends AnyRef
    Definition Classes
    Tuples
  110. implicit class TupleOps3[A, B, C] extends AnyRef
    Definition Classes
    Tuples
  111. implicit class TupleOps4[A, B, C, D] extends AnyRef
    Definition Classes
    Tuples
  112. implicit class TupleOps5[A, B, C, D, E] extends AnyRef
    Definition Classes
    Tuples
  113. case class ApplyBinOp[A, R](op: Scalan.BinOp[A, R], lhs: Scalan.Ref[A], rhs: Scalan.Ref[A]) extends Scalan.BaseDef[R] with Product with Serializable
    Definition Classes
    UnBinOps
  114. case class ApplyBinOpLazy[A, R](op: Scalan.BinOp[A, R], lhs: Scalan.Ref[A], rhs: Scalan.Ref[Scalan.Thunk[A]]) extends Scalan.BaseDef[R] with Product with Serializable
    Definition Classes
    UnBinOps
  115. case class ApplyUnOp[A, R](op: Scalan.UnOp[A, R], arg: Scalan.Ref[A]) extends Scalan.BaseDef[R] with Product with Serializable
    Definition Classes
    UnBinOps
  116. class BinOp[A, R] extends AnyRef
    Definition Classes
    UnBinOps
  117. class UnOp[A, R] extends AnyRef
    Definition Classes
    UnBinOps
  118. case class Convert[From, To](eFrom: Scalan.Elem[From], eTo: Scalan.Elem[To], x: Scalan.Ref[Scalan.Def[_]], conv: Scalan.Ref[(From) ⇒ To]) extends Scalan.BaseDef[To] with Product with Serializable
    Definition Classes
    UniversalOps
  119. case class Downcast[From, To](input: Scalan.Ref[From], eTo: Scalan.Elem[To]) extends Scalan.BaseDef[To] with Product with Serializable
    Definition Classes
    UniversalOps
  120. case class HashCode[A]() extends Scalan.UnOp[A, Int] with Product with Serializable
    Definition Classes
    UniversalOps
  121. case class OpCost(lambdaVar: Scalan.Sym, costedValueId: Int, args: Seq[Scalan.Ref[Int]], opCost: Scalan.Ref[Int]) extends Scalan.BaseDef[Int] with Product with Serializable

    Special graph node to represent accumulation of the operation costs.

    Special graph node to represent accumulation of the operation costs. In general, due to node sharing it is incorrect to just sum up all the args costs and add resCost to that value. Example:
    val x = .. val y = op1(x) val z = op2(x) val res = op3(y, z) The naive summation will lead to the cost of x is accumulated both into cost of y and into cost of z, so in the cost of res it is accumulated twice. To avoid this problem OpCost nodes require special handling in during evaluation.

    lambdaVar

    the variable of the lambda in which scope this node is created. This makes this node belong to the lambda body, even if it doesn't otherwise depend on lambda argument.

    costedValueId

    The id of the node for which this node represents cost

    args

    costs of the arguments, which are here represent dependency information.

    opCost

    operation cost, which should be added to the current scope accumulated cost

    Definition Classes
    UniversalOps
  122. implicit class RepUniversalOps[A] extends AnyRef
    Definition Classes
    UniversalOps
  123. case class SizeOf[T](value: Scalan.Ref[T]) extends Scalan.BaseDef[Long] with Product with Serializable

    Represents calculation of size in bytes of the given value.

    Represents calculation of size in bytes of the given value. The descriptor value.elem can be used to decompose value into components.

    Definition Classes
    UniversalOps
  124. case class ToString[A]() extends Scalan.UnOp[A, String] with Product with Serializable
    Definition Classes
    UniversalOps
  125. case class Upcast[From, To](input: Scalan.Ref[From], eTo: Scalan.Elem[To]) extends Scalan.BaseDef[To] with Product with Serializable
    Definition Classes
    UniversalOps
  126. abstract class AstGraph extends Scalan.Node

    Base class for all compound nodes with schedule (e.g.

    Base class for all compound nodes with schedule (e.g. Lambda, ThunkDef). The graph is directed acyclic (i.e. DAG) in which edges go from boundVars down to roots.

    Definition Classes
    AstGraphs
  127. case class GraphNode(sym: Scalan.Sym, usages: Buffer[Int]) extends Product with Serializable

    GraphNode is created for each symbol of the AstGraph and represents graph linking structure

    GraphNode is created for each symbol of the AstGraph and represents graph linking structure

    Definition Classes
    AstGraphs
  128. class PGraphUsages extends DFunc[Int, Buffer[Int]]

    Deboxed function to obtain usages of a given node.

    Deboxed function to obtain usages of a given node. Represents adjacency matrix of the reversed graph g.

    Definition Classes
    ProgramGraphs
  129. case class ProgramGraph(roots: Seq[Scalan.Sym], mapping: Nullable[Scalan.Transformer], filterNode: Nullable[(Scalan.Sym) ⇒ Boolean]) extends Scalan.AstGraph with Product with Serializable

    Immutable graph collected from roots following Ref.node.deps links.

    Immutable graph collected from roots following Ref.node.deps links.

    Definition Classes
    ProgramGraphs
  130. class DefaultPass extends Scalan.Pass

    Default pass to be used when IR is used without special compiler configuration.

    Default pass to be used when IR is used without special compiler configuration.

    Definition Classes
    Transforming
  131. case class MapTransformer(subst: HashMap[Scalan.Sym, Scalan.Sym]) extends Scalan.Transformer with Product with Serializable

    Concrete and default implementation of Transformer using underlying HashMap.

    Concrete and default implementation of Transformer using underlying HashMap.

    Definition Classes
    Transforming
  132. abstract class Mirror extends AnyRef

    Base class for mirrors of graph nodes.

    Base class for mirrors of graph nodes. Provides default implementations which can be overriden if special logic is required.

    Definition Classes
    Transforming
  133. implicit class PartialRewriter extends Scalan.Rewriter

    Turns partial function into rewriter (i.e.

    Turns partial function into rewriter (i.e. set of rewriting rules)

    Definition Classes
    Transforming
  134. abstract class Pass extends AnyRef

    Descriptor of a current compiler pass.

    Descriptor of a current compiler pass. Compiler can be configured to perform one pass after another. Each pass has name, configuration parameters, finalizaton logic etc.

    Definition Classes
    Transforming
  135. case class PassConfig(shouldUnpackTuples: Boolean = false, shouldExtractFields: Boolean = true, constantPropagation: Boolean = true, shouldSlice: Boolean = false) extends Product with Serializable

    Configuration parameters of the Pass descriptor.

    Configuration parameters of the Pass descriptor.

    Definition Classes
    Transforming
  136. abstract class Rewriter extends AnyRef
    Definition Classes
    Transforming
  137. trait Coll[A] extends scalan.Library.Node with scalan.Library.Def[scalan.Library.Coll[A]]
    Definition Classes
    Colls
    Annotations
    @ContainerType() @FunctorType() @Liftable() @WithMethodCallRecognizers()
  138. trait CollBuilder extends scalan.Library.Node with scalan.Library.Def[scalan.Library.CollBuilder]
    Definition Classes
    Colls
    Annotations
    @Liftable() @WithMethodCallRecognizers()
  139. trait CollBuilderCompanion extends AnyRef
    Definition Classes
    Colls
  140. trait CollCompanion extends AnyRef
    Definition Classes
    Colls
  141. trait PairColl[L, R] extends scalan.Library.Node with scalan.Library.Coll[(L, R)]
    Definition Classes
    Colls
    Annotations
    @WithMethodCallRecognizers()
  142. trait PairCollCompanion extends AnyRef
    Definition Classes
    Colls
  143. trait ReplColl[A] extends scalan.Library.Node with scalan.Library.Coll[A]
    Definition Classes
    Colls
    Annotations
    @Liftable() @WithMethodCallRecognizers()
  144. trait ReplCollCompanion extends AnyRef
    Definition Classes
    Colls
  145. abstract class CCostedBuilder extends scalan.Library.Node with scalan.Library.CostedBuilder
    Definition Classes
    ConcreteCosts
  146. trait CCostedBuilderCompanion extends AnyRef
    Definition Classes
    ConcreteCosts
  147. abstract class CCostedColl[Item] extends scalan.Library.Node with scalan.Library.CostedColl[Item]
    Definition Classes
    ConcreteCosts
  148. trait CCostedCollCompanion extends AnyRef
    Definition Classes
    ConcreteCosts
  149. abstract class CCostedFunc[Env, Arg, Res] extends scalan.Library.Node with scalan.Library.CostedFunc[Env, Arg, Res]
    Definition Classes
    ConcreteCosts
  150. trait CCostedFuncCompanion extends AnyRef
    Definition Classes
    ConcreteCosts
  151. abstract class CCostedPair[L, R] extends scalan.Library.Node with scalan.Library.CostedPair[L, R]
    Definition Classes
    ConcreteCosts
  152. trait CCostedPairCompanion extends AnyRef
    Definition Classes
    ConcreteCosts
  153. abstract class CCostedPrim[Val] extends scalan.Library.Node with scalan.Library.CostedPrim[Val]
    Definition Classes
    ConcreteCosts
  154. trait CCostedPrimCompanion extends AnyRef
    Definition Classes
    ConcreteCosts
  155. abstract class CSizeColl[Item] extends scalan.Library.Node with scalan.Library.SizeColl[Item]
    Definition Classes
    ConcreteSizes
  156. trait CSizeCollCompanion extends AnyRef
    Definition Classes
    ConcreteSizes
  157. abstract class CSizeFunc[Env, Arg, Res] extends scalan.Library.Node with scalan.Library.SizeFunc[Env, Arg, Res]
    Definition Classes
    ConcreteSizes
  158. trait CSizeFuncCompanion extends AnyRef
    Definition Classes
    ConcreteSizes
  159. abstract class CSizeOption[Item] extends scalan.Library.Node with scalan.Library.SizeOption[Item]
    Definition Classes
    ConcreteSizes
  160. trait CSizeOptionCompanion extends AnyRef
    Definition Classes
    ConcreteSizes
  161. abstract class CSizePair[L, R] extends scalan.Library.Node with scalan.Library.SizePair[L, R]
    Definition Classes
    ConcreteSizes
  162. trait CSizePairCompanion extends AnyRef
    Definition Classes
    ConcreteSizes
  163. abstract class CSizePrim[Val] extends scalan.Library.Node with scalan.Library.SizePrim[Val]
    Definition Classes
    ConcreteSizes
  164. trait CSizePrimCompanion extends AnyRef
    Definition Classes
    ConcreteSizes
  165. abstract class CCostedOption[T] extends scalan.Library.Node with scalan.Library.CostedOption[T]
    Definition Classes
    CostedOptions
  166. trait CCostedOptionCompanion extends AnyRef
    Definition Classes
    CostedOptions
  167. trait Costed[Val] extends scalan.Library.Node with scalan.Library.Def[scalan.Library.Costed[Val]]
    Definition Classes
    Costs
    Annotations
    @WithMethodCallRecognizers()
  168. trait CostedBuilder extends scalan.Library.Node with scalan.Library.Def[scalan.Library.CostedBuilder]
    Definition Classes
    Costs
    Annotations
    @WithMethodCallRecognizers()
  169. trait CostedBuilderCompanion extends AnyRef
    Definition Classes
    Costs
  170. trait CostedColl[Item] extends scalan.Library.Node with scalan.Library.Costed[scalan.Library.Coll[Item]]
    Definition Classes
    Costs
    Annotations
    @WithMethodCallRecognizers()
  171. trait CostedCollCompanion extends AnyRef
    Definition Classes
    Costs
  172. trait CostedCompanion extends AnyRef
    Definition Classes
    Costs
  173. trait CostedFunc[Env, Arg, Res] extends scalan.Library.Node with scalan.Library.Costed[(Arg) ⇒ Res]
    Definition Classes
    Costs
  174. trait CostedFuncCompanion extends AnyRef
    Definition Classes
    Costs
  175. trait CostedOption[T] extends scalan.Library.Node with scalan.Library.Costed[scalan.Library.WOption[T]]
    Definition Classes
    Costs
  176. trait CostedOptionCompanion extends AnyRef
    Definition Classes
    Costs
  177. trait CostedPair[L, R] extends scalan.Library.Node with scalan.Library.Costed[(L, R)]
    Definition Classes
    Costs
  178. trait CostedPairCompanion extends AnyRef
    Definition Classes
    Costs
  179. trait CostedPrim[Val] extends scalan.Library.Node with scalan.Library.Costed[Val]
    Definition Classes
    Costs
  180. trait CostedPrimCompanion extends AnyRef
    Definition Classes
    Costs
  181. abstract class IntPlusMonoid extends scalan.Library.Node with scalan.Library.Monoid[Int]
    Definition Classes
    MonoidInstances
  182. trait IntPlusMonoidCompanion extends AnyRef
    Definition Classes
    MonoidInstances
  183. abstract class LongPlusMonoid extends scalan.Library.Node with scalan.Library.Monoid[Long]
    Definition Classes
    MonoidInstances
  184. trait LongPlusMonoidCompanion extends AnyRef
    Definition Classes
    MonoidInstances
  185. abstract class MonoidBuilderInst extends scalan.Library.Node with scalan.Library.MonoidBuilder
    Definition Classes
    MonoidInstances
  186. trait MonoidBuilderInstCompanion extends AnyRef
    Definition Classes
    MonoidInstances
  187. trait Monoid[T] extends scalan.Library.Node with scalan.Library.Def[scalan.Library.Monoid[T]]
    Definition Classes
    Monoids
  188. trait MonoidBuilder extends scalan.Library.Node with scalan.Library.Def[scalan.Library.MonoidBuilder]
    Definition Classes
    Monoids
    Annotations
    @WithMethodCallRecognizers()
  189. trait MonoidBuilderCompanion extends AnyRef
    Definition Classes
    Monoids
  190. trait MonoidCompanion extends AnyRef
    Definition Classes
    Monoids
  191. trait Size[Val] extends scalan.Library.Node with scalan.Library.Def[scalan.Library.Size[Val]]
    Definition Classes
    Sizes
    Annotations
    @Liftable() @WithMethodCallRecognizers()
  192. trait SizeColl[Item] extends scalan.Library.Node with scalan.Library.Size[scalan.Library.Coll[Item]]
    Definition Classes
    Sizes
    Annotations
    @Liftable() @WithMethodCallRecognizers()
  193. trait SizeCollCompanion extends AnyRef
    Definition Classes
    Sizes
  194. trait SizeCompanion extends AnyRef
    Definition Classes
    Sizes
  195. trait SizeFunc[Env, Arg, Res] extends scalan.Library.Node with scalan.Library.Size[(Arg) ⇒ Res]
    Definition Classes
    Sizes
    Annotations
    @Liftable() @WithMethodCallRecognizers()
  196. trait SizeFuncCompanion extends AnyRef
    Definition Classes
    Sizes
  197. trait SizeOption[T] extends scalan.Library.Node with scalan.Library.Size[scalan.Library.WOption[T]]
    Definition Classes
    Sizes
    Annotations
    @Liftable() @WithMethodCallRecognizers()
  198. trait SizeOptionCompanion extends AnyRef
    Definition Classes
    Sizes
  199. trait SizePair[L, R] extends scalan.Library.Node with scalan.Library.Size[(L, R)]
    Definition Classes
    Sizes
    Annotations
    @Liftable() @WithMethodCallRecognizers()
  200. trait SizePairCompanion extends AnyRef
    Definition Classes
    Sizes
  201. trait SizePrim[Val] extends scalan.Library.Node with scalan.Library.Size[Val]
    Definition Classes
    Sizes
    Annotations
    @Liftable()
  202. trait SizePrimCompanion extends AnyRef
    Definition Classes
    Sizes
  203. trait OptionWrapSpec extends scalan.Library.Node with scalan.Library.WrapSpecBase
    Definition Classes
    WrappersSpec
  204. trait OptionWrapSpecCompanion extends AnyRef
    Definition Classes
    WrappersSpec
  205. trait RTypeWrapSpec extends scalan.Library.Node with scalan.Library.WrapSpecBase
    Definition Classes
    WrappersSpec
  206. trait RTypeWrapSpecCompanion extends AnyRef
    Definition Classes
    WrappersSpec
  207. trait SpecialPredefWrapSpec extends scalan.Library.Node with scalan.Library.WrapSpecBase
    Definition Classes
    WrappersSpec
  208. trait SpecialPredefWrapSpecCompanion extends AnyRef
    Definition Classes
    WrappersSpec
  209. trait WrapSpecBase extends scalan.Library.Node with scalan.Library.Def[scalan.Library.WrapSpecBase] with WrapSpec
    Definition Classes
    WrappersSpec
  210. trait WrapSpecBaseCompanion extends AnyRef
    Definition Classes
    WrappersSpec
  211. trait WOption[A] extends special.wrappers.WrappersModule.Node with special.wrappers.WrappersModule.Def[special.wrappers.WrappersModule.WOption[A]]
    Definition Classes
    WOptions
    Annotations
    @External() @ContainerType() @FunctorType() @Liftable() @WithMethodCallRecognizers()
  212. trait WOptionCompanion extends AnyRef
    Definition Classes
    WOptions
  213. trait WRType[A] extends special.wrappers.WrappersModule.Node with special.wrappers.WrappersModule.Def[special.wrappers.WrappersModule.WRType[A]]
    Definition Classes
    WRTypes
    Annotations
    @External() @Liftable() @WithMethodCallRecognizers()
  214. trait WRTypeCompanion extends AnyRef
    Definition Classes
    WRTypes
  215. trait WSpecialPredef extends special.wrappers.WrappersModule.Node with special.wrappers.WrappersModule.Def[special.wrappers.WrappersModule.WSpecialPredef]
    Definition Classes
    WSpecialPredefs
    Annotations
    @External() @WithMethodCallRecognizers()
  216. trait WSpecialPredefCompanion extends AnyRef
    Definition Classes
    WSpecialPredefs

Abstract Value Members

  1. abstract def colBuilder: Ref[CollBuilder]
  2. abstract def costedBuilder: Ref[CostedBuilder]
  3. abstract def intPlusMonoid: Ref[Monoid[Int]]
  4. abstract def longPlusMonoid: Ref[Monoid[Long]]

Concrete Value Members

  1. object &&

    Logical AND between two pattern matches of the save value x.

    Logical AND between two pattern matches of the save value x. Can be used to construct patterns like case P1 && P2 => ...

    Definition Classes
    Base
  2. object Def
    Definition Classes
    Base
  3. object ExpWithElem
    Definition Classes
    Base
  4. object Liftables

    Data type ST is liftable is there is Liftable[ST, T] instance for some type T.

    Data type ST is liftable is there is Liftable[ST, T] instance for some type T. Liftable typeclass allows to define which types can have values embedded as literals into graph IR.

    Definition Classes
    Base
  5. object NoOwner extends Scalan.OwnerKind with Product with Serializable
    Definition Classes
    Base
  6. object ScalanOwner extends Scalan.OwnerKind with Product with Serializable
    Definition Classes
    Base
  7. def !!!(msg: String, e: Throwable, syms: Ref[_]*): Nothing
    Definition Classes
    Base
  8. def !!!(msg: String, syms: Ref[_]*): Nothing
    Definition Classes
    Base
  9. def !!!: Nothing

    Helper methods to throw errors

    Helper methods to throw errors

    Definition Classes
    Base
  10. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def ##(): Int
    Definition Classes
    AnyRef → Any
  12. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def ???(value: Any, syms: Ref[_]*): Nothing
    Definition Classes
    Base
  14. def ???: Nothing
    Definition Classes
    Base
  15. val And: BinOp[Boolean, Boolean]
    Definition Classes
    LogicalOps
  16. val AnyElement: Elem[Any]

    Type descriptor for Any, cannot be used implicitly.

    Type descriptor for Any, cannot be used implicitly.

    Definition Classes
    TypeDescs
  17. val AnyRefElement: Elem[AnyRef]

    Type descriptor for AnyRef, cannot be used implicitly.

    Type descriptor for AnyRef, cannot be used implicitly.

    Definition Classes
    TypeDescs
  18. val BinaryXorOp: BinOp[Boolean, Boolean]
    Definition Classes
    LogicalOps
  19. implicit val BooleanElement: Elem[Boolean]
    Definition Classes
    TypeDescs
  20. val BooleanToInt: UnOp[Boolean, Int]
    Definition Classes
    LogicalOps
  21. implicit val ByteElement: Elem[Byte]
    Definition Classes
    TypeDescs
  22. val CM: CollMethods.type
  23. implicit val CharElement: Elem[Char]
    Definition Classes
    TypeDescs
  24. val DefaultMirror: Mirror

    Default Mirror instance which is used in core IR methods.

    Default Mirror instance which is used in core IR methods.

    Definition Classes
    Transforming
  25. implicit val DoubleElement: Elem[Double]
    Definition Classes
    TypeDescs
  26. val EmptyTypeArgs: ListMap[String, (TypeDesc, Variance)]

    Since ListMap is immutable this empty map can be shared by all other maps created from it.

    Since ListMap is immutable this empty map can be shared by all other maps created from it.

    Definition Classes
    TypeDescs
  27. implicit val FloatElement: Elem[Float]
    Definition Classes
    TypeDescs
  28. implicit final def FuncElemExtensions[A, B](eAB: Elem[(A) ⇒ B]): FuncElem[A, B]
    Definition Classes
    TypeDescs
  29. def IF(cond: Ref[Boolean]): IfBranch

    If c then t else e construction with standard lazy evaluation of branches.

    If c then t else e construction with standard lazy evaluation of branches. The representation uses Thunk for each branch

    Definition Classes
    IfThenElse
  30. implicit val IntElement: Elem[Int]
    Definition Classes
    TypeDescs
  31. final def IntZero: Ref[Int]

    Zero literal node, which is lazily created and can be efficiently reused.

    Zero literal node, which is lazily created and can be efficiently reused. Much faster alternative to (0: Rep[Int]) or toRep(0).

    Definition Classes
    Base
    Annotations
    @inline()
  32. val LazyAnyElement: Lazy[Elem[Any]]

    Predefined Lazy value saved here to be used in hotspot code.

    Predefined Lazy value saved here to be used in hotspot code.

    Definition Classes
    TypeDescs
  33. implicit val LongElement: Elem[Long]
    Definition Classes
    TypeDescs
  34. val NoRewriting: Rewriter

    Identity rewriter, i.e.

    Identity rewriter, i.e. doesn't change the graph when applied.

    Definition Classes
    Transforming
  35. val Not: UnOp[Boolean, Boolean]
    Definition Classes
    LogicalOps
  36. val NothingElement: Elem[Nothing]
    Definition Classes
    TypeDescs
  37. val Or: BinOp[Boolean, Boolean]
    Definition Classes
    LogicalOps
  38. implicit def OrderingToOrderingOps[T](x: T)(implicit n: ExactOrdering[T], et: Elem[T]): OrderingOpsCls[T]
    Definition Classes
    OrderingOps
  39. implicit final def PairElemExtensions[A, B](eAB: Elem[(A, B)]): PairElem[A, B]
    Definition Classes
    TypeDescs
  40. implicit val ShortElement: Elem[Short]
    Definition Classes
    TypeDescs
  41. implicit val StringElement: Elem[String]
    Definition Classes
    TypeDescs
  42. implicit final def SumElemExtensions[A, B](eAB: Elem[|[A, B]]): SumElem[A, B]
    Definition Classes
    TypeDescs
  43. val Thunk: ThunkCompanion
    Definition Classes
    Thunks
  44. final def TypeArgs(descs: (String, (TypeDesc, Variance))*): ListMap[String, (TypeDesc, Variance)]
    Definition Classes
    TypeDescs
  45. implicit val UnitElement: Elem[Unit]
    Definition Classes
    TypeDescs
  46. val _currentPass: Pass
    Definition Classes
    Transforming
  47. def alphaEqual(s1: Sym, s2: Sym): Boolean
    Definition Classes
    Functions
  48. def applyBinOp[A, R](op: BinOp[A, R], lhs: Ref[A], rhs: Ref[A]): Ref[R]
    Definition Classes
    UnBinOps
  49. def applyBinOpLazy[A, R](op: BinOp[A, R], lhs: Ref[A], rhs: Ref[Thunk[A]]): Ref[R]
    Definition Classes
    UnBinOps
  50. def applyUnOp[A, R](op: UnOp[A, R], arg: Ref[A]): Ref[R]
    Definition Classes
    UnBinOps
  51. final def asElem[T](d: TypeDesc): Elem[T]

    Helper type case method.

    Helper type case method.

    Definition Classes
    TypeDescs
    Annotations
    @inline()
  52. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  53. final def asRep[T](x: Ref[_]): Ref[T]

    Helper to type cast node references.

    Helper to type cast node references.

    Definition Classes
    Base
    Annotations
    @inline()
  54. def assertElem(value: Ref[_], elem: Elem[_], hint: ⇒ String): Unit
    Definition Classes
    TypeDescs
  55. def assertElem(value: Ref[_], elem: Elem[_]): Unit
    Definition Classes
    TypeDescs
  56. def assertEqualElems[A](e1: Elem[A], e2: Elem[A], m: ⇒ String): Unit
    Definition Classes
    TypeDescs
  57. def assertValueIdForOpCost[A, B](value: Ref[A], cost: Ref[B]): Unit
    Definition Classes
    UniversalOps
  58. def beginPass(pass: Pass): Unit

    Called to setup IR before the new pass is executed.

    Called to setup IR before the new pass is executed.

    Definition Classes
    Transforming
  59. val cacheElems: Boolean

    Whether IR type descriptors should be cached.

    Whether IR type descriptors should be cached.

    Definition Classes
    Base
  60. val cachePairs: Boolean

    Whether Tup instances should be cached.

    Whether Tup instances should be cached.

    Definition Classes
    Base
  61. final def cachedElemByClass[E <: Elem[_]](args: AnyRef*)(implicit clazz: Class[E]): E

    Retrieve an instance of the given Elem class by either looking up in the cache or creating a new one.

    Retrieve an instance of the given Elem class by either looking up in the cache or creating a new one. We assume that all Elem instances are uniquely defined by (clazz, args)

    args

    arguments of Elem class constructor

    clazz

    Elem class

    Definition Classes
    TypeDescs
  62. def canBeInvoked(d: Def[_], m: Method, args: Array[AnyRef]): Boolean

    Method invocation checker.

    Method invocation checker.

    Attributes
    protected
    Definition Classes
    MethodCalls
  63. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  64. def clusterColor(g: AstGraph): Option[String]
    Attributes
    protected
    Definition Classes
    GraphVizExport
  65. def clusterSchedule(g: AstGraph): Seq[Sym]
    Attributes
    protected
    Definition Classes
    GraphVizExport
  66. def compose[A, B, C](f: Ref[(B) ⇒ C], g: Ref[(A) ⇒ B]): Ref[(A) ⇒ C]

    Composition of two functions (in mathematical notation), where first g is applied and them f.

    Composition of two functions (in mathematical notation), where first g is applied and them f.

    Definition Classes
    Functions
  67. def constFun[A, B](x: Ref[B])(implicit e: Elem[A]): Ref[(A) ⇒ B]
    Definition Classes
    Functions
  68. final def container[F[_]](implicit arg0: Cont[F]): Cont[F]
    Definition Classes
    TypeDescs
  69. implicit final def containerElem[F[_], A](implicit arg0: Cont[F], arg1: Elem[A]): Elem[F[A]]
    Definition Classes
    TypeDescs
  70. def createDefinition[T](optScope: Nullable[ThunkScope], s: Ref[T], d: Def[T]): Ref[T]

    Create new definition entry in either given Thunk or in the global hash table.

    Create new definition entry in either given Thunk or in the global hash table.

    optScope

    optional thunk scope to put given definition

    s

    symbol refering to d

    d

    definition node to add to the scope of globally

    returns

    reference to d (which is s)

    Attributes
    protected
    Definition Classes
    Base
  71. def currentPass: Pass

    IR global current Pass, changes when the compier switches from one pass to the next one.

    IR global current Pass, changes when the compier switches from one pass to the next one. Should remain constant during the whole pass execution.

    Definition Classes
    Transforming
  72. val debugModeSanityChecks: Boolean

    Whether to perform extended checks of correctness, expected invariants and data consistency.

    Whether to perform extended checks of correctness, expected invariants and data consistency. NOTE: Since it may add substantial overhead, set it to false before using in production.

    Definition Classes
    Base
  73. def defCount: Int

    Returns a number of definitions added to this IR context.

    Returns a number of definitions added to this IR context.

    Definition Classes
    Base
  74. def def_unapply[T](e: Ref[T]): Nullable[Def[T]]
    Definition Classes
    Base
  75. def defaultGraphVizConfig: GraphVizConfig
    Definition Classes
    GraphVizExport
  76. def delayInvoke: Nothing
    Definition Classes
    MethodCalls
  77. def downcast[To](value: Ref[_])(implicit arg0: Elem[To]): Ref[To]
    Definition Classes
    UniversalOps
  78. val elemCache: AVHashMap[Class[_], ElemCacheEntry]
    Attributes
    protected
    Definition Classes
    TypeDescs
  79. final def element[A](implicit ea: Elem[A]): Elem[A]
    Definition Classes
    TypeDescs
  80. def emitDepGraph(exceptionOrGraph: Either[Throwable, AstGraph], directory: File, fileName: String)(implicit config: GraphVizConfig): Option[GraphFile]
    Definition Classes
    GraphVizExport
  81. def emitDepGraph(graph: AstGraph, directory: File, fileName: String)(implicit config: GraphVizConfig): Option[GraphFile]
    Definition Classes
    GraphVizExport
  82. def emitDepGraph(ss: Seq[Sym], directory: File, fileName: String)(implicit config: GraphVizConfig): Option[GraphFile]
    Definition Classes
    GraphVizExport
  83. def emitDepGraph(start: Sym, directory: File, fileName: String)(implicit config: GraphVizConfig): Option[GraphFile]
    Definition Classes
    GraphVizExport
  84. def emitDepGraph(d: Def[_], directory: File, fileName: String)(implicit config: GraphVizConfig): Option[GraphFile]
    Definition Classes
    GraphVizExport
  85. def emitDot(dotText: String, directory: File, fileName: String)(implicit config: GraphVizConfig): Option[GraphFile]
    Definition Classes
    GraphVizExport
  86. def emitExceptionGraph(e: Throwable, directory: File, fileName: String)(implicit config: GraphVizConfig): Option[GraphFile]
    Definition Classes
    GraphVizExport
  87. def emptyMatchSubst: Subst
    Definition Classes
    Functions
    Annotations
    @inline()
  88. def endPass(pass: Pass): Unit

    Called to let this IR context to finalized the given pass.

    Called to let this IR context to finalized the given pass.

    Definition Classes
    Transforming
  89. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  90. def equalValues[A](x: Any, y: Any)(implicit eA: Elem[A]): Boolean
    Attributes
    protected
    Definition Classes
    Equal
  91. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  92. implicit def extendThunkElement[T](elem: Elem[Thunk[T]]): ThunkElem[T]
    Definition Classes
    Thunks
  93. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  94. def findGlobalDefinition[T](d: Def[T]): Ref[T]

    Lookup definition in this IR context's hash table of definitions.

    Lookup definition in this IR context's hash table of definitions.

    returns

    node reference to an instance stored in hash table, which is equal to d and null if there is no definition which is equal to d

    Definition Classes
    Base
  95. def findOrCreateDefinition[T](d: Def[T], newSym: ⇒ Ref[T]): Ref[T]

    Lookup d in the heap of nodes.

    Lookup d in the heap of nodes. If the lookup is successfull, then its reference is returned. If the node is not found in the heap, then it is added and d.self reference is returned.

    d

    node to be added to the head of nodes

    newSym

    producer of the reference to be used as the reference to d node.

    returns

    return a reference to d node in the heap

    Definition Classes
    Base
  96. def forceThunkByMirror[A](thunk: Th[A], subst: MapTransformer = MapTransformer.empty()): Ref[A]
    Definition Classes
    Thunks
  97. def forceThunkDefByMirror[A](th: ThunkDef[A], subst: MapTransformer = MapTransformer.empty()): Ref[A]
    Definition Classes
    Thunks
  98. def formatConst(x: Any): String
    Attributes
    protected
    Definition Classes
    GraphVizExport
  99. def formatDef(d: Def[_])(implicit config: GraphVizConfig): String
    Attributes
    protected
    Definition Classes
    ThunksGraphVizExport
  100. def formatMetadata(s: Sym): List[String]
    Attributes
    protected
    Definition Classes
    GraphVizExport
  101. final def freshId: Int

    Get next fresh node id

    Get next fresh node id

    Definition Classes
    Base
    Annotations
    @inline()
  102. final def freshSym[T](d: Def[T]): Ref[T]

    Lookup of create reference to the given definition.

    Lookup of create reference to the given definition. To lookup d.nodeId is used as the index in the _symbolTable. If Ref is not found in _symbolTable, then new Ref instance is created and stored in _symbolTable at d.nodeId index.

    Definition Classes
    Base
    Annotations
    @inline()
  103. implicit final def fun[A, B](f: (Ref[A]) ⇒ Ref[B])(implicit eA: LElem[A]): Ref[(A) ⇒ B]

    Executes given lambda to construct Lambda node.

    Executes given lambda to construct Lambda node. The function f can be called with any symbol and has an effect of growing a graph starting from the argument symbol. If a reference to Variable node is passed as argument, then the constructed graph nodes can be collected to Lambda node forming its body and schedule.

    f

    function which execution will create body nodes

    eA

    arguments type descriptor

    Definition Classes
    Functions
  104. implicit final def fun2[A, B, C](f: (Ref[A], Ref[B]) ⇒ Ref[C])(implicit eA: LElem[A], eB: LElem[B]): Ref[((A, B)) ⇒ C]
    Definition Classes
    Functions
  105. implicit final def funcElement[A, B](implicit ea: Elem[A], eb: Elem[B]): Elem[(A) ⇒ B]
    Definition Classes
    TypeDescs
  106. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  107. def getEntityObject(name: String): Nullable[EntityObject]
    Definition Classes
    Base
    Annotations
    @inline()
  108. def getOwnerKind(constructor: java.lang.reflect.Constructor[_]): OwnerKind

    Returns OwnerKind for the given constructor, using its first parameter.

    Returns OwnerKind for the given constructor, using its first parameter.

    Attributes
    protected
    Definition Classes
    Base
  109. final def getSourceValues(dataEnv: DataEnv, forWrapper: Boolean, stagedValues: AnyRef*): Seq[AnyRef]
    Definition Classes
    TypeDescs
  110. final def getSym(id: Int): Sym

    Lookup node reference by its id.

    Lookup node reference by its id. This is simple array access by index O(1) operation.

    Definition Classes
    Base
    Annotations
    @inline()
  111. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  112. def identityFun[A](implicit e: Elem[A]): Ref[(A) ⇒ A]
    Definition Classes
    Functions
  113. def ifThenElseLazy[T](cond: Ref[Boolean], thenp: ⇒ Ref[T], elsep: ⇒ Ref[T]): Ref[T]

    Constructs IfThenElse node wrapping by-name args into ThunkDef nodes.

    Constructs IfThenElse node wrapping by-name args into ThunkDef nodes.

    Definition Classes
    IfThenElse
  114. val intPlusMonoidValue: special.collection.IntPlusMonoid
  115. def integral[T](implicit arg0: ExactIntegral[T]): ExactIntegral[T]
    Definition Classes
    NumericOps
  116. def invokeUnlifted(e: Elem[_], mc: MethodCall, dataEnv: DataEnv): AnyRef

    Invoke source type method corresponding to the given MethodCall node.

    Invoke source type method corresponding to the given MethodCall node. This method delegated the work to the given element instance.

    e

    type descriptor of receiver node

    mc

    IR node representing method invocation

    dataEnv

    environment where each symbol of 'mc' has associated data value

    returns

    data value returned from invoked method

    Definition Classes
    LibraryTypeDescs
  117. val isInlineThunksOnForce: Boolean
    Definition Classes
    Thunks
  118. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  119. def isInvokeEnabled(d: Def[_], m: Method): Boolean

    Method invocation enabler.

    Method invocation enabler.

    returns

    true if the given method can be invoked on the given node.

    Definition Classes
    MethodCalls
  120. final def isOne[T](x: T, n: ExactNumeric[T]): Boolean
    Definition Classes
    NumericOps
    Annotations
    @inline()
  121. final def isZero[T](x: T, n: ExactNumeric[T]): Boolean
    Definition Classes
    NumericOps
    Annotations
    @inline()
  122. val keepOriginalFunc: Boolean

    Global flag governing lambda reification in fun and mkLambda.

    Global flag governing lambda reification in fun and mkLambda. If this flag is true then original f: Ref[A] => Ref[B] function is stored in Lambda node. As a consequence if f is not stored, then unfoldLambda is done by mirrorLambda.

    Definition Classes
    Functions
  123. val lambdaStack: List[Lambda[_, _]]
    Definition Classes
    Functions
  124. implicit def liftElem[T](eT: Elem[T]): Ref[WRType[T]]
  125. implicit def liftToRep[A](x: A)(implicit arg0: Elem[A]): Ref[A]
    Definition Classes
    Base
    Annotations
    @inline()
  126. implicit def liftableThunk[ST, T](implicit lT: Base.Liftables.Liftable[ST, T]): Base.Liftables.Liftable[SThunk[ST], Thunk[T]]
    Definition Classes
    Thunks
  127. def logWarn(msg: ⇒ String): Unit

    Log warning message to the log.

    Log warning message to the log. This is default and simple implementation, which can be overriden.

    Definition Classes
    Base
  128. val longPlusMonoidValue: special.collection.LongPlusMonoid
  129. def matchAny(a1: Any, a2: Any, allowInexactMatch: Boolean, subst: Subst): Nullable[Subst]
    Attributes
    protected
    Definition Classes
    Functions
  130. def matchDefs(d1: Def[_], d2: Def[_], allowInexactMatch: Boolean, subst: Subst): Nullable[Subst]
    Attributes
    protected
    Definition Classes
    ThunksFunctions
  131. def matchExps(s1: Sym, s2: Sym, allowInexactMatch: Boolean, subst: Subst): Nullable[Subst]
    Attributes
    protected
    Definition Classes
    Functions
  132. def matchIterators(i1: Iterator[_], i2: Iterator[_], allowInexactMatch: Boolean, subst: Subst): Nullable[Subst]
    Attributes
    protected
    Definition Classes
    Functions
  133. def mirrorApply[A, B](lam: Lambda[A, B], s: Ref[A]): Ref[B]
    Definition Classes
    Functions
  134. def mkApply[A, B](f: Ref[(A) ⇒ B], x: Ref[A]): Ref[B]
    Definition Classes
    Functions
  135. def mkLambda[A, B, C](f: (Ref[A], Ref[B]) ⇒ Ref[C])(implicit eA: LElem[A], eB: LElem[B]): Ref[((A, B)) ⇒ C]
    Definition Classes
    Functions
  136. def mkLambda[A, B, C](f: (Ref[A]) ⇒ (Ref[B]) ⇒ Ref[C])(implicit eA: LElem[A], eB: Elem[B]): Ref[(A) ⇒ (B) ⇒ C]
    Definition Classes
    Functions
  137. def mkLambda[A, B](f: (Ref[A]) ⇒ Ref[B], mayInline: Boolean, alphaEquality: Boolean, keepOriginalFunc: Boolean)(implicit eA: LElem[A]): Ref[(A) ⇒ B]
    Definition Classes
    Functions
  138. def mkMethodCall(receiver: Sym, method: Method, args: Seq[AnyRef], neverInvoke: Boolean, isAdapterCall: Boolean, resultElem: Elem[_]): Sym

    Creates new MethodCall node and returns its node ref.

    Creates new MethodCall node and returns its node ref.

    Definition Classes
    MethodCalls
  139. val nInitialDefs: Int
    Definition Classes
    Base
  140. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  141. def newObjEx[A](args: Any*)(implicit eA: Elem[A]): Ref[A]

    Creates new NewObject node and returns its node ref.

    Creates new NewObject node and returns its node ref.

    Definition Classes
    MethodCalls
  142. def nodeColor(td: TypeDesc, d: Def[_])(implicit config: GraphVizConfig): String
    Attributes
    protected
    Definition Classes
    ThunksGraphVizExport
  143. def nodeColor(td: TypeDesc): String
    Attributes
    protected
    Definition Classes
    GraphVizExport
  144. final def nodeLabel(parts: String*)(implicit config: GraphVizConfig): String
    Attributes
    protected
    Definition Classes
    GraphVizExport
  145. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  146. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  147. def numeric[T](implicit arg0: ExactNumeric[T]): ExactNumeric[T]
    Definition Classes
    NumericOps
  148. def okRegisterModules: Boolean

    Whether staged modules should be registered when cake is constructed and initialized.

    Whether staged modules should be registered when cake is constructed and initialized.

    Definition Classes
    Modules
  149. def onReset(): Unit

    Called during resetContext() operation after the core context state has been reset.

    Called during resetContext() operation after the core context state has been reset. Derived classes can override to define application specific initialization. Don't forget to call super method in the beginning of your overriding method.

    Attributes
    protected
    Definition Classes
    LibraryBase
  150. def opCost(costedValue: Sym, args: Seq[Ref[Int]], opCost: Ref[Int]): Ref[Int]
    Definition Classes
    UniversalOps
  151. implicit final def pairElement[A, B](implicit ea: Elem[A], eb: Elem[B]): Elem[(A, B)]
    Definition Classes
    TypeDescs
  152. def partsIterator(td: TypeDesc): TraversableOnce[TypeDesc] { def seq: scala.collection.TraversableOnce[Library.this.TypeDesc]{def seq: scala.collection.TraversableOnce[Library.this.TypeDesc]{def seq: scala.collection.TraversableOnce[Library.this.TypeDesc]}} }
    Attributes
    protected
    Definition Classes
    GraphVizExport
  153. def patternMatch(s1: Sym, s2: Sym): Nullable[Subst]
    Definition Classes
    Functions
  154. def placeholder[T](implicit eT: LElem[T]): Ref[T]
    Definition Classes
    Base
    Annotations
    @inline()
  155. def propagateBinOp[T, R](op: BinOp[T, R], x: Ref[T], y: Ref[T]): Ref[R]

    Perform constant propagation if enabled and both arguments are Const.

    Perform constant propagation if enabled and both arguments are Const.

    returns

    null if propagation is not done

    Definition Classes
    DefRewriting
  156. def propagateUnOp[T, R](op: UnOp[T, R], x: Ref[T]): Ref[R]

    Perform constant propagation if enabled and argument is Const.

    Perform constant propagation if enabled and argument is Const.

    returns

    null if propagation is not done

    Definition Classes
    DefRewriting
  157. def registerEntityObject(name: String, obj: EntityObject): Unit
    Attributes
    protected
    Definition Classes
    Base
  158. def registerModule(moduleInfo: ModuleInfo): Unit

    Called once for each staged module during this cake initialization.

    Called once for each staged module during this cake initialization.

    Attributes
    protected
    Definition Classes
    Modules
  159. implicit def reifyObject[A](obj: Def[A]): Ref[A]

    Implicit injection of new definition (graph node) into universum of nodes with collapsing semantics.

    Implicit injection of new definition (graph node) into universum of nodes with collapsing semantics. If there exists node n in this IR such that obj equals n, then the value of n.self is returned, i.e. the new node obj is collapsed with already existing one. This has an effect of Common Subexpression Elimination (CSE) when an expression tree is transformed to the graph and identical subtrees are collapsed. After a reference to the node is obtained, global rewriting rules are examined and the reference may be replaced with a new one.

    Definition Classes
    Base
  160. implicit def repOrderingToOrderingOps[T](x: Ref[T])(implicit n: ExactOrdering[T]): OrderingOpsCls[T]
    Definition Classes
    OrderingOps
  161. implicit def repToThunk[A](block: Ref[A]): Ref[Thunk[A]]
    Definition Classes
    Thunks
  162. def resetContext(): Unit
    Definition Classes
    CostedOptionsDefsBase
  163. final def rewriteBinOp[A, R](op: BinOp[A, R], x: Ref[A], y: Ref[A]): Ref[_]

    Rewrites application of given binary operation to the given arguments.

    Rewrites application of given binary operation to the given arguments.

    returns

    null if no rewriting is defined.

    Definition Classes
    DefRewriting
  164. final def rewriteBoolConsts(lhs: Sym, rhs: Sym, ifTrue: (Sym) ⇒ Sym, ifFalse: (Sym) ⇒ Sym, ifEqual: (Sym) ⇒ Sym, ifNegated: (Sym) ⇒ Sym): Sym
    Definition Classes
    LogicalOps
    Annotations
    @inline()
  165. def rewriteDef[T](d: Def[T]): Ref[Any]

    Rewrites given node to another equivalent node and returns its reference.

    Rewrites given node to another equivalent node and returns its reference.

    d

    node to be matched against rewrite patterns

    returns

    reference of new node if RW pattern is found and applied null if no rewriting is defined.

    Definition Classes
    LibraryDefRewriting
  166. def rewriteNonInvokableMethodCall(mc: MethodCall): Ref[_]

    This method is called for each MethodCall node which is about to be added to the graph.

    This method is called for each MethodCall node which is about to be added to the graph. This means mc has been examined by all the rewrite rules, but has not need rewritten. Now, if this method returns null, then mc will be added to the graph. However, in this method, mc can be examined by a second set of RW rules (kind of lower priority rules). These rules kind of context dependent, because at this point we know that the first RW set didn't triggered any rewrite.

    Definition Classes
    MethodCalls
  167. final def rewriteUnOp[A, R](op: UnOp[A, R], x: Ref[A]): Ref[_]

    Rewrites application of given unary operation to the given argument.

    Rewrites application of given unary operation to the given argument.

    returns

    null if no rewriting is defined.

    Definition Classes
    DefRewriting
  168. def shouldEmitCluster(g: AstGraph): Boolean
    Attributes
    protected
    Definition Classes
    GraphVizExport
  169. def showGraphs(graph: AstGraph)(implicit config: GraphVizConfig): Unit
    Definition Classes
    GraphVizExport
  170. def showGraphs(roots: Sym*)(implicit config: GraphVizConfig): Unit
    Definition Classes
    GraphVizExport
  171. def sizeOf[T](value: Ref[T]): Ref[Long]
    Definition Classes
    UniversalOps
  172. def specialPredef: Ref[WSpecialPredefCompanionCtor]
  173. def stagingExceptionMessage(message: String, syms: Seq[Ref[_]]): String

    Prettyprint exception message

    Prettyprint exception message

    Attributes
    protected
    Definition Classes
    Base
  174. implicit final def sumElement[A, B](implicit ea: Elem[A], eb: Elem[B]): Elem[|[A, B]]
    Definition Classes
    TypeDescs
  175. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  176. def throwInvocationException(whatFailed: String, cause: Throwable, receiver: Sym, m: Method, args: Seq[Any]): Nothing
    Definition Classes
    MethodCalls
  177. implicit val thunkCont: Cont[Thunk]
    Definition Classes
    Thunks
  178. implicit def thunkElement[T](implicit eItem: Elem[T]): Elem[Thunk[T]]
    Definition Classes
    Thunks
  179. val thunkStack: ThunkStack
    Attributes
    protected
    Definition Classes
    Thunks
  180. def thunk_create[A](block: ⇒ Ref[A]): Ref[Thunk[A]]
    Definition Classes
    Thunks
  181. def thunk_force[A](t: Th[A]): Ref[A]
    Definition Classes
    Thunks
  182. def thunk_map[A, B](t: Th[A], f: Ref[(A) ⇒ B]): Th[B]
    Definition Classes
    Thunks
  183. def thunk_map1[A, B](t: Th[A], f: (Ref[A]) ⇒ Ref[B]): Th[B]
    Definition Classes
    Thunks
  184. def toExp[T](d: Def[T], newSym: ⇒ Ref[T]): Ref[T]

    Updates the universe of symbols and definitions, then rewrites until fix-point

    Updates the universe of symbols and definitions, then rewrites until fix-point

    d

    A new graph node to add to the universe

    newSym

    A symbol that will be used if d doesn't exist in the universe

    returns

    The symbol of the graph which is semantically(up to rewrites) equivalent to d

    Attributes
    protected[scalan]
    Definition Classes
    Base
  185. implicit final def toLazyElem[A](implicit eA: Elem[A]): LElem[A]
    Definition Classes
    TypeDescs
  186. def toRep[A](x: A)(implicit eA: Elem[A]): Ref[A]

    Lifting of data values to IR nodes.

    Lifting of data values to IR nodes.

    Definition Classes
    Base
  187. def toString(): String
    Definition Classes
    AnyRef → Any
  188. def transformProductParam(x: Any, t: Transformer): Any

    Transforms this object into new one by applying t to every Ref inside its structure.

    Transforms this object into new one by applying t to every Ref inside its structure. The structure is build out of Seq, Array, Option and Def values. Other structure items remain unchanged and copied to the new instance.

    Attributes
    protected
    Definition Classes
    Base
  189. def tryConvert[From, To](eFrom: Elem[From], eTo: Elem[To], x: Ref[Def[_]], conv: Ref[(From) ⇒ To]): Ref[To]
    Definition Classes
    UniversalOps
  190. val tuplesCache: AVHashMap[Ref[_], (Ref[_], Ref[_])]
    Definition Classes
    Tuples
  191. def unfoldLambda[A, B](f: Ref[(A) ⇒ B], x: Ref[A]): Ref[B]
    Definition Classes
    Functions
  192. def unfoldLambda[A, B](lam: Lambda[A, B], x: Ref[A]): Ref[B]
    Definition Classes
    Functions
  193. val unfoldWithOriginalFunc: Boolean

    Turns on/off lambda unfolding using original function f stored in the Lambda node.

    Turns on/off lambda unfolding using original function f stored in the Lambda node. If this flag is false then this function cannot be used even if it is present in the node.

    Definition Classes
    Functions
  194. def unrefDelegate[T <: AnyRef](x: Ref[T])(implicit ct: ClassTag[T]): T

    Create delegate instance suitable for method invocation.

    Create delegate instance suitable for method invocation. It is used when T is a class or a trait and the node referred by x doesn't conform to T. This method returns dynamically constructed instance, which conforms to T. Whenever a method of T is called on that instance, the call is intercepted and DelegatedInterceptionHandler.invoke method is called, then a new MethodCall can be constructed (which is befavior by default).

    Attributes
    protected
    Definition Classes
    MethodCalls
  195. def unzipPair[A, B](p: Ref[(A, B)]): (Ref[A], Ref[B])
    Definition Classes
    Tuples
  196. def upcast[To](value: Ref[_])(implicit arg0: Elem[To]): Ref[To]
    Definition Classes
    UniversalOps
  197. def upcastFun[A, B >: A](implicit arg0: Elem[A]): Ref[(A) ⇒ B]
    Definition Classes
    Functions
  198. final def updateSymbolTable[T](s: Ref[T], d: Def[T]): Ref[T]

    Create or find symbol (node Ref) which refers to the given node in the table of all created symbols.

    Create or find symbol (node Ref) which refers to the given node in the table of all created symbols. The d.nodeId is the index in the _symbolTable which is DBuffer (backed by Array)

    returns

    new of existing symbol

    Definition Classes
    Base
  199. val useAlphaEquality: Boolean

    Global lambda equality mode used by default.

    Global lambda equality mode used by default. It is used in fun and fun2 lambda builders. If this flag is true then Lambda nodes are equal if they are the same up to renaming of symbols. (see Lambda.equals()). Each Lambda node has independent equality mode flag which is setup in the constructor.

    Definition Classes
    Functions
  200. final def valueFromRep[A](x: Ref[A]): A

    Extract data value from Const node or throw an exception.

    Extract data value from Const node or throw an exception.

    Definition Classes
    Base
    Annotations
    @inline()
  201. def variable[T](implicit eT: LElem[T]): Ref[T]
    Definition Classes
    Base
    Annotations
    @inline()
  202. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  203. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  204. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  205. def zeroSize[V](eVal: Elem[V]): RSize[V]
  206. implicit def zipPair[A, B](p: (Ref[A], Ref[B])): Ref[(A, B)]
    Definition Classes
    Tuples
  207. object IsNumericToInt
  208. object IsNumericToLong
  209. object InvokeImpossible extends Scalan.InvokeResult with Product with Serializable

    Invocation is not possible, e.g.

    Invocation is not possible, e.g. when receiver doesn't implemented the method.

    Definition Classes
    MethodCalls
  210. object Elem extends Serializable
    Definition Classes
    TypeDescs
  211. object EnvRep extends Serializable
    Definition Classes
    TypeDescs
  212. object ConstantLambda

    Matcher for lambdas which don't depend on their arguments (but can close over other expressions, unlike VeryConstantLambda).

    Matcher for lambdas which don't depend on their arguments (but can close over other expressions, unlike VeryConstantLambda).

    Definition Classes
    Functions
  213. object IdentityLambda
    Definition Classes
    Functions
  214. object Lambda
    Definition Classes
    Functions
  215. object VeryConstantLambda

    Matcher for lambdas which return staging-time constants.

    Matcher for lambdas which return staging-time constants. VeryConstantLambda(x) should be equivalent to ConstantLambda(Def(Const(x)))

    Definition Classes
    Functions
  216. object ConstantThunk
    Definition Classes
    Thunks
  217. object ThunkDef
    Definition Classes
    Thunks
  218. object IsPair
    Definition Classes
    Tuples
  219. object Pair
    Definition Classes
    Tuples
  220. object ProgramGraph extends Serializable
    Definition Classes
    ProgramGraphs
  221. object MapTransformer extends Serializable
    Definition Classes
    Transforming
  222. object Pass
    Definition Classes
    Transforming
  223. object Coll extends scalan.Library.EntityObject
    Definition Classes
    CollsDefs
  224. object CollBuilder extends scalan.Library.EntityObject
    Definition Classes
    CollsDefs
  225. object PairColl extends scalan.Library.EntityObject
    Definition Classes
    CollsDefs
  226. object ReplColl extends scalan.Library.EntityObject
    Definition Classes
    CollsDefs
  227. object CCostedBuilder extends scalan.Library.EntityObject
    Definition Classes
    ConcreteCostsDefs
  228. object CCostedColl extends scalan.Library.EntityObject
    Definition Classes
    ConcreteCostsDefs
  229. object CCostedFunc extends scalan.Library.EntityObject
    Definition Classes
    ConcreteCostsDefs
  230. object CCostedPair extends scalan.Library.EntityObject
    Definition Classes
    ConcreteCostsDefs
  231. object CCostedPrim extends scalan.Library.EntityObject
    Definition Classes
    ConcreteCostsDefs
  232. object CSizeColl extends scalan.Library.EntityObject
    Definition Classes
    ConcreteSizesDefs
  233. object CSizeFunc extends scalan.Library.EntityObject
    Definition Classes
    ConcreteSizesDefs
  234. object CSizeOption extends scalan.Library.EntityObject
    Definition Classes
    ConcreteSizesDefs
  235. object CSizePair extends scalan.Library.EntityObject
    Definition Classes
    ConcreteSizesDefs
  236. object CSizePrim extends scalan.Library.EntityObject
    Definition Classes
    ConcreteSizesDefs
  237. object CCostedOption extends scalan.Library.EntityObject
    Definition Classes
    CostedOptionsDefs
  238. object Costed extends scalan.Library.EntityObject
    Definition Classes
    CostsDefs
  239. object CostedBuilder extends scalan.Library.EntityObject
    Definition Classes
    CostsDefs
  240. object CostedColl extends scalan.Library.EntityObject
    Definition Classes
    CostsDefs
  241. object CostedFunc extends scalan.Library.EntityObject
    Definition Classes
    CostsDefs
  242. object CostedOption extends scalan.Library.EntityObject
    Definition Classes
    CostsDefs
  243. object CostedPair extends scalan.Library.EntityObject
    Definition Classes
    CostsDefs
  244. object CostedPrim extends scalan.Library.EntityObject
    Definition Classes
    CostsDefs
  245. object IntPlusMonoid extends scalan.Library.EntityObject
    Definition Classes
    MonoidInstancesDefs
  246. object LongPlusMonoid extends scalan.Library.EntityObject
    Definition Classes
    MonoidInstancesDefs
  247. object MonoidBuilderInst extends scalan.Library.EntityObject
    Definition Classes
    MonoidInstancesDefs
  248. object Monoid extends scalan.Library.EntityObject
    Definition Classes
    MonoidsDefs
  249. object MonoidBuilder extends scalan.Library.EntityObject
    Definition Classes
    MonoidsDefs
  250. object Size extends scalan.Library.EntityObject
    Definition Classes
    SizesDefs
  251. object SizeColl extends scalan.Library.EntityObject
    Definition Classes
    SizesDefs
  252. object SizeFunc extends scalan.Library.EntityObject
    Definition Classes
    SizesDefs
  253. object SizeOption extends scalan.Library.EntityObject
    Definition Classes
    SizesDefs
  254. object SizePair extends scalan.Library.EntityObject
    Definition Classes
    SizesDefs
  255. object SizePrim extends scalan.Library.EntityObject
    Definition Classes
    SizesDefs
  256. object OptionWrapSpec extends scalan.Library.EntityObject
    Definition Classes
    WrappersSpecDefs
  257. object RTypeWrapSpec extends scalan.Library.EntityObject
    Definition Classes
    WrappersSpecDefs
  258. object SpecialPredefWrapSpec extends scalan.Library.EntityObject
    Definition Classes
    WrappersSpecDefs
  259. object WrapSpecBase extends scalan.Library.EntityObject
    Definition Classes
    WrappersSpecDefs
  260. object WOption extends special.wrappers.WrappersModule.EntityObject
    Definition Classes
    WOptionsDefs
  261. object WRType extends special.wrappers.WrappersModule.EntityObject
    Definition Classes
    WRTypesDefs
  262. object WSpecialPredef extends special.wrappers.WrappersModule.EntityObject
    Definition Classes
    WSpecialPredefsDefs

Inherited from CostedOptionsModule

Inherited from CostedOptionsDefs

Inherited from CostedOptions

Inherited from MonoidInstancesModule

Inherited from MonoidInstancesDefs

Inherited from MonoidInstances

Inherited from MonoidsModule

Inherited from MonoidsDefs

Inherited from Monoids

Inherited from ConcreteCostsModule

Inherited from ConcreteCostsDefs

Inherited from ConcreteCosts

Inherited from ConcreteSizesModule

Inherited from ConcreteSizesDefs

Inherited from ConcreteSizes

Inherited from CostsModule

Inherited from CostsDefs

Inherited from Costs

Inherited from SizesModule

Inherited from SizesDefs

Inherited from Sizes

Inherited from CollsModule

Inherited from CollsDefs

Inherited from Colls

Inherited from WrappersSpecModule

Inherited from WrappersSpecDefs

Inherited from WrappersSpec

Inherited from WrappersModule

Inherited from WRTypesModule

Inherited from WRTypesDefs

Inherited from WRTypes

Inherited from WOptionsModule

Inherited from WOptionsDefs

Inherited from WOptions

Inherited from WSpecialPredefsModule

Inherited from WSpecialPredefsDefs

Inherited from WSpecialPredefs

Inherited from Scalan

Inherited from DefRewriting

Inherited from Modules

Inherited from Entities

Inherited from Thunks

Inherited from IfThenElse

Inherited from Functions

Inherited from ProgramGraphs

Inherited from AstGraphs

Inherited from Transforming

Inherited from UniversalOps

Inherited from Equal

Inherited from OrderingOps

Inherited from LogicalOps

Inherited from UnBinOps

Inherited from NumericOps

Inherited from Tuples

Inherited from MethodCalls

Inherited from GraphVizExport

Inherited from TypeDescs

Inherited from Base

Inherited from AnyRef

Inherited from Any

Ungrouped