Created
August 28, 2020 12:59
-
-
Save jmorse/c45d7f9d5e328018ca884fda6bbde15c to your computer and use it in GitHub Desktop.
MIR before register coalescing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body: | | |
bb.0.entry: | |
successors: %bb.1(0x80000000) | |
%7:gr64 = IMPLICIT_DEF | |
bb.1.for.body.i.i.i.i: | |
successors: %bb.3(0x30000000), %bb.2(0x50000000) | |
%0:gr64 = COPY killed %7 | |
%1:gr64 = MOV64rm %0, 1, $noreg, 0, $noreg :: (load 8 from %ir.__first.addr.04.i.i.i.i1) | |
%2:gr64 = COPY killed %0 | |
%2:gr64 = ADD64ri8 %2, 16, implicit-def dead $eflags | |
CMP64rr %1, %2, implicit-def $eflags | |
JCC_1 %bb.3, 4, implicit killed $eflags, debug-location !3792 | |
JMP_1 %bb.2, debug-location !3792 | |
bb.2.if.then.i.i.i.i.i.i.i: | |
successors: %bb.3(0x80000000) | |
DBG_VALUE %0, $noreg, !3850, !DIExpression(), debug-location !3902 | |
ADJCALLSTACKDOWN64 0, 0, 0, implicit-def dead $rsp, implicit-def dead $eflags, implicit-def dead $ssp, implicit $rsp, implicit $ssp, debug-location !3905 | |
$rdi = COPY killed %1, debug-location !3905 | |
CALL64pcrel32 @_ZdlPv, csr_64, implicit $rsp, implicit $ssp, implicit killed $rdi, implicit-def $rsp, implicit-def $ssp, debug-location !3905 | |
ADJCALLSTACKUP64 0, 0, implicit-def dead $rsp, implicit-def dead $eflags, implicit-def dead $ssp, implicit $rsp, implicit $ssp, debug-location !3905 | |
bb.3._ZSt8_DestroyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEvPT_.exit.i.i.i.i: | |
successors: %bb.1(0x80000000) | |
%3:gr64 = COPY killed %2 | |
%3:gr64 = ADD64ri8 %3, 16, implicit-def dead $eflags | |
%7:gr64 = COPY killed %3 | |
JMP_1 %bb.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment