Skip to content

Commit

Permalink
Merge pull request #100 from Y-Nak/module-analysis
Browse files Browse the repository at this point in the history
Module analysis
  • Loading branch information
sbillig authored Dec 12, 2024
2 parents 52551c8 + a2192fc commit c9dee84
Show file tree
Hide file tree
Showing 33 changed files with 912 additions and 38 deletions.
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated by Cargo
# will have compiled files and executables
/target/
## File system
.DS_Store
desktop.ini

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Expand All @@ -9,6 +9,6 @@ Cargo.lock
# These are backup files generated by rustfmt
**/*.rs.bk



## Build
*/target
/target/
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

0 comments on commit c9dee84

Please sign in to comment.