1; RUN: opt %loadPolly -polly-function-scops -analyze < %s \ 2; RUN: | FileCheck %s -check-prefix=FUNC-SCOP 3; RUN: opt %loadPolly -polly-function-dependences -analyze < %s \ 4; RUN: | FileCheck %s -check-prefix=FUNC-DEPS 5; 6; FUNC-SCOP-NOT: Statement 7; FUNC-DEPS-LABEL: Printing analysis 'Polly - Calculate dependences for all the SCoPs of a function' for function 'readgeo' 8; FUNC-DEPS-NOT: RAW dependences 9; 10; Due to an infeasible run-time check, scop object is empty and we do not compute dependences. 11; 12target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 13 14%struct.tnode.1.7.13.67.121.175.217.307.325.337.349.367.379.391.433.445.667.727.733.739 = type { i32, i32, %struct.tnode.1.7.13.67.121.175.217.307.325.337.349.367.379.391.433.445.667.727.733.739*, %struct.tnode.1.7.13.67.121.175.217.307.325.337.349.367.379.391.433.445.667.727.733.739*, %struct.tnode.1.7.13.67.121.175.217.307.325.337.349.367.379.391.433.445.667.727.733.739*, %struct.tnode.1.7.13.67.121.175.217.307.325.337.349.367.379.391.433.445.667.727.733.739*, %struct.tnode.1.7.13.67.121.175.217.307.325.337.349.367.379.391.433.445.667.727.733.739*, i32, i32, %struct.plist.0.6.12.66.120.174.216.306.324.336.348.366.378.390.432.444.666.726.732.738* } 15%struct.plist.0.6.12.66.120.174.216.306.324.336.348.366.378.390.432.444.666.726.732.738 = type { i32, %struct.plist.0.6.12.66.120.174.216.306.324.336.348.366.378.390.432.444.666.726.732.738* } 16 17@vFixedEdgeRoot = external global %struct.tnode.1.7.13.67.121.175.217.307.325.337.349.367.379.391.433.445.667.727.733.739*, align 8 18@hEdgeRoot = external global %struct.tnode.1.7.13.67.121.175.217.307.325.337.349.367.379.391.433.445.667.727.733.739*, align 8 19 20; Function Attrs: nounwind uwtable 21define void @readgeo() #0 { 22entry: 23 %vx = alloca i32, align 4 24 br label %if.end64 25 26if.end64: ; preds = %entry 27 br label %for.body73 28 29for.body73: ; preds = %for.inc216, %if.end64 30 %v.0101 = phi i32 [ 0, %for.inc216 ], [ 1, %if.end64 ] 31 br i1 undef, label %if.then93, label %if.else 32 33if.then93: ; preds = %for.body73 34 br label %for.inc216 35 36if.else: ; preds = %for.body73 37 br i1 undef, label %if.then111, label %if.end116 38 39if.then111: ; preds = %if.else 40 br label %if.end116 41 42if.end116: ; preds = %if.then111, %if.else 43 %rippleCount.2 = phi i32 [ 1, %if.then111 ], [ undef, %if.else ] 44 %rem11790 = and i32 %v.0101, 1 45 %cmp118 = icmp eq i32 %rem11790, 0 46 br i1 %cmp118, label %if.then120, label %if.else154 47 48if.then120: ; preds = %if.end116 49 call void @tinsert() 50 br label %if.end193 51 52if.else154: ; preds = %if.end116 53 call void @tinsert() 54 br label %if.end193 55 56if.end193: ; preds = %if.else154, %if.then120 57 %0 = load i32, i32* %vx, align 4 58 br label %for.inc216 59 60for.inc216: ; preds = %if.end193, %if.then93 61 %rippleCount.3 = phi i32 [ undef, %if.then93 ], [ %rippleCount.2, %if.end193 ] 62 %ux.2 = phi i32 [ undef, %if.then93 ], [ %0, %if.end193 ] 63 br i1 undef, label %for.body73, label %for.end218 64 65for.end218: ; preds = %for.inc216 66 unreachable 67} 68 69declare void @tinsert() 70