public class EarlyReadEliminationTest extends GraalCompilerTest
Modifier and Type | Class and Description |
---|---|
static class |
EarlyReadEliminationTest.TestObject |
static class |
EarlyReadEliminationTest.TestObject2 |
static class |
EarlyReadEliminationTest.TestObject3 |
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
Modifier and Type | Field and Description |
---|---|
protected StructuredGraph |
graph |
static Object |
staticField |
lastCompiledGraph
Constructor and Description |
---|
EarlyReadEliminationTest() |
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
protected StructuredGraph graph
public static Object staticField
public EarlyReadEliminationTest()
public static int testSimpleSnippet(EarlyReadEliminationTest.TestObject a)
public void testSimple()
public static int testSimpleConflictSnippet(EarlyReadEliminationTest.TestObject a, EarlyReadEliminationTest.TestObject b)
public void testSimpleConflict()
public static int testParamSnippet(EarlyReadEliminationTest.TestObject a, int b)
public void testParam()
public static int testMaterializedSnippet(int a)
public void testMaterialized()
public static int testSimpleLoopSnippet(EarlyReadEliminationTest.TestObject obj, int a, int b)
public void testSimpleLoop()
public static int testBadLoopSnippet(EarlyReadEliminationTest.TestObject obj, EarlyReadEliminationTest.TestObject obj2, int a, int b)
public void testBadLoop()
public static int testBadLoop2Snippet(EarlyReadEliminationTest.TestObject obj, EarlyReadEliminationTest.TestObject obj2, int a, int b)
public void testBadLoop2()
public static int testPhiSnippet(EarlyReadEliminationTest.TestObject a, int b)
public void testPhi()
public static void testSimpleStoreSnippet(EarlyReadEliminationTest.TestObject a, int b)
public void testSimpleStore()
public static int testValueProxySnippet(boolean b, EarlyReadEliminationTest.TestObject o)
public void testValueProxy()
ReturnNode getReturn(String snippet)
protected void processMethod(String snippet)