scala.tools.nsc.backend.icode.analysis.TypeFlowAnalysis

MethodTFA

class MethodTFA extends DataFlowAnalysis[TypeFlowAnalysis.this.typeFlowLattice.type]

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

Instance Constructors

  1. new MethodTFA(m: IMethod)

  2. new MethodTFA()

Type Members

  1. case class Bind(l: Local, t: InferredType) extends Gen with Product with Serializable

  2. case class Const(t: TypeKind) extends InferredType with Product with Serializable

    A type that does not depend on input to the transfer function.

  3. abstract class Gen extends AnyRef

  4. abstract class InferredType extends AnyRef

  5. type P = BasicBlock

    A type for program points.

    A type for program points.

    Definition Classes
    MethodTFADataFlowAnalysis
  6. case class Push(t: InferredType) extends Gen with Product with Serializable

  7. class SimulatedStack extends AnyRef

  8. class TransferFunction extends (Elem) ⇒ Elem

    A flow transfer function of a basic block.

  9. case class TypeOfStackPos(n: Int) extends InferredType with Product with Serializable

    The type found at a stack position.

  10. case class TypeOfVar(l: Local) extends InferredType with Product with Serializable

    The type of a given local variable.

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. val STRING: REFERENCE

  7. final def asInstanceOf[T0]: T0

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

    .

    ...

    f

    ...

    Definition Classes
    DataFlowAnalysis
  9. def blockTransfer(b: BasicBlock, in: Elem): Elem

  10. def clone(): AnyRef

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

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. 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
  15. final def getClass(): java.lang.Class[_]

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

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

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

    Initialize the in/out maps for the analysis of the given method.

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

    Definition Classes
    DataFlowAnalysis
  20. def interpret(in: Elem, i: Instruction): Elem

    Abstract interpretation for one instruction.

  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. 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
  23. val lattice: TypeFlowAnalysis.this.typeFlowLattice.type

    Definition Classes
    MethodTFADataFlowAnalysis
  24. var method: IMethod

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

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

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

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

    Definition Classes
    DataFlowAnalysis
  29. def reinit(m: IMethod): Unit

    reinitialize the analysis, keeping around solutions from a previous run.

  30. 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
  31. def run(): Unit

    Definition Classes
    MethodTFADataFlowAnalysis
  32. var stat: Boolean

    collect statistics?

    collect statistics?

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

    Definition Classes
    AnyRef
  34. def toString(): String

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

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

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

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

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

    Definition Classes
    DataFlowAnalysis

Inherited from DataFlowAnalysis[TypeFlowAnalysis.this.typeFlowLattice.type]

Inherited from AnyRef

Inherited from Any