public class BoxingEliminationTest extends GraalCompilerTest
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
Modifier and Type | Field and Description |
---|---|
private StructuredGraph |
graph |
private static Short |
s |
lastCompiledGraph
Constructor and Description |
---|
BoxingEliminationTest() |
Modifier and Type | Method and Description |
---|---|
static Integer |
boxedInteger() |
static Object |
boxedObjectInteger() |
static Object |
boxedObjectShort() |
static Short |
boxedShort() |
private void |
compareGraphs(String snippet,
String referenceSnippet) |
private void |
compareGraphs(String snippet,
String referenceSnippet,
boolean loopPeeling,
boolean excludeVirtual) |
static Short |
constantBoxedShort() |
void |
equalsTest1() |
static boolean |
equalsTest1Snippet(int x,
int y) |
(package private) ValueNode |
getResult(String snippet) |
void |
intTest1() |
static int |
intTest1Snippet() |
void |
loopTest1() |
static int |
loopTest1Snippet(int n,
int v) |
static Integer |
materializeReferenceSnippet(int a) |
void |
materializeTest1() |
static Integer |
materializeTest1Snippet(int a) |
void |
mergeTest1() |
static int |
mergeTest1Snippet(boolean d,
int a,
int b) |
private void |
processMethod(String snippet) |
static boolean |
referenceComparisonSnippet(int a,
int b) |
static int |
referenceIfSnippet(int a) |
static boolean |
referenceLateCanonicalizationSnippet(int a) |
static int |
referenceLoop2Snippet(int n,
Integer a) |
static int |
referenceLoopSnippet(int n,
int a) |
static short |
referenceSnippet1() |
static short |
referenceSnippet2() |
void |
test1() |
static short |
test1Snippet() |
void |
test2() |
static short |
test2Snippet() |
void |
test3() |
static short |
test3Snippet() |
void |
test4() |
static short |
test4Snippet() |
void |
testComparison() |
static boolean |
testComparison1Snippet(int a,
int b) |
static boolean |
testComparison2Snippet(int a,
int b) |
void |
testIf() |
static int |
testIfSnippet(int a) |
void |
testLateCanonicalization() |
static boolean |
testLateCanonicalizationSnippet(int a) |
void |
testLoop() |
void |
testLoop2() |
static int |
testLoop2Snippet(int n,
Integer a) |
static int |
testLoopSnippet(int n,
int a) |
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 StructuredGraph graph
public BoxingEliminationTest()
public static short referenceSnippet1()
public static short referenceSnippet2()
public static Short boxedShort()
public static Object boxedObjectShort()
public static Object boxedObjectInteger()
public static Integer boxedInteger()
public static Short constantBoxedShort()
public void test1()
public static short test1Snippet()
public void test2()
public static short test2Snippet()
public void test3()
public static short test3Snippet()
public void test4()
public static short test4Snippet()
public void testLoop()
public static int testLoopSnippet(int n, int a)
public static int referenceLoopSnippet(int n, int a)
public void testLoop2()
public static int testLoop2Snippet(int n, Integer a)
public static int referenceLoop2Snippet(int n, Integer a)
public static int referenceIfSnippet(int a)
public void testIf()
public static int testIfSnippet(int a)
public void testComparison()
public static boolean testComparison1Snippet(int a, int b)
public static boolean testComparison2Snippet(int a, int b)
public static boolean referenceComparisonSnippet(int a, int b)
public void testLateCanonicalization()
public static boolean testLateCanonicalizationSnippet(int a)
public static boolean referenceLateCanonicalizationSnippet(int a)
public static Integer materializeReferenceSnippet(int a)
public static Integer materializeTest1Snippet(int a)
public void materializeTest1()
public static int intTest1Snippet()
public void intTest1()
public static int mergeTest1Snippet(boolean d, int a, int b)
public void mergeTest1()
public static boolean equalsTest1Snippet(int x, int y)
public void equalsTest1()
public static int loopTest1Snippet(int n, int v)
public void loopTest1()
private void processMethod(String snippet)
private void compareGraphs(String snippet, String referenceSnippet)
private void compareGraphs(String snippet, String referenceSnippet, boolean loopPeeling, boolean excludeVirtual)