public class IfCanonicalizerTest extends GraalCompilerTest
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
Modifier and Type | Field and Description |
---|---|
private static String |
REFERENCE_SNIPPET |
lastCompiledGraph
Constructor and Description |
---|
IfCanonicalizerTest() |
Modifier and Type | Method and Description |
---|---|
static int |
referenceSnippet(int a) |
private void |
test(String snippet) |
void |
test1() |
static int |
test1Snippet(int a) |
void |
test2() |
static int |
test2Snippet(int a) |
void |
test3() |
static int |
test3Snippet(int a) |
void |
test4() |
static int |
test4Snippet(int a) |
void |
test5() |
static int |
test5Snippet(int a) |
void |
test6() |
static int |
test6Snippet(int[] a) |
void |
test7() |
static int |
test7Snippet(int v) |
void |
test8() |
static int |
test8Snippet(int v) |
void |
test9() |
static int |
test9Snippet(int n) |
private void |
testCombinedIf(String snippet,
int count) |
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 final String REFERENCE_SNIPPET
public IfCanonicalizerTest()
public static int referenceSnippet(int a)
public void test1()
public static int test1Snippet(int a)
public void test2()
public static int test2Snippet(int a)
public void test3()
public static int test3Snippet(int a)
public void test4()
public static int test4Snippet(int a)
public void test5()
public static int test5Snippet(int a)
public void test6()
public static int test6Snippet(int[] a)
public void test7()
public static int test7Snippet(int v)
public void test8()
public static int test8Snippet(int v)
public void test9()
public static int test9Snippet(int n)
private void testCombinedIf(String snippet, int count)