public abstract class LIRTest extends JTTTest
It provides facilities to replace methods with arbitrary LIR
instructions
.
Modifier and Type | Class and Description |
---|---|
static interface |
LIRTest.LIRIntrinsic |
private static class |
LIRTest.LIRTestNode |
private static class |
LIRTest.LIRValueNode |
JTTTest.DummyTestClass
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
Modifier and Type | Field and Description |
---|---|
private InvocationPlugin |
lirTestPlugin |
lastCompiledGraph
Constructor and Description |
---|
LIRTest() |
Modifier and Type | Method and Description |
---|---|
protected GraphBuilderConfiguration |
editGraphBuilderConfiguration(GraphBuilderConfiguration conf) |
static byte |
getOutput(LIRTestSpecification spec,
String name,
byte expected) |
static double |
getOutput(LIRTestSpecification spec,
String name,
double expected) |
static float |
getOutput(LIRTestSpecification spec,
String name,
float expected) |
static int |
getOutput(LIRTestSpecification spec,
String name,
int expected) |
static long |
getOutput(LIRTestSpecification spec,
String name,
long expected) |
static Object |
getOutput(LIRTestSpecification spec,
String name,
Object expected) |
static short |
getOutput(LIRTestSpecification spec,
String name,
short expected) |
assertDeepEquals, getCode, parseEager, runTest, runTest, runTest, runTestWithDelta
addMethod, after, afterTest, applyArgSuppliers, argsWithReceiver, asResolvedJavaMethod, assertConstantReturn, assertEquals, assertEquals, assertEquals, before, beforeTest, branchProbability, breakpoint, breakpoint, checkArgs, checkHighTierGraph, checkLowTierGraph, checkMidTierGraph, compile, countUnusedConstants, createLIRSuites, createSuites, executeActual, executeActualCheckDeopt, executeExpected, getBackend, getCanonicalGraphString, 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, parseForCompile, parseProfiled, parseProfiled, referenceInvoke, supply, test, test, testAgainstExpected, testAgainstExpected, testN
assertDeepEquals, assertDeepEquals, assertDeepEquals, assertFalse, assertFalse, assertFalse, assertTrue, assertTrue, assertTrue, equalFloatsOrDoublesDelta, fail, getMethod, getMethod, getMethod, ulpsDelta
private InvocationPlugin lirTestPlugin
public LIRTest()
protected GraphBuilderConfiguration editGraphBuilderConfiguration(GraphBuilderConfiguration conf)
editGraphBuilderConfiguration
in class GraalCompilerTest
public static byte getOutput(LIRTestSpecification spec, String name, byte expected)
public static short getOutput(LIRTestSpecification spec, String name, short expected)
public static int getOutput(LIRTestSpecification spec, String name, int expected)
public static long getOutput(LIRTestSpecification spec, String name, long expected)
public static float getOutput(LIRTestSpecification spec, String name, float expected)
public static double getOutput(LIRTestSpecification spec, String name, double expected)
public static Object getOutput(LIRTestSpecification spec, String name, Object expected)