brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.1 KiB · 11473ba Raw
70 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s | FileCheck %s3 4target triple = "i386-apple-darwin9.6"5	%struct.III_psy_xmin = type { [22 x double], [13 x [3 x double]] }6	%struct.III_scalefac_t = type { [22 x i32], [13 x [3 x i32]] }7	%struct.gr_info = type { i32, i32, i32, i32, i32, i32, i32, i32, [3 x i32], [3 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, [4 x i32] }8	%struct.lame_global_flags = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, i32, i32, float, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, i32, i32, i32, float, float, float, float, i32, i32, i32, i32, i32, i32, i32, i32 }9 10define fastcc void @outer_loop(ptr nocapture %gfp, ptr nocapture %xr, i32 %targ_bits, ptr nocapture %best_noise, ptr nocapture %l3_xmin, ptr nocapture %l3_enc, ptr nocapture %scalefac, ptr nocapture %cod_info, i32 %ch) nounwind {11; CHECK-LABEL: outer_loop:12; CHECK:       ## %bb.0: ## %entry13; CHECK-NEXT:    pushl %esi14; CHECK-NEXT:    movl $88, %eax15; CHECK-NEXT:    movl $168, %ecx16; CHECK-NEXT:    .p2align 417; CHECK-NEXT:  LBB0_2: ## %bb28.i3718; CHECK-NEXT:    ## =>This Loop Header: Depth=119; CHECK-NEXT:    ## Child Loop BB0_3 Depth 220; CHECK-NEXT:    xorl %edx, %edx21; CHECK-NEXT:    movl %eax, %esi22; CHECK-NEXT:    .p2align 423; CHECK-NEXT:  LBB0_3: ## %bb29.i3824; CHECK-NEXT:    ## Parent Loop BB0_2 Depth=125; CHECK-NEXT:    ## => This Inner Loop Header: Depth=226; CHECK-NEXT:    incl %edx27; CHECK-NEXT:    addl $12, %esi28; CHECK-NEXT:    cmpl $11, %edx29; CHECK-NEXT:    jbe LBB0_330; CHECK-NEXT:  ## %bb.1: ## %bb28.i37.loopexit31; CHECK-NEXT:    ## in Loop: Header=BB0_2 Depth=132; CHECK-NEXT:    addl $4, %eax33; CHECK-NEXT:    addl $168, %ecx34; CHECK-NEXT:    jmp LBB0_235entry:36	br label %bb437 38bb4:		; preds = %bb4, %entry39	br i1 true, label %bb5, label %bb440 41bb5:		; preds = %bb442	br i1 true, label %bb28.i37, label %bb.i443 44bb.i4:		; preds = %bb.i4, %bb545	br label %bb.i446 47bb28.i37:		; preds = %bb33.i47, %bb548	%i.1.reg2mem.0.i = phi i32 [ %0, %bb33.i47 ], [ 0, %bb5 ]		; <i32> [#uses=2]49	%0 = add i32 %i.1.reg2mem.0.i, 1		; <i32> [#uses=2]50	br label %bb29.i3851 52bb29.i38:		; preds = %bb33.i47, %bb28.i3753	%indvar32.i = phi i32 [ %indvar.next33.i, %bb33.i47 ], [ 0, %bb28.i37 ]		; <i32> [#uses=2]54	%sfb.314.i = add i32 %indvar32.i, 0		; <i32> [#uses=3]55	%1 = getelementptr [4 x [21 x double]], ptr null, i32 0, i32 %0, i32 %sfb.314.i		; <ptr> [#uses=1]56	%2 = load double, ptr %1, align 8		; <double> [#uses=0]57	br i1 false, label %bb30.i41, label %bb33.i4758 59bb30.i41:		; preds = %bb29.i3860	%3 = getelementptr %struct.III_scalefac_t, ptr null, i32 0, i32 1, i32 %sfb.314.i, i32 %i.1.reg2mem.0.i		; <ptr> [#uses=1]61	store i32 0, ptr %3, align 462	br label %bb33.i4763 64bb33.i47:		; preds = %bb30.i41, %bb29.i3865	%4 = add i32 %sfb.314.i, 1		; <i32> [#uses=1]66	%phitmp.i46 = icmp ugt i32 %4, 11		; <i1> [#uses=1]67	%indvar.next33.i = add i32 %indvar32.i, 1		; <i32> [#uses=1]68	br i1 %phitmp.i46, label %bb28.i37, label %bb29.i3869}70