Lines Matching refs:ENABLED

2 … opt -S -licm -licm-control-flow-hoisting=1 < %s | FileCheck %s -check-prefixes=CHECK,CHECK-ENABLED
5 …oop(licm)' -licm-control-flow-hoisting=1 -S < %s | FileCheck %s -check-prefixes=CHECK,CHECK-ENABLED
8 …ontrol-flow-hoisting=1 -verify-memoryssa -S < %s | FileCheck %s -check-prefixes=CHECK,CHECK-ENABLED
17 ; CHECK-ENABLED: br i1 %cmp1, label %[[IF_LICM:.*]], label %[[THEN_LICM:.*]]
21 ; CHECK-ENABLED: [[IF_LICM]]:
23 ; CHECK-ENABLED: br label %[[THEN_LICM]]
25 ; CHECK-ENABLED: [[THEN_LICM]]:
26 ; CHECK-ENABLED: phi i32 [ %add, %[[IF_LICM]] ], [ %x, %entry ]
27 ; CHECK-ENABLED: store i32 %phi, i32* %p
28 ; CHECK-ENABLED: %cmp2 = icmp ne i32 %phi, 0
59 ; CHECK-ENABLED: br i1 %cmp1, label %[[IF_LICM:.*]], label %[[ELSE_LICM:.*]]
63 ; CHECK-ENABLED: [[IF_LICM]]:
65 ; CHECK-ENABLED: br label %[[THEN_LICM:.*]]
67 ; CHECK-ENABLED: [[ELSE_LICM]]:
69 ; CHECK-ENABLED: br label %[[THEN_LICM]]
71 ; CHECK-ENABLED: [[THEN_LICM]]
72 ; CHECK-ENABLED: %phi = phi i32 [ %add, %[[IF_LICM]] ], [ %sub, %[[ELSE_LICM]] ]
73 ; CHECK-ENABLED: store i32 %phi, i32* %p
74 ; CHECK-ENABLED: %cmp2 = icmp ne i32 %phi, 0
112 ; CHECK-ENABLED: br i1 %cmp1, label %[[IF_LICM:.*]], label %[[ELSE_LICM:.*]]
114 ; CHECK-ENABLED: [[IF_LICM]]:
115 ; CHECK-ENABLED: br label %[[THEN_LICM:.*]]
117 ; CHECK-ENABLED: [[THEN_LICM]]:
197 ; CHECK-ENABLED: br i1 %cmp2, label %[[IF_IF_LICM:.*]], label %[[IF_ELSE_LICM:.*]]
199 ; CHECK-ENABLED: [[IF_IF_LICM]]:
200 ; CHECK-ENABLED: br label %[[IF_THEN_LICM:.*]]
202 ; CHECK-ENABLED: [[IF_ELSE_LICM]]:
203 ; CHECK-ENABLED: br label %[[IF_THEN_LICM]]
205 ; CHECK-ENABLED: [[IF_THEN_LICM]]:
206 ; CHECK-ENABLED: %phi1 = phi i32 [ %add, %[[IF_IF_LICM]] ], [ 0, %[[IF_ELSE_LICM]] ]
254 ; CHECK-ENABLED: br i1 %cmp1, label %[[IF_LICM:.*]], label %[[THEN_LICM:.*]]
258 ; CHECK-ENABLED: [[IF_LICM]]:
259 ; CHECK-ENABLED: br label %[[THEN_LICM]]
261 ; CHECK-ENABLED: [[THEN_LICM]]:
262 ; CHECK-ENABLED: %phi = phi i8 [ 0, %[[IF_LICM]] ], [ 1, %entry ]
288 ; CHECK-ENABLED: br i1 %cmp1, label %[[IF_LICM:.*]], label %[[ELSE_LICM:.*]]
292 ; CHECK-ENABLED: [[IF_LICM]]:
293 ; CHECK-ENABLED: br label %[[THEN_LICM:.*]]
295 ; CHECK-ENABLED: [[ELSE_LICM]]:
296 ; CHECK-ENABLED: br label %[[THEN_LICM]]
298 ; CHECK-ENABLED: [[THEN_LICM]]:
299 ; CHECK-ENABLED: %phi = phi i8 [ 0, %[[IF_LICM]] ], [ 1, %[[ELSE_LICM]] ]
328 ; CHECK-ENABLED: br i1 %cond, label %[[IF_LICM:.*]], label %[[THEN_LICM:.*]]
332 ; CHECK-ENABLED: [[IF_LICM]]:
333 ; CHECK-ENABLED: br label %[[THEN_LICM]]
335 ; CHECK-ENABLED: [[THEN_LICM]]:
336 ; CHECK-ENABLED: %phi = phi i8 [ 0, %[[IF_LICM]] ], [ 1, %entry ]
360 ; CHECK-ENABLED: br i1 %cond, label %[[IF_LICM:.*]], label %[[ELSE_LICM:.*]]
364 ; CHECK-ENABLED: [[IF_LICM]]:
365 ; CHECK-ENABLED: br label %[[THEN_LICM:.*]]
367 ; CHECK-ENABLED: [[ELSE_LICM]]:
368 ; CHECK-ENABLED: br label %[[THEN_LICM]]
370 ; CHECK-ENABLED: [[THEN_LICM]]:
371 ; CHECK-ENABLED: %phi = phi i8 [ 0, %[[IF_LICM]] ], [ 1, %[[ELSE_LICM]] ]
398 ; CHECK-ENABLED: br i1 %cond, label %[[IF_LICM:.*]], label %[[THEN_LICM:.*]]
402 ; CHECK-ENABLED: [[IF_LICM]]:
403 ; CHECK-ENABLED: br label %[[THEN_LICM]]
405 ; CHECK-ENABLED: [[THEN_LICM]]:
406 ; CHECK-ENABLED: %phi = phi i8 [ 0, %[[IF_LICM]] ], [ 1, %entry ]
433 ; CHECK-ENABLED: br i1 %cond, label %[[IF_LICM:.*]], label %[[ELSE_LICM:.*]]
437 ; CHECK-ENABLED: [[IF_LICM]]:
438 ; CHECK-ENABLED: br label %[[THEN_LICM:.*]]
440 ; CHECK-ENABLED: [[ELSE_LICM]]:
441 ; CHECK-ENABLED: br label %[[THEN_LICM]]
443 ; CHECK-ENABLED: [[THEN_LICM]]:
444 ; CHECK-ENABLED: %phi = phi i8 [ 0, %[[IF_LICM]] ], [ 1, %[[ELSE_LICM]] ]
478 ; CHECK-ENABLED: br i1 %cmp1, label %[[IF_LICM:.*]], label %[[THEN_LICM:.*]]
482 ; CHECK-ENABLED: [[IF_LICM]]:
483 ; CHECK-ENABLED: br label %[[THEN_LICM]]
485 ; CHECK-ENABLED: [[THEN_LICM]]:
486 ; CHECK-ENABLED: %phi = phi i32 [ 0, %[[IF_LICM]] ], [ 127, %entry ]
517 ; CHECK-ENABLED: br i1 %cmp1, label %[[IF_LICM:.*]], label %[[THEN_LICM:.*]]
521 ; CHECK-ENABLED: [[IF_LICM]]:
522 ; CHECK-ENABLED: br label %[[THEN_LICM]]
524 ; CHECK-ENABLED: [[THEN_LICM]]:
525 ; CHECK-ENABLED: %phi = phi i32 [ 0, %[[IF_LICM]] ], [ 127, %entry ]
553 ; CHECK-ENABLED: br i1 %cmp3, label %[[ELSE_IF_LICM:.*]], label %[[ELSE_ELSE_LICM:.*]]
557 ; CHECK-ENABLED: [[ELSE_IF_LICM]]:
558 ; CHECK-ENABLED: br label %[[ELSE_THEN_LICM:.*]]
560 ; CHECK-ENABLED: [[ELSE_ELSE_LICM]]:
561 ; CHECK-ENABLED: br label %[[ELSE_THEN_LICM]]
563 ; CHECK-ENABLED: [[ELSE_THEN_LICM]]:
564 ; CHECK-ENABLED: %phi2 = phi i32 [ 2, %[[ELSE_IF_LICM]] ], [ 3, %[[ELSE_ELSE_LICM]] ]
566 ; CHECK-ENABLED: br i1 %cmp2, label %[[IF_IF_LICM:.*]], label %[[IF_ELSE_LICM:.*]]
568 ; CHECK-ENABLED: [[IF_IF_LICM]]:
569 ; CHECK-ENABLED: br label %[[IF_THEN_LICM:.*]]
571 ; CHECK-ENABLED: [[IF_ELSE_LICM]]:
572 ; CHECK-ENABLED: br label %[[IF_THEN_LICM]]
574 ; CHECK-ENABLED: [[IF_THEN_LICM]]:
575 ; CHECK-ENABLED: %phi1 = phi i32 [ 0, %[[IF_IF_LICM]] ], [ 1, %[[IF_ELSE_LICM]] ]
635 ; CHECK-ENABLED: br i1 %cmp1, label %[[IF_LICM:.*]], label %[[THEN_LICM:.*]]
639 ; CHECK-ENABLED: [[IF_LICM]]:
640 ; CHECK-ENABLED: br label %[[THEN_LICM]]
642 ; CHECK-ENABLED: [[THEN_LICM]]:
643 ; CHECK-ENABLED: %phi = phi i32 [ %add, %[[IF_LICM]] ], [ %x, %entry ]
673 ; CHECK-ENABLED: br i1 %cmp1, label %[[IF_LICM:.*]], label %[[THEN_LICM:.*]]
677 ; CHECK-ENABLED: [[IF_LICM]]:
678 ; CHECK-ENABLED: br label %[[THEN_LICM:.*]]
680 ; CHECK-ENABLED: [[ELSE_LICM]]:
682 ; CHECK-ENABLED: br label %[[THEN_LICM]]
684 ; CHECK-ENABLED: [[THEN_LICM]]
685 ; CHECK-ENABLED: %phi = phi i32 [ %add, %[[IF_LICM]] ], [ %sub, %[[ELSE_LICM]] ]
686 ; CHECK-ENABLED: %cmp3 = icmp ne i32 %phi, 0
722 ; CHECK-ENABLED: br i1 %cmp1, label %[[IF_LICM:.*]], label %[[THEN_LICM:.*]]
726 ; CHECK-ENABLED: [[IF_LICM]]:
727 ; CHECK-ENABLED: br label %[[THEN_LICM:.*]]
729 ; CHECK-ENABLED: [[ELSE_LICM]]:
730 ; CHECK-ENABLED: br label %[[THEN_LICM]]
732 ; CHECK-ENABLED: [[THEN_LICM]]
733 ; CHECK-ENABLED: %phi = phi i32 [ %add, %[[IF_LICM]] ], [ %sub, %[[ELSE_LICM]] ]
734 ; CHECK-ENABLED: %cmp4 = icmp ne i32 %phi, 0
888 ; CHECK-ENABLED: %phi = phi float [ 0.000000e+00, %{{.*}} ], [ %div1, %{{.*}} ]
1084 ; CHECK-ENABLED: br i1 %cmp1, label %[[IF_LICM:.*]], label %[[THEN_LICM:.*]]
1088 ; CHECK-ENABLED: [[IF_LICM]]:
1089 ; CHECK-ENABLED: br label %[[THEN_LICM]]
1091 ; CHECK-ENABLED: [[THEN_LICM]]:
1092 ; CHECK-ENABLED: %phi2 = phi i32 [ 0, %[[IF_LICM]] ], [ 1, %entry ]
1158 ; CHECK-ENABLED: br i1 %cmp1, label %[[LEFT1_LICM:.*]], label %[[RIGHT1_LICM:.*]]
1162 ; CHECK-ENABLED: [[LEFT1_LICM]]:
1163 ; CHECK-ENABLED: br label %[[LEFT2_LICM:.*]]
1165 ; CHECK-ENABLED: [[RIGHT1_LICM]]:
1166 ; CHECK-ENABLED: br label %[[LEFT2_LICM]]
1168 ; CHECK-ENABLED: [[LEFT2_LICM]]:
1169 ; CHECK-ENABLED: %phi2 = phi i32 [ 0, %[[LEFT1_LICM]] ], [ 1, %[[RIGHT1_LICM]] ]
1244 ; CHECK-ENABLED: br i1 %cmp1, label %[[IF_END_LICM:.*]], label %[[IF_THEN_LICM:.*]]
1250 ; CHECK-ENABLED: [[IF_THEN_LICM]]:
1251 ; CHECK-ENABLED: br label %[[IF_END_LICM]]
1253 ; CHECK-ENABLED: [[IF_END_LICM]]:
1254 ; CHECK-ENABLED: %phi = phi i64 [ 0, %entry ], [ 1, %[[IF_THEN_LICM]] ]
1255 ; CHECK-ENABLED: %d = getelementptr inbounds i32, i32* %g, i64 %phi
1256 ; CHECK-ENABLED: i1 %cmp2, label %[[LOOP_BACKEDGE_LICM:.*]], label %[[IF_THEN2_LICM:.*]]
1258 ; CHECK-ENABLED: [[IF_THEN2_LICM]]:
1259 ; CHECK-ENABLED: br label %[[LOOP_BACKEDGE_LICM]]
1261 ; CHECK-ENABLED: [[LOOP_BACKEDGE_LICM]]:
1293 ; CHECK-ENABLED: br i1 %cmp1, label %[[IF_END_LICM:.*]], label %[[IF_THEN_LICM:.*]]
1300 ; CHECK-ENABLED: [[IF_THEN_LICM]]:
1301 ; CHECK-ENABLED: br label %[[IF_END_LICM]]
1303 ; CHECK-ENABLED: [[IF_END_LICM]]:
1304 ; CHECK-ENABLED: %phi1 = phi i64 [ 0, %entry ], [ 1, %[[IF_THEN_LICM]] ]
1305 ; CHECK-ENABLED: %d = getelementptr inbounds i32, i32* %g, i64 %phi1
1306 ; CHECK-ENABLED: i1 %cmp2, label %[[IF_END2_LICM:.*]], label %[[IF_THEN2_LICM:.*]]
1308 ; CHECK-ENABLED: [[IF_THEN2_LICM]]:
1309 ; CHECK-ENABLED: br label %[[IF_END2_LICM]]
1311 ; CHECK-ENABLED: [[IF_END2_LICM]]:
1312 ; CHECK-ENABLED: %phi2 = phi i64 [ 2, %[[IF_END_LICM]] ], [ 3, %[[IF_THEN2_LICM]] ]
1313 ; CHECK-ENABLED: %e = getelementptr inbounds i32, i32* %g, i64 %phi2
1314 ; CHECK-ENABLED: i1 %cmp3, label %[[LOOP_BACKEDGE_LICM:.*]], label %[[IF_THEN3_LICM:.*]]
1316 ; CHECK-ENABLED: [[IF_THEN3_LICM]]:
1317 ; CHECK-ENABLED: br label %[[LOOP_BACKEDGE_LICM]]
1319 ; CHECK-ENABLED: [[LOOP_BACKEDGE_LICM]]:
1366 ; CHECK-ENABLED: br i1 undef, label %[[IF1_LICM:.*]], label %[[ELSE1_LICM:.*]]
1370 ; CHECK-ENABLED: [[IF1_LICM]]:
1371 ; CHECK-ENABLED: br label %[[LOOP_BACKEDGE_LICM:.*]]
1373 ; CHECK-ENABLED: [[ELSE1_LICM]]:
1374 ; CHECK-ENABLED: br label %[[LOOP_BACKEDGE_LICM]]
1376 ; CHECK-ENABLED: [[LOOP_BACKEDGE_LICM]]:
1377 ; CHECK-ENABLED: br i1 undef, label %[[IF3_LICM:.*]], label %[[END_LICM:.*]]
1379 ; CHECK-ENABLED: [[IF3_LICM]]:
1380 ; CHECK-ENABLED: br label %[[END_LICM]]
1382 ; CHECK-ENABLED: [[END_LICM]]:
1420 ; CHECK-ENABLED: br i1 undef, label %[[IF1_LICM:.*]], label %[[ELSE1_LICM:.*]]
1424 ; CHECK-ENABLED: [[IF1_LICM]]:
1425 ; CHECK-ENABLED: br label %[[LOOP_BACKEDGE_LICM:.*]]
1427 ; CHECK-ENABLED: [[ELSE1_LICM]]:
1428 ; CHECK-ENABLED: br label %[[LOOP_BACKEDGE_LICM]]
1430 ; CHECK-ENABLED: [[LOOP_BACKEDGE_LICM]]:
1431 ; CHECK-ENABLED: br i1 undef, label %[[IF3_LICM:.*]], label %[[END_LICM:.*]]
1433 ; CHECK-ENABLED: [[IF3_LICM]]:
1434 ; CHECK-ENABLED: br label %[[END_LICM]]
1436 ; CHECK-ENABLED: [[END_LICM]]:
1472 ; CHECK-ENABLED: br i1 undef, label %[[IF1_LICM:.*]], label %[[ELSE1_LICM:.*]]
1476 ; CHECK-ENABLED: [[IF1_LICM]]:
1477 ; CHECK-ENABLED: br label %[[IF2_LICM:.*]]
1479 ; CHECK-ENABLED: [[ELSE1_LICM]]:
1480 ; CHECK-ENABLED: br label %[[IF2_LICM]]
1482 ; CHECK-ENABLED: [[IF2_LICM]]:
1483 ; CHECK-ENABLED: %phi = phi i32* [ %gep1, %[[IF1_LICM]] ], [ %gep2, %[[ELSE1_LICM]] ]
1484 ; CHECK-ENABLED: %gep3 = getelementptr inbounds i32, i32* %phi, i64 3
1485 ; CHECK-ENABLED: br i1 undef, label %[[IF3_LICM:.*]], label %[[END_LICM:.*]]
1487 ; CHECK-ENABLED: [[IF3_LICM]]:
1488 ; CHECK-ENABLED: br label %[[END_LICM]]
1490 ; CHECK-ENABLED: [[END_LICM]]: