ObjectState * saveState() const
virtual ObjectState * saveState() const
void loadState(const ObjectState *state)
static const std::string OSNAME_GUARD
ObjectState name for guard.
virtual bool isDisjoint(const Guard &guard) const
static const std::string OSNAME_REGISTER_GUARD
ObjectState name for RegisterGuard.
int registerIndex() const
virtual void copyTo(Bus &parentBus) const
FUPort * port_
Port from which the condition term is taken.
virtual bool isEqual(const Guard &guard) const =0
virtual void copyTo(Bus &parentBus) const
bool inverted_
Indicated whether the condition term is inverted.
bool isOpposite(const Guard &guard) const
ObjectState * saveState() const
virtual void copyTo(Bus &parentBus) const =0
bool isEqual(const Guard &guard) const
static const std::string OSKEY_INVERTED
ObjectState attribute key for inverted feature.
bool isOpposite(const Guard &) const
Bus * parent_
The parent bus of the guard.
void loadState(const ObjectState *state)
static const std::string OSKEY_PORT
ObjectState attribute key for port name.
bool isEqual(const Guard &guard) const
virtual bool isLessRestrictive(const Guard &guard) const
Guard(bool inverted, Bus *parentBus)
int registerIndex_
Index of the register from which the condition term is taken.
UnconditionalGuard(bool inverted, Bus &parentBus)
bool isOpposite(const Guard &guard) const
RegisterGuard(bool inverted, const RegisterFile ®File, unsigned int registerIndex, Bus *parentBus)
static const std::string OSKEY_REGFILE
ObjectState attribute key for register file name.
virtual bool isOpposite(const Guard &guard) const =0
virtual Bus * parentBus() const
virtual void setParentBus(Bus *parentBus)
virtual bool isInverted() const
virtual ~UnconditionalGuard()
virtual void loadState(const ObjectState *state)
static const std::string OSKEY_FU
ObjectState attribute key for function unit name.
PortGuard(bool inverted, FUPort &port, Bus &parentBus)
static const std::string OSKEY_INDEX
ObjectState attribute key for register index.
virtual bool isMoreRestrictive(const Guard &guard) const
void loadState(const ObjectState *state)
static const std::string OSNAME_PORT_GUARD
ObjectState name for PortGuard ObjectState.
static const std::string OSNAME_UNCONDITIONAL_GUARD
ObjectState name for UnconditionalGuard.
const RegisterFile * registerFile() const
ObjectState * saveState() const
bool isEqual(const Guard &guard) const
const RegisterFile * regFile_
RegisterFile from which the condition term is taken.
virtual void copyTo(Bus &parentBus) const