|
CBMC
|
#include "horn_encoding.h"#include <util/c_types.h>#include <util/exception_utils.h>#include <util/format_expr.h>#include <util/mathematical_expr.h>#include <util/pointer_expr.h>#include <util/prefix.h>#include <util/replace_symbol.h>#include <util/std_code.h>#include <util/std_expr.h>#include <goto-programs/goto_model.h>#include <solvers/smt2/smt2_conv.h>#include <algorithm>#include <ostream>#include <unordered_set>
Include dependency graph for horn_encoding.cpp:Go to the source code of this file.
Classes | |
| class | state_typet |
| class | evaluate_exprt |
| class | update_state_exprt |
| class | allocate_exprt |
| class | encoding_targett |
| class | container_encoding_targett |
| class | smt2_encoding_targett |
| class | ascii_encoding_targett |
| class | state_encodingt |
Horn-clause Encoding
Definition in file horn_encoding.cpp.
| void equality_propagation | ( | std::vector< exprt > & | constraints | ) |
Definition at line 1152 of file horn_encoding.cpp.
| std::unordered_set<symbol_exprt, irep_hash> find_variables | ( | const std::vector< exprt > & | src | ) |
Definition at line 1021 of file horn_encoding.cpp.
|
static |
Definition at line 325 of file horn_encoding.cpp.
| void horn_encoding | ( | const goto_modelt & | goto_model, |
| std::ostream & | out | ||
| ) |
Definition at line 1208 of file horn_encoding.cpp.
|
static |
Definition at line 1032 of file horn_encoding.cpp.
|
inlinestatic |
Definition at line 265 of file horn_encoding.cpp.
|
inlinestatic |
Definition at line 259 of file horn_encoding.cpp.
Definition at line 700 of file horn_encoding.cpp.
| void state_encoding | ( | const goto_modelt & | goto_model, |
| bool | program_is_inlined, | ||
| encoding_targett & | dest | ||
| ) |
Definition at line 983 of file horn_encoding.cpp.
|
inlinestatic |
Definition at line 47 of file horn_encoding.cpp.
|
inlinestatic |
Definition at line 42 of file horn_encoding.cpp.
|
inline |
Cast an exprt to a allocate_exprt.
expr must be known to be allocate_exprt.
| expr | Source expression |
Definition at line 206 of file horn_encoding.cpp.
|
inline |
Cast an exprt to a evaluate_exprt.
expr must be known to be evaluate_exprt.
| expr | Source expression |
Definition at line 88 of file horn_encoding.cpp.
|
inline |
Cast an exprt to a evaluate_exprt.
expr must be known to be evaluate_exprt.
| expr | Source expression |
Definition at line 97 of file horn_encoding.cpp.
|
inline |
Cast an exprt to a update_state_exprt.
expr must be known to be update_state_exprt.
| expr | Source expression |
Definition at line 147 of file horn_encoding.cpp.
|
inline |
Cast an exprt to a update_state_exprt.
expr must be known to be update_state_exprt.
| expr | Source expression |
Definition at line 156 of file horn_encoding.cpp.
| exprt variable_encoding | ( | exprt | src, |
| const binding_exprt::variablest & | variables | ||
| ) |
Definition at line 1041 of file horn_encoding.cpp.
| void variable_encoding | ( | std::vector< exprt > & | constraints | ) |
Definition at line 1130 of file horn_encoding.cpp.