#include <theory_bitvector.h>
Inheritance diagram for CVCL::TheoryBitvector:
Author: Vijay Ganesh
Created:Wed May 5 15:35:07 PDT 2004
Definition at line 91 of file theory_bitvector.h.
|
|
Definition at line 2099 of file theory_bitvector.cpp. References d_rules. |
|
Return cached constant 0bin0.
Definition at line 182 of file theory_bitvector.h. References d_bvZero. |
|
Return cached constant 0bin1.
Definition at line 184 of file theory_bitvector.h. References d_bvOne. |
|
functions which implement the DP strategy for bitblasting
Definition at line 65 of file theory_bitvector.cpp. References CVCL::AND, CVCL::BitvectorProofRules::bitBlastEqnRule(), bitBlastTerm(), CVCL::BITVECTOR, CVCL::BitvectorProofRules::bitvectorFalseRule(), BVSize(), CVCL::ExprMap< Data >::clear(), CVCL::Debug::counter(), d_bvBitBlastEq, d_bvPlusCarryCacheLeftBV, d_bvPlusCarryCacheRightBV, d_rules, CVCL::debugger, CVCL::Theory::getBaseType(), CVCL::Theorem::getLHS(), CVCL::Theorem::getRHS(), IF_DEBUG(), CVCL::IFF, CVCL::Expr::isEq(), CVCL::Expr::isFalse(), CVCL::Theory::reflexivityRule(), rewriteBoolean(), CVCL::Theory::substitutivityRule(), CVCL::Theorem::toString(), CVCL::Expr::toString(), CVCL::TRACE, and CVCL::Theory::transitivityRule(). Referenced by assertFact(), checkSat(), and rewriteAtomic(). |
|
|
|
function which implements the DP strtagey to bitblast Inequations
|
|
strategy functions for BVPLUS_NORMAL_FORM
Definition at line 1333 of file theory_bitvector.cpp. References CVCL::BitvectorProofRules::combineLikeTermsRule(), and d_rules. Referenced by normalizeBVArith(). |
|
strategy fucntions for BVPLUS NORMAL FORM
Definition at line 1338 of file theory_bitvector.cpp. References CVCL::BVPLUS, d_rules, CVCL::Theorem::getExpr(), CVCL::Expr::getOpKind(), CVCL::BitvectorProofRules::padBVPlus(), CVCL::Expr::toString(), and CVCL::TRACE. Referenced by normalizeBVArith(), normalizeConcat(), and simplifyOp(). |
|
strategy fucntions for BVPLUS NORMAL FORM
Definition at line 1364 of file theory_bitvector.cpp. References CVCL::Expr::begin(), CVCL::BVPLUS, d_rules, CVCL::Expr::end(), CVCL::BitvectorProofRules::flattenBVPlus(), CVCL::Expr::getOpKind(), CVCL::Theory::reflexivityRule(), and CVCL::Expr::toString(). Referenced by normalizeBVArith(). |
|
|
|
Helper method for composing normalizations.
Definition at line 207 of file theory_bitvector.h. References CVCL::Theorem::getRHS(), normalizeConcat(), and CVCL::Theory::transitivityRule(). |
|
Helper method for composing normalizations.
Definition at line 211 of file theory_bitvector.h. References CVCL::Theorem::getRHS(), normalizeBVArith(), and CVCL::Theory::transitivityRule(). |
|
signextend e0 <=(s) e1 appropriately, then normalize and return
Definition at line 1388 of file theory_bitvector.cpp. References d_rules, CVCL::Theorem::getLHS(), CVCL::Expr::getOpKind(), CVCL::Theorem::getRHS(), CVCL::BitvectorProofRules::padSBVLTRule(), CVCL::Theory::reflexivityRule(), rewriteBV(), CVCL::SBVLE, CVCL::SBVLT, CVCL::BitvectorProofRules::signExtendRule(), CVCL::Theory::substitutivityRule(), CVCL::Expr::toString(), and CVCL::Theory::transitivityRule(). Referenced by rewriteBV(). |
|
Definition at line 1875 of file theory_bitvector.cpp. References CVCL::Theorem::getRHS(), CVCL::Expr::isNot(), CVCL::Theorem::isRewrite(), CVCL::Theorem::toString(), and CVCL::Theory::transitivityRule(). Referenced by CVCL::BitvectorTheoremProducer::collectOneTermOfPlus(), CVCL::BitvectorTheoremProducer::createNewPlusCollection(), pushNegation(), and pushNegationRec(). |
|
Definition at line 1890 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::BVNEG, CVCL::ExprMap< Data >::clear(), d_pushNegCache, CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), pushNegationRec(), and CVCL::Theory::reflexivityRule(). Referenced by normalizeBVArith(), and simplifyOp(). |
|
|
|
Internal rewrite method.
Definition at line 1478 of file theory_bitvector.cpp. Referenced by assertFact(), bitBlastTerm(), normalizeBVArith(), normalizeConcat(), parseExprOp(), rewriteAux(), rewriteBV(), and signExtendBVLT(). |
|
Rewrite children 'n' levels down (n==1 means "only the top level").
Definition at line 1697 of file theory_bitvector.cpp. References rewriteBV(). |
|
Rewrite children 'n' levels down (n==1 means "only the top level").
Definition at line 231 of file theory_bitvector.h. References CVCL::Theorem::getRHS(), rewriteBV(), and CVCL::Theory::transitivityRule(). |
|
|
Rewrite children 'n' levels down (n==1 means "only the top level").
Definition at line 1703 of file theory_bitvector.cpp. References CVCL::Expr::arity(), CVCL::Debug::counter(), CVCL::debugger, CVCL::ExprMap< Data >::end(), CVCL::ExprMap< Data >::find(), CVCL::Theorem::getExpr(), CVCL::Theorem::getLHS(), CVCL::Theorem::getRHS(), IF_DEBUG(), CVCL::int2string(), CVCL::Theorem::isNull(), CVCL::Theory::reflexivityRule(), rewriteBV(), CVCL::Theory::substitutivityRule(), CVCL::TRACE, and CVCL::Theory::transitivityRule(). |
|
Rewrite children 'n' levels down (n==1 means "only the top level").
Definition at line 240 of file theory_bitvector.h. References CVCL::Theorem::getRHS(), rewriteBV(), and CVCL::Theory::transitivityRule(). |
|
rewrite input boolean expression e to a simpler form
Definition at line 4258 of file theory_bitvector.cpp. References CVCL::AND, CVCL::Expr::begin(), d_booleanRWFlag, CVCL::Expr::end(), CVCL::Theory::getCommonRules(), CVCL::Expr::getKind(), CVCL::Theorem::getLHS(), CVCL::Theorem::getRHS(), CVCL::IFF, CVCL::Expr::isNot(), CVCL::Theorem::isNull(), CVCL::NOT, CVCL::OR, CVCL::Theory::reflexivityRule(), CVCL::Theory::rewriteAnd(), CVCL::CommonProofRules::rewriteIff(), CVCL::CommonProofRules::rewriteNotFalse(), CVCL::CommonProofRules::rewriteNotNot(), CVCL::CommonProofRules::rewriteNotTrue(), CVCL::Theory::rewriteOr(), CVCL::Theory::substitutivityRule(), and CVCL::Theory::transitivityRule(). Referenced by assertFact(), bitBlastDisEqn(), bitBlastEqn(), bitBlastTerm(), and checkSat(). |
|
Collect subterms of shared terms.
Definition at line 2105 of file theory_bitvector.cpp. References assertTypePred(), CVCL::Expr::begin(), CVCL::CDMap< Key, Data, HashFcn >::count(), CVCL::Debug::counter(), d_sharedSubterms, d_typePredsCache, CVCL::debugger, CVCL::Expr::end(), CVCL::Theorem::getExpr(), IF_DEBUG(), CVCL::Theory::isLeaf(), CVCL::Theory::setInconsistent(), setupExpr(), CVCL::Expr::toString(), and CVCL::TRACE. Referenced by addSharedTerm(). |
|
|
Definition at line 51 of file bitvector_theorem_producer.cpp. Referenced by TheoryBitvector(). |
|
|
Notify theory of a new shared term. When a term e associated with theory i occurs as a child of an expression associated with theory j, the framework calls i->addSharedTerm(e) and j->addSharedTerm(e) Reimplemented from CVCL::Theory. Definition at line 2130 of file theory_bitvector.cpp. References collectSharedSubterms(), CVCL::Debug::counter(), CVCL::debugger, and IF_DEBUG(). |
|
|
|
Check for satisfiability in the theory.
Implements CVCL::Theory. Definition at line 2291 of file theory_bitvector.cpp. References bitBlastDisEqn(), bitBlastEqn(), CVCL::Debug::counter(), d_booleanRWFlag, d_bvTypePreds, d_diseq, d_diseqIdx, d_eq, d_eqBlastIdx, d_eqIdx, d_tccs, d_tccsIdx, CVCL::debugger, CVCL::Theory::enqueueFact(), CVCL::Theory::find(), CVCL::Theorem::getExpr(), CVCL::Theorem::getLHS(), CVCL::Expr::getOp(), CVCL::Theorem::getRHS(), IF_DEBUG(), CVCL::Theory::iffMP(), CVCL::Expr::isTrue(), rewriteBoolean(), CVCL::Theory::simplify(), CVCL::CDList< T >::size(), and CVCL::Theory::substitutivityRule(). |
|
Theory-specific rewrite rules. By default, rewrite just returns a reflexive theorem stating that the input expression is equivalent to itself. However, rewrite is allowed to return any theorem which describes how the input expression is equivalent to some new expression. rewrite should be used to perform simplifications, normalization, and any other preprocessing on theory-specific expressions that needs to be done. Reimplemented from CVCL::Theory. Definition at line 2362 of file theory_bitvector.cpp. References rewriteAux(). Referenced by parseExprOp(). |
|
Definition at line 2367 of file theory_bitvector.cpp. References CVCL::Debug::counter(), CVCL::debugger, CVCL::Theory::find(), CVCL::Expr::hasFind(), IF_DEBUG(), rewriteBV(), rewriteConst(), and CVCL::Theory::transitivityRule(). Referenced by pushNegationRec(), rewrite(), setupExpr(), and update(). |
|
Theory-specific rewrites for atomic formulas. The intended use is to convert complex atomic formulas into an equivalent Boolean combination of simpler formulas. Such conversion may be harmful for algebraic rewrites, and is not always desirable to have in rewrite() method. Note: Used only by bitvector theory and rewriteLiteral in core. However, if rewrite() alone cannot solve the problem, and the SAT solver needs to be envoked, these additional rewrites may ease the job for the SAT solver. Reimplemented from CVCL::Theory. Definition at line 2383 of file theory_bitvector.cpp. References bitBlastEqn(), CVCL::BVLE, CVCL::BVLT, d_cnfBitBlastFlag, CVCL::Expr::getOpKind(), CVCL::Theorem::getRHS(), CVCL::Expr::isEq(), CVCL::Theory::reflexivityRule(), CVCL::Theory::simplify(), CVCL::Theorem::toString(), CVCL::Expr::toString(), CVCL::TRACE, and CVCL::Theory::transitivityRule(). |
|
Set up the term e for call-backs when e or its children change. setup is called once for each expression associated with the theory. It is typically used to setup theory-specific data for an expression and to add call-back information for use with update.
Reimplemented from CVCL::Theory. Definition at line 2403 of file theory_bitvector.cpp. References CVCL::Expr::addToNotify(), CVCL::Expr::arity(), CVCL::BVCONST, CVCL::CONCAT, d_setupSharedFlag, CVCL::Expr::getKind(), CVCL::Expr::getOpKind(), CVCL::int2string(), CVCL::Theory::setupCC(), and CVCL::TRACE. |
|
Notify a theory of a new equality. update is a call-back used by the notify mechanism of the core theory. It works as follows. When an equation t1 = t2 makes it into the core framework, the two find equivalence classes for t1 and t2 are merged. The result is that t2 is the new equivalence class representative and t1 is no longer an equivalence class representative. When this happens, the notify list of t1 is traversed. Notify list entries consist of a theory and an expression d. For each entry (i,d), i->update(e, d) is called, where e is the theorem corresponding to the equality t1=t2. To add the entry (i,d) to a term t1's notify list, a call must be made to t1.addNotify(i,d). This is typically done in setup.
Reimplemented from CVCL::Theory. Definition at line 2526 of file theory_bitvector.cpp. References CVCL::BVCONST, CVCL::CONCAT, CVCL::BitvectorProofRules::concatConst(), constantKids(), CVCL::CDMap< Key, Data, HashFcn >::count(), CVCL::Debug::counter(), d_rules, d_sharedSubterms, d_staleDB, CVCL::debugger, CVCL::Theory::enqueueEquality(), CVCL::Theory::enqueueFact(), CVCL::Theory::find(), CVCL::Theorem::getExpr(), CVCL::Expr::getKind(), CVCL::Theorem::getLHS(), CVCL::Expr::getOpKind(), CVCL::Theorem::getRHS(), CVCL::Expr::hasFind(), IF_DEBUG(), rewriteAux(), CVCL::Expr::setFind(), CVCL::TheoryCore::setupTerm(), CVCL::Theory::symmetryRule(), CVCL::Theory::theoryCore(), CVCL::Theorem::toString(), CVCL::Expr::toString(), CVCL::TRACE, CVCL::Theory::transitivityRule(), CVCL::Theory::updateCC(), and CVCL::Theory::updateHelper(). |
|
An optional solver. The solve method can be used to implement a Shostak-style solver. Since solvers do not in general combine, the following technique is used. One theory is designated as the primary solver (in our case, it is the theory of arithmetic). For each equation that enters the core framework, the primary solver is called to ensure that the equation is in solved form with respect to the primary theory. After the primary solver, the solver for the theory associated with the equation is called. This solver can do whatever it likes, as long as the result is still in solved form with respect to the primary solver. This is a slight generalization of what is described in my (Clark)'s PhD thesis. Reimplemented from CVCL::Theory. Definition at line 2609 of file theory_bitvector.cpp. References CVCL::BVCONST, d_rules, CVCL::BitvectorProofRules::eqConst(), CVCL::Theorem::getExpr(), CVCL::Expr::getKind(), CVCL::Theorem::getLHS(), CVCL::Theorem::getRHS(), CVCL::Theory::iffMP(), and CVCL::Theory::symmetryRule(). |
|
Check that e is a valid Type expr.
Reimplemented from CVCL::Theory. Definition at line 2626 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::Theory::getEM(), and CVCL::Expr::getOpKind(). |
|
Compute and store the type of e.
Reimplemented from CVCL::Theory. Definition at line 2639 of file theory_bitvector.cpp. References CVCL::Expr::arity(), CVCL::Expr::begin(), CVCL::BITVECTOR, CVCL::BOOLEXTRACT, CVCL::Theory::boolType(), CVCL::BVAND, CVCL::BVCONST, CVCL::BVLE, CVCL::BVLT, CVCL::BVMULT, CVCL::BVNEG, CVCL::BVOR, CVCL::BVPLUS, BVSize(), CVCL::BVTYPEPRED, CVCL::BVUMINUS, CVCL::CONCAT, CVCL::Expr::end(), CVCL::EXTRACT, CVCL::Theory::getBaseType(), getBoolExtractIndex(), getBVConstSize(), getBVMultParam(), getBVPlusParam(), CVCL::Type::getExpr(), getExtractHi(), getExtractLow(), getFixedLeftShiftParam(), getFixedRightShiftParam(), CVCL::Expr::getOpKind(), getSXIndex(), CVCL::Expr::getType(), CVCL::int2string(), CVCL::LEFTSHIFT, newBitvectorType(), CVCL::RIGHTSHIFT, CVCL::SBVLE, CVCL::SBVLT, CVCL::Expr::setType(), CVCL::SX, CVCL::Type::toString(), CVCL::Expr::toString(), and CVCL::TRACE. |
|
Add variables from 'e' to 'v' for constructing a concrete model. If e is already of primitive type, do NOT add it to v. Reimplemented from CVCL::Theory. Definition at line 2848 of file theory_bitvector.cpp. References CVCL::Expr::begin(), CVCL::BITVECTOR, CVCL::BVAND, CVCL::BVCONST, CVCL::BVGE, CVCL::BVGT, CVCL::BVLE, CVCL::BVLT, CVCL::BVMULT, CVCL::BVNAND, CVCL::BVNEG, CVCL::BVNOR, CVCL::BVOR, CVCL::BVPLUS, CVCL::BVSUB, CVCL::BVTOINT, CVCL::BVUMINUS, CVCL::BVXNOR, CVCL::BVXOR, CVCL::CONCAT, CVCL::Expr::end(), CVCL::EXTRACT, getBitvectorTypeParam(), CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), CVCL::HEXBVCONST, CVCL::INTTOBV, CVCL::LEFTSHIFT, newBoolExtractExpr(), CVCL::RIGHTSHIFT, CVCL::SBVGE, CVCL::SBVGT, CVCL::SBVLE, CVCL::SBVLT, and CVCL::VARSHIFT. |
|
Compute the value of a compound variable from the more primitive ones. The more primitive variables for e are already assigned concrete values, and are available through getModelValue(). The new value for e must be assigned using assignValue() method.
Reimplemented from CVCL::Theory. Definition at line 2900 of file theory_bitvector.cpp. References CVCL::Theory::assignValue(), CVCL::BITVECTOR, CVCL::BVAND, CVCL::BVCONST, CVCL::BVGE, CVCL::BVGT, CVCL::BVLE, CVCL::BVLT, CVCL::BVMULT, CVCL::BVNAND, CVCL::BVNEG, CVCL::BVNOR, CVCL::BVOR, CVCL::BVPLUS, CVCL::BVSUB, CVCL::BVTOINT, CVCL::BVUMINUS, CVCL::BVXNOR, CVCL::BVXOR, CVCL::CONCAT, CVCL::EXTRACT, getBitvectorTypeParam(), CVCL::Theorem::getExpr(), CVCL::Type::getExpr(), CVCL::Theory::getModelValue(), CVCL::Expr::getOpKind(), CVCL::Theorem::getRHS(), CVCL::Expr::getType(), CVCL::HEXBVCONST, CVCL::INTTOBV, CVCL::Expr::isBoolConst(), CVCL::Expr::isTrue(), CVCL::LEFTSHIFT, newBoolExtractExpr(), newBVConstExpr(), CVCL::RIGHTSHIFT, CVCL::SBVGE, CVCL::SBVGT, CVCL::SBVLE, CVCL::SBVLT, CVCL::Theory::simplify(), CVCL::SX, CVCL::Expr::toString(), and CVCL::VARSHIFT. |
|
Theory specific computation of the subtyping predicate for type t applied to the expression e. By default returns true. Each theory needs to compute subtype predicates for the types associated with it. So, for example, the theory of records will take a record type [# f1: T1, f2: T2 #] and an expression e and will return the subtyping predicate for e, namely: computeTypePred(T1, e.f1) AND computeTypePred(T2, e.f2) Reimplemented from CVCL::Theory. Definition at line 2968 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), newBitvectorTypePred(), and CVCL::Type::toString(). |
|
Compute and cache the TCC of e.
The default implementation is to compute TCCs recursively for all children, and return their conjunction. Reimplemented from CVCL::Theory. Definition at line 2981 of file theory_bitvector.cpp. References CVCL::Theory::computeTCC(). |
|
Theory-specific pretty-printing. By default, print the top node in AST, and resume pretty-printing the children. The same call e.print(os) can be used in DP-specific printers to use AST printing for the given node. In fact, it is strongly recommended to add e.print(os) as the default for all the cases/kinds that are not handled by the particular pretty-printer. Reimplemented from CVCL::Theory. Definition at line 2994 of file theory_bitvector.cpp. References CVCL::Expr::arity(), CVCL::Expr::begin(), CVCL::BITVECTOR, CVCL::BOOLEXTRACT, CVCL::BVAND, CVCL::BVCONST, CVCL::BVLE, CVCL::BVLT, CVCL::BVMULT, CVCL::BVNEG, CVCL::BVOR, CVCL::BVPLUS, CVCL::BVSUB, CVCL::BVTOINT, CVCL::BVTYPEPRED, CVCL::BVUMINUS, CVCL::CONCAT, CVCL::Theory::d_theoryUsed, CVCL::Expr::end(), CVCL::EXTRACT, getBitvectorTypeParam(), getBoolExtractIndex(), getBVConstSize(), getBVConstValue(), getBVMultParam(), getBVPlusParam(), CVCL::Op::getExpr(), getExtractHi(), getExtractLow(), getFixedLeftShiftParam(), getFixedRightShiftParam(), CVCL::Expr::getOp(), CVCL::Expr::getOpKind(), getSXIndex(), CVCL::INTTOBV, CVCL::Expr::isApply(), CVCL::ExprStream::lang(), CVCL::LEFTSHIFT, CVCL::pop(), CVCL::PRESENTATION_LANG, CVCL::Expr::printAST(), CVCL::push(), CVCL::RIGHTSHIFT, CVCL::SBVLE, CVCL::SBVLT, CVCL::SMTLIB_LANG, CVCL::space(), and CVCL::SX. |
|
Theory-specific parsing implemented by the DP.
Reimplemented from CVCL::Theory. Definition at line 3144 of file theory_bitvector.cpp. References CVCL::Expr::arity(), CVCL::Expr::begin(), CVCL::BITVECTOR, CVCL::BOOLEXTRACT, CVCL::BVAND, CVCL::BVCONST, CVCL::BVGE, CVCL::BVGT, CVCL::BVLE, CVCL::BVLT, CVCL::BVMULT, CVCL::BVNAND, CVCL::BVNEG, CVCL::BVNOR, CVCL::BVOR, CVCL::BVPLUS, CVCL::BVSUB, CVCL::BVUMINUS, CVCL::BVXNOR, CVCL::BVXOR, CVCL::CONCAT, CVCL::Expr::end(), CVCL::EXTRACT, CVCL::Theory::getEM(), CVCL::Rational::getInt(), CVCL::ExprManager::getKind(), CVCL::Expr::getKind(), CVCL::Expr::getRational(), CVCL::Theorem::getRHS(), CVCL::Expr::getString(), CVCL::HEXBVCONST, CVCL::int2string(), CVCL::Rational::isInteger(), CVCL::Expr::isRational(), CVCL::Expr::isString(), CVCL::LEFTSHIFT, newBitvectorTypeExpr(), newBoolExtractExpr(), newBVAndExpr(), newBVConstExpr(), newBVExtractExpr(), newBVLEExpr(), newBVLTExpr(), newBVMultExpr(), newBVNegExpr(), newBVOrExpr(), newBVPlusExpr(), newBVUminusExpr(), newConcatExpr(), newFixedLeftShiftExpr(), newFixedRightShiftExpr(), newSBVLEExpr(), newSBVLTExpr(), newSXExpr(), pad(), CVCL::Theory::parseExpr(), CVCL::RAW_LIST, rewrite(), rewriteBV(), CVCL::RIGHTSHIFT, CVCL::SBVGE, CVCL::SBVGT, CVCL::SBVLE, CVCL::SBVLT, CVCL::SX, CVCL::Expr::toString(), and CVCL::TRACE. |
|
Definition at line 286 of file theory_bitvector.h. References CVCL::Theory::getEM(), and CVCL::ExprManager::newRatExpr(). |
|
pads e to be of length len
Definition at line 4026 of file theory_bitvector.cpp. References CVCL::BITVECTOR, BVSize(), CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), CVCL::int2string(), newBVExtractExpr(), newBVZeroString(), newConcatExpr(), and CVCL::Expr::toString(). Referenced by newBVConstExpr(), and parseExprOp(). |
|
Return the number of bits in the bitvector expression.
Definition at line 53 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::Theory::getBaseType(), getBitvectorTypeParam(), CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), and CVCL::Expr::toString(). Referenced by assertFact(), bitBlastDisEqn(), CVCL::BitvectorTheoremProducer::bitBlastDisEqnRule(), bitBlastEqn(), CVCL::BitvectorTheoremProducer::bitBlastEqnRule(), bitBlastTerm(), CVCL::BitvectorTheoremProducer::bitExtractBitwise(), CVCL::BitvectorTheoremProducer::bitExtractBVMult(), CVCL::BitvectorTheoremProducer::bitExtractConcatenation(), CVCL::BitvectorTheoremProducer::bitExtractConstBVMult(), CVCL::BitvectorTheoremProducer::bitExtractExtraction(), CVCL::BitvectorTheoremProducer::bitExtractFixedLeftShift(), CVCL::BitvectorTheoremProducer::bitExtractFixedRightShift(), CVCL::BitvectorTheoremProducer::bitExtractNot(), CVCL::BitvectorTheoremProducer::bitExtractRewrite(), CVCL::BitvectorTheoremProducer::bitwiseConcat(), CVCL::BitvectorTheoremProducer::bitwiseConst(), CVCL::BitvectorTheoremProducer::bitwiseFlatten(), CVCL::BitvectorTheoremProducer::bvConstIneqn(), CVCL::BitvectorTheoremProducer::bvConstMultAssocRule(), CVCL::BitvectorTheoremProducer::bvMultAssocRule(), CVCL::BitvectorTheoremProducer::bvmultBVUminus(), CVCL::BitvectorTheoremProducer::bvmultConst(), CVCL::BitvectorTheoremProducer::bvMultDistRule(), CVCL::BitvectorTheoremProducer::bvPlusAssociativityRule(), CVCL::BitvectorTheoremProducer::bvplusZeroConcatRule(), CVCL::BitvectorTheoremProducer::bvuminusBVConst(), CVCL::BitvectorTheoremProducer::bvuminusBVMult(), CVCL::BitvectorTheoremProducer::bvuminusToBVPlus(), CVCL::BitvectorTheoremProducer::bvuminusVar(), CVCL::BitvectorTheoremProducer::combineLikeTermsRule(), computeType(), CVCL::BitvectorTheoremProducer::constMultToPlus(), CVCL::BitvectorTheoremProducer::createNewPlusCollection(), CVCL::BitvectorTheoremProducer::eqToBits(), CVCL::BitvectorTheoremProducer::extractBVMult(), CVCL::BitvectorTheoremProducer::extractBVPlus(), CVCL::BitvectorTheoremProducer::extractConcat(), CVCL::BitvectorTheoremProducer::extractWhole(), CVCL::BitvectorTheoremProducer::flattenBVPlus(), CVCL::BitvectorTheoremProducer::flipBVMult(), CVCL::BitvectorTheoremProducer::generalIneqn(), CVCL::BitvectorTheoremProducer::iteExtractRule(), CVCL::BitvectorTheoremProducer::lhsMinusRhsRule(), newBVAndExpr(), newBVNandExpr(), newBVNorExpr(), newBVOrExpr(), newBVXnorExpr(), newBVXorExpr(), normalizeConcat(), CVCL::BitvectorTheoremProducer::oneCoeffBVMult(), pad(), CVCL::BitvectorTheoremProducer::pad(), CVCL::BitvectorTheoremProducer::padBVMult(), CVCL::BitvectorTheoremProducer::padBVPlus(), rewriteBV(), CVCL::BitvectorTheoremProducer::rightShiftToConcat(), setupExpr(), CVCL::BitvectorTheoremProducer::signBVLTRule(), CVCL::BitvectorTheoremProducer::signExtendRule(), CVCL::BitvectorTheoremProducer::typePredBit(), CVCL::BitvectorTheoremProducer::zeroCoeffBVMult(), and CVCL::BitvectorTheoremProducer::zeroPaddingRule(). |
|
Definition at line 294 of file theory_bitvector.h. References newBitvectorTypeExpr(). Referenced by computeType(). |
|
Definition at line 3525 of file theory_bitvector.cpp. References CVCL::BVTYPEPRED, and CVCL::Type::getExpr(). Referenced by computeTypePred(). |
|
Definition at line 3517 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::Theory::getEM(), and CVCL::int2string(). Referenced by newBitvectorType(), and parseExprOp(). |
|
Definition at line 3530 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::BVAND, BVSize(), CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::bitwiseConcat(), CVCL::BitvectorTheoremProducer::bitwiseConst(), CVCL::BitvectorTheoremProducer::negBVor(), and parseExprOp(). |
|
|
|
Definition at line 3595 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::BVNAND, BVSize(), CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), and CVCL::Expr::toString(). |
|
|
|
Definition at line 3562 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::BVOR, BVSize(), CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::bitwiseConcat(), CVCL::BitvectorTheoremProducer::bitwiseConst(), CVCL::BitvectorTheoremProducer::negBVand(), and parseExprOp(). |
|
|
|
Definition at line 3627 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::BVNOR, BVSize(), CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), and CVCL::Expr::toString(). |
|
|
|
Definition at line 3659 of file theory_bitvector.cpp. References CVCL::BITVECTOR, BVSize(), CVCL::BVXOR, CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), and CVCL::Expr::toString(). |
|
|
|
Definition at line 3691 of file theory_bitvector.cpp. References CVCL::BITVECTOR, BVSize(), CVCL::BVXNOR, CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), and CVCL::Expr::toString(). |
|
|
|
Definition at line 3723 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::BVLT, CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::generalIneqn(), CVCL::BitvectorTheoremProducer::notBVLTRule(), CVCL::BitvectorTheoremProducer::padBVLTRule(), parseExprOp(), and CVCL::BitvectorTheoremProducer::signBVLTRule(). |
|
Definition at line 3732 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::BVLE, CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::generalIneqn(), CVCL::BitvectorTheoremProducer::notBVLTRule(), CVCL::BitvectorTheoremProducer::padBVLTRule(), parseExprOp(), and CVCL::BitvectorTheoremProducer::signBVLTRule(). |
|
Definition at line 3741 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::Theory::getEM(), CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), CVCL::int2string(), CVCL::SX, and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::padSBVLTRule(), and parseExprOp(). |
|
Definition at line 3754 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), CVCL::SBVLT, and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::padSBVLTRule(), and parseExprOp(). |
|
Definition at line 3763 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), CVCL::SBVLE, and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::padSBVLTRule(), and parseExprOp(). |
|
Definition at line 3772 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::BVNEG, CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::bvuminusToBVPlus(), CVCL::BitvectorTheoremProducer::constMultToPlus(), CVCL::BitvectorTheoremProducer::iteBVnegRule(), CVCL::BitvectorTheoremProducer::negBVand(), CVCL::BitvectorTheoremProducer::negBVor(), CVCL::BitvectorTheoremProducer::negConcat(), parseExprOp(), pushNegationRec(), and CVCL::BitvectorTheoremProducer::sameKidCheck(). |
|
Definition at line 3781 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::BVUMINUS, CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::lhsMinusRhsRule(), and parseExprOp(). |
|
Definition at line 3789 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::BOOLEXTRACT, CVCL::Theory::getEM(), CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), CVCL::int2string(), and CVCL::Expr::toString(). Referenced by bitBlastTerm(), CVCL::BitvectorTheoremProducer::bitExtractBitwise(), CVCL::BitvectorTheoremProducer::bitExtractBVMult(), CVCL::BitvectorTheoremProducer::bitExtractBVPlus(), CVCL::BitvectorTheoremProducer::bitExtractBVPlusPreComputed(), CVCL::BitvectorTheoremProducer::bitExtractConcatenation(), CVCL::BitvectorTheoremProducer::bitExtractConstant(), CVCL::BitvectorTheoremProducer::bitExtractConstBVMult(), CVCL::BitvectorTheoremProducer::bitExtractExtraction(), CVCL::BitvectorTheoremProducer::bitExtractFixedLeftShift(), CVCL::BitvectorTheoremProducer::bitExtractFixedRightShift(), CVCL::BitvectorTheoremProducer::bitExtractNot(), CVCL::BitvectorTheoremProducer::bitExtractRewrite(), CVCL::BitvectorTheoremProducer::bitExtractSXRule(), computeModel(), computeModelTerm(), parseExprOp(), rewriteBV(), and CVCL::BitvectorTheoremProducer::zeroPaddingRule(). |
|
Definition at line 3829 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::Theory::getEM(), CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), CVCL::int2string(), CVCL::LEFTSHIFT, and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::bitExtractBVMult(), CVCL::BitvectorTheoremProducer::bitExtractConstBVMult(), CVCL::BitvectorTheoremProducer::constMultToPlus(), and parseExprOp(). |
|
Definition at line 3842 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::Theory::getEM(), CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), CVCL::int2string(), CVCL::RIGHTSHIFT, and CVCL::Expr::toString(). Referenced by parseExprOp(). |
|
Definition at line 3855 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::CONCAT, CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::bitwiseConcat(), CVCL::BitvectorTheoremProducer::extractConcat(), CVCL::BitvectorTheoremProducer::leftShiftToConcat(), CVCL::BitvectorTheoremProducer::negConcat(), normalizeConcat(), pad(), CVCL::BitvectorTheoremProducer::pad(), parseExprOp(), CVCL::BitvectorTheoremProducer::rightShiftToConcat(), setupExpr(), and CVCL::BitvectorTheoremProducer::signExtendRule(). |
|
Definition at line 3864 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::CONCAT, CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), and CVCL::Expr::toString(). |
|
|
|
Definition at line 3965 of file theory_bitvector.cpp. References d_bvConstExprIndex, CVCL::Theory::getEM(), CVCL::int2string(), and CVCL::ExprManager::newExpr(). Referenced by CVCL::BitvectorTheoremProducer::BitvectorTheoremProducer(), CVCL::BitvectorTheoremProducer::bitwiseConst(), CVCL::BitvectorTheoremProducer::bvConstMultAssocRule(), CVCL::BitvectorTheoremProducer::bvmultBVUminus(), CVCL::BitvectorTheoremProducer::bvmultConst(), CVCL::BitvectorTheoremProducer::bvplusConst(), CVCL::BitvectorTheoremProducer::bvuminusBVConst(), CVCL::BitvectorTheoremProducer::bvuminusBVMult(), CVCL::BitvectorTheoremProducer::bvuminusToBVPlus(), CVCL::BitvectorTheoremProducer::bvuminusVar(), computeModel(), CVCL::BitvectorTheoremProducer::concatConst(), CVCL::BitvectorTheoremProducer::constMultToPlus(), CVCL::BitvectorTheoremProducer::createNewPlusCollection(), CVCL::BitvectorTheoremProducer::extractConst(), CVCL::BitvectorTheoremProducer::leftShiftToConcat(), CVCL::BitvectorTheoremProducer::negConst(), newBVConstExpr(), newBVOneString(), newBVZeroString(), parseExprOp(), and TheoryBitvector(). |
|
|
|
Definition at line 3936 of file theory_bitvector.cpp. References CVCL::int2string(), CVCL::Rational::isInteger(), newBVConstExpr(), pad(), and CVCL::Rational::toString(). |
|
produces a string of 0's of length bvLength
Definition at line 3905 of file theory_bitvector.cpp. References CVCL::int2string(), and newBVConstExpr(). Referenced by CVCL::BitvectorTheoremProducer::bitExtractBVMult(), CVCL::BitvectorTheoremProducer::bitExtractConstBVMult(), CVCL::BitvectorTheoremProducer::bitwiseFlatten(), CVCL::BitvectorTheoremProducer::bvmultBVUminus(), CVCL::BitvectorTheoremProducer::bvuminusBVMult(), CVCL::BitvectorTheoremProducer::lhsMinusRhsRule(), pad(), CVCL::BitvectorTheoremProducer::pad(), CVCL::BitvectorTheoremProducer::rightShiftToConcat(), CVCL::BitvectorTheoremProducer::sumNormalizedElements(), and CVCL::BitvectorTheoremProducer::zeroCoeffBVMult(). |
|
produces a string of 1's of length bvLength
Definition at line 3917 of file theory_bitvector.cpp. References CVCL::int2string(), and newBVConstExpr(). Referenced by CVCL::BitvectorTheoremProducer::bitwiseFlatten(). |
|
hi and low are bit indices
Definition at line 3986 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::EXTRACT, CVCL::Theory::getEM(), CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), CVCL::int2string(), and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::bitExtractRewrite(), CVCL::BitvectorTheoremProducer::bitExtractToExtract(), CVCL::BitvectorTheoremProducer::bitwiseConcat(), CVCL::BitvectorTheoremProducer::concatMergeExtract(), CVCL::BitvectorTheoremProducer::eqToBits(), CVCL::BitvectorTheoremProducer::expandTypePred(), CVCL::BitvectorTheoremProducer::extractBVMult(), CVCL::BitvectorTheoremProducer::extractBVPlus(), CVCL::BitvectorTheoremProducer::extractConcat(), CVCL::BitvectorTheoremProducer::extractExtract(), CVCL::BitvectorTheoremProducer::generalIneqn(), CVCL::BitvectorTheoremProducer::iteExtractRule(), pad(), CVCL::BitvectorTheoremProducer::pad(), parseExprOp(), rewriteBV(), CVCL::BitvectorTheoremProducer::rightShiftToConcat(), setupExpr(), CVCL::BitvectorTheoremProducer::signBVLTRule(), and CVCL::BitvectorTheoremProducer::signExtendRule(). |
|
'numbits' is the number of bits in the result
Definition at line 4002 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::BVPLUS, CVCL::Theory::getEM(), and CVCL::int2string(). Referenced by CVCL::BitvectorTheoremProducer::bitExtractBVMult(), CVCL::BitvectorTheoremProducer::bitExtractConstBVMult(), CVCL::BitvectorTheoremProducer::bvMultDistRule(), CVCL::BitvectorTheoremProducer::bvPlusAssociativityRule(), CVCL::BitvectorTheoremProducer::bvplusZeroConcatRule(), CVCL::BitvectorTheoremProducer::bvuminusToBVPlus(), CVCL::BitvectorTheoremProducer::constMultToPlus(), CVCL::BitvectorTheoremProducer::extractBVPlus(), CVCL::BitvectorTheoremProducer::flattenBVPlus(), CVCL::BitvectorTheoremProducer::lhsMinusRhsRule(), CVCL::BitvectorTheoremProducer::padBVPlus(), parseExprOp(), and CVCL::BitvectorTheoremProducer::sumNormalizedElements(). |
|
accepts an integer, r, and bitvector, t1, and returns r.t1
Definition at line 3890 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::BVMULT, CVCL::Theory::getEM(), CVCL::Type::getExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getType(), CVCL::int2string(), and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::bvConstMultAssocRule(), CVCL::BitvectorTheoremProducer::bvMultAssocRule(), CVCL::BitvectorTheoremProducer::bvmultBVUminus(), CVCL::BitvectorTheoremProducer::bvMultDistRule(), CVCL::BitvectorTheoremProducer::bvuminusBVMult(), CVCL::BitvectorTheoremProducer::bvuminusVar(), CVCL::BitvectorTheoremProducer::createNewPlusCollection(), CVCL::BitvectorTheoremProducer::extractBVMult(), CVCL::BitvectorTheoremProducer::flipBVMult(), CVCL::BitvectorTheoremProducer::padBVMult(), CVCL::BitvectorTheoremProducer::padBVPlus(), and parseExprOp(). |
|
Definition at line 4051 of file theory_bitvector.cpp. References CVCL::BITVECTOR, CVCL::Rational::getInt(), CVCL::Expr::getKind(), CVCL::Expr::getRational(), and CVCL::Expr::toString(). Referenced by BVSize(), computeModel(), computeModelTerm(), CVCL::BitvectorTheoremProducer::expandTypePred(), getBitvectorTypeParam(), and print(). |
|
Definition at line 345 of file theory_bitvector.h. References getBitvectorTypeParam(), and CVCL::Type::getExpr(). |
|
Definition at line 4059 of file theory_bitvector.cpp. References CVCL::BVTYPEPRED, CVCL::Expr::getOpExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::isApply(), and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::expandTypePred(). |
|
Definition at line 4066 of file theory_bitvector.cpp. References CVCL::BVTYPEPRED, CVCL::Expr::getOpKind(), and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::expandTypePred(). |
|
Definition at line 4079 of file theory_bitvector.cpp. References CVCL::Rational::getInt(), CVCL::Expr::getOpExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getRational(), CVCL::Expr::isApply(), CVCL::SX, and CVCL::Expr::toString(). Referenced by computeType(), and print(). |
|
Definition at line 4072 of file theory_bitvector.cpp. References CVCL::BOOLEXTRACT, CVCL::Rational::getInt(), CVCL::Expr::getOpExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getRational(), CVCL::Expr::isApply(), and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::bitBlastDisEqnRule(), CVCL::BitvectorTheoremProducer::bitBlastEqnRule(), bitBlastTerm(), CVCL::BitvectorTheoremProducer::bitExtractBVPlusPreComputed(), CVCL::BitvectorTheoremProducer::bitExtractRewrite(), CVCL::BitvectorTheoremProducer::bitExtractToExtract(), CVCL::BitvectorTheoremProducer::bitvectorFalseRule(), CVCL::BitvectorTheoremProducer::bitvectorTrueRule(), computeType(), CVCL::BitvectorTheoremProducer::generalIneqn(), print(), rewriteBV(), and rewriteConst(). |
|
Definition at line 4085 of file theory_bitvector.cpp. References CVCL::Rational::getInt(), CVCL::Expr::getOpExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getRational(), CVCL::Expr::isApply(), CVCL::LEFTSHIFT, and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::bitExtractFixedLeftShift(), computeType(), CVCL::BitvectorTheoremProducer::leftShiftToConcat(), and print(). |
|
Definition at line 4093 of file theory_bitvector.cpp. References CVCL::Rational::getInt(), CVCL::Expr::getOpExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getRational(), CVCL::Expr::isApply(), CVCL::RIGHTSHIFT, and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::bitExtractFixedRightShift(), computeType(), print(), and CVCL::BitvectorTheoremProducer::rightShiftToConcat(). |
|
Definition at line 4107 of file theory_bitvector.cpp. References CVCL::EXTRACT, CVCL::Rational::getInt(), CVCL::Expr::getOpExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getRational(), CVCL::Expr::isApply(), and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::bitExtractExtraction(), computeType(), CVCL::BitvectorTheoremProducer::concatMergeExtract(), CVCL::BitvectorTheoremProducer::extractBVMult(), CVCL::BitvectorTheoremProducer::extractBVPlus(), CVCL::BitvectorTheoremProducer::extractConcat(), CVCL::BitvectorTheoremProducer::extractConst(), CVCL::BitvectorTheoremProducer::extractExtract(), CVCL::BitvectorTheoremProducer::extractWhole(), CVCL::BitvectorTheoremProducer::iteExtractRule(), normalizeConcat(), print(), and rewriteBV(). |
|
Definition at line 4100 of file theory_bitvector.cpp. References CVCL::EXTRACT, CVCL::Rational::getInt(), CVCL::Expr::getOpExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getRational(), CVCL::Expr::isApply(), and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::bitExtractExtraction(), computeType(), CVCL::BitvectorTheoremProducer::concatMergeExtract(), CVCL::BitvectorTheoremProducer::extractBVMult(), CVCL::BitvectorTheoremProducer::extractBVPlus(), CVCL::BitvectorTheoremProducer::extractConcat(), CVCL::BitvectorTheoremProducer::extractConst(), CVCL::BitvectorTheoremProducer::extractExtract(), CVCL::BitvectorTheoremProducer::extractWhole(), CVCL::BitvectorTheoremProducer::iteExtractRule(), normalizeConcat(), print(), and rewriteBV(). |
|
Definition at line 4114 of file theory_bitvector.cpp. References CVCL::BVPLUS, CVCL::Rational::getInt(), CVCL::Expr::getOpExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getRational(), CVCL::Expr::isApply(), and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::bitExtractBVPlus(), CVCL::BitvectorTheoremProducer::bitExtractBVPlusPreComputed(), CVCL::BitvectorTheoremProducer::bvplusConst(), CVCL::BitvectorTheoremProducer::bvplusZeroConcatRule(), computeType(), and print(). |
|
Definition at line 4122 of file theory_bitvector.cpp. References CVCL::AST_LANG, CVCL::BVMULT, CVCL::Rational::getInt(), CVCL::Expr::getOpExpr(), CVCL::Expr::getOpKind(), CVCL::Expr::getRational(), CVCL::Expr::isApply(), and CVCL::Expr::toString(). Referenced by computeType(), and print(). |
|
Definition at line 4179 of file theory_bitvector.cpp. References CVCL::BVCONST, CVCL::Expr::getExprValue(), CVCL::Expr::getKind(), and CVCL::BVConstExpr::size(). Referenced by CVCL::BitvectorTheoremProducer::bitwiseConst(), computeBVConst(), computeNegBVConst(), computeType(), CVCL::BitvectorTheoremProducer::concatConst(), CVCL::BitvectorTheoremProducer::negConst(), normalizeConcat(), CVCL::BitvectorTheoremProducer::orOne(), and print(). |
|
Definition at line 4187 of file theory_bitvector.cpp. References CVCL::BVCONST, CVCL::Expr::getExprValue(), CVCL::Expr::getKind(), and CVCL::BVConstExpr::getValue(). Referenced by CVCL::BitvectorTheoremProducer::bitExtractConstant(), CVCL::BitvectorTheoremProducer::bitExtractConstBVMult(), CVCL::BitvectorTheoremProducer::bitwiseConst(), computeBVConst(), computeNegBVConst(), CVCL::BitvectorTheoremProducer::concatConst(), CVCL::BitvectorTheoremProducer::extractConst(), CVCL::BitvectorTheoremProducer::negConst(), normalizeConcat(), CVCL::BitvectorTheoremProducer::orOne(), and print(). |
|
computes the integer value of a bitvector constant
Definition at line 4196 of file theory_bitvector.cpp. References CVCL::BVCONST, getBVConstSize(), getBVConstValue(), CVCL::Expr::getKind(), and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::andZero(), CVCL::BitvectorTheoremProducer::bvConstIneqn(), CVCL::BitvectorTheoremProducer::bvConstMultAssocRule(), CVCL::BitvectorTheoremProducer::bvmultConst(), CVCL::BitvectorTheoremProducer::bvplusConst(), CVCL::BitvectorTheoremProducer::bvplusZeroConcatRule(), CVCL::BitvectorTheoremProducer::bvuminusBVConst(), CVCL::BitvectorTheoremProducer::collectLikeTermsOfPlus(), normalizeBVArith(), normalizeConcat(), CVCL::BitvectorTheoremProducer::oneCoeffBVMult(), CVCL::BitvectorTheoremProducer::signBVLTRule(), simplifyOp(), and CVCL::BitvectorTheoremProducer::zeroCoeffBVMult(). |
|
computes the integer value of ~c+1 or BVUMINUS(c)
Definition at line 4218 of file theory_bitvector.cpp. References CVCL::BVCONST, getBVConstSize(), getBVConstValue(), CVCL::Expr::getKind(), and CVCL::Expr::toString(). Referenced by CVCL::BitvectorTheoremProducer::bvmultBVUminus(), CVCL::BitvectorTheoremProducer::bvuminusBVConst(), and CVCL::BitvectorTheoremProducer::bvuminusBVMult(). |
|
Definition at line 92 of file theory_bitvector.h. Referenced by assertFact(), bitBlastDisEqn(), bitBlastEqn(), bitBlastTerm(), combineLikeTerms(), flattenBVPlus(), normalizeBVArith(), normalizeConcat(), padBVPlus(), pushNegationRec(), rewriteBV(), rewriteConst(), setupExpr(), signExtendBVLT(), simplifyOp(), solve(), TheoryBitvector(), update(), and ~TheoryBitvector(). |
|
MemoryManager index for BVConstExpr subclass.
Definition at line 94 of file theory_bitvector.h. Referenced by newBVConstExpr(), and TheoryBitvector(). |
|
Definition at line 95 of file theory_bitvector.h. |
|
Definition at line 96 of file theory_bitvector.h. |
|
Definition at line 97 of file theory_bitvector.h. |
|
counts delayed asserted equalities
Definition at line 100 of file theory_bitvector.h. Referenced by assertFact(). |
|
counts asserted equalities
Definition at line 102 of file theory_bitvector.h. Referenced by assertFact(). |
|
counts delayed asserted disequalities
Definition at line 104 of file theory_bitvector.h. Referenced by assertFact(). |
|
counts asserted disequalities
Definition at line 106 of file theory_bitvector.h. Referenced by assertFact(). |
|
counts type predicates
Definition at line 108 of file theory_bitvector.h. Referenced by assertTypePred(), and checkSat(). |
|
counts delayed type predicates
Definition at line 110 of file theory_bitvector.h. Referenced by assertTypePred(). |
|
counts bitblasted equalities
Definition at line 112 of file theory_bitvector.h. Referenced by bitBlastEqn(). |
|
counts bitblasted disequalities
Definition at line 114 of file theory_bitvector.h. Referenced by bitBlastDisEqn(). |
|
Command line flag: simplify bit-blasted expressions before enqueuing.
Definition at line 118 of file theory_bitvector.h. |
|
boolean on the fly rewrite flag
Definition at line 120 of file theory_bitvector.h. Referenced by assertFact(), checkSat(), and rewriteBoolean(). |
|
bool extract cache flag
Definition at line 122 of file theory_bitvector.h. |
|
flag which indicates that all arithmetic is 32 bit with no overflow
Definition at line 124 of file theory_bitvector.h. |
|
Command line flag: rewrite bitvector expressions.
Definition at line 126 of file theory_bitvector.h. |
|
Command line flag: concatenation normal form rewrite bitvector expressions.
Definition at line 128 of file theory_bitvector.h. |
|
Command line flag: bvplus normal form rewrite bitvector expressions.
Definition at line 130 of file theory_bitvector.h. |
|
Commant line flag: rewrite while bit-blasting.
Definition at line 132 of file theory_bitvector.h. |
|
Commant line flag: bit-blast equalities in CNF converter.
Definition at line 134 of file theory_bitvector.h. Referenced by rewriteAtomic(). |
|
Command line flag: enable lhs-minus-rhs-rule for lhs=rhs.
Definition at line 136 of file theory_bitvector.h. Referenced by rewriteBV(). |
|
Command line flag: update bitvector expressions on find pointer merges.
Definition at line 138 of file theory_bitvector.h. Referenced by assertTypePred(). |
|
Command line flag: setup bitvector expressions for single bit changes.
Definition at line 140 of file theory_bitvector.h. Referenced by assertTypePred(). |
|
Command line flag: setup only shared subexpressions.
Definition at line 142 of file theory_bitvector.h. Referenced by setup(). |
|
Command line flag: enable pushnegation.
Definition at line 144 of file theory_bitvector.h. |
|
Cache for storing the results of the bitBlastTerm function.
Definition at line 147 of file theory_bitvector.h. Referenced by bitBlastTerm(). |
|
Cache for pushNegation(). it is ok that this is cache is.
Definition at line 152 of file theory_bitvector.h. Referenced by pushNegation(), and pushNegationRec(). |
|
Backtracking queue for equalities (to delay them till checkSat() call).
Definition at line 155 of file theory_bitvector.h. Referenced by assertFact(), and checkSat(). |
|
Pointer to the next unasserted equality in d_eq.
Definition at line 157 of file theory_bitvector.h. Referenced by checkSat(). |
|
Pointer to the next equality in d_eq which is not bit-blasted yet.
Definition at line 159 of file theory_bitvector.h. Referenced by checkSat(). |
|
Backtracking queue for disequalities (to delay them till checkSat() call).
Definition at line 161 of file theory_bitvector.h. Referenced by assertFact(), and checkSat(). |
|
Pointer to the next unasserted disequality in d_diseq.
Definition at line 163 of file theory_bitvector.h. Referenced by checkSat(). |
|
Database of stale bit-expansions for update().
Definition at line 165 of file theory_bitvector.h. Referenced by update(). |
|
Backtracking queue for TCCs on individual bits.
Definition at line 167 of file theory_bitvector.h. Referenced by assertTypePred(), and checkSat(). |
|
Pointer to the next unasserted TCC in d_tccs.
Definition at line 169 of file theory_bitvector.h. Referenced by checkSat(). |
|
Backtracking database of subterms of shared terms.
Definition at line 171 of file theory_bitvector.h. Referenced by assertTypePred(), collectSharedSubterms(), and update(). |
|
Cache for typePredicates of non shared terms.
Definition at line 173 of file theory_bitvector.h. Referenced by assertTypePred(), and collectSharedSubterms(). |
|
Constant 1-bit bit-vector 0bin0.
Definition at line 178 of file theory_bitvector.h. Referenced by bvZero(), and TheoryBitvector(). |
|
Constant 1-bit bit-vector 0bin0.
Definition at line 180 of file theory_bitvector.h. Referenced by bvOne(), and TheoryBitvector(). |
|
Definition at line 257 of file theory_bitvector.h. Referenced by bitBlastDisEqn(), bitBlastEqn(), and CVCL::BitvectorTheoremProducer::computeCarryPreComputed(). |
|
Definition at line 258 of file theory_bitvector.h. Referenced by bitBlastDisEqn(), bitBlastEqn(), and CVCL::BitvectorTheoremProducer::computeCarryPreComputed(). |