163 bool m_is_round_based;
168 std::set<Gate*> m_in_reg;
173 std::set<Gate*> m_out_reg;
A register candidate discovered by HAWKEYE.
Netlist * get_netlist() const
Get the netlist associated with the candidate.
bool operator<(const RegisterCandidate &rhs) const
Less-than comparison operator for two register candidates.
bool is_round_based() const
Check if the candidate is round-based, i.e., input and output register are the same.
bool operator==(const RegisterCandidate &rhs) const
Equality comparison operator for two register candidates.
RegisterCandidate()=default
Default constructor for RegisterCandidate.
u32 get_size() const
Get the size of the candidate, i.e., the width of its registers.
const std::set< Gate * > & get_input_reg() const
Get the candidate's input register.
const std::set< Gate * > & get_output_reg() const
Get the candidate's output register.
~RegisterCandidate()=default
Default destructor for RegisterCandidate.