21 ptr_hasht::const_iterator it=
ptr_hash.find(&irep.
read());
24 return it->second.number;
31 std::piecewise_construct,
32 std::forward_as_tuple(&irep.
read()),
33 std::forward_as_tuple(
id, irep));
41 size_t result=p.size();
63 packed.push_back(sub.size());
68 for(
const auto &
sub_irep : named_sub)
85 packed.push_back(sub.size());
90 for(
const auto &
sub_irep : named_sub)
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
std::vector< std::size_t > packedt
numberingt< packedt, vector_hasht > numbering
void pack(const irept &irep, packedt &)
std::size_t number(const irept &irep)
There are a large number of kinds of tree structured or tree-like data in CPROVER.
static std::size_t number_of_non_comments(const named_subt &)
count the number of named_sub elements that are not comments
static bool is_comment(const irep_idt &name)
const irep_idt & id() const
named_subt & get_named_sub()
typename dt::named_subt named_subt
dstring_hash irep_id_hash
#define hash_combine(h1, h2)
std::size_t operator()(const packedt &p) const