public static class StructuredGraph.Builder extends Object
StructuredGraph.| Constructor and Description |
|---|
Builder(OptionValues options,
DebugContext debug)
Creates a builder for a graph that does not support
Assumptions. |
Builder(OptionValues options,
DebugContext debug,
StructuredGraph.AllowAssumptions allowAssumptions)
Creates a builder for a graph.
|
| Modifier and Type | Method and Description |
|---|---|
StructuredGraph |
build() |
StructuredGraph.Builder |
callerContext(NodeSourcePosition context) |
StructuredGraph.Builder |
cancellable(Cancellable cancel) |
StructuredGraph.Builder |
compilationId(CompilationIdentifier id) |
StructuredGraph.Builder |
entryBCI(int bci) |
Cancellable |
getCancellable() |
CompilationIdentifier |
getCompilationId() |
DebugContext |
getDebug() |
int |
getEntryBCI() |
ResolvedJavaMethod |
getMethod() |
String |
getName() |
boolean |
getRecordInlinedMethods() |
SpeculationLog |
getSpeculationLog() |
StructuredGraph.Builder |
method(ResolvedJavaMethod method) |
StructuredGraph.Builder |
name(String s) |
StructuredGraph.Builder |
profileProvider(ProfileProvider provider) |
StructuredGraph.Builder |
recordInlinedMethods(boolean flag) |
StructuredGraph.Builder |
setIsSubstitution(boolean flag) |
StructuredGraph.Builder |
speculationLog(SpeculationLog log) |
StructuredGraph.Builder |
trackNodeSourcePosition(boolean flag) |
public Builder(OptionValues options, DebugContext debug, StructuredGraph.AllowAssumptions allowAssumptions)
public Builder(OptionValues options, DebugContext debug)
Assumptions.public String getName()
public StructuredGraph.Builder name(String s)
public StructuredGraph.Builder setIsSubstitution(boolean flag)
StructuredGraph.isSubstitution()public ResolvedJavaMethod getMethod()
public StructuredGraph.Builder method(ResolvedJavaMethod method)
public DebugContext getDebug()
public SpeculationLog getSpeculationLog()
public StructuredGraph.Builder speculationLog(SpeculationLog log)
public CompilationIdentifier getCompilationId()
public StructuredGraph.Builder compilationId(CompilationIdentifier id)
public Cancellable getCancellable()
public StructuredGraph.Builder cancellable(Cancellable cancel)
public int getEntryBCI()
public StructuredGraph.Builder entryBCI(int bci)
public StructuredGraph.Builder profileProvider(ProfileProvider provider)
public boolean getRecordInlinedMethods()
public StructuredGraph.Builder recordInlinedMethods(boolean flag)
public StructuredGraph.Builder trackNodeSourcePosition(boolean flag)
public StructuredGraph.Builder callerContext(NodeSourcePosition context)
public StructuredGraph build()