Home | History | Annotate | Download | only in Thumb2
      1 ; RUN: llc < %s -mtriple=thumbv7-apple-darwin9 -mcpu=cortex-a8
      2 
      3 %struct.FILE = type { i8*, i32, i32, i16, i16, %struct.__sbuf, i32, i8*, i32 (i8*)*, i32 (i8*, i8*, i32)*, i64 (i8*, i64, i32)*, i32 (i8*, i8*, i32)*, %struct.__sbuf, %struct.__sFILEX*, i32, [3 x i8], [1 x i8], %struct.__sbuf, i32, i64 }
      4 %struct.__sFILEX = type opaque
      5 %struct.__sbuf = type { i8*, i32 }
      6 
      7 declare i32 @fgetc(%struct.FILE* nocapture) nounwind
      8 
      9 define i32 @main(i32 %argc, i8** nocapture %argv) nounwind {
     10 entry:
     11   br i1 undef, label %bb, label %bb1
     12 
     13 bb:                                               ; preds = %entry
     14   unreachable
     15 
     16 bb1:                                              ; preds = %entry
     17   br i1 undef, label %bb.i1, label %bb1.i2
     18 
     19 bb.i1:                                            ; preds = %bb1
     20   unreachable
     21 
     22 bb1.i2:                                           ; preds = %bb1
     23   %0 = call  i32 @fgetc(%struct.FILE* undef) nounwind ; <i32> [#uses=0]
     24   br i1 undef, label %bb2.i3, label %bb3.i4
     25 
     26 bb2.i3:                                           ; preds = %bb1.i2
     27   br i1 undef, label %bb4.i, label %bb3.i4
     28 
     29 bb3.i4:                                           ; preds = %bb2.i3, %bb1.i2
     30   unreachable
     31 
     32 bb4.i:                                            ; preds = %bb2.i3
     33   br i1 undef, label %bb5.i, label %get_image.exit
     34 
     35 bb5.i:                                            ; preds = %bb4.i
     36   unreachable
     37 
     38 get_image.exit:                                   ; preds = %bb4.i
     39   br i1 undef, label %bb28, label %bb27
     40 
     41 bb27:                                             ; preds = %get_image.exit
     42   br label %bb.i
     43 
     44 bb.i:                                             ; preds = %bb.i, %bb27
     45   %1 = fptrunc double undef to float              ; <float> [#uses=1]
     46   %2 = fptoui float %1 to i8                      ; <i8> [#uses=1]
     47   store i8 %2, i8* undef, align 1
     48   br label %bb.i
     49 
     50 bb28:                                             ; preds = %get_image.exit
     51   unreachable
     52 }
     53