public class ControlFlowAnchorDirectiveTest extends GraalCompilerTest
Modifier and Type | Class and Description |
---|---|
private static interface |
ControlFlowAnchorDirectiveTest.AnchorSnippet |
private static interface |
ControlFlowAnchorDirectiveTest.NodeCount |
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
lastCompiledGraph
Constructor and Description |
---|
ControlFlowAnchorDirectiveTest() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkLowTierGraph(StructuredGraph graph)
Can be overridden by unit tests to verify properties of the graph.
|
private static List<ControlFlowAnchorDirectiveTest.NodeCount> |
getNodeCountAnnotations(StructuredGraph graph) |
static int |
preventDuplicateSnippet(int arg) |
static int |
preventFullUnrollSnippet(int arg) |
static int |
preventMergeSnippet(int arg) |
static void |
preventPeelSnippet(int arg) |
void |
testDuplicate() |
void |
testFullUnroll() |
void |
testMerge() |
void |
testPeel() |
static int |
verifyDuplicateSnippet(int arg) |
static int |
verifyFullUnrollSnippet(int arg) |
static int |
verifyMergeSnippet(int arg) |
static void |
verifyPeelSnippet(int arg) |
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 ControlFlowAnchorDirectiveTest()
public static int verifyMergeSnippet(int arg)
public static int preventMergeSnippet(int arg)
public void testMerge()
public static int verifyDuplicateSnippet(int arg)
public static int preventDuplicateSnippet(int arg)
public void testDuplicate()
public static int verifyFullUnrollSnippet(int arg)
public static int preventFullUnrollSnippet(int arg)
public void testFullUnroll()
public static void verifyPeelSnippet(int arg)
public static void preventPeelSnippet(int arg)
public void testPeel()
private static List<ControlFlowAnchorDirectiveTest.NodeCount> getNodeCountAnnotations(StructuredGraph graph)
protected boolean checkLowTierGraph(StructuredGraph graph)
GraalCompilerTest
checkLowTierGraph
in class GraalCompilerTest
graph
- the graph at the end of LowTier