public class PEAReadEliminationTest extends EarlyReadEliminationTest
EarlyReadEliminationTest.TestObject, EarlyReadEliminationTest.TestObject2, EarlyReadEliminationTest.TestObject3
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
Modifier and Type | Field and Description |
---|---|
private static long |
offsetInt1 |
private static long |
offsetInt2 |
private static long |
offsetLong1 |
private static long |
offsetLong2 |
private static long |
offsetObject1 |
private static long |
offsetObject2 |
graph, staticField
lastCompiledGraph
Constructor and Description |
---|
PEAReadEliminationTest() |
Modifier and Type | Method and Description |
---|---|
private static void |
nonInlineable() |
protected void |
processMethod(String snippet) |
void |
testIndexed1() |
static int |
testIndexed1Snippet(int[] array) |
void |
testIndexed2() |
static int |
testIndexed2Snippet(int v,
int[] array) |
void |
testIndexed3() |
static int |
testIndexed3Snippet(int v,
int[] array,
short[] array2) |
void |
testIndexed4() |
static int |
testIndexed4Snippet(int[] array) |
void |
testUnsafe1() |
static int |
testUnsafe1Snippet(int v,
int[] array) |
void |
testUnsafe2() |
static int |
testUnsafe2Snippet(int v,
Object array) |
void |
testUnsafe3() |
static int |
testUnsafe3Snippet(int v,
Object[] array) |
void |
testUnsafe4() |
static int |
testUnsafe4Snippet(int v,
Object[] array) |
void |
testUnsafe5() |
static int |
testUnsafe5Snippet(int v,
long[] array) |
getReturn, testBadLoop, testBadLoop2, testBadLoop2Snippet, testBadLoopSnippet, testMaterialized, testMaterializedSnippet, testParam, testParamSnippet, testPhi, testPhiSnippet, testSimple, testSimpleConflict, testSimpleConflictSnippet, testSimpleLoop, testSimpleLoopSnippet, testSimpleSnippet, testSimpleStore, testSimpleStoreSnippet, testValueProxy, testValueProxySnippet
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 long offsetInt1
private static final long offsetInt2
private static final long offsetObject1
private static final long offsetObject2
private static final long offsetLong1
private static final long offsetLong2
public PEAReadEliminationTest()
public static int testIndexed1Snippet(int[] array)
public void testIndexed1()
public static int testIndexed2Snippet(int v, int[] array)
public void testIndexed2()
public static int testIndexed3Snippet(int v, int[] array, short[] array2)
public void testIndexed3()
private static void nonInlineable()
public static int testIndexed4Snippet(int[] array)
public void testIndexed4()
public static int testUnsafe1Snippet(int v, int[] array)
public void testUnsafe1()
public static int testUnsafe2Snippet(int v, Object array)
public void testUnsafe2()
public static int testUnsafe3Snippet(int v, Object[] array)
public void testUnsafe3()
public static int testUnsafe4Snippet(int v, Object[] array)
public void testUnsafe4()
public static int testUnsafe5Snippet(int v, long[] array)
public void testUnsafe5()
protected void processMethod(String snippet)
processMethod
in class EarlyReadEliminationTest