coins.simd
Class LirDecoder

java.lang.Object
  extended bycoins.simd.LirDecoder

public class LirDecoder
extends java.lang.Object

Decoder class for Lir. This class copied and modified coins.backend.Function.decodeLir for testing SIMD locally.


Constructor Summary
LirDecoder(Function f)
          Constructs LirDecoder.
 
Method Summary
 LirNode decodeLir(ImList stmt)
          Decode ImList which represents LirNode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LirDecoder

public LirDecoder(Function f)
Constructs LirDecoder.

Parameters:
f - Function
Method Detail

decodeLir

public LirNode decodeLir(ImList stmt)
                  throws SyntaxError
Decode ImList which represents LirNode.

Parameters:
stmt - ImList, which represents a LirNode.
Returns:
LirNode
Throws:
SyntaxError