1 ; RUN: opt -regions -analyze < %s
2 ; RUN: opt -regions -stats < %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 @normal_condition() nounwind {
10 br i1 1, label %"2", label %"3"
14 br i1 1, label %"11", label %"12"
27 ; CHECK: [0] 0 => <Function Return>
29 ; STAT: 2 region - The # of regions
30 ; STAT: 1 region - The # of simple regions
32 ; BBIT: 0, 1, 2, 5, 11, 6, 12, 3, 4,
33 ; BBIT: 1, 2, 5, 11, 6, 12,
35 ; RNIT: 0, 1 => 3, 3, 4,
36 ; RNIT: 1, 2, 5, 11, 6, 12,