scala.tools.nsc.backend.icode.analysis.Liveness

LivenessAnalysis

final class LivenessAnalysis extends DataFlowAnalysis[Liveness.this.livenessLattice.type]

Source
Liveness.scala
Linear Supertypes
DataFlowAnalysis[Liveness.this.livenessLattice.type], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. LivenessAnalysis
  2. DataFlowAnalysis
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LivenessAnalysis()

Type Members

  1. type P = BasicBlock

    A type for program points.

    A type for program points.

    Definition Classes
    LivenessAnalysisDataFlowAnalysis

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def backwardAnalysis(f: (P, Elem) ⇒ Elem): Unit

    .

    ...

    f

    ...

    Definition Classes
    DataFlowAnalysis
  8. def blockTransfer(b: BasicBlock, out: Elem): Elem

  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def forwardAnalysis(f: (P, Elem) ⇒ Elem): Unit

    Implements forward dataflow analysis: the transfer function is applied when inputs to a Program point change, to obtain the new output value.

    Implements forward dataflow analysis: the transfer function is applied when inputs to a Program point change, to obtain the new output value.

    f

    the transfer function.

    Definition Classes
    DataFlowAnalysis
  14. val gen: Map[BasicBlock, Set[Local]]

  15. def genAndKill(b: BasicBlock): (Set[Local], Set[Local])

    Return the gen and kill sets for this block.

  16. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. val in: Map[P, Elem]

    Definition Classes
    DataFlowAnalysis
  19. def init(m: IMethod): Unit

  20. def init(f: ⇒ Unit): Unit

    Definition Classes
    DataFlowAnalysis
  21. def interpret(out: Elem, i: Instruction): Elem

    Abstract interpretation for one instruction.

    Abstract interpretation for one instruction. Very important: liveness is a backward DFA, so this method should be used to compute liveness *before* the given instruction i'.

  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. var iterations: Int

    the number of times we iterated before reaching a fixpoint.

    the number of times we iterated before reaching a fixpoint.

    Definition Classes
    DataFlowAnalysis
  24. val kill: Map[BasicBlock, Set[Local]]

  25. val lattice: Liveness.this.livenessLattice.type

    Definition Classes
    LivenessAnalysisDataFlowAnalysis
  26. var method: IMethod

  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. val out: Map[P, Elem]

    Definition Classes
    DataFlowAnalysis
  31. def reinit(f: ⇒ Unit): Unit

    Reinitialize, but keep the old solutions.

    Reinitialize, but keep the old solutions. Should be used when reanalyzing the same method, after some code transformation.

    Definition Classes
    DataFlowAnalysis
  32. def run(): Unit

    Definition Classes
    LivenessAnalysisDataFlowAnalysis
  33. var stat: Boolean

    collect statistics?

    collect statistics?

    Definition Classes
    DataFlowAnalysis
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    LivenessAnalysis → AnyRef → Any
  36. val visited: HashSet[P]

    Definition Classes
    DataFlowAnalysis
  37. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  38. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  39. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  40. val worklist: Set[P]

    Definition Classes
    DataFlowAnalysis

Inherited from DataFlowAnalysis[Liveness.this.livenessLattice.type]

Inherited from AnyRef

Inherited from Any