Companion

object Companion

Functions

Link copied to clipboard
fun backEdgeTo(targetBlock: L2BasicBlock): L2PcOperand

Create an L2PcOperand leading to the given L2BasicBlock, which must be L2BasicBlock.isLoopHead.

Link copied to clipboard
fun edgeTo(targetBlock: L2BasicBlock): L2PcOperand

Create an L2PcOperand leading to the given L2BasicBlock.

Properties

Link copied to clipboard
val finalGenerationStat: Statistic

Statistics about final chunk generation from the optimized L2ControlFlowGraph.

Link copied to clipboard
const val maxExpandedEqualityChecks: Int = 3

Use a series of instance equality checks if we're doing type testing for method dispatch code and the type is a non-meta enumeration with at most this number of instances. Otherwise do a type test.

Link copied to clipboard
const val maxPolymorphismToInlineDispatch: Int = 8

Don't inline dispatch logic if there are more than this many possible implementations at a call site. This may seem so small that it precludes many fruitful opportunities, but code splitting should help eliminate all but a few possibilities at many call sites.