Expand description
Graph verification passes.
Structsยง
- Verify
Error - Verification error with location info.
Functionsยง
- verify
- Run all verification passes on a graph. Returns
Ok(())if valid, or a list of all errors found. - verify_
no_ ๐cycles - Check that the operation list is acyclic (topological order).
Since we enforce operand-before-use in
verify_operand_defs, this is automatically satisfied if that check passes. This function is a belt-and-suspenders DFS cycle check. - verify_
operand_ ๐defs - Check that every operand references a value defined by an earlier op.
- verify_
ssa ๐ - Check that every ValueId is defined exactly once.