llvm.org GIT mirror llvm / 51b3e61
[test] (NFC) Simplify Transforms/ConstProp/calls.ll Differential Revision: http://reviews.llvm.org/D12421 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246312 91177308-0d34-0410-b5e6-96231b3b80d8 Vedant Kumar 4 years ago
1 changed file(s) with 116 addition(s) and 680 deletion(s). Raw diff Collapse all Expand all
4444
4545 define double @T() {
4646 ; CHECK-LABEL: @T(
47 ; FNOBUILTIN-LABEL: @T(
48
4749 ; CHECK-NOT: call
4850 ; CHECK: ret
4951 %A = call double @cos(double 0.000000e+00)
5355 %b = fadd double %a, %C
5456 %D = call double @sqrt(double 4.000000e+00)
5557 %c = fadd double %b, %D
58
59 %slot = alloca double
60 %slotf = alloca float
61 ; FNOBUILTIN: call
62 %1 = call double @acos(double 1.000000e+00)
63 store double %1, double* %slot
64 ; FNOBUILTIN: call
65 %2 = call double @asin(double 1.000000e+00)
66 store double %2, double* %slot
67 ; FNOBUILTIN: call
68 %3 = call double @atan(double 3.000000e+00)
69 store double %3, double* %slot
70 ; FNOBUILTIN: call
71 %4 = call double @atan2(double 3.000000e+00, double 4.000000e+00)
72 store double %4, double* %slot
73 ; FNOBUILTIN: call
74 %5 = call double @ceil(double 3.000000e+00)
75 store double %5, double* %slot
76 ; FNOBUILTIN: call
77 %6 = call double @cosh(double 3.000000e+00)
78 store double %6, double* %slot
79 ; FNOBUILTIN: call
80 %7 = call double @exp(double 3.000000e+00)
81 store double %7, double* %slot
82 ; FNOBUILTIN: call
83 %8 = call double @exp2(double 3.000000e+00)
84 store double %8, double* %slot
85 ; FNOBUILTIN: call
86 %9 = call double @fabs(double 3.000000e+00)
87 store double %9, double* %slot
88 ; FNOBUILTIN: call
89 %10 = call double @floor(double 3.000000e+00)
90 store double %10, double* %slot
91 ; FNOBUILTIN: call
92 %11 = call double @fmod(double 3.000000e+00, double 4.000000e+00)
93 store double %11, double* %slot
94 ; FNOBUILTIN: call
95 %12 = call double @log(double 3.000000e+00)
96 store double %12, double* %slot
97 ; FNOBUILTIN: call
98 %13 = call double @log10(double 3.000000e+00)
99 store double %13, double* %slot
100 ; FNOBUILTIN: call
101 %14 = call double @pow(double 3.000000e+00, double 4.000000e+00)
102 store double %14, double* %slot
103 ; FNOBUILTIN: call
104 %15 = call double @sinh(double 3.000000e+00)
105 store double %15, double* %slot
106 ; FNOBUILTIN: call
107 %16 = call double @tanh(double 3.000000e+00)
108 store double %16, double* %slot
109 ; FNOBUILTIN: call
110 %17 = call float @acosf(float 1.000000e+00)
111 store float %17, float* %slotf
112 ; FNOBUILTIN: call
113 %18 = call float @asinf(float 1.000000e+00)
114 store float %18, float* %slotf
115 ; FNOBUILTIN: call
116 %19 = call float @atanf(float 3.000000e+00)
117 store float %19, float* %slotf
118 ; FNOBUILTIN: call
119 %20 = call float @atan2f(float 3.000000e+00, float 4.000000e+00)
120 store float %20, float* %slotf
121 ; FNOBUILTIN: call
122 %21 = call float @ceilf(float 3.000000e+00)
123 store float %21, float* %slotf
124 ; FNOBUILTIN: call
125 %22 = call float @cosf(float 3.000000e+00)
126 store float %22, float* %slotf
127 ; FNOBUILTIN: call
128 %23 = call float @coshf(float 3.000000e+00)
129 store float %23, float* %slotf
130 ; FNOBUILTIN: call
131 %24 = call float @expf(float 3.000000e+00)
132 store float %24, float* %slotf
133 ; FNOBUILTIN: call
134 %25 = call float @exp2f(float 3.000000e+00)
135 store float %25, float* %slotf
136 ; FNOBUILTIN: call
137 %26 = call float @fabsf(float 3.000000e+00)
138 store float %26, float* %slotf
139 ; FNOBUILTIN: call
140 %27 = call float @floorf(float 3.000000e+00)
141 store float %27, float* %slotf
142 ; FNOBUILTIN: call
143 %28 = call float @fmodf(float 3.000000e+00, float 4.000000e+00)
144 store float %28, float* %slotf
145 ; FNOBUILTIN: call
146 %29 = call float @logf(float 3.000000e+00)
147 store float %29, float* %slotf
148 ; FNOBUILTIN: call
149 %30 = call float @log10f(float 3.000000e+00)
150 store float %30, float* %slotf
151 ; FNOBUILTIN: call
152 %31 = call float @powf(float 3.000000e+00, float 4.000000e+00)
153 store float %31, float* %slotf
154 ; FNOBUILTIN: call
155 %32 = call float @sinf(float 3.000000e+00)
156 store float %32, float* %slotf
157 ; FNOBUILTIN: call
158 %33 = call float @sinhf(float 3.000000e+00)
159 store float %33, float* %slotf
160 ; FNOBUILTIN: call
161 %34 = call float @sqrtf(float 3.000000e+00)
162 store float %34, float* %slotf
163 ; FNOBUILTIN: call
164 %35 = call float @tanf(float 3.000000e+00)
165 store float %35, float* %slotf
166 ; FNOBUILTIN: call
167 %36 = call float @tanhf(float 3.000000e+00)
168 store float %36, float* %slotf
169
170 ; FNOBUILTIN: ret
56171
57172 ; PR9315
58173 %E = call double @exp2(double 4.0)
101216 %0 = call double @llvm.pow.f64(double 1.500000e+00, double 3.000000e+00)
102217 ret double %0
103218 }
219
104220 declare double @llvm.pow.f64(double, double) nounwind readonly
105
106 define double @test_acos() nounwind uwtable ssp {
107 entry:
108 ; CHECK-LABEL: @test_acos(
109 ; CHECK-NOT: call
110 ; CHECK: ret
111 %0 = call double @acos(double 1.000000e+00)
112 ret double %0
113 }
114
115 define double @test_asin() nounwind uwtable ssp {
116 entry:
117 ; CHECK-LABEL: @test_asin(
118 ; CHECK-NOT: call
119 ; CHECK: ret
120 %0 = call double @asin(double 1.000000e+00)
121 ret double %0
122 }
123
124 define double @test_atan() nounwind uwtable ssp {
125 entry:
126 ; CHECK-LABEL: @test_atan(
127 ; CHECK-NOT: call
128 ; CHECK: ret
129 %0 = call double @atan(double 3.000000e+00)
130 ret double %0
131 }
132
133 define double @test_atan2() nounwind uwtable ssp {
134 entry:
135 ; CHECK-LABEL: @test_atan2(
136 ; CHECK-NOT: call
137 ; CHECK: ret
138 %0 = call double @atan2(double 3.000000e+00, double 4.000000e+00)
139 ret double %0
140 }
141
142 define double @test_ceil() nounwind uwtable ssp {
143 entry:
144 ; CHECK-LABEL: @test_ceil(
145 ; CHECK-NOT: call
146 ; CHECK: ret
147 %0 = call double @ceil(double 3.000000e+00)
148 ret double %0
149 }
150
151 define double @test_cos() nounwind uwtable ssp {
152 entry:
153 ; CHECK-LABEL: @test_cos(
154 ; CHECK-NOT: call
155 ; CHECK: ret
156 %0 = call double @cos(double 3.000000e+00)
157 ret double %0
158 }
159
160 define double @test_cosh() nounwind uwtable ssp {
161 entry:
162 ; CHECK-LABEL: @test_cosh(
163 ; CHECK-NOT: call
164 ; CHECK: ret
165 %0 = call double @cosh(double 3.000000e+00)
166 ret double %0
167 }
168
169 define double @test_exp() nounwind uwtable ssp {
170 entry:
171 ; CHECK-LABEL: @test_exp(
172 ; CHECK-NOT: call
173 ; CHECK: ret
174 %0 = call double @exp(double 3.000000e+00)
175 ret double %0
176 }
177
178 define double @test_exp2() nounwind uwtable ssp {
179 entry:
180 ; CHECK-LABEL: @test_exp2(
181 ; CHECK-NOT: call
182 ; CHECK: ret
183 %0 = call double @exp2(double 3.000000e+00)
184 ret double %0
185 }
186
187 define double @test_fabs() nounwind uwtable ssp {
188 entry:
189 ; CHECK-LABEL: @test_fabs(
190 ; CHECK-NOT: call
191 ; CHECK: ret
192 %0 = call double @fabs(double 3.000000e+00)
193 ret double %0
194 }
195
196 define double @test_floor() nounwind uwtable ssp {
197 entry:
198 ; CHECK-LABEL: @test_floor(
199 ; CHECK-NOT: call
200 ; CHECK: ret
201 %0 = call double @floor(double 3.000000e+00)
202 ret double %0
203 }
204
205 define double @test_fmod() nounwind uwtable ssp {
206 entry:
207 ; CHECK-LABEL: @test_fmod(
208 ; CHECK-NOT: call
209 ; CHECK: ret
210 %0 = call double @fmod(double 3.000000e+00, double 4.000000e+00)
211 ret double %0
212 }
213
214 define double @test_log() nounwind uwtable ssp {
215 entry:
216 ; CHECK-LABEL: @test_log(
217 ; CHECK-NOT: call
218 ; CHECK: ret
219 %0 = call double @log(double 3.000000e+00)
220 ret double %0
221 }
222
223 define double @test_log10() nounwind uwtable ssp {
224 entry:
225 ; CHECK-LABEL: @test_log10(
226 ; CHECK-NOT: call
227 ; CHECK: ret
228 %0 = call double @log10(double 3.000000e+00)
229 ret double %0
230 }
231
232 define double @test_pow() nounwind uwtable ssp {
233 entry:
234 ; CHECK-LABEL: @test_pow(
235 ; CHECK-NOT: call
236 ; CHECK: ret
237 %0 = call double @pow(double 3.000000e+00, double 4.000000e+00)
238 ret double %0
239 }
240
241 define double @test_sin() nounwind uwtable ssp {
242 entry:
243 ; CHECK-LABEL: @test_sin(
244 ; CHECK-NOT: call
245 ; CHECK: ret
246 %0 = call double @sin(double 3.000000e+00)
247 ret double %0
248 }
249
250 define double @test_sinh() nounwind uwtable ssp {
251 entry:
252 ; CHECK-LABEL: @test_sinh(
253 ; CHECK-NOT: call
254 ; CHECK: ret
255 %0 = call double @sinh(double 3.000000e+00)
256 ret double %0
257 }
258
259 define double @test_sqrt() nounwind uwtable ssp {
260 entry:
261 ; CHECK-LABEL: @test_sqrt(
262 ; CHECK-NOT: call
263 ; CHECK: ret
264 %0 = call double @sqrt(double 3.000000e+00)
265 ret double %0
266 }
267
268 define double @test_tan() nounwind uwtable ssp {
269 entry:
270 ; CHECK-LABEL: @test_tan(
271 ; CHECK-NOT: call
272 ; CHECK: ret
273 %0 = call double @tan(double 3.000000e+00)
274 ret double %0
275 }
276
277 define double @test_tanh() nounwind uwtable ssp {
278 entry:
279 ; CHECK-LABEL: @test_tanh(
280 ; CHECK-NOT: call
281 ; CHECK: ret
282 %0 = call double @tanh(double 3.000000e+00)
283 ret double %0
284 }
285
286 define float @test_acosf() nounwind uwtable ssp {
287 entry:
288 ; CHECK-LABEL: @test_acosf(
289 ; CHECK-NOT: call
290 ; CHECK: ret
291 %0 = call float @acosf(float 1.000000e+00)
292 ret float %0
293 }
294
295 define float @test_asinf() nounwind uwtable ssp {
296 entry:
297 ; CHECK-LABEL: @test_asinf(
298 ; CHECK-NOT: call
299 ; CHECK: ret
300 %0 = call float @asinf(float 1.000000e+00)
301 ret float %0
302 }
303
304 define float @test_atanf() nounwind uwtable ssp {
305 entry:
306 ; CHECK-LABEL: @test_atanf(
307 ; CHECK-NOT: call
308 ; CHECK: ret
309 %0 = call float @atanf(float 3.000000e+00)
310 ret float %0
311 }
312
313 define float @test_atan2f() nounwind uwtable ssp {
314 entry:
315 ; CHECK-LABEL: @test_atan2f(
316 ; CHECK-NOT: call
317 ; CHECK: ret
318 %0 = call float @atan2f(float 3.000000e+00, float 4.000000e+00)
319 ret float %0
320 }
321
322 define float @test_ceilf() nounwind uwtable ssp {
323 entry:
324 ; CHECK-LABEL: @test_ceilf(
325 ; CHECK-NOT: call
326 ; CHECK: ret
327 %0 = call float @ceilf(float 3.000000e+00)
328 ret float %0
329 }
330
331 define float @test_cosf() nounwind uwtable ssp {
332 entry:
333 ; CHECK-LABEL: @test_cosf(
334 ; CHECK-NOT: call
335 ; CHECK: ret
336 %0 = call float @cosf(float 3.000000e+00)
337 ret float %0
338 }
339
340 define float @test_coshf() nounwind uwtable ssp {
341 entry:
342 ; CHECK-LABEL: @test_coshf(
343 ; CHECK-NOT: call
344 ; CHECK: ret
345 %0 = call float @coshf(float 3.000000e+00)
346 ret float %0
347 }
348
349 define float @test_expf() nounwind uwtable ssp {
350 entry:
351 ; CHECK-LABEL: @test_expf(
352 ; CHECK-NOT: call
353 ; CHECK: ret
354 %0 = call float @expf(float 3.000000e+00)
355 ret float %0
356 }
357
358 define float @test_exp2f() nounwind uwtable ssp {
359 entry:
360 ; CHECK-LABEL: @test_exp2f(
361 ; CHECK-NOT: call
362 ; CHECK: ret
363 %0 = call float @exp2f(float 3.000000e+00)
364 ret float %0
365 }
366
367 define float @test_fabsf() nounwind uwtable ssp {
368 entry:
369 ; CHECK-LABEL: @test_fabsf(
370 ; CHECK-NOT: call
371 ; CHECK: ret
372 %0 = call float @fabsf(float 3.000000e+00)
373 ret float %0
374 }
375
376 define float @test_floorf() nounwind uwtable ssp {
377 entry:
378 ; CHECK-LABEL: @test_floorf(
379 ; CHECK-NOT: call
380 ; CHECK: ret
381 %0 = call float @floorf(float 3.000000e+00)
382 ret float %0
383 }
384
385 define float @test_fmodf() nounwind uwtable ssp {
386 entry:
387 ; CHECK-LABEL: @test_fmodf(
388 ; CHECK-NOT: call
389 ; CHECK: ret
390 %0 = call float @fmodf(float 3.000000e+00, float 4.000000e+00)
391 ret float %0
392 }
393
394 define float @test_logf() nounwind uwtable ssp {
395 entry:
396 ; CHECK-LABEL: @test_logf(
397 ; CHECK-NOT: call
398 ; CHECK: ret
399 %0 = call float @logf(float 3.000000e+00)
400 ret float %0
401 }
402
403 define float @test_log10f() nounwind uwtable ssp {
404 entry:
405 ; CHECK-LABEL: @test_log10f(
406 ; CHECK-NOT: call
407 ; CHECK: ret
408 %0 = call float @log10f(float 3.000000e+00)
409 ret float %0
410 }
411
412 define float @test_powf() nounwind uwtable ssp {
413 entry:
414 ; CHECK-LABEL: @test_powf(
415 ; CHECK-NOT: call
416 ; CHECK: ret
417 %0 = call float @powf(float 3.000000e+00, float 4.000000e+00)
418 ret float %0
419 }
420
421 define float @test_sinf() nounwind uwtable ssp {
422 entry:
423 ; CHECK-LABEL: @test_sinf(
424 ; CHECK-NOT: call
425 ; CHECK: ret
426 %0 = call float @sinf(float 3.000000e+00)
427 ret float %0
428 }
429
430 define float @test_sinhf() nounwind uwtable ssp {
431 entry:
432 ; CHECK-LABEL: @test_sinhf(
433 ; CHECK-NOT: call
434 ; CHECK: ret
435 %0 = call float @sinhf(float 3.000000e+00)
436 ret float %0
437 }
438
439 define float @test_sqrtf() nounwind uwtable ssp {
440 entry:
441 ; CHECK-LABEL: @test_sqrtf(
442 ; CHECK-NOT: call
443 ; CHECK: ret
444 %0 = call float @sqrtf(float 3.000000e+00)
445 ret float %0
446 }
447
448 define float @test_tanf() nounwind uwtable ssp {
449 entry:
450 ; CHECK-LABEL: @test_tanf(
451 ; CHECK-NOT: call
452 ; CHECK: ret
453 %0 = call float @tanf(float 3.000000e+00)
454 ret float %0
455 }
456
457 define float @test_tanhf() nounwind uwtable ssp {
458 entry:
459 ; CHECK-LABEL: @test_tanhf(
460 ; CHECK-NOT: call
461 ; CHECK: ret
462 %0 = call float @tanhf(float 3.000000e+00)
463 ret float %0
464 }
465
466 ; Shouldn't fold because of -fno-builtin
467 define double @acos_() nounwind uwtable ssp {
468 ; FNOBUILTIN-LABEL: @acos_(
469 ; FNOBUILTIN: %1 = call double @acos(double 3.000000e+00)
470 %1 = call double @acos(double 3.000000e+00)
471 ret double %1
472 }
473
474 ; Shouldn't fold because of -fno-builtin
475 define double @asin_() nounwind uwtable ssp {
476 ; FNOBUILTIN-LABEL: @asin_(
477 ; FNOBUILTIN: %1 = call double @asin(double 3.000000e+00)
478 %1 = call double @asin(double 3.000000e+00)
479 ret double %1
480 }
481
482 ; Shouldn't fold because of -fno-builtin
483 define double @atan_() nounwind uwtable ssp {
484 ; FNOBUILTIN-LABEL: @atan_(
485 ; FNOBUILTIN: %1 = call double @atan(double 3.000000e+00)
486 %1 = call double @atan(double 3.000000e+00)
487 ret double %1
488 }
489
490 ; Shouldn't fold because of -fno-builtin
491 define double @atan2_() nounwind uwtable ssp {
492 ; FNOBUILTIN-LABEL: @atan2_(
493 ; FNOBUILTIN: %1 = call double @atan2(double 3.000000e+00, double 4.000000e+00)
494 %1 = call double @atan2(double 3.000000e+00, double 4.000000e+00)
495 ret double %1
496 }
497
498 ; Shouldn't fold because of -fno-builtin
499 define double @ceil_() nounwind uwtable ssp {
500 ; FNOBUILTIN-LABEL: @ceil_(
501 ; FNOBUILTIN: %1 = call double @ceil(double 3.000000e+00)
502 %1 = call double @ceil(double 3.000000e+00)
503 ret double %1
504 }
505
506 ; Shouldn't fold because of -fno-builtin
507 define double @cos_() nounwind uwtable ssp {
508 ; FNOBUILTIN-LABEL: @cos_(
509 ; FNOBUILTIN: %1 = call double @cos(double 3.000000e+00)
510 %1 = call double @cos(double 3.000000e+00)
511 ret double %1
512 }
513
514 ; Shouldn't fold because of -fno-builtin
515 define double @cosh_() nounwind uwtable ssp {
516 ; FNOBUILTIN-LABEL: @cosh_(
517 ; FNOBUILTIN: %1 = call double @cosh(double 3.000000e+00)
518 %1 = call double @cosh(double 3.000000e+00)
519 ret double %1
520 }
521
522 ; Shouldn't fold because of -fno-builtin
523 define double @exp_() nounwind uwtable ssp {
524 ; FNOBUILTIN-LABEL: @exp_(
525 ; FNOBUILTIN: %1 = call double @exp(double 3.000000e+00)
526 %1 = call double @exp(double 3.000000e+00)
527 ret double %1
528 }
529
530 ; Shouldn't fold because of -fno-builtin
531 define double @exp2_() nounwind uwtable ssp {
532 ; FNOBUILTIN-LABEL: @exp2_(
533 ; FNOBUILTIN: %1 = call double @exp2(double 3.000000e+00)
534 %1 = call double @exp2(double 3.000000e+00)
535 ret double %1
536 }
537
538 ; Shouldn't fold because of -fno-builtin
539 define double @fabs_() nounwind uwtable ssp {
540 ; FNOBUILTIN-LABEL: @fabs_(
541 ; FNOBUILTIN: %1 = call double @fabs(double 3.000000e+00)
542 %1 = call double @fabs(double 3.000000e+00)
543 ret double %1
544 }
545
546 ; Shouldn't fold because of -fno-builtin
547 define double @floor_() nounwind uwtable ssp {
548 ; FNOBUILTIN-LABEL: @floor_(
549 ; FNOBUILTIN: %1 = call double @floor(double 3.000000e+00)
550 %1 = call double @floor(double 3.000000e+00)
551 ret double %1
552 }
553
554 ; Shouldn't fold because of -fno-builtin
555 define double @fmod_() nounwind uwtable ssp {
556 ; FNOBUILTIN-LABEL: @fmod_(
557 ; FNOBUILTIN: %1 = call double @fmod(double 3.000000e+00, double 4.000000e+00)
558 %1 = call double @fmod(double 3.000000e+00, double 4.000000e+00)
559 ret double %1
560 }
561
562 ; Shouldn't fold because of -fno-builtin
563 define double @log_() nounwind uwtable ssp {
564 ; FNOBUILTIN-LABEL: @log_(
565 ; FNOBUILTIN: %1 = call double @log(double 3.000000e+00)
566 %1 = call double @log(double 3.000000e+00)
567 ret double %1
568 }
569
570 ; Shouldn't fold because of -fno-builtin
571 define double @log10_() nounwind uwtable ssp {
572 ; FNOBUILTIN-LABEL: @log10_(
573 ; FNOBUILTIN: %1 = call double @log10(double 3.000000e+00)
574 %1 = call double @log10(double 3.000000e+00)
575 ret double %1
576 }
577
578 ; Shouldn't fold because of -fno-builtin
579 define double @pow_() nounwind uwtable ssp {
580 ; FNOBUILTIN-LABEL: @pow_(
581 ; FNOBUILTIN: %1 = call double @pow(double 3.000000e+00, double 4.000000e+00)
582 %1 = call double @pow(double 3.000000e+00, double 4.000000e+00)
583 ret double %1
584 }
585
586 ; Shouldn't fold because of -fno-builtin
587 define double @sin_() nounwind uwtable ssp {
588 ; FNOBUILTIN-LABEL: @sin_(
589 ; FNOBUILTIN: %1 = call double @sin(double 3.000000e+00)
590 %1 = call double @sin(double 3.000000e+00)
591 ret double %1
592 }
593
594 ; Shouldn't fold because of -fno-builtin
595 define double @sinh_() nounwind uwtable ssp {
596 ; FNOBUILTIN-LABEL: @sinh_(
597 ; FNOBUILTIN: %1 = call double @sinh(double 3.000000e+00)
598 %1 = call double @sinh(double 3.000000e+00)
599 ret double %1
600 }
601
602 ; Shouldn't fold because of -fno-builtin
603 define double @sqrt_() nounwind uwtable ssp {
604 ; FNOBUILTIN-LABEL: @sqrt_(
605 ; FNOBUILTIN: %1 = call double @sqrt(double 3.000000e+00)
606 %1 = call double @sqrt(double 3.000000e+00)
607 ret double %1
608 }
609
610 ; Shouldn't fold because of -fno-builtin
611 define double @tan_() nounwind uwtable ssp {
612 ; FNOBUILTIN-LABEL: @tan_(
613 ; FNOBUILTIN: %1 = call double @tan(double 3.000000e+00)
614 %1 = call double @tan(double 3.000000e+00)
615 ret double %1
616 }
617
618 ; Shouldn't fold because of -fno-builtin
619 define double @tanh_() nounwind uwtable ssp {
620 ; FNOBUILTIN-LABEL: @tanh_(
621 ; FNOBUILTIN: %1 = call double @tanh(double 3.000000e+00)
622 %1 = call double @tanh(double 3.000000e+00)
623 ret double %1
624 }
625
626 ; Shouldn't fold because of -fno-builtin
627 define float @acosf_() nounwind uwtable ssp {
628 ; FNOBUILTIN-LABEL: @acosf_(
629 ; FNOBUILTIN: %1 = call float @acosf(float 3.000000e+00)
630 %1 = call float @acosf(float 3.000000e+00)
631 ret float %1
632 }
633
634 ; Shouldn't fold because of -fno-builtin
635 define float @asinf_() nounwind uwtable ssp {
636 ; FNOBUILTIN-LABEL: @asinf_(
637 ; FNOBUILTIN: %1 = call float @asinf(float 3.000000e+00)
638 %1 = call float @asinf(float 3.000000e+00)
639 ret float %1
640 }
641
642 ; Shouldn't fold because of -fno-builtin
643 define float @atanf_() nounwind uwtable ssp {
644 ; FNOBUILTIN-LABEL: @atanf_(
645 ; FNOBUILTIN: %1 = call float @atanf(float 3.000000e+00)
646 %1 = call float @atanf(float 3.000000e+00)
647 ret float %1
648 }
649
650 ; Shouldn't fold because of -fno-builtin
651 define float @atan2f_() nounwind uwtable ssp {
652 ; FNOBUILTIN-LABEL: @atan2f_(
653 ; FNOBUILTIN: %1 = call float @atan2f(float 3.000000e+00, float 4.000000e+00)
654 %1 = call float @atan2f(float 3.000000e+00, float 4.000000e+00)
655 ret float %1
656 }
657
658 ; Shouldn't fold because of -fno-builtin
659 define float @ceilf_() nounwind uwtable ssp {
660 ; FNOBUILTIN-LABEL: @ceilf_(
661 ; FNOBUILTIN: %1 = call float @ceilf(float 3.000000e+00)
662 %1 = call float @ceilf(float 3.000000e+00)
663 ret float %1
664 }
665
666 ; Shouldn't fold because of -fno-builtin
667 define float @cosf_() nounwind uwtable ssp {
668 ; FNOBUILTIN-LABEL: @cosf_(
669 ; FNOBUILTIN: %1 = call float @cosf(float 3.000000e+00)
670 %1 = call float @cosf(float 3.000000e+00)
671 ret float %1
672 }
673
674 ; Shouldn't fold because of -fno-builtin
675 define float @coshf_() nounwind uwtable ssp {
676 ; FNOBUILTIN-LABEL: @coshf_(
677 ; FNOBUILTIN: %1 = call float @coshf(float 3.000000e+00)
678 %1 = call float @coshf(float 3.000000e+00)
679 ret float %1
680 }
681
682 ; Shouldn't fold because of -fno-builtin
683 define float @expf_() nounwind uwtable ssp {
684 ; FNOBUILTIN-LABEL: @expf_(
685 ; FNOBUILTIN: %1 = call float @expf(float 3.000000e+00)
686 %1 = call float @expf(float 3.000000e+00)
687 ret float %1
688 }
689
690 ; Shouldn't fold because of -fno-builtin
691 define float @exp2f_() nounwind uwtable ssp {
692 ; FNOBUILTIN-LABEL: @exp2f_(
693 ; FNOBUILTIN: %1 = call float @exp2f(float 3.000000e+00)
694 %1 = call float @exp2f(float 3.000000e+00)
695 ret float %1
696 }
697
698 ; Shouldn't fold because of -fno-builtin
699 define float @fabsf_() nounwind uwtable ssp {
700 ; FNOBUILTIN-LABEL: @fabsf_(
701 ; FNOBUILTIN: %1 = call float @fabsf(float 3.000000e+00)
702 %1 = call float @fabsf(float 3.000000e+00)
703 ret float %1
704 }
705
706 ; Shouldn't fold because of -fno-builtin
707 define float @floorf_() nounwind uwtable ssp {
708 ; FNOBUILTIN-LABEL: @floorf_(
709 ; FNOBUILTIN: %1 = call float @floorf(float 3.000000e+00)
710 %1 = call float @floorf(float 3.000000e+00)
711 ret float %1
712 }
713
714 ; Shouldn't fold because of -fno-builtin
715 define float @fmodf_() nounwind uwtable ssp {
716 ; FNOBUILTIN-LABEL: @fmodf_(
717 ; FNOBUILTIN: %1 = call float @fmodf(float 3.000000e+00, float 4.000000e+00)
718 %1 = call float @fmodf(float 3.000000e+00, float 4.000000e+00)
719 ret float %1
720 }
721
722 ; Shouldn't fold because of -fno-builtin
723 define float @logf_() nounwind uwtable ssp {
724 ; FNOBUILTIN-LABEL: @logf_(
725 ; FNOBUILTIN: %1 = call float @logf(float 3.000000e+00)
726 %1 = call float @logf(float 3.000000e+00)
727 ret float %1
728 }
729
730 ; Shouldn't fold because of -fno-builtin
731 define float @log10f_() nounwind uwtable ssp {
732 ; FNOBUILTIN-LABEL: @log10f_(
733 ; FNOBUILTIN: %1 = call float @log10f(float 3.000000e+00)
734 %1 = call float @log10f(float 3.000000e+00)
735 ret float %1
736 }
737
738 ; Shouldn't fold because of -fno-builtin
739 define float @powf_() nounwind uwtable ssp {
740 ; FNOBUILTIN-LABEL: @powf_(
741 ; FNOBUILTIN: %1 = call float @powf(float 3.000000e+00, float 4.000000e+00)
742 %1 = call float @powf(float 3.000000e+00, float 4.000000e+00)
743 ret float %1
744 }
745
746 ; Shouldn't fold because of -fno-builtin
747 define float @sinf_() nounwind uwtable ssp {
748 ; FNOBUILTIN-LABEL: @sinf_(
749 ; FNOBUILTIN: %1 = call float @sinf(float 3.000000e+00)
750 %1 = call float @sinf(float 3.000000e+00)
751 ret float %1
752 }
753
754 ; Shouldn't fold because of -fno-builtin
755 define float @sinhf_() nounwind uwtable ssp {
756 ; FNOBUILTIN-LABEL: @sinhf_(
757 ; FNOBUILTIN: %1 = call float @sinhf(float 3.000000e+00)
758 %1 = call float @sinhf(float 3.000000e+00)
759 ret float %1
760 }
761
762 ; Shouldn't fold because of -fno-builtin
763 define float @sqrtf_() nounwind uwtable ssp {
764 ; FNOBUILTIN-LABEL: @sqrtf_(
765 ; FNOBUILTIN: %1 = call float @sqrtf(float 3.000000e+00)
766 %1 = call float @sqrtf(float 3.000000e+00)
767 ret float %1
768 }
769
770 ; Shouldn't fold because of -fno-builtin
771 define float @tanf_() nounwind uwtable ssp {
772 ; FNOBUILTIN-LABEL: @tanf_(
773 ; FNOBUILTIN: %1 = call float @tanf(float 3.000000e+00)
774 %1 = call float @tanf(float 3.000000e+00)
775 ret float %1
776 }
777
778 ; Shouldn't fold because of -fno-builtin
779 define float @tanhf_() nounwind uwtable ssp {
780 ; FNOBUILTIN-LABEL: @tanhf_(
781 ; FNOBUILTIN: %1 = call float @tanhf(float 3.000000e+00)
782 %1 = call float @tanhf(float 3.000000e+00)
783 ret float %1
784 }