ESBMC
Efficient SMT-based Context-Bounded Model Checker
Loading...
Searching...
No Matches
expr_util.h
Go to the documentation of this file.
1#include <util/irep/expr.h>
4
5//
6// WARNING: The following functions are depreciated, and will
7// eventually be removed
8//
9// Look at std_expr.h instead.
10//
11
12exprt gen_zero(const typet &type, bool array_as_array_of);
13exprt gen_zero(const typet &type);
14exprt gen_one(const typet &type);
15exprt gen_not(const exprt &op);
17 const std::string &id,
18 const typet &type,
19 const exprt &op1,
20 const exprt &op2);
22 irep_idt &id,
23 const typet &type,
24 const exprt &op1,
25 const exprt &op2);
26exprt gen_and(const exprt &op1, const exprt &op2);
27exprt gen_and(const exprt &op1, const exprt &op2, const exprt &op3);
28exprt gen_or(const exprt &op1, const exprt &op2);
29exprt gen_or(const exprt &op1, const exprt &op2, const exprt &op3);
30exprt gen_address_of(const exprt &op);
32
34
36
37void gen_and(exprt &expr);
38void gen_or(exprt &expr);
39
40exprt symbol_expr(const symbolt &symbol);
41
42bool expr_has_floatbv(const exprt &src);
Definition expr.h:34
Definition irep_idt.h:12
Definition std_types.h:438
Definition symbol.h:12
Definition type.h:9
Definition toml.hpp:1531
exprt gen_one(const typet &type)
Definition expr_util.cpp:96
exprt symbol_expr(const symbolt &symbol)
Definition expr_util.cpp:239
exprt gen_boolean(bool value)
Definition expr_util.cpp:261
exprt boolean_negate(const exprt &)
Definition expr_util.cpp:147
pointer_typet gen_pointer_type(const typet &subtype)
Definition expr_util.cpp:247
exprt gen_not(const exprt &op)
Definition expr_util.cpp:140
exprt gen_or(const exprt &op1, const exprt &op2)
Definition expr_util.cpp:195
exprt gen_address_of(const exprt &op)
Definition expr_util.cpp:254
exprt gen_zero(const typet &type, bool array_as_array_of)
Definition expr_util.cpp:13
bool expr_has_floatbv(const exprt &src)
Definition expr_util.cpp:273
exprt gen_and(const exprt &op1, const exprt &op2)
Definition expr_util.cpp:183
exprt gen_binary(const std::string &id, const typet &type, const exprt &op1, const exprt &op2)
Definition expr_util.cpp:161