1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-16 21:07:56 +00:00
kickc/src/test/ref/overlap-allocation.cfg

50 lines
1.9 KiB
INI
Raw Normal View History

@begin: scope:[] from
2018-11-11 20:51:36 +00:00
[0] phi()
to:@2
@2: scope:[] from @begin
2018-11-11 20:51:36 +00:00
[1] phi()
[2] call main
to:@end
@end: scope:[] from @2
2018-11-11 20:51:36 +00:00
[3] phi()
main: scope:[main] from @2
2018-11-11 20:51:36 +00:00
[4] phi()
to:main::@1
main::@1: scope:[main] from main main::@7
2018-11-11 20:51:36 +00:00
[5] (byte) main::i#2 ← phi( main/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@7/(byte) main::i#1 )
[6] (byte) plot::x#0 ← (byte) main::i#2
[7] call plot
to:main::@7
main::@7: scope:[main] from main::@1
2018-11-11 20:51:36 +00:00
[8] (byte) main::i#1 ← ++ (byte) main::i#2
[9] if((byte) main::i#1!=(byte/signed byte/word/signed word/dword/signed dword) $b) goto main::@1
to:main::@2
main::@2: scope:[main] from main::@7 main::@8
2018-11-11 20:51:36 +00:00
[10] (byte) main::j#2 ← phi( main::@7/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@8/(byte) main::j#1 )
[11] (byte) plot::x#1 ← (byte) main::j#2
[12] call plot
to:main::@8
main::@8: scope:[main] from main::@2
2018-11-11 20:51:36 +00:00
[13] (byte) main::j#1 ← ++ (byte) main::j#2
[14] if((byte) main::j#1!=(byte/signed byte/word/signed word/dword/signed dword) $b) goto main::@2
to:main::@3
main::@3: scope:[main] from main::@8 main::@9
2018-11-11 20:51:36 +00:00
[15] (byte) main::k#2 ← phi( main::@8/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@9/(byte) main::k#1 )
[16] (byte) plot::x#2 ← (byte) main::k#2
[17] call plot
to:main::@9
main::@9: scope:[main] from main::@3
2018-11-11 20:51:36 +00:00
[18] (byte) main::k#1 ← ++ (byte) main::k#2
[19] if((byte) main::k#1!=(byte/signed byte/word/signed word/dword/signed dword) $b) goto main::@3
to:main::@return
main::@return: scope:[main] from main::@9
2018-11-11 20:51:36 +00:00
[20] return
to:@return
plot: scope:[plot] from main::@1 main::@2 main::@3
2018-11-11 20:51:36 +00:00
[21] (byte) plot::x#3 ← phi( main::@1/(byte) plot::x#0 main::@2/(byte) plot::x#1 main::@3/(byte) plot::x#2 )
[22] *((const byte*) SCREEN#0 + (byte) plot::x#3) ← (byte) '*'
to:plot::@return
plot::@return: scope:[plot] from plot
2018-11-11 20:51:36 +00:00
[23] return
to:@return