Home | History | Annotate | Download | only in XCore
      1 ; RUN: llc < %s -march=xcore
      2 target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:32-n32"
      3 target triple = "xcore-xmos-elf"
      4 
      5 %0 = type { i32 }
      6 %struct.dwarf_fde = type <{ i32, i32, [0 x i8] }>
      7 %struct.object = type { i8*, i8*, i8*, %union.anon, %0, %struct.object* }
      8 %union.anon = type { %struct.dwarf_fde* }
      9 
     10 define %struct.dwarf_fde* @search_object(%struct.object* %ob, i8* %pc) {
     11 entry:
     12   br i1 undef, label %bb3.i15.i.i, label %bb2
     13 
     14 bb3.i15.i.i:                                      ; preds = %bb3.i15.i.i, %entry
     15   %indvar.i.i.i = phi i32 [ %indvar.next.i.i.i, %bb3.i15.i.i ], [ 0, %entry ] ; <i32> [#uses=2]
     16   %tmp137 = sub i32 0, %indvar.i.i.i              ; <i32> [#uses=1]
     17   %scevgep13.i.i.i = getelementptr i32* undef, i32 %tmp137 ; <i32*> [#uses=2]
     18   %scevgep1314.i.i.i = bitcast i32* %scevgep13.i.i.i to %struct.dwarf_fde** ; <%struct.dwarf_fde**> [#uses=1]
     19   %0 = load %struct.dwarf_fde** %scevgep1314.i.i.i, align 4 ; <%struct.dwarf_fde*> [#uses=0]
     20   store i32 undef, i32* %scevgep13.i.i.i
     21   %indvar.next.i.i.i = add i32 %indvar.i.i.i, 1   ; <i32> [#uses=1]
     22   br label %bb3.i15.i.i
     23 
     24 bb2:                                              ; preds = %entry
     25   ret %struct.dwarf_fde* undef
     26 }
     27