default = "true"
help = "lift equivalence with one-bit bit-vectors to be boolean operations"
-[[option]]
- name = "bvExtractArithRewrite"
- category = "expert"
- long = "bv-extract-arith"
- type = "bool"
- default = "false"
- help = "enable rewrite pushing extract [i:0] over arithmetic operations (can blow up)"
-
[[option]]
name = "bvIntroducePow2"
category = "expert"
return RewriteResponse(REWRITE_AGAIN_FULL, resultNode);
}
- if (options::bvExtractArithRewrite()) {
- if (RewriteRule<ExtractArith>::applies(node)) {
- resultNode = RewriteRule<ExtractArith>::run<false>(node);
- return RewriteResponse(REWRITE_AGAIN_FULL, resultNode);
- }
- }
-
resultNode = LinearRewriteStrategy<
// We could have an extract over extract
RewriteRule<ExtractExtract>,