Skip to content
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

Module analysis #100

Merged
merged 13 commits into from
Dec 12, 2024
5 changes: 5 additions & 0 deletions crates/codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@ sonatina-triple = { path = "../triple", version = "0.0.3-alpha" }
sonatina-macros = { path = "../macros", version = "0.0.3-alpha" }
dashmap = { version = "6.1", features = ["rayon"] }
indexmap = { version = "2.0" }

[dev-dependencies]
sonatina-parser = { path = "../parser", version = "0.0.3-alpha" }
insta = "1.41"
dir-test = "0.4"
4 changes: 4 additions & 0 deletions crates/codegen/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fn main() {
#[cfg(test)]
println!("cargo:rerun-if-changed=./test_files");
}
1 change: 1 addition & 0 deletions crates/codegen/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pub mod critical_edge;
pub mod domtree;
pub mod loop_analysis;
pub mod module_analysis;
pub mod optim;
pub mod post_domtree;
Loading
Loading