Mercurial > hg > CbC > CbC_llvm
comparison test/Analysis/DependenceAnalysis/Invariant.ll @ 95:afa8332a0e37 LLVM3.8
LLVM 3.8
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Oct 2015 17:48:58 +0900 |
parents | 95c75e76d11b |
children | c2174574ed3a |
comparison
equal
deleted
inserted
replaced
84:f3e34b893a5f | 95:afa8332a0e37 |
---|---|
17 br label %for.body3 | 17 br label %for.body3 |
18 | 18 |
19 for.body3: | 19 for.body3: |
20 %j.02 = phi i32 [ 0, %for.cond1.preheader ], [ %add8, %for.body3 ] | 20 %j.02 = phi i32 [ 0, %for.cond1.preheader ], [ %add8, %for.body3 ] |
21 %res.11 = phi float [ %res.03, %for.cond1.preheader ], [ %add.res.1, %for.body3 ] | 21 %res.11 = phi float [ %res.03, %for.cond1.preheader ], [ %add.res.1, %for.body3 ] |
22 %arrayidx4 = getelementptr inbounds [40 x float]* %rr, i32 %j.02, i32 %j.02 | 22 %arrayidx4 = getelementptr inbounds [40 x float], [40 x float]* %rr, i32 %j.02, i32 %j.02 |
23 %0 = load float* %arrayidx4, align 4 | 23 %0 = load float, float* %arrayidx4, align 4 |
24 %arrayidx6 = getelementptr inbounds [40 x float]* %rr, i32 %i.04, i32 %j.02 | 24 %arrayidx6 = getelementptr inbounds [40 x float], [40 x float]* %rr, i32 %i.04, i32 %j.02 |
25 %1 = load float* %arrayidx6, align 4 | 25 %1 = load float, float* %arrayidx6, align 4 |
26 %add = fadd float %0, %1 | 26 %add = fadd float %0, %1 |
27 %cmp7 = fcmp ogt float %add, %g | 27 %cmp7 = fcmp ogt float %add, %g |
28 %add.res.1 = select i1 %cmp7, float %add, float %res.11 | 28 %add.res.1 = select i1 %cmp7, float %add, float %res.11 |
29 %add8 = add nsw i32 %j.02, 5 | 29 %add8 = add nsw i32 %j.02, 5 |
30 %cmp2 = icmp slt i32 %add8, 40 | 30 %cmp2 = icmp slt i32 %add8, 40 |