public class OpaqueDirectiveTest extends GraalCompilerTest
GraalDirectives.opaque(boolean)
.
There are two snippets for each kind:
Modifier and Type | Class and Description |
---|---|
private static class |
OpaqueDirectiveTest.Dummy |
private static interface |
OpaqueDirectiveTest.OpaqueSnippet |
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
lastCompiledGraph
Constructor and Description |
---|
OpaqueDirectiveTest() |
Modifier and Type | Method and Description |
---|---|
static boolean |
booleanSnippet() |
protected boolean |
checkLowTierGraph(StructuredGraph graph)
Can be overridden by unit tests to verify properties of the graph.
|
static double |
doubleSnippet() |
static int |
intSnippet() |
static boolean |
objectSnippet() |
static boolean |
opaqueBooleanSnippet() |
static double |
opaqueDoubleSnippet() |
static int |
opaqueIntSnippet() |
static boolean |
opaqueObjectSnippet() |
void |
testBoolean() |
void |
testDouble() |
void |
testInt() |
void |
testObject() |
addMethod, after, afterTest, applyArgSuppliers, argsWithReceiver, asResolvedJavaMethod, assertConstantReturn, assertEquals, assertEquals, assertEquals, before, beforeTest, branchProbability, breakpoint, breakpoint, checkArgs, checkHighTierGraph, 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
public OpaqueDirectiveTest()
public static boolean booleanSnippet()
public static boolean opaqueBooleanSnippet()
public void testBoolean()
public static int intSnippet()
public static int opaqueIntSnippet()
public void testInt()
public static double doubleSnippet()
public static double opaqueDoubleSnippet()
public void testDouble()
public static boolean objectSnippet()
public static boolean opaqueObjectSnippet()
public void testObject()
protected boolean checkLowTierGraph(StructuredGraph graph)
GraalCompilerTest
checkLowTierGraph
in class GraalCompilerTest
graph
- the graph at the end of LowTier