Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;; Function f (f, funcdef_no=0, decl_uid=3082, cgraph_uid=0, symbol_order=0)
- try_optimize_cfg iteration 1
- starting the processing of deferred insns
- ending the processing of deferred insns
- df_analyze called
- insn 13: replaced reg 2 with 0
- rescanning insn with uid = 13.
- Attempting shrink-wrapping optimization.
- Block 2 needs the prologue.
- Block 3 needs the prologue.
- After wrapping required blocks, PRO is now 2
- Avoiding non-duplicatable blocks, PRO is now 2
- Bumping back to anticipatable blocks, PRO is now 2
- scanning new insn with uid = 42.
- scanning new insn with uid = 43.
- scanning new insn with uid = 44.
- scanning new insn with uid = 37.
- scanning new insn with uid = 38.
- scanning new insn with uid = 39.
- verify found no changes in insn with uid = 10.
- verify found no changes in insn with uid = 16.
- try_optimize_cfg iteration 1
- starting the processing of deferred insns
- ending the processing of deferred insns
- f
- Dataflow summary:
- ;; invalidated by call 0 [x0] 1 [x1] 2 [x2] 3 [x3] 4 [x4] 5 [x5] 6 [x6] 7 [x7] 8 [x8] 9 [x9] 10 [x10] 11 [x11] 12 [x12] 13 [x13] 14 [x14] 15 [x15] 16 [x16] 17 [x17] 18 [x18] 30 [x30] 32 [v0] 33 [v1] 34 [v2] 35 [v3] 36 [v4] 37 [v5] 38 [v6] 39 [v7] 48 [v16] 49 [v17] 50 [v18] 51 [v19] 52 [v20] 53 [v21] 54 [v22] 55 [v23] 56 [v24] 57 [v25] 58 [v26] 59 [v27] 60 [v28] 61 [v29] 62 [v30] 63 [v31] 66 [cc]
- ;; hardware regs used 31 [sp]
- ;; regular block artificial uses 29 [x29] 31 [sp]
- ;; eh block artificial uses 29 [x29] 31 [sp] 64 [sfp] 65 [ap]
- ;; entry block defs 0 [x0] 1 [x1] 2 [x2] 3 [x3] 4 [x4] 5 [x5] 6 [x6] 7 [x7] 8 [x8] 18 [x18] 29 [x29] 30 [x30] 31 [sp] 32 [v0] 33 [v1] 34 [v2] 35 [v3] 36 [v4] 37 [v5] 38 [v6] 39 [v7] 64 [sfp]
- ;; exit block uses 0 [x0] 29 [x29] 30 [x30] 31 [sp] 64 [sfp]
- ;; regs ever live 0 [x0] 1 [x1] 2 [x2] 16 [x16] 17 [x17] 29 [x29] 30 [x30] 31 [sp] 66 [cc]
- ;; ref usage r0={6d,7u} r1={3d,1u} r2={5d,1u} r3={3d} r4={3d} r5={3d} r6={3d} r7={3d} r8={3d} r9={2d} r10={2d} r11={2d} r12={2d} r13={2d} r14={2d} r15={2d} r16={4d} r17={4d} r18={3d} r29={3d,6u} r30={4d,3u} r31={3d,16u} r32={3d} r33={3d} r34={3d} r35={3d} r36={3d} r37={3d} r38={3d} r39={3d} r48={2d} r49={2d} r50={2d} r51={2d} r52={2d} r53={2d} r54={2d} r55={2d} r56={2d} r57={2d} r58={2d} r59={2d} r60={2d} r61={2d} r62={2d} r63={2d} r64={1d,1u} r66={3d,1u}
- ;; total ref usage 163{127d,36u,0e} in 16{14 regular + 2 call} insns.
- (note 1 0 5 NOTE_INSN_DELETED)
- (note 5 1 37 2 [bb 2] NOTE_INSN_BASIC_BLOCK)
- (insn/f 37 5 38 2 (parallel [
- (set (reg/f:DI 31 sp)
- (plus:DI (reg/f:DI 31 sp)
- (const_int -16 [0xfffffffffffffff0])))
- (set/f (mem:DI (plus:DI (reg/f:DI 31 sp)
- (const_int -16 [0xfffffffffffffff0])) [0 S8 A8])
- (reg/f:DI 29 x29))
- (set/f (mem:DI (plus:DI (reg/f:DI 31 sp)
- (const_int -8 [0xfffffffffffffff8])) [0 S8 A8])
- (reg:DI 30 x30))
- ]) "foo2.c":2 -1
- (nil))
- (insn/f 38 37 39 2 (set (reg/f:DI 29 x29)
- (plus:DI (reg/f:DI 31 sp)
- (const_int 0 [0]))) "foo2.c":2 -1
- (nil))
- (insn 39 38 40 2 (set (mem:BLK (scratch) [0 A8])
- (unspec:BLK [
- (reg/f:DI 31 sp)
- (reg/f:DI 29 x29)
- ] UNSPEC_PRLG_STK)) "foo2.c":2 -1
- (nil))
- (note 40 39 2 2 NOTE_INSN_PROLOGUE_END)
- (note 2 40 4 2 NOTE_INSN_DELETED)
- (note 4 2 11 2 NOTE_INSN_FUNCTION_BEG)
- (note 11 4 7 2 NOTE_INSN_DELETED)
- (insn 7 11 9 2 (set (reg/f:DI 2 x2 [orig:73 _1 ] [73])
- (plus:DI (reg:DI 0 x0 [ dest ])
- (const_int 5 [0x5]))) "foo2.c":3 97 {*adddi3_aarch64}
- (nil))
- (insn 9 7 10 2 (set (reg:DI 0 x0)
- (reg/f:DI 2 x2 [orig:73 _1 ] [73])) "foo2.c":3 50 {*movdi_aarch64}
- (nil))
- (call_insn 10 9 36 2 (parallel [
- (set (reg:DI 0 x0)
- (call (mem:DI (symbol_ref:DI ("strcpy") [flags 0x41] <function_decl 0x7fd1fca2b000 __builtin_strcpy>) [0 __builtin_strcpy S8 A8])
- (const_int 0 [0])))
- (use (const_int 0 [0]))
- (clobber (reg:DI 30 x30))
- ]) "foo2.c":3 44 {*call_value_symbol}
- (expr_list:REG_RETURNED (reg/f:DI 2 x2 [orig:73 _1 ] [73])
- (expr_list:REG_CALL_DECL (symbol_ref:DI ("strcpy") [flags 0x41] <function_decl 0x7fd1fca2b000 __builtin_strcpy>)
- (expr_list:REG_EH_REGION (const_int 0 [0])
- (nil))))
- (expr_list (clobber (reg:DI 17 x17))
- (expr_list (clobber (reg:DI 16 x16))
- (expr_list:DI (set (reg:DI 0 x0)
- (reg:DI 0 x0))
- (expr_list:DI (use (reg:DI 0 x0))
- (expr_list:DI (use (reg:DI 1 x1))
- (nil)))))))
- (insn 36 10 13 2 (set (reg/f:DI 2 x2 [orig:73 _1 ] [73])
- (reg:DI 0 x0)) "foo2.c":3 50 {*movdi_aarch64}
- (nil))
- (insn 13 36 14 2 (set (reg:CC 66 cc)
- (compare:CC (reg/f:DI 0 x0 [orig:73 _1 ] [73])
- (reg:DI 0 x0))) "foo2.c":3 393 {cmpdi}
- (nil))
- (jump_insn 14 13 15 2 (set (pc)
- (if_then_else (eq (reg:CC 66 cc)
- (const_int 0 [0]))
- (label_ref 18)
- (pc))) "foo2.c":3 9 {condjump}
- (int_list:REG_BR_PROB 9996 (nil))
- -> 18)
- (note 15 14 16 3 [bb 3] NOTE_INSN_BASIC_BLOCK)
- (call_insn 16 15 17 3 (parallel [
- (call (mem:DI (symbol_ref:DI ("abort") [flags 0x41] <function_decl 0x7fd1fca41600 __builtin_abort>) [0 __builtin_abort S8 A8])
- (const_int 0 [0]))
- (use (const_int 0 [0]))
- (clobber (reg:DI 30 x30))
- ]) "foo2.c":4 42 {*call_symbol}
- (expr_list:REG_CALL_DECL (symbol_ref:DI ("abort") [flags 0x41] <function_decl 0x7fd1fca41600 __builtin_abort>)
- (expr_list:REG_NORETURN (const_int 0 [0])
- (expr_list:REG_EH_REGION (const_int 0 [0])
- (nil))))
- (expr_list (clobber (reg:DI 17 x17))
- (expr_list (clobber (reg:DI 16 x16))
- (nil))))
- (barrier 17 16 18)
- (code_label 18 17 19 4 2 "" [1 uses])
- (note 19 18 22 4 [bb 4] NOTE_INSN_BASIC_BLOCK)
- (insn 22 19 23 4 (clobber (reg/i:DI 0 x0)) "foo2.c":5 -1
- (nil))
- (insn 23 22 24 4 (clobber (reg/f:DI 0 x0 [orig:75 <retval> ] [75])) "foo2.c":5 -1
- (nil))
- (insn 24 23 41 4 (use (reg/i:DI 0 x0)) "foo2.c":5 -1
- (nil))
- (note 41 24 42 4 NOTE_INSN_EPILOGUE_BEG)
- (insn/f 42 41 43 4 (parallel [
- (set (reg/f:DI 31 sp)
- (plus:DI (reg/f:DI 31 sp)
- (const_int 16 [0x10])))
- (set (reg/f:DI 29 x29)
- (mem:DI (reg/f:DI 31 sp) [0 S8 A8]))
- (set (reg:DI 30 x30)
- (mem:DI (plus:DI (reg/f:DI 31 sp)
- (const_int 8 [0x8])) [0 S8 A8]))
- ]) "foo2.c":5 -1
- (expr_list:REG_CFA_DEF_CFA (reg/f:DI 31 sp)
- (expr_list:REG_CFA_RESTORE (reg:DI 30 x30)
- (expr_list:REG_CFA_RESTORE (reg/f:DI 29 x29)
- (nil)))))
- (insn 43 42 44 4 (use (reg:DI 30 x30)) "foo2.c":5 -1
- (nil))
- (jump_insn 44 43 47 4 (return) "foo2.c":5 -1
- (nil)
- -> return)
- (barrier 47 44 34)
- (note 34 47 35 NOTE_INSN_DELETED)
- (note 35 34 0 NOTE_INSN_DELETED)
Add Comment
Please, Sign In to add comment