public class TypeSystemTest extends GraalCompilerTest
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
lastCompiledGraph
Constructor and Description |
---|
TypeSystemTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertEquals(com.oracle.graal.nodes.StructuredGraph expected,
com.oracle.graal.nodes.StructuredGraph graph) |
static void |
outputGraph(com.oracle.graal.nodes.StructuredGraph graph,
String message) |
private static void |
outputNode(com.oracle.graal.graph.Node node) |
static int |
referenceSnippet3(Object o) |
static int |
referenceSnippet5(Object o,
Object a) |
static int |
referenceSnippet7(int x) |
private void |
test(String snippet,
String referenceSnippet) |
void |
test3() |
static int |
test3Snippet(Object o) |
void |
test4() |
static int |
test4Snippet(Object o) |
void |
test5() |
static int |
test5Snippet(Object o,
Object a) |
void |
test6() |
static int |
test6Snippet(int i) |
void |
test7() |
static int |
test7Snippet(int x) |
private <T extends com.oracle.graal.graph.Node> |
testHelper(String snippet,
Class<T> clazz) |
addMethod, after, afterTest, applyArgSuppliers, argsWithReceiver, asResolvedJavaMethod, assertConstantReturn, 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
public TypeSystemTest()
public void test3()
public static int referenceSnippet3(Object o)
public static int test3Snippet(Object o)
public void test4()
public static int test4Snippet(Object o)
public void test5()
public static int referenceSnippet5(Object o, Object a)
public static int test5Snippet(Object o, Object a)
public void test6()
public static int test6Snippet(int i) throws IOException
IOException
public void test7()
public static int test7Snippet(int x)
public static int referenceSnippet7(int x)
protected void assertEquals(com.oracle.graal.nodes.StructuredGraph expected, com.oracle.graal.nodes.StructuredGraph graph)
assertEquals
in class GraalCompilerTest
public static void outputGraph(com.oracle.graal.nodes.StructuredGraph graph, String message)
private static void outputNode(com.oracle.graal.graph.Node node)
private <T extends com.oracle.graal.graph.Node> void testHelper(String snippet, Class<T> clazz)