public static class InstructionHelper.BranchVector
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BOTTOM_ARROW |
static java.lang.String |
CONDITIONAL_START |
protected Instruction |
end |
private boolean |
forward |
protected Instruction |
from |
static java.lang.String |
NONE |
protected Instruction |
start |
static java.lang.String |
THROUGH |
protected Instruction |
to |
static java.lang.String |
TOP_ARROW |
static java.lang.String |
UNCONDITIONAL_START |
Constructor and Description |
---|
BranchVector(Instruction _from,
Instruction _to) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
Instruction |
getEnd() |
int |
getEndPC() |
Instruction |
getFrom() |
Instruction |
getStart() |
int |
getStartPC() |
Instruction |
getTo() |
int |
hashCode() |
boolean |
isBackward() |
boolean |
isConditionalBranch() |
boolean |
isForward() |
boolean |
overlaps(InstructionHelper.BranchVector _other) |
java.lang.String |
render(int _pc) |
java.lang.String |
render(int _startPC,
int _thisPC) |
java.lang.String |
toString() |
protected Instruction from
protected Instruction to
protected Instruction start
protected Instruction end
private boolean forward
public static final java.lang.String NONE
public static final java.lang.String THROUGH
public static final java.lang.String CONDITIONAL_START
public static final java.lang.String UNCONDITIONAL_START
public static final java.lang.String TOP_ARROW
public static final java.lang.String BOTTOM_ARROW
public BranchVector(Instruction _from, Instruction _to)
public boolean overlaps(InstructionHelper.BranchVector _other)
public Instruction getTo()
public Instruction getFrom()
public int getStartPC()
public int getEndPC()
public Instruction getStart()
public Instruction getEnd()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isForward()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isConditionalBranch()
public boolean isBackward()
public java.lang.String render(int _pc)
public java.lang.String render(int _startPC, int _thisPC)