public class IntegerEqualsCanonicalizerTest extends GraalCompilerTest
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
Modifier and Type | Field and Description |
---|---|
private static int |
field |
lastCompiledGraph
Constructor and Description |
---|
IntegerEqualsCanonicalizerTest() |
Modifier and Type | Method and Description |
---|---|
private StructuredGraph |
getCanonicalizedGraph(String snippet) |
private void |
test(String snippet,
String referenceSnippet) |
void |
testCompare() |
static void |
testCompareReference(int x,
int y,
int[] array1,
int[] array2) |
static void |
testCompareSnippet(int x,
int y,
int[] array1,
int[] array2) |
void |
testShiftEquals() |
static void |
testShiftEqualsReference(int x,
int[] array,
int y) |
static void |
testShiftEqualsSnippet(int x,
int[] array,
int y) |
addMethod, after, afterTest, applyArgSuppliers, argsWithReceiver, asResolvedJavaMethod, assertConstantReturn, assertEquals, assertEquals, assertEquals, before, beforeTest, branchProbability, breakpoint, breakpoint, checkArgs, checkHighTierGraph, checkLowTierGraph, checkMidTierGraph, compile, countUnusedConstants, createLIRSuites, createSuites, editGraphBuilderConfiguration, executeActual, executeActualCheckDeopt, executeExpected, getBackend, getCanonicalGraphString, getCode, getCode, getCode, getCodeCache, getConstantReflection, getCustomGraphBuilderSuite, getDefaultGraphBuilderPlugins, getDefaultGraphBuilderSuite, getDefaultHighTierContext, getLIRSuites, getLowerer, getMetaAccess, getNodeCountExcludingUnusedConstants, getProviders, getReplacements, getResolvedJavaMethod, getResolvedJavaMethod, getResolvedJavaMethod, getSnippetReflection, getSpeculationLog, getSuites, getTarget, initializeDebugging, invoke, isArchitecture, iterationCount, lookupMethod, parseDebug, parseEager, parseEager, parseForCompile, parseProfiled, parseProfiled, referenceInvoke, supply, test, test, testAgainstExpected, testAgainstExpected, testN
assertDeepEquals, assertDeepEquals, assertDeepEquals, assertDeepEquals, assertFalse, assertFalse, assertFalse, assertTrue, assertTrue, assertTrue, equalFloatsOrDoublesDelta, fail, getMethod, getMethod, getMethod, ulpsDelta
private static int field
public IntegerEqualsCanonicalizerTest()
public void testShiftEquals()
public static void testShiftEqualsSnippet(int x, int[] array, int y)
public static void testShiftEqualsReference(int x, int[] array, int y)
public void testCompare()
public static void testCompareSnippet(int x, int y, int[] array1, int[] array2)
public static void testCompareReference(int x, int y, int[] array1, int[] array2)
private StructuredGraph getCanonicalizedGraph(String snippet)