public class BitOpNodesTest extends GraalCompilerTest
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
Modifier and Type | Field and Description |
---|---|
static long |
dummyField |
private static int |
INT_CONSTANT_1 |
private static int |
INT_CONSTANT_2 |
private static int |
INT_CONSTANT_3 |
private static long |
LONG_CONSTANT_1 |
private static long |
LONG_CONSTANT_2 |
private static long |
LONG_CONSTANT_3 |
lastCompiledGraph
Constructor and Description |
---|
BitOpNodesTest() |
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
private static final int INT_CONSTANT_1
private static final int INT_CONSTANT_2
private static final int INT_CONSTANT_3
private static final long LONG_CONSTANT_1
private static final long LONG_CONSTANT_2
private static final long LONG_CONSTANT_3
public static long dummyField
public BitOpNodesTest()
public static int bitCountIntConstantSnippet()
public void testBitCountIntConstant()
public static int bitCountLongConstantSnippet()
public static int bitCountIntSnippet(int v)
public void testBitCountInt()
public static int bitCountIntEmptySnippet(int v)
public void testBitCountIntEmpty()
public void testBitCountLongConstant()
public static int bitCountLongSnippet(long v)
public void testBitCountLong()
public static int bitCountLongEmptySnippet(long v)
public void testBitCountLongEmpty()
public static int scanForwardIntConstantSnippet()
public void testScanForwardIntConstant()
public static int scanForwardIntSnippet(int v)
public void testScanForwardInt()
public static int scanForwardLongConstantSnippet()
public void testScanForwardLongConstant()
public static int scanForwardLongSnippet(long v)
public void testScanForwardLong()
public static int scanForwardLongEmptySnippet(long v)
public void testScanForwardLongEmpty()
public static int scanReverseIntConstantSnippet()
public void testScanReverseIntConstant()
public static int scanReverseIntSnippet(int v)
public void testScanReverseInt()
public static int scanReverseLongConstantSnippet()
public void testScanReverseLongConstant()
public static int scanReverseLongSnippet(long v)
public void testScanReverseLong()
public static int scanReverseLongEmptySnippet(long v)
public void testScanReverseLongEmpty()
private ValueNode parseAndInline(String name)
private ValueNode parseAndInline(String name, Class<? extends ValueNode> expectedClass)
name
. If expectedClass
is non-null and a node of that type
isn't found simply return null. Otherwise return the node returned by the graph.name
- expectedClass
- expectedClass
is not found in the graph.