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