harpoon.Backend.Sparc
Class InstrBuilder

java.lang.Object
  extended by harpoon.Backend.Generic.InstrBuilder
      extended by harpoon.Backend.Sparc.InstrBuilder

public class InstrBuilder
extends InstrBuilder

Sparc.InstrBuilder is another implementation of Generic.InstrBuilder - for the Sparc architecture.

Version:
$Id: InstrBuilder.java,v 1.2 2002/02/25 21:02:37 cananian Exp $
Author:
Andrew Berkheimer <andyb@mit.edu>

Method Summary
 InstrLABEL makeLabel(Instr template)
           
 List makeLoad(Temp r, int offset, Instr template)
          Generates a new set of Instrs for memory traffic from RAM to one register in the register file.
 List makeStore(Temp r, int offset, Instr template)
          Generates a new set of Instrs for memory traffic from the register file to RAM.
 
Methods inherited from class harpoon.Backend.Generic.InstrBuilder
getSize, makeLabel, makeLoad, makeStore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeLoad

public List makeLoad(Temp r,
                     int offset,
                     Instr template)
Description copied from class: InstrBuilder
Generates a new set of Instrs for memory traffic from RAM to one register in the register file.

Specified by:
makeLoad in class InstrBuilder
See Also:
InstrBuilder.getSize(harpoon.Temp.Temp)

makeStore

public List makeStore(Temp r,
                      int offset,
                      Instr template)
Description copied from class: InstrBuilder
Generates a new set of Instrs for memory traffic from the register file to RAM.

Specified by:
makeStore in class InstrBuilder
See Also:
InstrBuilder.getSize(harpoon.Temp.Temp)

makeLabel

public InstrLABEL makeLabel(Instr template)