mirror of
https://github.com/Z3Prover/z3
synced 2025-08-15 15:25:26 +00:00
- add option smt.bv.reduce_size. - it allows to apply incremental pre-processing of bit-vectors by identifying ranges that are known to be constant. This rewrite is beneficial, for instance, when bit-vectors are constrained to have many high-level bits set to 0.
49 lines
1.1 KiB
C++
49 lines
1.1 KiB
C++
/*++
|
|
Copyright (c) 2006 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
theory_bv_params.h
|
|
|
|
Abstract:
|
|
|
|
<abstract>
|
|
|
|
Author:
|
|
|
|
Leonardo de Moura (leonardo) 2008-06-06.
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
#pragma once
|
|
|
|
#include "util/params.h"
|
|
|
|
enum bv_solver_id {
|
|
BS_NO_BV,
|
|
BS_BLASTER
|
|
};
|
|
|
|
struct theory_bv_params {
|
|
bv_solver_id m_bv_mode = bv_solver_id::BS_BLASTER;
|
|
bool m_hi_div0 = false; //!< if true, uses the hardware interpretation for div0, mod0, ... if false, div0, mod0, ... are considered uninterpreted.
|
|
bool m_bv_reflect = true;
|
|
bool m_bv_lazy_le = false;
|
|
bool m_bv_cc = false;
|
|
bool m_bv_eq_axioms = true;
|
|
unsigned m_bv_blast_max_size = INT_MAX;
|
|
bool m_bv_enable_int2bv2int = true;
|
|
bool m_bv_watch_diseq = false;
|
|
bool m_bv_delay = true;
|
|
bool m_bv_size_reduce = false;
|
|
theory_bv_params(params_ref const & p = params_ref()) {
|
|
updt_params(p);
|
|
}
|
|
|
|
void updt_params(params_ref const & p);
|
|
|
|
void display(std::ostream & out) const;
|
|
};
|
|
|
|
|