File: cross-rc-coalescing-1.ll

package info (click to toggle)
llvm-toolchain-16 1%3A16.0.6-15~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,634,792 kB
  • sloc: cpp: 6,179,261; ansic: 1,216,205; asm: 741,319; python: 196,614; objc: 75,325; f90: 49,640; lisp: 32,396; pascal: 12,286; sh: 9,394; perl: 7,442; ml: 5,494; awk: 3,523; makefile: 2,723; javascript: 1,206; xml: 886; fortran: 581; cs: 573
file content (52 lines) | stat: -rw-r--r-- 1,853 bytes parent folder | download | duplicates (12)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
; RUN: llc < %s -mtriple=thumbv7-apple-darwin9 -mcpu=cortex-a8

%struct.FILE = type { ptr, i32, i32, i16, i16, %struct.__sbuf, i32, ptr, ptr, ptr, ptr, ptr, %struct.__sbuf, ptr, i32, [3 x i8], [1 x i8], %struct.__sbuf, i32, i64 }
%struct.__sFILEX = type opaque
%struct.__sbuf = type { ptr, i32 }

declare i32 @fgetc(ptr nocapture) nounwind

define i32 @main(i32 %argc, ptr nocapture %argv) nounwind {
entry:
  br i1 undef, label %bb, label %bb1

bb:                                               ; preds = %entry
  unreachable

bb1:                                              ; preds = %entry
  br i1 undef, label %bb.i1, label %bb1.i2

bb.i1:                                            ; preds = %bb1
  unreachable

bb1.i2:                                           ; preds = %bb1
  %0 = call  i32 @fgetc(ptr undef) nounwind ; <i32> [#uses=0]
  br i1 undef, label %bb2.i3, label %bb3.i4

bb2.i3:                                           ; preds = %bb1.i2
  br i1 undef, label %bb4.i, label %bb3.i4

bb3.i4:                                           ; preds = %bb2.i3, %bb1.i2
  unreachable

bb4.i:                                            ; preds = %bb2.i3
  br i1 undef, label %bb5.i, label %get_image.exit

bb5.i:                                            ; preds = %bb4.i
  unreachable

get_image.exit:                                   ; preds = %bb4.i
  br i1 undef, label %bb28, label %bb27

bb27:                                             ; preds = %get_image.exit
  br label %bb.i

bb.i:                                             ; preds = %bb.i, %bb27
  %1 = fptrunc double undef to float              ; <float> [#uses=1]
  %2 = fptoui float %1 to i8                      ; <i8> [#uses=1]
  store i8 %2, ptr undef, align 1
  br label %bb.i

bb28:                                             ; preds = %get_image.exit
  unreachable
}