public class CompareCanonicalizerTest extends GraalCompilerTest
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
lastCompiledGraph
Constructor and Description |
---|
CompareCanonicalizerTest() |
Modifier and Type | Method and Description |
---|---|
static int |
canonicalCompare1(int a,
int b) |
static int |
canonicalCompare2(int a,
int b) |
static int |
canonicalCompare3(int a,
int b) |
private StructuredGraph |
getCanonicalizedGraph(String name) |
private static ValueNode |
getResult(StructuredGraph graph) |
static boolean |
integerTest1(int x,
int y) |
static boolean |
integerTest2(long x,
long y) |
static boolean |
integerTest3(long x,
long y) |
static boolean |
integerTest4(int x,
int y) |
static int |
integerTestCanonicalization1(boolean b) |
static int |
integerTestCanonicalization2(boolean b) |
static int |
integerTestCanonicalization3(boolean b) |
static int |
referenceCanonicalComparison(int a,
int b) |
void |
testCanonicalComparison() |
void |
testIntegerTest() |
void |
testIntegerTestCanonicalization() |
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
public CompareCanonicalizerTest()
private StructuredGraph getCanonicalizedGraph(String name)
private static ValueNode getResult(StructuredGraph graph)
public void testCanonicalComparison()
public static int referenceCanonicalComparison(int a, int b)
public static int canonicalCompare1(int a, int b)
public static int canonicalCompare2(int a, int b)
public static int canonicalCompare3(int a, int b)
public void testIntegerTest()
public static boolean integerTest1(int x, int y)
public static boolean integerTest2(long x, long y)
public static boolean integerTest3(long x, long y)
public static boolean integerTest4(int x, int y)
public void testIntegerTestCanonicalization()
public static int integerTestCanonicalization1(boolean b)
public static int integerTestCanonicalization2(boolean b)
public static int integerTestCanonicalization3(boolean b)