kernel/rtlil: Extract some helpers for checking memory cell types.
authorMarcelina Kościelnicka <mwk@0x04.net>
Sat, 22 May 2021 17:14:13 +0000 (19:14 +0200)
committerMarcelina Kościelnicka <mwk@0x04.net>
Sat, 22 May 2021 19:43:00 +0000 (21:43 +0200)
commitc4cc888b2c51a6507b73fdcde1dc61c37384105d
treed5bc86b7ae97217a242c7e1f5b6f9ad6da1e4c7d
parentc7076495f197732725456992c9a02aed9966139a
kernel/rtlil: Extract some helpers for checking memory cell types.

There will soon be more (versioned) memory cells, so handle passes that
only care if a cell is memory-related by a simple helper call instead of
a hardcoded list.
backends/btor/btor.cc
backends/smt2/smt2.cc
backends/verilog/verilog_backend.cc
kernel/rtlil.cc
kernel/rtlil.h
passes/cmds/delete.cc
passes/sat/sim.cc
passes/techmap/abc9_ops.cc
passes/techmap/flatten.cc
passes/techmap/techmap.cc