Constructor and Description |
---|
MathUtil() |
Modifier and Type | Method and Description |
---|---|
static ValueNode |
add(StructuredGraph graph,
ValueNode v1,
ValueNode v2) |
static ValueNode |
divBefore(StructuredGraph graph,
FixedNode before,
ValueNode dividend,
ValueNode divisor) |
private static boolean |
isConstantOne(ValueNode v1) |
private static boolean |
isConstantZero(ValueNode v1) |
static ValueNode |
mul(StructuredGraph graph,
ValueNode v1,
ValueNode v2) |
static ValueNode |
sub(StructuredGraph graph,
ValueNode v1,
ValueNode v2) |
public MathUtil()
private static boolean isConstantOne(ValueNode v1)
private static boolean isConstantZero(ValueNode v1)
public static ValueNode add(StructuredGraph graph, ValueNode v1, ValueNode v2)
public static ValueNode mul(StructuredGraph graph, ValueNode v1, ValueNode v2)
public static ValueNode sub(StructuredGraph graph, ValueNode v1, ValueNode v2)