Package com.aparapi.internal.tool
Class InstructionHelper.BranchVector
java.lang.Object
com.aparapi.internal.tool.InstructionHelper.BranchVector
- Enclosing class:
- InstructionHelper
public static class InstructionHelper.BranchVector extends Object
-
Field Summary
Fields Modifier and Type Field Description static String
BOTTOM_ARROW
static String
CONDITIONAL_START
static String
NONE
static String
THROUGH
static String
TOP_ARROW
static String
UNCONDITIONAL_START
-
Constructor Summary
Constructors Constructor Description BranchVector(Instruction _from, Instruction _to)
-
Method Summary
Modifier and Type Method Description boolean
equals(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)
String
render(int _pc)
String
render(int _startPC, int _thisPC)
String
toString()
-
Field Details
-
NONE
- See Also:
- Constant Field Values
-
THROUGH
- See Also:
- Constant Field Values
-
CONDITIONAL_START
- See Also:
- Constant Field Values
-
UNCONDITIONAL_START
- See Also:
- Constant Field Values
-
TOP_ARROW
- See Also:
- Constant Field Values
-
BOTTOM_ARROW
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
overlaps
-
getTo
-
getFrom
-
getStartPC
public int getStartPC() -
getEndPC
public int getEndPC() -
getStart
-
getEnd
-
equals
-
hashCode
public int hashCode() -
isForward
public boolean isForward() -
toString
-
isConditionalBranch
public boolean isConditionalBranch() -
isBackward
public boolean isBackward() -
render
-
render
-