seal5.transform.detect_branches
Recognize conditional PC-relative RISC-V branch behaviors.
Functions
|
Return a lowered operation, or the original if any behavior is unproven. |
|
Match PC = PC + immediate, accepting explicit XLEN/sign casts. |
|
Only branch conditions composed of fields, literals and integer registers. |
|
Unwrap nested single blocks without discarding statements. |
|
Classes
|
Pattern-gen branch with its original displacement retained in the model. |