File: postalloc-coalescing.ll

package info (click to toggle)
llvm-toolchain-9 1%3A9.0.1-16
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 882,436 kB
  • sloc: cpp: 4,167,636; ansic: 714,256; asm: 457,610; python: 155,927; objc: 65,094; sh: 42,856; lisp: 26,908; perl: 7,786; pascal: 7,722; makefile: 6,881; ml: 5,581; awk: 3,648; cs: 2,027; xml: 888; javascript: 381; ruby: 156
file content (35 lines) | stat: -rw-r--r-- 1,014 bytes parent folder | download | duplicates (6)
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 -mtriple=i686-- | grep mov | count 3

define fastcc i32 @_Z18yy_get_next_bufferv() nounwind {
entry:
	br label %bb131

bb116:		; preds = %bb131
	%tmp125126 = trunc i32 %c.1 to i8		; <i8> [#uses=1]
	store i8 %tmp125126, i8* null, align 1
	br label %bb131

bb131:		; preds = %bb116, %entry
	%c.2 = phi i32 [ %c.1, %bb116 ], [ 42, %entry ]		; <i32> [#uses=1]
	%c.1 = select i1 false, i32 0, i32 %c.2		; <i32> [#uses=4]
	%tmp181 = icmp eq i32 %c.1, -1		; <i1> [#uses=1]
	br i1 %tmp181, label %bb158, label %bb116

bb158:		; preds = %bb131
	br i1 true, label %cond_true163, label %cond_next178

cond_true163:		; preds = %bb158
	%tmp172173 = trunc i32 %c.1 to i8		; <i8> [#uses=1]
	store i8 %tmp172173, i8* null, align 1
	br label %cond_next178

cond_next178:		; preds = %cond_true163, %bb158
	%tmp180 = icmp eq i32 %c.1, -1		; <i1> [#uses=1]
	br i1 %tmp180, label %cond_next184, label %cond_next199

cond_next184:		; preds = %cond_next178
	ret i32 0

cond_next199:		; preds = %cond_next178
	ret i32 0
}