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 5 6 define void @normal_condition() nounwind { 7 0: 8 br i1 1, label %"1", label %"4" 9 10 1: 11 br i1 1, label %"2", label %"3" 12 2: 13 br label %"4" 14 3: 15 br label %"4" 16 4: 17 ret void 18 } 19 ; CHECK-NOT: => 20 ; CHECK: [0] 0 => <Function Return> 21 ; CHECK-NEXT: [1] 0 => 4 22 ; CHECK-NEXT: [2] 1 => 4 23 ; STAT: 3 region - The # of regions 24 25 ; BBIT: 0, 1, 2, 4, 3, 26 ; BBIT: 0, 1, 2, 3, 27 ; BBIT: 1, 2, 3, 28 29 ; RNIT: 0 => 4, 4, 30 ; RNIT: 0, 1 => 4, 31 ; RNIT: 1, 2, 3, 32