public class SSAOptions extends Object
IMPORTANT: Phases that change the SSA state MUST update the SSA actual options held by the IR object.
Modifier and Type | Field and Description |
---|---|
private boolean |
abort
abort all ssa passes?
|
private boolean |
backwards
construct Heap SSA for backwards analysis?
|
private boolean |
excludeGuards
ignore guards (validation regs) ?
|
private Set<Object> |
heapTypes
restrict Heap SSA to this set of types?
|
private boolean |
heapValid
is Heap SSA info valid?
|
private boolean |
insertPEIDeps
constuct Heap SSA with PEI deps?
|
private boolean |
insertUsePhis
constuct Heap SSA with uPhi functions?
|
private boolean |
scalarsOnly
construct SSA only for scalars?
|
private boolean |
scalarValid
is Scalar SSA info valid?
|
Constructor and Description |
---|
SSAOptions()
default configuration: just perform forward scalar SSA
|
SSAOptions(boolean scalarsOnly,
boolean backwards,
boolean insertUsePhis,
Set<Object> heapTypes) |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
getAbort() |
(package private) boolean |
getBackwards() |
(package private) boolean |
getExcludeGuards() |
(package private) Set<Object> |
getHeapTypes() |
boolean |
getHeapValid() |
(package private) boolean |
getInsertPEIDeps() |
(package private) boolean |
getInsertUsePhis() |
(package private) boolean |
getScalarsOnly() |
boolean |
getScalarValid() |
(package private) boolean |
satisfies(SSAOptions d)
Given a desired set of SSA Options, does this set of SSA Options
describe enough information to satisfy the desire?
|
(package private) void |
setAbort(boolean b) |
(package private) void |
setBackwards(boolean b) |
(package private) void |
setExcludeGuards(boolean b) |
(package private) void |
setHeapTypes(Set<Object> s) |
(package private) void |
setHeapValid(boolean b) |
(package private) void |
setInsertPEIDeps(boolean b) |
(package private) void |
setInsertUsePhis(boolean b) |
(package private) void |
setScalarsOnly(boolean b) |
(package private) void |
setScalarValid(boolean b) |
private boolean scalarsOnly
private boolean backwards
private boolean insertUsePhis
private boolean insertPEIDeps
private boolean excludeGuards
private boolean heapValid
private boolean scalarValid
private boolean abort
SSAOptions(boolean scalarsOnly, boolean backwards, boolean insertUsePhis, Set<Object> heapTypes)
SSAOptions()
final boolean getAbort()
final void setAbort(boolean b)
final boolean getScalarsOnly()
final boolean getBackwards()
final boolean getInsertUsePhis()
final boolean getInsertPEIDeps()
final boolean getExcludeGuards()
final Set<Object> getHeapTypes()
public final boolean getHeapValid()
public final boolean getScalarValid()
final void setScalarsOnly(boolean b)
final void setBackwards(boolean b)
final void setInsertUsePhis(boolean b)
final void setExcludeGuards(boolean b)
final void setInsertPEIDeps(boolean b)
final void setHeapTypes(Set<Object> s)
final void setHeapValid(boolean b)
final void setScalarValid(boolean b)
boolean satisfies(SSAOptions d)
d
- the desired SSA options