File: pre-split8.ll

package info (click to toggle)
llvm-2.9 2.9%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 69,236 kB
  • sloc: cpp: 439,289; ansic: 16,211; asm: 13,295; sh: 12,912; python: 4,459; ml: 4,274; perl: 2,093; makefile: 1,808; pascal: 1,481; exp: 427; objc: 334; xml: 283; ada: 235; lisp: 187; csh: 117; f90: 36
file content (35 lines) | stat: -rw-r--r-- 1,262 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
; RUN: llc < %s -march=x86 -mattr=+sse2 -pre-alloc-split -stats |& \
; RUN:   grep {pre-alloc-split} | grep {Number of intervals split} | grep 1

@current_surfaces.b = external global i1		; <i1*> [#uses=1]

declare double @asin(double) nounwind readonly

declare double @tan(double) nounwind readonly

define fastcc void @trace_line(i32 %line) nounwind {
entry:
	%.b3 = load i1* @current_surfaces.b		; <i1> [#uses=1]
	br i1 %.b3, label %bb, label %return

bb:		; preds = %bb9.i, %entry
	%.rle4 = phi double [ %7, %bb9.i ], [ 0.000000e+00, %entry ]		; <double> [#uses=1]
	%0 = load double* null, align 8		; <double> [#uses=3]
	%1 = fcmp une double %0, 0.000000e+00		; <i1> [#uses=1]
	br i1 %1, label %bb9.i, label %bb13.i

bb9.i:		; preds = %bb
	%2 = fsub double %.rle4, %0		; <double> [#uses=0]
	%3 = tail call double @asin(double %.rle4) nounwind readonly		; <double> [#uses=0]
	%4 = fmul double 0.000000e+00, %0		; <double> [#uses=1]
	%5 = tail call double @tan(double 0.000000e+00) nounwind readonly		; <double> [#uses=0]
	%6 = fmul double %4, 0.000000e+00		; <double> [#uses=1]
	%7 = fadd double %6, 0.000000e+00		; <double> [#uses=1]
	br i1 false, label %return, label %bb

bb13.i:		; preds = %bb
	unreachable

return:		; preds = %bb9.i, %entry
	ret void
}