mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 06:58:50 +00:00
Update skeleton
This commit is contained in:
94
examples/simplify_cfg/const_prop.output.ir
Normal file
94
examples/simplify_cfg/const_prop.output.ir
Normal file
@@ -0,0 +1,94 @@
|
||||
fun i32 @const_prop_same {
|
||||
init:
|
||||
bid: b0
|
||||
allocations:
|
||||
|
||||
|
||||
block b0:
|
||||
j b1()
|
||||
|
||||
block b1:
|
||||
ret 0:i1
|
||||
}
|
||||
|
||||
fun i32 @const_prop_true {
|
||||
init:
|
||||
bid: b0
|
||||
allocations:
|
||||
|
||||
|
||||
block b0:
|
||||
j b1()
|
||||
|
||||
block b1:
|
||||
ret 0:i1
|
||||
|
||||
block b2:
|
||||
ret 0:i1
|
||||
}
|
||||
|
||||
fun i32 @const_prop_false {
|
||||
init:
|
||||
bid: b0
|
||||
allocations:
|
||||
|
||||
|
||||
block b0:
|
||||
j b2()
|
||||
|
||||
block b1:
|
||||
ret 0:i1
|
||||
|
||||
block b2:
|
||||
ret 0:i1
|
||||
}
|
||||
|
||||
fun i32 @const_prop_switch_same {
|
||||
init:
|
||||
bid: b0
|
||||
allocations:
|
||||
|
||||
block b0:
|
||||
j b1()
|
||||
|
||||
block b1:
|
||||
ret 0:i1
|
||||
}
|
||||
|
||||
fun i32 @const_prop_switch_case {
|
||||
init:
|
||||
bid: b0
|
||||
allocations:
|
||||
|
||||
|
||||
block b0:
|
||||
j b2()
|
||||
|
||||
block b1:
|
||||
ret 0:i1
|
||||
|
||||
block b2:
|
||||
ret 0:i1
|
||||
|
||||
block b3:
|
||||
ret 0:i1
|
||||
}
|
||||
|
||||
fun i32 @const_prop_switch_default {
|
||||
init:
|
||||
bid: b0
|
||||
allocations:
|
||||
|
||||
|
||||
block b0:
|
||||
j b1()
|
||||
|
||||
block b1:
|
||||
ret 0:i1
|
||||
|
||||
block b2:
|
||||
ret 0:i1
|
||||
|
||||
block b3:
|
||||
ret 0:i1
|
||||
}
|
||||
Reference in New Issue
Block a user