40 bool success =
solver->evaluate(
Query(constraints, expr), result);
51 result = CE->isTrue() ? true :
false;
60 bool success =
solver->mustBeTrue(
Query(constraints, expr), result);
84 if (!
mustBeTrue(constraints, expr, res, metaData))
104 bool success =
solver->getValue(
Query(constraints, expr), result);
112 const ConstraintSet &constraints,
const std::vector<const Array *> &objects,
113 std::vector<std::vector<unsigned char>> &result,
120 bool success =
solver->getInitialValues(
132 auto result =
solver->getRange(
Query(constraints, expr));
static ref< ConstantExpr > alloc(const llvm::APInt &v)
static ref< Expr > simplifyExpr(const ConstraintSet &constraints, const ref< Expr > &expr)
static ref< Expr > createIsZero(ref< Expr > e)
bool mayBeFalse(const ConstraintSet &, ref< Expr >, bool &result, SolverQueryMetaData &metaData)
bool getInitialValues(const ConstraintSet &, const std::vector< const Array * > &objects, std::vector< std::vector< unsigned char > > &result, SolverQueryMetaData &metaData)
bool getValue(const ConstraintSet &, ref< Expr > expr, ref< ConstantExpr > &result, SolverQueryMetaData &metaData)
bool mustBeFalse(const ConstraintSet &, ref< Expr >, bool &result, SolverQueryMetaData &metaData)
bool mayBeTrue(const ConstraintSet &, ref< Expr >, bool &result, SolverQueryMetaData &metaData)
bool mustBeTrue(const ConstraintSet &, ref< Expr >, bool &result, SolverQueryMetaData &metaData)
std::pair< ref< Expr >, ref< Expr > > getRange(const ConstraintSet &, ref< Expr > query, SolverQueryMetaData &metaData)
std::unique_ptr< Solver > solver