public abstract class SLIsInlinedBuiltin extends SLGraalRuntimeBuiltin
true
if a function got inlined for all calls from a given SLFunction
. If no direct calls to the given SLFunction
could be resolved or the call got inlined
for some callsites and for some not then an AssertionError
is thrown.Modifier and Type | Class and Description |
---|---|
private static class |
SLIsInlinedBuiltin.InliningTrace |
Constructor and Description |
---|
SLIsInlinedBuiltin() |
Modifier and Type | Method and Description |
---|---|
Object |
isInlined(com.oracle.truffle.sl.runtime.SLFunction rootFunction,
com.oracle.truffle.sl.runtime.SLFunction parentFunction,
com.oracle.truffle.sl.runtime.SLFunction inlinedFunction) |
private static void |
searchInlined(SLIsInlinedBuiltin.InliningTrace trace,
OptimizedCallTarget rootTarget,
com.oracle.truffle.sl.runtime.SLFunction parent,
com.oracle.truffle.sl.runtime.SLFunction inlinedFunction) |
findCallsTo, findCallsTo, findDuplicateCallTargets
createWrapperNode, executeBoolean, executeFunction, executeGeneric, executeLong, executeVoid, isInstrumentable
formatSourceSection, getNonWrapperNode, toString
accept, adoptChildren, assignSourceSection, atomic, atomic, clearSourceSection, clone, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLanguage, getParent, getRootNode, getSourceSection, insert, insert, isSafelyReplaceableBy, onReplace, probe, replace, replace
public SLIsInlinedBuiltin()
public Object isInlined(com.oracle.truffle.sl.runtime.SLFunction rootFunction, com.oracle.truffle.sl.runtime.SLFunction parentFunction, com.oracle.truffle.sl.runtime.SLFunction inlinedFunction)
private static void searchInlined(SLIsInlinedBuiltin.InliningTrace trace, OptimizedCallTarget rootTarget, com.oracle.truffle.sl.runtime.SLFunction parent, com.oracle.truffle.sl.runtime.SLFunction inlinedFunction)