public final class SplitBasicBlock extends CompilerPhase
size <=
OptOptions.L2M_MAX_BLOCK_SIZE
container
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, verify
public SplitBasicBlock()
public String getName()
getName
in class CompilerPhase
public CompilerPhase newExecution(IR ir)
CompilerPhase
newExecution
in class CompilerPhase
ir
- the IR that is about to be passed to performPhasepublic void perform(IR ir)
CompilerPhase
perform
in class CompilerPhase
ir
- 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.