| 153 | } |
| 154 | |
| 155 | bool |
| 156 | ObjectInstPath::operator< (const ObjectInstPath &d) const |
| 157 | { |
| 158 | if (is_cell_inst () != d.is_cell_inst ()) { |
| 159 | return is_cell_inst () < d.is_cell_inst (); |
| 160 | } |
| 161 | if (! is_cell_inst ()) { |
| 162 | if (m_layer != d.m_layer) { |
| 163 | return m_layer < d.m_layer; |
| 164 | } |
| 165 | if (m_shape != d.m_shape) { |
| 166 | return m_shape < d.m_shape; |
| 167 | } |
| 168 | } |
| 169 | if (m_cv_index != d.m_cv_index) { |
| 170 | return m_cv_index < d.m_cv_index; |
| 171 | } |
| 172 | if (m_topcell != d.m_topcell) { |
| 173 | return m_topcell < d.m_topcell; |
| 174 | } |
| 175 | return m_path < d.m_path; |
| 176 | } |
| 177 | |
| 178 | bool |
| 179 | ObjectInstPath::operator== (const ObjectInstPath &d) const |
nothing calls this directly
no test coverage detected