mirror of
https://github.com/kmc7468/cs420.git
synced 2026-11-04 08:10:29 +09:00
Update
This commit is contained in:
1 parent
2d8d1e7fb4
commit
4535b2ef6f
28 files changed
+696
-370
No files matched your search
+3
-3
@@ -22,15 +22,15 @@ pub trait Optimize<T> {
|
||||
pub type O0 = Null;
|
||||
pub type O1 = Repeat<(SimplifyCfg, (Mem2reg, (Gvn, Deadcode)))>;
|
||||
|
||||
#[derive(Default)]
|
||||
#[derive(Default, Debug)]
|
||||
pub struct Null {}
|
||||
|
||||
#[derive(Default)]
|
||||
#[derive(Default, Debug)]
|
||||
pub struct Repeat<O> {
|
||||
inner: O,
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
#[derive(Default, Debug)]
|
||||
pub struct FunctionPass<T: Optimize<ir::FunctionDefinition>> {
|
||||
inner: T,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user