CBMC
irep.h File Reference
#include <string>
#include <vector>
#include "invariant.h"
#include "irep_ids.h"
#include "forward_list_as_map.h"
+ Include dependency graph for irep.h:

Go to the source code of this file.

Classes

struct  ref_count_ift< enabled >
 Used in tree_nodet for activating or not reference counting. More...
 
struct  ref_count_ift< true >
 
class  tree_nodet< treet, named_subtreest, sharing >
 A node with data in a tree, it contains: More...
 
class  sharing_treet< derivedt, named_subtreest >
 Base class for tree-like data structures with sharing. More...
 
class  non_sharing_treet< derivedt, named_subtreest >
 Base class for tree-like data structures without sharing. More...
 
class  irept
 There are a large number of kinds of tree structured or tree-like data in CPROVER. More...
 
struct  irep_hash
 
struct  irep_full_hash
 
struct  irep_full_eq
 
struct  irep_pretty_diagnosticst
 
struct  diagnostics_helpert< irep_pretty_diagnosticst >
 

Macros

#define SHARING
 
#define HASH_CODE   1
 
#define NAMED_SUB_IS_FORWARD_LIST   1
 

Typedefs

typedef dstringt irep_idt
 
typedef dstring_hash irep_id_hash
 

Functions

const std::string & id2string (const irep_idt &d)
 
const ireptget_nil_irep ()
 

Macro Definition Documentation

◆ HASH_CODE

#define HASH_CODE   1

Definition at line 21 of file irep.h.

◆ NAMED_SUB_IS_FORWARD_LIST

#define NAMED_SUB_IS_FORWARD_LIST   1

Definition at line 27 of file irep.h.

◆ SHARING

#define SHARING

Definition at line 19 of file irep.h.

Typedef Documentation

◆ irep_id_hash

Definition at line 38 of file irep.h.

◆ irep_idt

typedef dstringt irep_idt

Definition at line 36 of file irep.h.

Function Documentation

◆ get_nil_irep()

const irept& get_nil_irep ( )

Definition at line 19 of file irep.cpp.

◆ id2string()

const std::string& id2string ( const irep_idt d)
inline

Definition at line 44 of file irep.h.