• Home
  • Raw
  • Download

Lines Matching refs:ASM

1 ; RUN: llc -mtriple=x86_64-windows-msvc < %s | FileCheck %s --check-prefix=ASM
24 ; ASM: f: # @f
25 ; ASM: .cv_file 1 "D:\\src\\llvm\\build\\t.cpp"
26 ; ASM: .cv_loc 0 1 7 0 is_stmt 0 # t.cpp:7:0
27 ; ASM: .seh_proc f
28 ; ASM: # BB#0: # %entry
29 ; ASM: subq $56, %rsp
30 ; ASM: #DEBUG_VALUE: f:param <- [%RSP+52]
31 ; ASM: movl %ecx, 52(%rsp)
32 ; ASM: [[prologue_end:\.Ltmp.*]]:
33 ; ASM: .cv_loc 0 1 8 7 # t.cpp:8:7
34 ; ASM: testl %ecx, %ecx
35 ; ASM: je .LBB0_2
36 ; ASM: [[if_start:\.Ltmp.*]]:
37 ; ASM: # BB#1: # %if.then
38 ; ASM: #DEBUG_VALUE: f:param <- [%RSP+52]
39 ; ASM: #DEBUG_VALUE: a <- [%RSP+40]
40 ; ASM: .cv_loc 0 1 9 9 # t.cpp:9:9
41 ; ASM: movl $42, 40(%rsp)
42 ; ASM: [[inline_site1:\.Ltmp.*]]:
43 ; ASM: .cv_loc 1 1 4 7 # t.cpp:4:7
44 ; ASM: movl $3, 44(%rsp)
45 ; ASM: leaq 44(%rsp), %rcx
46 ; ASM: .cv_loc 1 1 5 3 # t.cpp:5:3
47 ; ASM: callq capture
48 ; ASM: leaq 40(%rsp), %rcx
49 ; ASM: jmp .LBB0_3
50 ; ASM: [[else_start:\.Ltmp.*]]:
51 ; ASM: .LBB0_2: # %if.else
52 ; ASM: #DEBUG_VALUE: f:param <- [%RSP+52]
53 ; ASM: #DEBUG_VALUE: b <- [%RSP+36]
54 ; ASM: .cv_loc 0 1 13 9 # t.cpp:13:9
55 ; ASM: movl $42, 36(%rsp)
56 ; ASM: [[inline_site2:\.Ltmp.*]]:
57 ; ASM: .cv_loc 2 1 4 7 # t.cpp:4:7
58 ; ASM: movl $3, 48(%rsp)
59 ; ASM: leaq 48(%rsp), %rcx
60 ; ASM: .cv_loc 2 1 5 3 # t.cpp:5:3
61 ; ASM: callq capture
62 ; ASM: leaq 36(%rsp), %rcx
63 ; ASM: [[inline_site2_end:\.Ltmp.*]]:
64 ; ASM: .LBB0_3: # %if.end
65 ; ASM: .cv_loc 0 1 15 5 # t.cpp:15:5
66 ; ASM: callq capture
67 ; ASM: [[else_end:\.Ltmp.*]]:
68 ; ASM: .cv_loc 0 1 17 1 # t.cpp:17:1
69 ; ASM: nop
70 ; ASM: addq $56, %rsp
71 ; ASM: retq
72 ; ASM: [[param_end:\.Ltmp.*]]:
74 ; ASM: .short 4414 # Record kind: S_LOCAL
75 ; ASM: .long 116 # TypeIndex
76 ; ASM: .short 1 # Flags
77 ; ASM: .asciz "param"
78 ; ASM: .cv_def_range [[prologue_end]] [[param_end]], "E\021O\001\000\0004\000\000\000"
79 ; ASM: .short 4414 # Record kind: S_LOCAL
80 ; ASM: .long 116 # TypeIndex
81 ; ASM: .short 0 # Flags
82 ; ASM: .asciz "a"
83 ; ASM: .cv_def_range [[if_start]] [[else_start]], "E\021O\001\000\000(\000\000\000"
84 ; ASM: .short 4414 # Record kind: S_LOCAL
85 ; ASM: .long 116 # TypeIndex
86 ; ASM: .short 0 # Flags
87 ; ASM: .asciz "b"
88 ; ASM: .cv_def_range [[else_start]] [[else_end]], "E\021O\001\000\000$\000\000\000"
89 ; ASM: .short 4429 # Record kind: S_INLINESITE
90 ; ASM: .short 4414 # Record kind: S_LOCAL
91 ; ASM: .long 116 # TypeIndex
92 ; ASM: .short 0 # Flags
93 ; ASM: .asciz "v"
94 ; ASM: .cv_def_range [[inline_site1]] [[else_start]], "E\021O\001\000\000,\000\000\000"
95 ; ASM: .short 4430 # Record kind: S_INLINESITE_END
96 ; ASM: .short 4429 # Record kind: S_INLINESITE
97 ; ASM: .short 4414 # Record kind: S_LOCAL
98 ; ASM: .long 116 # TypeIndex
99 ; ASM: .short 0 # Flags
100 ; ASM: .asciz "v"
101 ; ASM: .cv_def_range [[inline_site2]] [[inline_site2_end]], "E\021O\001\000\0000\000\000\000"
102 ; ASM: .short 4430 # Record kind: S_INLINESITE_END