|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.ssa.SSAOptions
public class SSAOptions
This module defines parameters to the SSA construction process. This is used to pass information between compiler phases.
IMPORTANT: Phases that change the SSA state MUST update the SSA actual options held by the IR object.
Field Summary | |
---|---|
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 Summary | |
---|---|
SSAOptions()
default configuration: just perform forward scalar SSA |
|
SSAOptions(boolean scalarsOnly,
boolean backwards,
boolean insertUsePhis,
Set<Object> heapTypes)
Set up instructions for an form of heap Array SSA, or turn it off |
Method Summary | |
---|---|
(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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private boolean scalarsOnly
private boolean backwards
private boolean insertUsePhis
private boolean insertPEIDeps
private boolean excludeGuards
private Set<Object> heapTypes
private boolean heapValid
private boolean scalarValid
private boolean abort
Constructor Detail |
---|
SSAOptions(boolean scalarsOnly, boolean backwards, boolean insertUsePhis, Set<Object> heapTypes)
SSAOptions()
Method Detail |
---|
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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |