1 ; RUN: opt -regions -analyze < %s | FileCheck %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 internal fastcc zeroext i8 @loops_1() nounwind {
8 br i1 1, label %outer , label %a
17 br i1 1, label %land, label %if
20 br i1 1, label %exit, label %end
23 br i1 1, label %if, label %end
32 ; CHECK: [0] entry => <Function Return>
33 ; CHECK-NEXT: [1] entry => end
34 ; STAT: 2 region - The # of regions
36 ; BBIT: entry, outer, body, land, exit, if, end, a,
37 ; BBIT: entry, outer, body, land, exit, if, a,
39 ; RNIT: entry => end, end,
40 ; RNIT: entry, outer, body, land, exit, if, a,