-
Notifications
You must be signed in to change notification settings - Fork 14
feat: insert_hugr copies Module-level children, _with_defns links by Node #2285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
acl-cqc
wants to merge
68
commits into
main
Choose a base branch
from
acl/insert_hugr_defns
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
9f4bcbb
Test to demonstrate issue #2254
acl-cqc 6f2121f
dataflow analysis runs on the whole Hugr to generate results for entr…
acl-cqc 7ea2c16
Make sameness/difference of results more obvious
acl-cqc cd2be05
Constant is the only ScopedDecl
acl-cqc 85f312d
Remove/update hugr-core tests (e.g. rm test_polymorphic_call)
acl-cqc d9bd2dc
clarify doc+impl of Machine::run
acl-cqc e20d5bb
Fix datalog+replace_types tests, driveby add From<tuple> for Wire
acl-cqc 844adf6
Monomorphization: remove one test, and remove flattening code
acl-cqc 7098652
Move builder method
acl-cqc ed2d90b
Remove ValueEdgeIntoFunc (revert #1061)
acl-cqc 5c3d8c0
Spec update: Const is the only scoped definition
acl-cqc 11d7c59
clippy
acl-cqc 6b282a9
Remove ScopedDefn
acl-cqc 9f7076a
Revert "Remove ScopedDefn"
acl-cqc 56a5f34
Keep ValueEdgeIntoFunc (but deprecate), for now
acl-cqc 5d202e9
ModuleBuilder: root not entrypoint, derive Default
acl-cqc 1ae84a4
fn module_root_builder(), some partial test reversions
acl-cqc b2758ce
cherry-pick fix #2262
acl-cqc d25c03c
hugr_llvm: remove nested funcs from diverse_(dfg,cfg)_children, only …
acl-cqc 7e2be32
hugr_py: move define_function/add_alias_defn
acl-cqc 090f9c7
hugr-llvm - closure returns Hugr, drop the debug printout
acl-cqc 12cf781
mypy+ruff
acl-cqc 1986a1a
hugr-llvm: make fat_root use the root, not entrypoint; update snapshots
acl-cqc cc08b0c
Revert changes to uv.lock
acl-cqc fa32fc5
Reduce change to dataflow tests using module_root_builder
acl-cqc 54a0821
Remove unused impl From for Wire
acl-cqc 055fc6e
Try reinstating define_function anywhere, deprecated
acl-cqc 5932b23
Revert "Try reinstating define_function anywhere, deprecated"
acl-cqc 4949b22
Remove diverse_dfg_children
acl-cqc bc31027
Remove diverse_dfg_children snapshots
acl-cqc 37f827c
hugr-py: Module: child building functions do not take parent
acl-cqc 9f4bf09
hugr-py: add module_root_builder(), fix doc on Hugr (root -> entrypoint)
acl-cqc a32f509
Fix circular import; docs
acl-cqc 5441ac1
hugr-py test_function_dfg
acl-cqc e507db3
hugr-llvm: add FatExt::fat_entrypoint, de-genericize fat_root
acl-cqc 2686d6d
Remove ValueEdgeIntoFunc error
acl-cqc 724f6e9
Drop PR comment as we have decided against
acl-cqc 6174928
Merge remote-tracking branch 'origin/main' into acl/dataflow_root
acl-cqc 095770c
Merge branch 'acl/dataflow_root' into acl/no_nested_funcdefn
acl-cqc ff1e62c
Add new methods, default old methods, rename+delegate insert_hugr_(in…
acl-cqc 16f5653
Test all HugrMut variants (first use of builder in hugrmut.rs) - 1*De…
acl-cqc c861f25
Test passing just one defn/decl
acl-cqc a104902
combine tests
acl-cqc bb2405f
rstest+enum
acl-cqc a5cfb27
Avoid rstest, call check for each
acl-cqc c4a7d41
docns
acl-cqc 84c8374
add_hugr(_view)_with_wires_defns, common up via wire_ins_return_outs
acl-cqc d7250cb
DefnInsertionError
acl-cqc 2e99f35
Rename DefnInsertionError -> InsertDefnError
acl-cqc 87130da
Fix doclinks
acl-cqc 780efa8
Test SimpleReplacement
acl-cqc 0db0ccd
test errors
acl-cqc 9b2dfb2
HashSet -> HashMap, minimal change to make next non-breaking
acl-cqc e08e80a
Add DefnInsertMode::Replace (but no impl yet), type-parametrize (brea…
acl-cqc d345c1f
insert_hugr_internal does the replacement (untested)
acl-cqc 6911edb
Update docs
acl-cqc 5d8897b
Test Replace; don't rely on node types, don't return Replaces in node…
acl-cqc c946ed3
fmt
acl-cqc 372afb5
Merge remote-tracking branch 'origin/main' into acl/dataflow_root
acl-cqc 90472fd
Merge branch 'acl/dataflow_root' into acl/no_nested_funcdefn
acl-cqc 23f784f
Merge branch 'acl/no_nested_funcdefn' into acl/insert_hugr_defns
acl-cqc 108dbad
comments
acl-cqc de57f50
Merge remote-tracking branch 'origin/main' into acl/no_nested_funcdefn
acl-cqc 59d914c
Merge branch 'acl/no_nested_funcdefn' into acl/insert_hugr_defns
acl-cqc 7357569
Move inserted_defn_decl to builder::test::dfg_calling_defn_decl
acl-cqc 51c5535
test builder
acl-cqc 81b0f4c
Extend to cover _view too
acl-cqc 960e9a0
Merge remote-tracking branch 'origin/main' into acl/insert_hugr_defns
acl-cqc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.