predecessorBlocksForUseOf

fun predecessorBlocksForUseOf(instruction: L2Instruction, usedRegister: L2Register): List<L2BasicBlock>

Examine the instruction and answer the predecessor L2BasicBlocks that supply a value from the specified register.

Return

A List of predecessor blocks that supplied the usedRegister as an input to this phi operation.

Parameters

instruction

The phi-instruction to examine.

usedRegister

The L2Register whose use we're trying to trace back to its definition.