public class PartialEvaluationTest extends GraalCompilerTest
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
Modifier and Type | Field and Description |
---|---|
private TruffleCompiler |
truffleCompiler |
lastCompiledGraph
Constructor and Description |
---|
PartialEvaluationTest() |
Modifier and Type | Method and Description |
---|---|
protected OptimizedCallTarget |
assertPartialEvalEquals(String methodName,
com.oracle.truffle.api.nodes.RootNode root) |
protected OptimizedCallTarget |
assertPartialEvalEquals(String methodName,
com.oracle.truffle.api.nodes.RootNode root,
Object[] arguments) |
protected void |
assertPartialEvalNoInvokes(com.oracle.truffle.api.nodes.RootNode root) |
protected void |
assertPartialEvalNoInvokes(com.oracle.truffle.api.nodes.RootNode root,
Object[] arguments) |
protected OptimizedCallTarget |
compileHelper(String methodName,
com.oracle.truffle.api.nodes.RootNode root,
Object[] arguments) |
protected StructuredGraph |
parseForComparison(String methodName) |
protected StructuredGraph |
partialEval(OptimizedCallTarget compilable,
Object[] arguments,
StructuredGraph.AllowAssumptions allowAssumptions) |
protected void |
removeFrameStates(StructuredGraph graph) |
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 final TruffleCompiler truffleCompiler
public PartialEvaluationTest()
protected OptimizedCallTarget assertPartialEvalEquals(String methodName, com.oracle.truffle.api.nodes.RootNode root)
protected OptimizedCallTarget compileHelper(String methodName, com.oracle.truffle.api.nodes.RootNode root, Object[] arguments)
protected OptimizedCallTarget assertPartialEvalEquals(String methodName, com.oracle.truffle.api.nodes.RootNode root, Object[] arguments)
protected void assertPartialEvalNoInvokes(com.oracle.truffle.api.nodes.RootNode root)
protected void assertPartialEvalNoInvokes(com.oracle.truffle.api.nodes.RootNode root, Object[] arguments)
protected StructuredGraph partialEval(OptimizedCallTarget compilable, Object[] arguments, StructuredGraph.AllowAssumptions allowAssumptions)
protected void removeFrameStates(StructuredGraph graph)
protected StructuredGraph parseForComparison(String methodName)