public class StampCanonicalizerTest extends GraalCompilerTest
IntegerStamp.upMask()
.GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
lastCompiledGraph
Constructor and Description |
---|
StampCanonicalizerTest() |
Modifier and Type | Method and Description |
---|---|
static int |
andStamp(int a,
int b) |
static int |
distinctMask(int a,
int b) |
static int |
divStamp1(int[] a) |
static int |
divStamp2(int[] a) |
static int |
shiftLeftStamp1(int a) |
static int |
shiftLeftStamp2(int a) |
void |
testAnd() |
void |
testDistinctMask() |
void |
testDiv() |
void |
testShift() |
void |
testUpperBoundShift() |
private void |
testZeroReturn(String methodName) |
static int |
upperBoundShiftStamp1(int a) |
static int |
upperBoundShiftStamp2(int a) |
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
public StampCanonicalizerTest()
public static int andStamp(int a, int b)
public void testAnd()
public static int shiftLeftStamp1(int a)
public static int shiftLeftStamp2(int a)
public void testShift()
public static int upperBoundShiftStamp1(int a)
public static int upperBoundShiftStamp2(int a)
public void testUpperBoundShift()
public static int divStamp1(int[] a)
public static int divStamp2(int[] a)
public void testDiv()
public static int distinctMask(int a, int b)
public void testDistinctMask()
private void testZeroReturn(String methodName)