public class ProbabilityDirectiveTest extends GraalCompilerTest
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
lastCompiledGraph
Constructor and Description |
---|
ProbabilityDirectiveTest() |
Modifier and Type | Method and Description |
---|---|
static int |
branchProbabilitySnippet(int arg) |
protected boolean |
checkLowTierGraph(StructuredGraph graph)
Can be overridden by unit tests to verify properties of the graph.
|
void |
testBranchProbability() |
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 ProbabilityDirectiveTest()
public static int branchProbabilitySnippet(int arg)
public void testBranchProbability()
protected boolean checkLowTierGraph(StructuredGraph graph)
GraalCompilerTest
checkLowTierGraph
in class GraalCompilerTest
graph
- the graph at the end of LowTier