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 @handle_compress() nounwind {
17 br i1 1, label %else, label %true77
20 br i1 1, label %then83, label %else
29 br i1 1, label %end, label %outer
36 ; CHECK: [0] entry => <Function Return>
37 ; CHECK-NEXT: [1] outer => end
38 ; CHECK-NEXT: [2] outer => else
40 ; STAT: 3 region - The # of regions
41 ; STAT: 1 region - The # of simple regions
43 ; BBIT: entry, outer, body, else, else106, end, true77, then83,
44 ; BBIT: outer, body, else, else106, true77, then83,
45 ; BBIT: outer, body, true77, then83,
47 ; RNIT: entry, outer => end, end,
48 ; RNIT: outer => else, else, else106,
49 ; RNIT: outer, body, true77, then83,