Tbaa 0 br label 8 label8 preds 8 5 indvarsiv

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: i32* %threshold) nounwind %7 = load i32* %threshold, align 4, !tbaa !0 br label %8 ; <label>:8 ; preds = %8, %5 %indvars.iv = phi i64 [ 0, %5 ], [ , %j.01 = phi i32 [ 0, %5 ], [ , %9 = getelementptr inbounds [50 x i32]* %array, i64 0, i64 %indvars.iv %10 = load i32* %9, align 4, !tbaa !0 %11 = icmp slt i32 %10, %7 %j.1.v = select i1 %11, i32 -1, i32 1 %j.1 = add i32 %j.1.v, %j.01 %indvars.iv.next = add i64 %indvars.iv, 1 %lftr.wideiv = trunc i64 %indvars.iv.next to i32 %exitcond = icmp eq i32 %lftr.wideiv, 50 br i1 %exitcond, label %12, label %8 ; <label>:12 ; preds = %8 %13 = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([8 x i8]* @.str1, i64 0, i64 0), i32 %j.1) nounwind ret i32 0 }...
View Full Document

This note was uploaded on 04/09/2013 for the course ECE 566 taught by Professor Jamestuck during the Fall '12 term at N.C. State.

Ask a homework question - tutors are online