public class IfPlaces
extends java.lang.Object
They support hoisting a CSE that appears on both then and else arms of an expression.
Modifier and Type | Class and Description |
---|---|
static class |
IfPlaces.ElsePlace
An ElsePlace describes the else forest of CG trees for an IF expression.
|
static class |
IfPlaces.ThenPlace
A ThenPlace describes the then forest of CG trees for an IF expression.
|
Constructor and Description |
---|
IfPlaces() |
Modifier and Type | Method and Description |
---|---|
static LocalPlace |
createIfPlaces(java.util.Map<CGElement,AbstractPlace> element2place,
CGIfExp cgIfExp) |
@NonNull public static LocalPlace createIfPlaces(@NonNull java.util.Map<CGElement,AbstractPlace> element2place, @NonNull CGIfExp cgIfExp)