| Package | Description |
|---|---|
| com.android.dx.ssa |
| Modifier and Type | Field and Description |
|---|---|
static java.util.Comparator<SsaBasicBlock> |
SsaBasicBlock.LABEL_COMPARATOR
non-null; comparator for instances of this class that
just compares block labels |
| Modifier and Type | Method and Description |
|---|---|
SsaBasicBlock |
SsaInsn.getBlock()
Gets the block to which this insn instance belongs.
|
SsaBasicBlock |
SsaMethod.getEntryBlock() |
SsaBasicBlock |
SsaMethod.getExitBlock() |
SsaBasicBlock |
SsaBasicBlock.getPrimarySuccessor() |
SsaBasicBlock |
SsaBasicBlock.insertNewPredecessor()
Inserts a new empty GOTO block as a predecessor to this block.
|
SsaBasicBlock |
SsaBasicBlock.insertNewSuccessor(SsaBasicBlock other)
Constructs and inserts a new empty GOTO block
Z between
this block (A) and a current successor block
(B). |
SsaBasicBlock |
SsaMethod.makeNewGotoBlock()
Makes a new basic block for this method, which is empty besides
a single
GOTO. |
static SsaBasicBlock |
SsaBasicBlock.newFromRop(RopMethod rmeth,
int basicBlockIndex,
SsaMethod parent)
Creates a new SSA basic block from a ROP form basic block.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<SsaBasicBlock> |
SsaMethod.getBlocks() |
java.util.ArrayList<SsaBasicBlock> |
SsaBasicBlock.getDomChildren()
Gets the dom children for this node.
|
java.util.List<SsaBasicBlock> |
PhiInsn.predBlocksForReg(int reg,
SsaMethod ssaMeth)
Returns the list of predecessor blocks associated with all operands
that have
reg as an operand register. |
| Modifier and Type | Method and Description |
|---|---|
void |
SsaBasicBlock.addDomChild(SsaBasicBlock child)
Adds a basic block as a dom child for this block.
|
void |
PhiInsn.addPhiOperand(RegisterSpec registerSpec,
SsaBasicBlock predBlock)
Adds an operand to this phi instruction.
|
int |
SsaBasicBlock.LabelComparator.compare(SsaBasicBlock b1,
SsaBasicBlock b2) |
void |
SsaBasicBlock.exitBlockFixup(SsaBasicBlock exitBlock)
Attaches block to an exit block if necessary.
|
RegisterSpecSet |
LocalVariableInfo.getStarts(SsaBasicBlock block)
Gets the register set associated with the start of the given
block.
|
SsaBasicBlock |
SsaBasicBlock.insertNewSuccessor(SsaBasicBlock other)
Constructs and inserts a new empty GOTO block
Z between
this block (A) and a current successor block
(B). |
static SsaInsn |
SsaInsn.makeFromRop(Insn insn,
SsaBasicBlock block)
Makes a new SSA insn form a rop insn.
|
void |
SsaBasicBlock.Visitor.visitBlock(SsaBasicBlock v,
SsaBasicBlock parent)
Indicates a block has been visited by an iterator method.
|
| Constructor and Description |
|---|
PhiInsn(int resultReg,
SsaBasicBlock block)
Makes a phi insn with a void result type.
|
PhiInsn(RegisterSpec resultReg,
SsaBasicBlock block)
Constructs a new phi insn with no operands.
|
SsaInsn(RegisterSpec result,
SsaBasicBlock block)
Constructs an instance.
|
Copyright © 2020. All Rights Reserved.