public class TruffleInlining extends Object implements TruffleInliningData
| Constructor and Description |
|---|
TruffleInlining() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInlinedTarget(CompilableTruffleAST target)
To be used from the compiler side.
|
void |
addTargetToDequeue(CompilableTruffleAST target)
Records the given target to be dequed from the compilation queue at the end of the current
compilation.
|
int |
countCalls() |
int |
countInlinedCalls() |
void |
dequeueTargets() |
OptimizedDirectCallNode |
findCallNode(JavaConstant callNodeConstant)
Gets the runtime representation of the call node constant.
|
org.graalvm.compiler.truffle.runtime.TruffleInlining.TruffleSourceLanguagePosition |
getPosition(JavaConstant node)
If
node represents an AST Node then return the nearest source information for it. |
org.graalvm.compiler.truffle.runtime.TruffleNodeSources |
getTruffleNodeSources() |
CompilableTruffleAST[] |
inlinedTargets() |
void |
setCallCounts(int total,
int inlined)
To be used from the compiler side.
|
public org.graalvm.compiler.truffle.runtime.TruffleNodeSources getTruffleNodeSources()
public int countCalls()
public int countInlinedCalls()
countInlinedCalls in interface TruffleInliningDatapublic CompilableTruffleAST[] inlinedTargets()
public void addInlinedTarget(CompilableTruffleAST target)
TruffleInliningDataaddInlinedTarget in interface TruffleInliningDatatarget - register this target as inlined.public void setCallCounts(int total,
int inlined)
TruffleInliningDatasetCallCounts in interface TruffleInliningDatapublic OptimizedDirectCallNode findCallNode(JavaConstant callNodeConstant)
TruffleInliningDatafindCallNode in interface TruffleInliningDatapublic void addTargetToDequeue(CompilableTruffleAST target)
TruffleInliningDataaddTargetToDequeue in interface TruffleInliningDatapublic void dequeueTargets()
public org.graalvm.compiler.truffle.runtime.TruffleInlining.TruffleSourceLanguagePosition getPosition(JavaConstant node)
TruffleInliningDatanode represents an AST Node then return the nearest source information for it.
Otherwise simply return null.getPosition in interface TruffleInliningData