2 ; RUN: opt -regions -analyze < %s | FileCheck %s
3 ; RUN: opt -regions -stats -disable-output < %s 2>&1 | FileCheck -check-prefix=STAT %s
4 ; RUN: opt -regions -print-region-style=bb -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
5 ; RUN: opt -regions -print-region-style=rn -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
7 ; RUN: opt < %s -passes='print<regions>' 2>&1 | FileCheck %s
9 define internal fastcc zeroext i8 @loops_1() nounwind {
11 br i1 1, label %outer , label %a
20 br i1 1, label %land, label %if
23 br i1 1, label %exit, label %end
26 br i1 1, label %if, label %end
35 ; CHECK: [0] entry => <Function Return>
36 ; CHECK-NEXT: [1] entry => end
37 ; STAT: 2 region - The # of regions
39 ; BBIT: entry, outer, body, land, exit, if, end, a,
40 ; BBIT: entry, outer, body, land, exit, if, a,
42 ; RNIT: entry => end, end,
43 ; RNIT: entry, outer, body, land, exit, if, a,