diff options
Diffstat (limited to 'test/Analysis/DependenceAnalysis/Coupled.ll')
-rw-r--r-- | test/Analysis/DependenceAnalysis/Coupled.ll | 128 |
1 files changed, 64 insertions, 64 deletions
diff --git a/test/Analysis/DependenceAnalysis/Coupled.ll b/test/Analysis/DependenceAnalysis/Coupled.ll index 8c77849..096add6 100644 --- a/test/Analysis/DependenceAnalysis/Coupled.ll +++ b/test/Analysis/DependenceAnalysis/Coupled.ll @@ -24,13 +24,13 @@ for.body: ; preds = %entry, %for.body %i.02 = phi i64 [ 0, %entry ], [ %inc, %for.body ] %B.addr.01 = phi i32* [ %B, %entry ], [ %incdec.ptr, %for.body ] %conv = trunc i64 %i.02 to i32 - %arrayidx1 = getelementptr inbounds [100 x i32]* %A, i64 %i.02, i64 %i.02 + %arrayidx1 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %i.02, i64 %i.02 store i32 %conv, i32* %arrayidx1, align 4 %add = add nsw i64 %i.02, 9 %add2 = add nsw i64 %i.02, 10 - %arrayidx4 = getelementptr inbounds [100 x i32]* %A, i64 %add2, i64 %add - %0 = load i32* %arrayidx4, align 4 - %incdec.ptr = getelementptr inbounds i32* %B.addr.01, i64 1 + %arrayidx4 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %add2, i64 %add + %0 = load i32, i32* %arrayidx4, align 4 + %incdec.ptr = getelementptr inbounds i32, i32* %B.addr.01, i64 1 store i32 %0, i32* %B.addr.01, align 4 %inc = add nsw i64 %i.02, 1 %exitcond = icmp ne i64 %inc, 50 @@ -60,13 +60,13 @@ for.body: ; preds = %entry, %for.body %i.02 = phi i64 [ 0, %entry ], [ %inc, %for.body ] %B.addr.01 = phi i32* [ %B, %entry ], [ %incdec.ptr, %for.body ] %conv = trunc i64 %i.02 to i32 - %arrayidx1 = getelementptr inbounds [100 x i32]* %A, i64 %i.02, i64 %i.02 + %arrayidx1 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %i.02, i64 %i.02 store i32 %conv, i32* %arrayidx1, align 4 %add = add nsw i64 %i.02, 9 %add2 = add nsw i64 %i.02, 9 - %arrayidx4 = getelementptr inbounds [100 x i32]* %A, i64 %add2, i64 %add - %0 = load i32* %arrayidx4, align 4 - %incdec.ptr = getelementptr inbounds i32* %B.addr.01, i64 1 + %arrayidx4 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %add2, i64 %add + %0 = load i32, i32* %arrayidx4, align 4 + %incdec.ptr = getelementptr inbounds i32, i32* %B.addr.01, i64 1 store i32 %0, i32* %B.addr.01, align 4 %inc = add nsw i64 %i.02, 1 %exitcond = icmp ne i64 %inc, 50 @@ -100,11 +100,11 @@ for.body: ; preds = %entry, %for.body %sub = add nsw i64 %mul, -6 %mul1 = mul nsw i64 %i.02, 3 %sub2 = add nsw i64 %mul1, -6 - %arrayidx3 = getelementptr inbounds [100 x i32]* %A, i64 %sub2, i64 %sub + %arrayidx3 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %sub2, i64 %sub store i32 %conv, i32* %arrayidx3, align 4 - %arrayidx5 = getelementptr inbounds [100 x i32]* %A, i64 %i.02, i64 %i.02 - %0 = load i32* %arrayidx5, align 4 - %incdec.ptr = getelementptr inbounds i32* %B.addr.01, i64 1 + %arrayidx5 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %i.02, i64 %i.02 + %0 = load i32, i32* %arrayidx5, align 4 + %incdec.ptr = getelementptr inbounds i32, i32* %B.addr.01, i64 1 store i32 %0, i32* %B.addr.01, align 4 %inc = add nsw i64 %i.02, 1 %exitcond = icmp ne i64 %inc, 50 @@ -138,11 +138,11 @@ for.body: ; preds = %entry, %for.body %sub = add nsw i64 %mul, -5 %mul1 = mul nsw i64 %i.02, 3 %sub2 = add nsw i64 %mul1, -6 - %arrayidx3 = getelementptr inbounds [100 x i32]* %A, i64 %sub2, i64 %sub + %arrayidx3 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %sub2, i64 %sub store i32 %conv, i32* %arrayidx3, align 4 - %arrayidx5 = getelementptr inbounds [100 x i32]* %A, i64 %i.02, i64 %i.02 - %0 = load i32* %arrayidx5, align 4 - %incdec.ptr = getelementptr inbounds i32* %B.addr.01, i64 1 + %arrayidx5 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %i.02, i64 %i.02 + %0 = load i32, i32* %arrayidx5, align 4 + %incdec.ptr = getelementptr inbounds i32, i32* %B.addr.01, i64 1 store i32 %0, i32* %B.addr.01, align 4 %inc = add nsw i64 %i.02, 1 %exitcond = icmp ne i64 %inc, 50 @@ -177,11 +177,11 @@ for.body: ; preds = %entry, %for.body %sub = sub nsw i64 %mul, %conv1 %mul2 = mul nsw i64 %i.02, 3 %sub3 = add nsw i64 %mul2, -6 - %arrayidx4 = getelementptr inbounds [100 x i32]* %A, i64 %sub3, i64 %sub + %arrayidx4 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %sub3, i64 %sub store i32 %conv, i32* %arrayidx4, align 4 - %arrayidx6 = getelementptr inbounds [100 x i32]* %A, i64 %i.02, i64 %i.02 - %0 = load i32* %arrayidx6, align 4 - %incdec.ptr = getelementptr inbounds i32* %B.addr.01, i64 1 + %arrayidx6 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %i.02, i64 %i.02 + %0 = load i32, i32* %arrayidx6, align 4 + %incdec.ptr = getelementptr inbounds i32, i32* %B.addr.01, i64 1 store i32 %0, i32* %B.addr.01, align 4 %inc = add nsw i64 %i.02, 1 %exitcond = icmp ne i64 %inc, 50 @@ -218,11 +218,11 @@ for.body: ; preds = %entry, %for.body %conv3 = sext i32 %n to i64 %sub4 = sub nsw i64 %mul2, %conv3 %add = add nsw i64 %sub4, 1 - %arrayidx5 = getelementptr inbounds [100 x i32]* %A, i64 %add, i64 %sub + %arrayidx5 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %add, i64 %sub store i32 %conv, i32* %arrayidx5, align 4 - %arrayidx7 = getelementptr inbounds [100 x i32]* %A, i64 %i.02, i64 %i.02 - %0 = load i32* %arrayidx7, align 4 - %incdec.ptr = getelementptr inbounds i32* %B.addr.01, i64 1 + %arrayidx7 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %i.02, i64 %i.02 + %0 = load i32, i32* %arrayidx7, align 4 + %incdec.ptr = getelementptr inbounds i32, i32* %B.addr.01, i64 1 store i32 %0, i32* %B.addr.01, align 4 %inc = add nsw i64 %i.02, 1 %exitcond = icmp ne i64 %inc, 50 @@ -254,11 +254,11 @@ for.body: ; preds = %entry, %for.body %conv = trunc i64 %i.02 to i32 %mul = mul nsw i64 %i.02, 3 %sub = add nsw i64 %mul, -6 - %arrayidx1 = getelementptr inbounds [100 x i32]* %A, i64 %i.02, i64 %sub + %arrayidx1 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %i.02, i64 %sub store i32 %conv, i32* %arrayidx1, align 4 - %arrayidx3 = getelementptr inbounds [100 x i32]* %A, i64 %i.02, i64 %i.02 - %0 = load i32* %arrayidx3, align 4 - %incdec.ptr = getelementptr inbounds i32* %B.addr.01, i64 1 + %arrayidx3 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %i.02, i64 %i.02 + %0 = load i32, i32* %arrayidx3, align 4 + %incdec.ptr = getelementptr inbounds i32, i32* %B.addr.01, i64 1 store i32 %0, i32* %B.addr.01, align 4 %inc = add nsw i64 %i.02, 1 %exitcond = icmp ne i64 %inc, 50 @@ -290,11 +290,11 @@ for.body: ; preds = %entry, %for.body %conv = trunc i64 %i.02 to i32 %mul = mul nsw i64 %i.02, 3 %sub = add nsw i64 %mul, -5 - %arrayidx1 = getelementptr inbounds [100 x i32]* %A, i64 %i.02, i64 %sub + %arrayidx1 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %i.02, i64 %sub store i32 %conv, i32* %arrayidx1, align 4 - %arrayidx3 = getelementptr inbounds [100 x i32]* %A, i64 %i.02, i64 %i.02 - %0 = load i32* %arrayidx3, align 4 - %incdec.ptr = getelementptr inbounds i32* %B.addr.01, i64 1 + %arrayidx3 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %i.02, i64 %i.02 + %0 = load i32, i32* %arrayidx3, align 4 + %incdec.ptr = getelementptr inbounds i32, i32* %B.addr.01, i64 1 store i32 %0, i32* %B.addr.01, align 4 %inc = add nsw i64 %i.02, 1 %exitcond = icmp ne i64 %inc, 50 @@ -327,11 +327,11 @@ for.body: ; preds = %entry, %for.body %sub = sub nsw i64 3, %i.02 %mul = mul nsw i64 %i.02, 3 %sub1 = add nsw i64 %mul, -18 - %arrayidx2 = getelementptr inbounds [100 x i32]* %A, i64 %sub1, i64 %sub + %arrayidx2 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %sub1, i64 %sub store i32 %conv, i32* %arrayidx2, align 4 - %arrayidx4 = getelementptr inbounds [100 x i32]* %A, i64 %i.02, i64 %i.02 - %0 = load i32* %arrayidx4, align 4 - %incdec.ptr = getelementptr inbounds i32* %B.addr.01, i64 1 + %arrayidx4 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %i.02, i64 %i.02 + %0 = load i32, i32* %arrayidx4, align 4 + %incdec.ptr = getelementptr inbounds i32, i32* %B.addr.01, i64 1 store i32 %0, i32* %B.addr.01, align 4 %inc = add nsw i64 %i.02, 1 %exitcond = icmp ne i64 %inc, 16 @@ -364,11 +364,11 @@ for.body: ; preds = %entry, %for.body %sub = sub nsw i64 2, %i.02 %mul = mul nsw i64 %i.02, 3 %sub1 = add nsw i64 %mul, -18 - %arrayidx2 = getelementptr inbounds [100 x i32]* %A, i64 %sub1, i64 %sub + %arrayidx2 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %sub1, i64 %sub store i32 %conv, i32* %arrayidx2, align 4 - %arrayidx4 = getelementptr inbounds [100 x i32]* %A, i64 %i.02, i64 %i.02 - %0 = load i32* %arrayidx4, align 4 - %incdec.ptr = getelementptr inbounds i32* %B.addr.01, i64 1 + %arrayidx4 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %i.02, i64 %i.02 + %0 = load i32, i32* %arrayidx4, align 4 + %incdec.ptr = getelementptr inbounds i32, i32* %B.addr.01, i64 1 store i32 %0, i32* %B.addr.01, align 4 %inc = add nsw i64 %i.02, 1 %exitcond = icmp ne i64 %inc, 16 @@ -402,11 +402,11 @@ for.body: ; preds = %entry, %for.body %sub = sub nsw i64 6, %i.02 %mul = mul nsw i64 %i.02, 3 %sub1 = add nsw i64 %mul, -18 - %arrayidx2 = getelementptr inbounds [100 x i32]* %A, i64 %sub1, i64 %sub + %arrayidx2 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %sub1, i64 %sub store i32 %conv, i32* %arrayidx2, align 4 - %arrayidx4 = getelementptr inbounds [100 x i32]* %A, i64 %i.02, i64 %i.02 - %0 = load i32* %arrayidx4, align 4 - %incdec.ptr = getelementptr inbounds i32* %B.addr.01, i64 1 + %arrayidx4 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %i.02, i64 %i.02 + %0 = load i32, i32* %arrayidx4, align 4 + %incdec.ptr = getelementptr inbounds i32, i32* %B.addr.01, i64 1 store i32 %0, i32* %B.addr.01, align 4 %inc = add nsw i64 %i.02, 1 %exitcond = icmp ne i64 %inc, 16 @@ -440,11 +440,11 @@ for.body: ; preds = %entry, %for.body %sub = sub nsw i64 18, %i.02 %mul = mul nsw i64 %i.02, 3 %sub1 = add nsw i64 %mul, -18 - %arrayidx2 = getelementptr inbounds [100 x i32]* %A, i64 %sub1, i64 %sub + %arrayidx2 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %sub1, i64 %sub store i32 %conv, i32* %arrayidx2, align 4 - %arrayidx4 = getelementptr inbounds [100 x i32]* %A, i64 %i.02, i64 %i.02 - %0 = load i32* %arrayidx4, align 4 - %incdec.ptr = getelementptr inbounds i32* %B.addr.01, i64 1 + %arrayidx4 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %i.02, i64 %i.02 + %0 = load i32, i32* %arrayidx4, align 4 + %incdec.ptr = getelementptr inbounds i32, i32* %B.addr.01, i64 1 store i32 %0, i32* %B.addr.01, align 4 %inc = add nsw i64 %i.02, 1 %exitcond = icmp ne i64 %inc, 16 @@ -478,11 +478,11 @@ for.body: ; preds = %entry, %for.body %sub = sub nsw i64 22, %i.02 %mul = mul nsw i64 %i.02, 3 %sub1 = add nsw i64 %mul, -18 - %arrayidx2 = getelementptr inbounds [100 x i32]* %A, i64 %sub1, i64 %sub + %arrayidx2 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %sub1, i64 %sub store i32 %conv, i32* %arrayidx2, align 4 - %arrayidx4 = getelementptr inbounds [100 x i32]* %A, i64 %i.02, i64 %i.02 - %0 = load i32* %arrayidx4, align 4 - %incdec.ptr = getelementptr inbounds i32* %B.addr.01, i64 1 + %arrayidx4 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %i.02, i64 %i.02 + %0 = load i32, i32* %arrayidx4, align 4 + %incdec.ptr = getelementptr inbounds i32, i32* %B.addr.01, i64 1 store i32 %0, i32* %B.addr.01, align 4 %inc = add nsw i64 %i.02, 1 %exitcond = icmp ne i64 %inc, 13 @@ -515,11 +515,11 @@ for.body: ; preds = %entry, %for.body %sub = sub nsw i64 22, %i.02 %mul = mul nsw i64 %i.02, 3 %sub1 = add nsw i64 %mul, -18 - %arrayidx2 = getelementptr inbounds [100 x i32]* %A, i64 %sub1, i64 %sub + %arrayidx2 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %sub1, i64 %sub store i32 %conv, i32* %arrayidx2, align 4 - %arrayidx4 = getelementptr inbounds [100 x i32]* %A, i64 %i.02, i64 %i.02 - %0 = load i32* %arrayidx4, align 4 - %incdec.ptr = getelementptr inbounds i32* %B.addr.01, i64 1 + %arrayidx4 = getelementptr inbounds [100 x i32], [100 x i32]* %A, i64 %i.02, i64 %i.02 + %0 = load i32, i32* %arrayidx4, align 4 + %incdec.ptr = getelementptr inbounds i32, i32* %B.addr.01, i64 1 store i32 %0, i32* %B.addr.01, align 4 %inc = add nsw i64 %i.02, 1 %exitcond = icmp ne i64 %inc, 12 @@ -552,11 +552,11 @@ for.body: ; preds = %entry, %for.body %sub = sub nsw i64 18, %i.02 %mul = mul nsw i64 %i.02, 3 %sub1 = add nsw i64 %mul, -18 - %arrayidx3 = getelementptr inbounds [100 x [100 x i32]]* %A, i64 %sub1, i64 %sub, i64 %i.02 + %arrayidx3 = getelementptr inbounds [100 x [100 x i32]], [100 x [100 x i32]]* %A, i64 %sub1, i64 %sub, i64 %i.02 store i32 %conv, i32* %arrayidx3, align 4 - %arrayidx6 = getelementptr inbounds [100 x [100 x i32]]* %A, i64 %i.02, i64 %i.02, i64 %i.02 - %0 = load i32* %arrayidx6, align 4 - %incdec.ptr = getelementptr inbounds i32* %B.addr.01, i64 1 + %arrayidx6 = getelementptr inbounds [100 x [100 x i32]], [100 x [100 x i32]]* %A, i64 %i.02, i64 %i.02, i64 %i.02 + %0 = load i32, i32* %arrayidx6, align 4 + %incdec.ptr = getelementptr inbounds i32, i32* %B.addr.01, i64 1 store i32 %0, i32* %B.addr.01, align 4 %inc = add nsw i64 %i.02, 1 %exitcond = icmp ne i64 %inc, 100 @@ -589,11 +589,11 @@ for.body: ; preds = %entry, %for.body %sub = sub nsw i64 22, %i.02 %mul = mul nsw i64 %i.02, 3 %sub1 = add nsw i64 %mul, -18 - %arrayidx3 = getelementptr inbounds [100 x [100 x i32]]* %A, i64 %sub1, i64 %sub, i64 %i.02 + %arrayidx3 = getelementptr inbounds [100 x [100 x i32]], [100 x [100 x i32]]* %A, i64 %sub1, i64 %sub, i64 %i.02 store i32 %conv, i32* %arrayidx3, align 4 - %arrayidx6 = getelementptr inbounds [100 x [100 x i32]]* %A, i64 %i.02, i64 %i.02, i64 %i.02 - %0 = load i32* %arrayidx6, align 4 - %incdec.ptr = getelementptr inbounds i32* %B.addr.01, i64 1 + %arrayidx6 = getelementptr inbounds [100 x [100 x i32]], [100 x [100 x i32]]* %A, i64 %i.02, i64 %i.02, i64 %i.02 + %0 = load i32, i32* %arrayidx6, align 4 + %incdec.ptr = getelementptr inbounds i32, i32* %B.addr.01, i64 1 store i32 %0, i32* %B.addr.01, align 4 %inc = add nsw i64 %i.02, 1 %exitcond = icmp ne i64 %inc, 100 |