public abstract class AbstractInliningPolicy extends Object implements InliningPolicy
Modifier and Type | Field and Description |
---|---|
static float |
CapInheritedRelevance |
protected Map<Invoke,Double> |
hints |
static float |
RelevanceCapForInlining |
Constructor and Description |
---|
AbstractInliningPolicy(Map<Invoke,Double> hints) |
Modifier and Type | Method and Description |
---|---|
protected double |
computeMaximumSize(double relevance,
int configuredMaximum) |
protected static double |
determineInvokeProbability(InlineInfo info) |
protected double |
getInliningBonus(InlineInfo info) |
protected boolean |
isIntrinsic(Replacements replacements,
InlineInfo info) |
private static boolean |
onlyForcedIntrinsics(Replacements replacements,
InlineInfo info) |
private static boolean |
onlyIntrinsics(Replacements replacements,
InlineInfo info) |
protected static int |
previousLowLevelGraphSize(InlineInfo info) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
continueInlining, isWorthInlining
public static final float RelevanceCapForInlining
public static final float CapInheritedRelevance
public AbstractInliningPolicy(Map<Invoke,Double> hints)
protected double computeMaximumSize(double relevance, int configuredMaximum)
protected double getInliningBonus(InlineInfo info)
protected boolean isIntrinsic(Replacements replacements, InlineInfo info)
private static boolean onlyIntrinsics(Replacements replacements, InlineInfo info)
private static boolean onlyForcedIntrinsics(Replacements replacements, InlineInfo info)
protected static int previousLowLevelGraphSize(InlineInfo info)
protected static double determineInvokeProbability(InlineInfo info)