harpoon.IR.Quads
Class Pattern
java.lang.Object
harpoon.IR.Quads.Pattern
public class Pattern
- extends Object
Pattern
- Version:
- $Id: Pattern.java,v 1.7 2004/02/08 03:21:24 cananian Exp $
- Author:
- Brian Demsky <bdemsky@mit.edu>
Method Summary |
static Object[] |
boundCheck(Quad q,
Temp array,
Temp index,
QuadWithTry code,
UseDef ud)
|
static Object[] |
componentCheck(Quad q,
Temp oref,
Temp aref,
QuadWithTry code,
UseDef ud)
|
static HClass |
exceptionCheck(Quad q)
|
static Object[] |
minusCheck(Quad q,
Temp checked,
QuadWithTry code,
UseDef ud)
|
static Object[] |
nullCheck(Quad q,
Temp checked,
QuadWithTry code,
UseDef ud)
|
static void |
patternMatch(QuadWithTry code,
Map typemap)
|
static Object[] |
zeroCheck(Quad q,
Temp checked,
boolean isint,
QuadWithTry code,
UseDef ud)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pattern
public Pattern()
exceptionCheck
public static HClass exceptionCheck(Quad q)
boundCheck
public static Object[] boundCheck(Quad q,
Temp array,
Temp index,
QuadWithTry code,
UseDef ud)
minusCheck
public static Object[] minusCheck(Quad q,
Temp checked,
QuadWithTry code,
UseDef ud)
nullCheck
public static Object[] nullCheck(Quad q,
Temp checked,
QuadWithTry code,
UseDef ud)
componentCheck
public static Object[] componentCheck(Quad q,
Temp oref,
Temp aref,
QuadWithTry code,
UseDef ud)
zeroCheck
public static Object[] zeroCheck(Quad q,
Temp checked,
boolean isint,
QuadWithTry code,
UseDef ud)
patternMatch
public static void patternMatch(QuadWithTry code,
Map typemap)