Go to the documentation of this file.
33 #ifndef TTA_TERMINAL_REGISTER_HH
34 #define TTA_TERMINAL_REGISTER_HH
63 virtual bool isGPR()
const;
68 virtual int index()
const;
virtual bool isGPR() const
virtual void setIndex(int index)
virtual bool isImmediateRegister() const
virtual bool isUniversalMachineRegister() const
virtual const TTAMachine::ImmediateUnit & immediateUnit() const
TerminalRegister(const TTAMachine::Port &port, int index)
virtual int index() const
const TTAMachine::Unit & unit_
Unit of the terminal.
virtual ~TerminalRegister()
Copying is allowed.
virtual const TTAMachine::Port & port() const
bool isImmUnit_
Unit type flag: true if immediate unit, false if register file.
virtual TCEString toString() const
const TTAMachine::Port & port_
Port of the unit.
virtual const TTAMachine::RegisterFile & registerFile() const
virtual bool equals(const Terminal &other) const
virtual Terminal * copy() const
TerminalRegister & operator=(const TerminalRegister &)
Assignment not allowed.
short index_
Index of the register of the register file or immediate unit.