|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConstMap<HCE extends HCodeElement>
ConstMap is a mapping from temporaries to their constant
values.
| Method Summary | |
|---|---|
Object |
constMap(HCE hce,
Temp t)
Determine the constant value of a given temporary in the context of a specific definition. |
boolean |
isConst(HCE hce,
Temp t)
Determine whether a given temporary has a constant value at the specified definition point. |
| Method Detail |
|---|
boolean isConst(HCE hce,
Temp t)
hce - the definition point.t - the Temp to be examined.
true is the given definition point can
be proven to give the specified Temp a
constant value, false otherwise.
Object constMap(HCE hce,
Temp t)
hce - the definition point.t - the temporary to be examined.
Error - if isConst(hce, t) is false.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||