mirror of
https://github.com/Z3Prover/z3
synced 2025-08-09 12:50:32 +00:00
Starting to work on trailing 0 analysis.
This commit is contained in:
parent
493b86eca7
commit
c7f1746321
5 changed files with 330 additions and 1 deletions
33
src/ast/rewriter/bv_trailing.h
Normal file
33
src/ast/rewriter/bv_trailing.h
Normal file
|
@ -0,0 +1,33 @@
|
|||
/*++
|
||||
Copyright (c) 2016 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
bv_trailing.h
|
||||
|
||||
Abstract:
|
||||
|
||||
|
||||
Author:
|
||||
|
||||
Mikolas Janota (MikolasJanota)
|
||||
|
||||
Revision History:
|
||||
--*/
|
||||
#ifndef BV_TRAILING_H_
|
||||
#define BV_TRAILING_H_
|
||||
#include"ast.h"
|
||||
#include"bv_rewriter.h"
|
||||
#include"rewriter_types.h"
|
||||
class bv_trailing {
|
||||
public:
|
||||
bv_trailing(ast_manager&m, mk_extract_proc& ep);
|
||||
virtual ~bv_trailing();
|
||||
void count_trailing(expr * e, unsigned& min, unsigned& max, unsigned depth);
|
||||
br_status eq_remove_trailing(expr * e1, expr * e2, expr_ref& result);
|
||||
unsigned remove_trailing(expr * e, unsigned n, expr_ref& result, unsigned depth);
|
||||
protected:
|
||||
struct imp;
|
||||
imp * m_imp;
|
||||
};
|
||||
#endif /* BV_TRAILING_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue