1 ; RUN: opt -regions -analyze < %s | FileCheck %s
2 ; RUN: opt -regions -stats -analyze < %s |& FileCheck -check-prefix=STAT %s
3 ; RUN: opt -regions -print-region-style=bb -analyze < %s |& FileCheck -check-prefix=BBIT %s
4 ; RUN: opt -regions -print-region-style=rn -analyze < %s |& FileCheck -check-prefix=RNIT %s
6 define void @BZ2_blockSort() nounwind {
11 br label %while.body134.i.i
14 br i1 1, label %end, label %w
17 br label %if.end140.i.i
20 br i1 1, label %while.end186.i.i, label %if.end183.i.i
23 br label %while.body134.i.i
32 ; CHECK: [0] start => <Function Return>
33 ; CHECK: [1] while => end
35 ; STAT: 2 region - The # of regions
36 ; STAT: 1 region - The # of simple regions
38 ; BBIT: start, while, while.body134.i.i, end, w, if.end140.i.i, while.end186.i.i, if.end183.i.i,
39 ; BBIT: while, while.body134.i.i, w, if.end140.i.i, while.end186.i.i, if.end183.i.i,
41 ; RNIT: start, while => end, end,
42 ; RNIT: while, while.body134.i.i, w, if.end140.i.i, while.end186.i.i, if.end183.i.i,