class ProdConsAnalyzer extends AsmAnalyzer[SourceValue] with ProdConsAnalyzerImpl
- Source
- BackendUtils.scala
- Alphabetic
- By Inheritance
- ProdConsAnalyzer
- ProdConsAnalyzerImpl
- AsmAnalyzer
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ProdConsAnalyzer(methodNode: MethodNode, classInternalName: InternalName)
Value Members
-
val
analyzer: Analyzer[SourceValue]
- Definition Classes
- AsmAnalyzer
-
def
consumersOfOutputsFrom(insn: AbstractInsnNode): Set[AbstractInsnNode]
- Definition Classes
- ProdConsAnalyzerImpl
-
def
consumersOfValueAt(insn: AbstractInsnNode, slot: Int): Set[AbstractInsnNode]
Returns the potential consumer instructions of a (local or stack) value in the frame of
insn
.Returns the potential consumer instructions of a (local or stack) value in the frame of
insn
. This is the counterpart ofproducersForValueAt
.- Definition Classes
- ProdConsAnalyzerImpl
-
def
frameAt(instruction: AbstractInsnNode): Frame[SourceValue]
- Definition Classes
- AsmAnalyzer
-
def
initialProducersForInputsOf(insn: AbstractInsnNode): Set[AbstractInsnNode]
- Definition Classes
- ProdConsAnalyzerImpl
-
def
initialProducersForValueAt(insn: AbstractInsnNode, slot: Int): Set[AbstractInsnNode]
Returns the potential initial producer instructions of a value in the frame of
insn
.Returns the potential initial producer instructions of a value in the frame of
insn
.Unlike
producersForValueAt
, producers are tracked through copying instructions such as STORE and LOAD. If the producer of the value is a LOAD, then the producers of the stored value(s) are returned instead.- Definition Classes
- ProdConsAnalyzerImpl
-
val
methodNode: MethodNode
- Definition Classes
- ProdConsAnalyzer → ProdConsAnalyzerImpl
-
def
producersForInputsOf(insn: AbstractInsnNode): Set[AbstractInsnNode]
Returns the potential producer instructions of any of the values consumed by
insn
.Returns the potential producer instructions of any of the values consumed by
insn
.- Definition Classes
- ProdConsAnalyzerImpl
-
def
producersForValueAt(insn: AbstractInsnNode, slot: Int): Set[AbstractInsnNode]
Returns the potential producer instructions of a (local or stack) value in the frame of
insn
.Returns the potential producer instructions of a (local or stack) value in the frame of
insn
. This method simply returns the producer information computed by the SourceValue analysis.- Definition Classes
- ProdConsAnalyzerImpl
-
def
ultimateConsumersOfOutputsFrom(insn: AbstractInsnNode): Set[AbstractInsnNode]
- Definition Classes
- ProdConsAnalyzerImpl
-
def
ultimateConsumersOfValueAt(insn: AbstractInsnNode, slot: Int): Set[AbstractInsnNode]
Returns the potential ultimate consumers of a value in the frame of
insn
.Returns the potential ultimate consumers of a value in the frame of
insn
. Consumers are tracked through copying operations such as SOTRE and LOAD.- Definition Classes
- ProdConsAnalyzerImpl
The Scala compiler and reflection APIs.