harpoon.Backend.MIPS
Class BypassLatchSchedule

java.lang.Object
  extended by harpoon.Backend.MIPS.BypassLatchSchedule

public class BypassLatchSchedule
extends Object

BypassLatchSchedule is a transformation on low level, register allocated assembly code that annotates opcode to indicate if a given use is the last use of a register. E.g. add t0, t1, t2 xor t3, t0, t5 If t0 is not live out of xor, then we replace the xor instruction with xor.l1 t3, t0, t5 which says that this use of operand 1 (RS) is the last use. The assembler will use this information to not write the t0 value generated in the add instruction back to the register file.

Version:
$Id:
Author:
Emmett Witchel <witchel@mit.edu>

Constructor Summary
BypassLatchSchedule(Code _code, Frame _frame)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BypassLatchSchedule

public BypassLatchSchedule(Code _code,
                           Frame _frame)