Debian Codegraph @

gcc/testsuite/selftests/x86_64/times-two.rtl

raw
1 ;; Dump of this C function:
2 ;;
3 ;; int times_two (int i)
4 ;; {
5 ;; return i * 2;
6 ;; }
7 ;;
8 ;; after expand for target==x86_64
9
10 (function "times_two"
11 (insn-chain
12 (cnote 1 NOTE_INSN_DELETED)
13 (block 2
14 (edge-from entry (flags "FALLTHRU"))
15 (cnote 4 [bb 2] NOTE_INSN_BASIC_BLOCK)
16 (cinsn 2 (set (mem/c:SI (plus:DI (reg/f:DI virtual-stack-vars)
17 (const_int -4)) [1 i+0 S4 A32])
18 (reg:SI di [ i ])) "../../src/times-two.c":2
19 (nil))
20 (cnote 3 NOTE_INSN_FUNCTION_BEG)
21 (cinsn 6 (set (reg:SI <2>)
22 (mem/c:SI (plus:DI (reg/f:DI virtual-stack-vars)
23 (const_int -4)) [1 i+0 S4 A32])) "../../src/times-two.c":3
24 (nil))
25 (cinsn 7 (parallel [
26 (set (reg:SI <0> [ _2 ])
27 (ashift:SI (reg:SI <2>)
28 (const_int 1)))
29 (clobber (reg:CC flags))
30 ]) "../../src/times-two.c":3
31 (expr_list:REG_EQUAL (ashift:SI (mem/c:SI (plus:DI (reg/f:DI virtual-stack-vars)
32 (const_int -4)) [1 i+0 S4 A32])
33 (const_int 1))
34 (nil)))
35 (cinsn 10 (set (reg:SI <1> [ <retval> ])
36 (reg:SI <0> [ _2 ])) "../../src/times-two.c":3
37 (nil))
38 (cinsn 14 (set (reg/i:SI ax)
39 (reg:SI <1> [ <retval> ])) "../../src/times-two.c":4
40 (nil))
41 (cinsn 15 (use (reg/i:SI ax)) "../../src/times-two.c":4
42 (nil))
43 (edge-to exit (flags "FALLTHRU"))
44 ) ;; block 2
45 ) ;; insn-chain
46 (crtl
47 (return_rtx
48 (reg/i:SI ax)
49 ) ;; return_rtx
50 ) ;; crtl
51 ) ;; function "times_two"