Skip to content

Rename Region to CFG#683

Open
zhenrongliew wants to merge 2 commits into
rustfrom
dl/rename-region-to-cfg
Open

Rename Region to CFG#683
zhenrongliew wants to merge 2 commits into
rustfrom
dl/rename-region-to-cfg

Conversation

@zhenrongliew

Copy link
Copy Markdown
Collaborator

Part of #667. This addresses the first follow-up identified in the issue:

Rename Region → CFG, given that the current representation is specifically a control-flow graph.

Summary

  • Renames the Region terminology to Cfg throughout the IR, interpreter, analyses, builders, tests, and documentation.
  • Updates downstream consumers to use the new CFG terminology.

This makes it explicit that the representation consists of basic blocks connected by control-flow edges, rather than using the more general term “region.”

Stack

This is the first PR in the issue #667 follow-up stack. The subsequent PR generalizes interpreter traversal beyond CFG-bodied callables.

@zhenrongliew zhenrongliew requested a review from Roger-luo July 15, 2026 19:22
@zhenrongliew zhenrongliew added area: interpreter Area: issues related to the interpreter. area: Rust Area: issues and pull requests related to Rust code. area: Kirin-rs Area: Rust-version Kirin related components. labels Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: interpreter Area: issues related to the interpreter. area: Kirin-rs Area: Rust-version Kirin related components. area: Rust Area: issues and pull requests related to Rust code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant