public final class SplitBasicBlock extends CompilerPhase
size <=
OptOptions.L2M_MAX_BLOCK_SIZEcontainer| Constructor and Description |
|---|
SplitBasicBlock() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
CompilerPhase |
newExecution(IR ir)
This method is called immediately before performPhase.
|
void |
perform(IR ir)
This is the method that actually does the work of the phase.
|
(package private) BasicBlock |
splitEachBlock(BasicBlock bb,
IR ir)
Splits a basic block.
|
dumpIR, dumpIR, getClassConstructor, getCompilerPhaseConstructor, getCompilerPhaseConstructor, performPhase, printingEnabled, reportAdditionalStats, setContainer, shouldPerform, verifypublic SplitBasicBlock()
public String getName()
getName in class CompilerPhasepublic CompilerPhase newExecution(IR ir)
CompilerPhasenewExecution in class CompilerPhaseir - the IR that is about to be passed to performPhasepublic void perform(IR ir)
CompilerPhaseperform in class CompilerPhaseir - the IR on which to apply the phaseBasicBlock splitEachBlock(BasicBlock bb, IR ir)
bb - the block to processir - the IR that contains the blocknull if no splitting is done, returns the second block
if splitting is done.