class SimplificationManager: (source)
Undocumented
Static Method | and |
This simplifier handles the following case: |
Static Method | bitwise |
Undocumented |
Static Method | bitwise |
Undocumented |
Static Method | bitwise |
Undocumented |
Static Method | bitwise |
Undocumented |
Static Method | bitwise |
Undocumented |
Static Method | bitwise |
Undocumented |
Static Method | bitwise |
Undocumented |
Static Method | boolean |
Undocumented |
Static Method | boolean |
Undocumented |
Static Method | boolean |
Undocumented |
Static Method | bv |
Undocumented |
Static Method | concat |
Undocumented |
Static Method | eq |
Undocumented |
Static Method | extract |
Undocumented |
Static Method | fptobv |
Undocumented |
Static Method | fptofp |
Undocumented |
Static Method | if |
Undocumented |
Static Method | lshift |
Undocumented |
Static Method | lshr |
Undocumented |
Static Method | ne |
Undocumented |
Static Method | rotate |
Handles the following case: ((A << a) | (A >> (_N - a))) & mask, where A being a BVS, a being a integer that is less than _N, _N is either 32 or 64, and mask can be evaluated to 0xffffffff (64-bit) or 0xffff (32-bit) after reversing the rotate-shift operation. |
Static Method | rshift |
Undocumented |
Static Method | signext |
Undocumented |
Static Method | str |
Undocumented |
Static Method | zeroext |
This simplifier handles the following cases: |
Static Method | zeroext |
This simplifier handles the following cases: |
Static Method | zeroext |
Undocumented |
Method | __init__ |
Undocumented |
Method | simplify |
Undocumented |
Static Method | _deduplicate |
Undocumented |
Static Method | _flatten |
Undocumented |
Instance Variable | _simplifiers |
Undocumented |
This simplifier handles the following case: A & mask == b, and A & mask != b If the high bits of A are 0, `& mask` can be eliminated.
Handles the following case: ((A << a) | (A >> (_N - a))) & mask, where A being a BVS, a being a integer that is less than _N, _N is either 32 or 64, and mask can be evaluated to 0xffffffff (64-bit) or 0xffff (32-bit) after reversing the rotate-shift operation. It will be simplified to: (A & (mask >>> a)) <<< a
This simplifier handles the following cases: ZeroExt(n, A) == b, and ZeroExt(n, A) != b If the high bits of b are all zeros (in case of __eq__) or have at least one ones (in case of __ne__), ZeroExt can be eliminated.
This simplifier handles the following cases: Extract(hi, 0, Concat(0, A)) op b, and Extract(hi, 0, ZeroExt(n, A)) op b Extract can be eliminated if the high bits of Concat(0, A) or ZeroExt(n, A) are all zeros.