mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
More work on trailing 0 analysis.
This commit is contained in:
parent
c7f1746321
commit
78cb1e3c7b
6 changed files with 181 additions and 68 deletions
34
src/ast/rewriter/mk_extract_proc.h
Normal file
34
src/ast/rewriter/mk_extract_proc.h
Normal file
|
@ -0,0 +1,34 @@
|
|||
/*++
|
||||
Copyright (c) 2016 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
mk_extract_proc.h
|
||||
|
||||
Abstract:
|
||||
|
||||
|
||||
Author:
|
||||
|
||||
Mikolas Janota (MikolasJanota)
|
||||
|
||||
Revision History:
|
||||
--*/
|
||||
#ifndef MK_EXTRACT_PROC_H_
|
||||
#define MK_EXTRACT_PROC_H_
|
||||
#include"ast.h"
|
||||
#include"bv_decl_plugin.h"
|
||||
class mk_extract_proc {
|
||||
bv_util & m_util;
|
||||
unsigned m_high;
|
||||
unsigned m_low;
|
||||
sort * m_domain;
|
||||
func_decl * m_f_cached;
|
||||
public:
|
||||
mk_extract_proc(bv_util & u);
|
||||
~mk_extract_proc();
|
||||
app * operator()(unsigned high, unsigned low, expr * arg);
|
||||
ast_manager & m() { return m_util.get_manager(); }
|
||||
bv_util & bvutil() { return m_util; }
|
||||
};
|
||||
#endif /* MK_EXTRACT_PROC_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue