public class InlinedProfileBuilder extends Object
InlinedProfile| Modifier and Type | Field and Description |
|---|---|
protected com.oracle.truffle.api.dsl.InlineSupport.StateField |
stateField |
protected int |
stateFieldLength |
protected int |
stateFieldOffset |
protected int |
totalUsedBits |
| Constructor and Description |
|---|
InlinedProfileBuilder()
Allocates a new builder for uncached profiles.
|
InlinedProfileBuilder(com.oracle.truffle.api.dsl.InlineSupport.StateField stateField)
Allocates a new inlined profile builder for a full stateField.
|
InlinedProfileBuilder(com.oracle.truffle.api.dsl.InlineSupport.StateField stateField,
int offset,
int length)
Allocates a new inlined profile builder for a partial stateField.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
advanceStateField(int bits) |
com.oracle.truffle.api.profiles.InlinedBranchProfile |
branchProfile()
Adds and returns a new
InlinedBranchProfile. |
com.oracle.truffle.api.profiles.InlinedConditionProfile |
conditionProfile()
Adds and returns a new
InlinedConditionProfile. |
protected boolean |
isUncached() |
protected void |
maybeAdvanceStateField(int bits) |
com.oracle.truffle.api.dsl.InlineSupport.StateField |
stateFieldForBits(int bits)
Returns the next state subfield for the required number of bits.
|
protected com.oracle.truffle.api.dsl.InlineSupport.StateField stateField
protected int stateFieldOffset
protected int stateFieldLength
protected int totalUsedBits
public InlinedProfileBuilder(com.oracle.truffle.api.dsl.InlineSupport.StateField stateField)
public InlinedProfileBuilder(com.oracle.truffle.api.dsl.InlineSupport.StateField stateField,
int offset,
int length)
public InlinedProfileBuilder()
protected final void maybeAdvanceStateField(int bits)
protected void advanceStateField(int bits)
public final com.oracle.truffle.api.dsl.InlineSupport.StateField stateFieldForBits(int bits)
public final com.oracle.truffle.api.profiles.InlinedConditionProfile conditionProfile()
InlinedConditionProfile.public final com.oracle.truffle.api.profiles.InlinedBranchProfile branchProfile()
InlinedBranchProfile.protected final boolean isUncached()