MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / binop_fold

Method binop_fold

smt/expr.cpp:704–708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

702}
703
704expr expr::binop_fold(const expr &rhs,
705 Z3_ast(*op)(Z3_context, Z3_ast, Z3_ast)) const {
706 C(rhs);
707 return simplify_const(op(ctx(), ast(), rhs()), *this, rhs);
708}
709
710expr expr::unop_fold(Z3_ast(*op)(Z3_context, Z3_ast)) const {
711 C();

Callers 1

binop_commutativeMethod · 0.80

Calls 1

simplify_constFunction · 0.85

Tested by

no test coverage detected