final class MinimalBURS extends BURS
BURS_StateCoder,
AbstractBURS_TreeNodeAddressConstant, BranchTarget, DEBUG, ir, lastInstr, LongConstant, NullTreeNode, Register| Constructor and Description |
|---|
MinimalBURS(IR ir)
Create a BURS object for the given IR.
|
| Modifier and Type | Method and Description |
|---|---|
private AbstractBURS_TreeNode |
buildTree(Instruction s)
Build a BURS Tree for each Instruction.
|
private void |
generateTree(AbstractBURS_TreeNode k,
BURS_StateCoder burs)
Generates code for a single tree root.
|
void |
invoke(BasicBlock bb)
Build BURS trees for the basic block
bb, label the trees, and
then generate MIR instructions based on the labeling. |
action, append, debug, dumpTree, finalizeBlock, label, makeCoder, mark, prepareForBlockMinimalBURS(IR ir)
ir - the IR to translate from LIR to MIR.public void invoke(BasicBlock bb)
bb, label the trees, and
then generate MIR instructions based on the labeling.bb - the basic block to processprivate AbstractBURS_TreeNode buildTree(Instruction s)
s - The instruction for which a tree must be builtprivate void generateTree(AbstractBURS_TreeNode k, BURS_StateCoder burs)
k - the root to start generation atburs - the current BURS state