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 %body.i, label %if.end
17 br i1 1, label %end, label %if.end
29 ; CHECK: [0] entry => <Function Return>
30 ; CHECK-NEXT: [1] outer => end
31 ; STAT: 2 region - The # of regions
32 ; STAT: 1 region - The # of simple regions
34 ; BBIT: entry, outer, body, body.i, end, if.end, if.then64,
35 ; BBIT: outer, body, body.i, if.end, if.then64,
37 ; RNIT: entry, outer => end, end,
38 ; RNIT: outer, body, body.i, if.end, if.then64,