• Home
  • Raw
  • Download

Lines Matching refs:call

11 ; Test that llc avoids reusing spill slots in functions that call
12 ; setjmp(), whether they use "call" or "invoke" for calling setjmp()
18 ; This code keeps enough variables live across the setjmp() call that
21 %a1 = call i32 @get_val()
22 %a2 = call i32 @get_val()
23 %a3 = call i32 @get_val()
24 %a4 = call i32 @get_val()
25 %a5 = call i32 @get_val()
26 %a6 = call i32 @get_val()
27 %a7 = call i32 @get_val()
28 %a8 = call i32 @get_val()
34 %setjmp_result = call i1 @setjmp() returns_twice
44 %b1 = call i32 @get_val()
45 %b2 = call i32 @get_val()
46 %b3 = call i32 @get_val()
47 %b4 = call i32 @get_val()
48 %b5 = call i32 @get_val()
49 %b6 = call i32 @get_val()
50 %b7 = call i32 @get_val()
51 %b8 = call i32 @get_val()
52 call void @use_val(i32 %b1)
53 call void @use_val(i32 %b2)
54 call void @use_val(i32 %b3)
55 call void @use_val(i32 %b4)
56 call void @use_val(i32 %b5)
57 call void @use_val(i32 %b6)
58 call void @use_val(i32 %b7)
59 call void @use_val(i32 %b8)
60 call void @longjmp()
66 call void @use_val(i32 %a1)
67 call void @use_val(i32 %a2)
68 call void @use_val(i32 %a3)
69 call void @use_val(i32 %a4)
70 call void @use_val(i32 %a5)
71 call void @use_val(i32 %a6)
72 call void @use_val(i32 %a7)
73 call void @use_val(i32 %a8)
78 ; This is the same as above, but using "invoke" rather than "call" to
79 ; call setjmp().
84 %a1 = call i32 @get_val()
85 %a2 = call i32 @get_val()
86 %a3 = call i32 @get_val()
87 %a4 = call i32 @get_val()
88 %a5 = call i32 @get_val()
89 %a6 = call i32 @get_val()
90 %a7 = call i32 @get_val()
91 %a8 = call i32 @get_val()
110 %b1 = call i32 @get_val()
111 %b2 = call i32 @get_val()
112 %b3 = call i32 @get_val()
113 %b4 = call i32 @get_val()
114 %b5 = call i32 @get_val()
115 %b6 = call i32 @get_val()
116 %b7 = call i32 @get_val()
117 %b8 = call i32 @get_val()
118 call void @use_val(i32 %b1)
119 call void @use_val(i32 %b2)
120 call void @use_val(i32 %b3)
121 call void @use_val(i32 %b4)
122 call void @use_val(i32 %b5)
123 call void @use_val(i32 %b6)
124 call void @use_val(i32 %b7)
125 call void @use_val(i32 %b8)
126 call void @longjmp()
132 call void @use_val(i32 %a1)
133 call void @use_val(i32 %a2)
134 call void @use_val(i32 %a3)
135 call void @use_val(i32 %a4)
136 call void @use_val(i32 %a5)
137 call void @use_val(i32 %a6)
138 call void @use_val(i32 %a7)
139 call void @use_val(i32 %a8)