1; RUN: opt < %s -inline -prune-eh -disable-output 2; PR827 3@_ZTV8CRjii = internal global [1 x i32 (...)*] [ i32 (...)* @_ZN8CRjii12NlFeeEPN5Jr7sE ] ; <[1 x i32 (...)*]*> [#uses=0] 4 5define internal i32 @_ZN8CRjii12NlFeeEPN5Jr7sE(...) { 6entry: 7 br i1 false, label %cond_true, label %cond_false179 8 9cond_true: ; preds = %entry 10 br label %bb9 11 12bb: ; preds = %cond_true14 13 br label %bb9 14 15bb9: ; preds = %bb, %cond_true 16 br i1 false, label %cond_true14, label %cond_false 17 18cond_true14: ; preds = %bb9 19 br label %bb 20 21cond_false: ; preds = %bb9 22 br label %bb15 23 24cond_next: ; No predecessors! 25 br label %bb15 26 27bb15: ; preds = %cond_next, %cond_false 28 br label %bb24 29 30bb17: ; preds = %cond_true29 31 br label %bb24 32 33bb24: ; preds = %bb17, %bb15 34 br i1 false, label %cond_true29, label %cond_false30 35 36cond_true29: ; preds = %bb24 37 br label %bb17 38 39cond_false30: ; preds = %bb24 40 br label %bb32 41 42cond_next31: ; No predecessors! 43 br label %bb32 44 45bb32: ; preds = %cond_next31, %cond_false30 46 br label %bb41 47 48bb34: ; preds = %cond_true46 49 br label %bb41 50 51bb41: ; preds = %bb34, %bb32 52 br i1 false, label %cond_true46, label %cond_false47 53 54cond_true46: ; preds = %bb41 55 br label %bb34 56 57cond_false47: ; preds = %bb41 58 br label %bb49 59 60cond_next48: ; No predecessors! 61 br label %bb49 62 63bb49: ; preds = %cond_next48, %cond_false47 64 br label %bb58 65 66bb51: ; preds = %cond_true63 67 br label %bb58 68 69bb58: ; preds = %bb51, %bb49 70 br i1 false, label %cond_true63, label %cond_false64 71 72cond_true63: ; preds = %bb58 73 br label %bb51 74 75cond_false64: ; preds = %bb58 76 br label %bb66 77 78cond_next65: ; No predecessors! 79 br label %bb66 80 81bb66: ; preds = %cond_next65, %cond_false64 82 br label %bb76 83 84bb68: ; preds = %cond_true81 85 br label %bb76 86 87bb76: ; preds = %bb68, %bb66 88 br i1 false, label %cond_true81, label %cond_false82 89 90cond_true81: ; preds = %bb76 91 br label %bb68 92 93cond_false82: ; preds = %bb76 94 br label %bb84 95 96cond_next83: ; No predecessors! 97 br label %bb84 98 99bb84: ; preds = %cond_next83, %cond_false82 100 br label %bb94 101 102bb86: ; preds = %cond_true99 103 br label %bb94 104 105bb94: ; preds = %bb86, %bb84 106 br i1 false, label %cond_true99, label %cond_false100 107 108cond_true99: ; preds = %bb94 109 br label %bb86 110 111cond_false100: ; preds = %bb94 112 br label %bb102 113 114cond_next101: ; No predecessors! 115 br label %bb102 116 117bb102: ; preds = %cond_next101, %cond_false100 118 br label %bb112 119 120bb104: ; preds = %cond_true117 121 br label %bb112 122 123bb112: ; preds = %bb104, %bb102 124 br i1 false, label %cond_true117, label %cond_false118 125 126cond_true117: ; preds = %bb112 127 br label %bb104 128 129cond_false118: ; preds = %bb112 130 br label %bb120 131 132cond_next119: ; No predecessors! 133 br label %bb120 134 135bb120: ; preds = %cond_next119, %cond_false118 136 br label %bb130 137 138bb122: ; preds = %cond_true135 139 br label %bb130 140 141bb130: ; preds = %bb122, %bb120 142 br i1 false, label %cond_true135, label %cond_false136 143 144cond_true135: ; preds = %bb130 145 br label %bb122 146 147cond_false136: ; preds = %bb130 148 br label %bb138 149 150cond_next137: ; No predecessors! 151 br label %bb138 152 153bb138: ; preds = %cond_next137, %cond_false136 154 br label %bb148 155 156bb140: ; preds = %cond_true153 157 call fastcc void @_Zjrf1( ) 158 br label %bb148 159 160bb148: ; preds = %bb140, %bb138 161 br i1 false, label %cond_true153, label %cond_false154 162 163cond_true153: ; preds = %bb148 164 br label %bb140 165 166cond_false154: ; preds = %bb148 167 br label %bb156 168 169cond_next155: ; No predecessors! 170 br label %bb156 171 172bb156: ; preds = %cond_next155, %cond_false154 173 br label %bb166 174 175bb158: ; preds = %cond_true171 176 br label %bb166 177 178bb166: ; preds = %bb158, %bb156 179 br i1 false, label %cond_true171, label %cond_false172 180 181cond_true171: ; preds = %bb166 182 br label %bb158 183 184cond_false172: ; preds = %bb166 185 br label %bb174 186 187cond_next173: ; No predecessors! 188 br label %bb174 189 190bb174: ; preds = %cond_next173, %cond_false172 191 br label %cleanup 192 193cleanup: ; preds = %bb174 194 br label %finally 195 196finally: ; preds = %cleanup 197 br label %cond_next180 198 199cond_false179: ; preds = %entry 200 br label %cond_next180 201 202cond_next180: ; preds = %cond_false179, %finally 203 br label %return 204 205return: ; preds = %cond_next180 206 ret i32 0 207} 208 209define internal fastcc void @_Zjrf2() { 210entry: 211 br label %bb3 212 213bb: ; preds = %cond_true 214 br label %bb3 215 216bb3: ; preds = %bb, %entry 217 %tmp5 = load i8** null ; <i8*> [#uses=1] 218 %tmp = icmp ne i8* null, %tmp5 ; <i1> [#uses=1] 219 br i1 %tmp, label %cond_true, label %cond_false 220 221cond_true: ; preds = %bb3 222 br label %bb 223 224cond_false: ; preds = %bb3 225 br label %bb6 226 227cond_next: ; No predecessors! 228 br label %bb6 229 230bb6: ; preds = %cond_next, %cond_false 231 br label %return 232 233return: ; preds = %bb6 234 ret void 235} 236 237define internal fastcc void @_Zjrf3() { 238entry: 239 call fastcc void @_Zjrf2( ) 240 br label %return 241 242return: ; preds = %entry 243 ret void 244} 245 246define internal fastcc void @_Zjrf4() { 247entry: 248 br label %bb6 249 250bb: ; preds = %cond_true 251 br label %bb6 252 253bb6: ; preds = %bb, %entry 254 br i1 false, label %cond_true, label %cond_false 255 256cond_true: ; preds = %bb6 257 br label %bb 258 259cond_false: ; preds = %bb6 260 br label %bb8 261 262cond_next: ; No predecessors! 263 br label %bb8 264 265bb8: ; preds = %cond_next, %cond_false 266 br i1 false, label %cond_true9, label %cond_false12 267 268cond_true9: ; preds = %bb8 269 call fastcc void @_Zjrf3( ) 270 br label %cond_next13 271 272cond_false12: ; preds = %bb8 273 br label %cond_next13 274 275cond_next13: ; preds = %cond_false12, %cond_true9 276 br label %return 277 278return: ; preds = %cond_next13 279 ret void 280} 281 282define internal fastcc void @_Zjrf5() { 283entry: 284 call fastcc void @_Zjrf4( ) 285 br label %return 286 287return: ; preds = %entry 288 ret void 289} 290 291define internal fastcc void @_Zjrf6() { 292entry: 293 call fastcc void @_Zjrf5( ) 294 br label %return 295 296return: ; preds = %entry 297 ret void 298} 299 300define internal fastcc void @_Zjrf7() { 301entry: 302 br label %cleanup 303 304cleanup: ; preds = %entry 305 br label %finally 306 307finally: ; preds = %cleanup 308 call fastcc void @_Zjrf6( ) 309 br label %cleanup9 310 311cleanup9: ; preds = %finally 312 br label %finally8 313 314finally8: ; preds = %cleanup9 315 br label %cleanup11 316 317cleanup11: ; preds = %finally8 318 br label %finally10 319 320finally10: ; preds = %cleanup11 321 br label %finally23 322 323finally23: ; preds = %finally10 324 br label %return 325 326return: ; preds = %finally23 327 ret void 328} 329 330define internal fastcc void @_Zjrf11() { 331entry: 332 br label %bb7 333 334bb: ; preds = %cond_true 335 br label %bb7 336 337bb7: ; preds = %bb, %entry 338 br i1 false, label %cond_true, label %cond_false 339 340cond_true: ; preds = %bb7 341 br label %bb 342 343cond_false: ; preds = %bb7 344 br label %bb9 345 346cond_next: ; No predecessors! 347 br label %bb9 348 349bb9: ; preds = %cond_next, %cond_false 350 br label %return 351 ; No predecessors! 352 br i1 false, label %cond_true12, label %cond_false15 353 354cond_true12: ; preds = %0 355 call fastcc void @_Zjrf3( ) 356 br label %cond_next16 357 358cond_false15: ; preds = %0 359 br label %cond_next16 360 361cond_next16: ; preds = %cond_false15, %cond_true12 362 br label %return 363 364return: ; preds = %cond_next16, %bb9 365 ret void 366} 367 368define internal fastcc void @_Zjrf9() { 369entry: 370 call fastcc void @_Zjrf11( ) 371 br label %return 372 373return: ; preds = %entry 374 ret void 375} 376 377define internal fastcc void @_Zjrf10() { 378entry: 379 call fastcc void @_Zjrf9( ) 380 br label %return 381 382return: ; preds = %entry 383 ret void 384} 385 386define internal fastcc void @_Zjrf8() { 387entry: 388 br i1 false, label %cond_true, label %cond_false201 389 390cond_true: ; preds = %entry 391 br i1 false, label %cond_true36, label %cond_false 392 393cond_true36: ; preds = %cond_true 394 br label %cleanup 395 396cleanup: ; preds = %cond_true36 397 br label %finally 398 399finally: ; preds = %cleanup 400 br label %cond_next189 401 402cond_false: ; preds = %cond_true 403 br i1 false, label %cond_true99, label %cond_false137 404 405cond_true99: ; preds = %cond_false 406 br label %cleanup136 407 408cleanup136: ; preds = %cond_true99 409 br label %finally135 410 411finally135: ; preds = %cleanup136 412 br label %cond_next 413 414cond_false137: ; preds = %cond_false 415 call fastcc void @_Zjrf10( ) 416 br label %cleanup188 417 418cleanup188: ; preds = %cond_false137 419 br label %finally187 420 421finally187: ; preds = %cleanup188 422 br label %cond_next 423 424cond_next: ; preds = %finally187, %finally135 425 br label %cond_next189 426 427cond_next189: ; preds = %cond_next, %finally 428 br label %cond_next202 429 430cond_false201: ; preds = %entry 431 br label %cond_next202 432 433cond_next202: ; preds = %cond_false201, %cond_next189 434 br label %return 435 436return: ; preds = %cond_next202 437 ret void 438} 439 440define internal fastcc void @_Zjrf1() { 441entry: 442 br label %bb492 443 444bb: ; preds = %cond_true499 445 br label %cleanup 446 447cleanup: ; preds = %bb 448 br label %finally 449 450finally: ; preds = %cleanup 451 br label %cleanup11 452 453cleanup11: ; preds = %finally 454 br label %finally10 455 456finally10: ; preds = %cleanup11 457 br i1 false, label %cond_true, label %cond_false286 458 459cond_true: ; preds = %finally10 460 br label %cleanup26 461 462cleanup26: ; preds = %cond_true 463 br label %finally25 464 465finally25: ; preds = %cleanup26 466 br label %bb30 467 468bb27: ; preds = %cond_true37 469 br label %bb30 470 471bb30: ; preds = %bb27, %finally25 472 br i1 false, label %cond_true37, label %cond_false 473 474cond_true37: ; preds = %bb30 475 br label %bb27 476 477cond_false: ; preds = %bb30 478 br label %bb38 479 480cond_next: ; No predecessors! 481 br label %bb38 482 483bb38: ; preds = %cond_next, %cond_false 484 br label %bb148 485 486bb40: ; preds = %cond_true156 487 br label %bb139 488 489bb41: ; preds = %cond_true142 490 call fastcc void @_Zjrf7( ) 491 br label %bb105 492 493bb44: ; preds = %cond_true112 494 br label %bb74 495 496bb66: ; preds = %cond_true80 497 br label %bb74 498 499bb74: ; preds = %bb66, %bb44 500 br i1 false, label %cond_true80, label %cond_false81 501 502cond_true80: ; preds = %bb74 503 br label %bb66 504 505cond_false81: ; preds = %bb74 506 br label %bb83 507 508cond_next82: ; No predecessors! 509 br label %bb83 510 511bb83: ; preds = %cond_next82, %cond_false81 512 br label %cleanup97 513 514cleanup97: ; preds = %bb83 515 br label %finally96 516 517finally96: ; preds = %cleanup97 518 br label %cleanup99 519 520cleanup99: ; preds = %finally96 521 br label %finally98 522 523finally98: ; preds = %cleanup99 524 br label %bb105 525 526bb105: ; preds = %finally98, %bb41 527 br i1 false, label %cond_true112, label %cond_false113 528 529cond_true112: ; preds = %bb105 530 br label %bb44 531 532cond_false113: ; preds = %bb105 533 br label %bb115 534 535cond_next114: ; No predecessors! 536 br label %bb115 537 538bb115: ; preds = %cond_next114, %cond_false113 539 br i1 false, label %cond_true119, label %cond_false123 540 541cond_true119: ; preds = %bb115 542 call fastcc void @_Zjrf8( ) 543 br label %cond_next124 544 545cond_false123: ; preds = %bb115 546 br label %cond_next124 547 548cond_next124: ; preds = %cond_false123, %cond_true119 549 br i1 false, label %cond_true131, label %cond_false132 550 551cond_true131: ; preds = %cond_next124 552 br label %cleanup135 553 554cond_false132: ; preds = %cond_next124 555 br label %cond_next133 556 557cond_next133: ; preds = %cond_false132 558 br label %cleanup136 559 560cleanup135: ; preds = %cond_true131 561 br label %done 562 563cleanup136: ; preds = %cond_next133 564 br label %finally134 565 566finally134: ; preds = %cleanup136 567 br label %bb139 568 569bb139: ; preds = %finally134, %bb40 570 br i1 false, label %cond_true142, label %cond_false143 571 572cond_true142: ; preds = %bb139 573 br label %bb41 574 575cond_false143: ; preds = %bb139 576 br label %bb145 577 578cond_next144: ; No predecessors! 579 br label %bb145 580 581bb145: ; preds = %cond_next144, %cond_false143 582 br label %bb148 583 584bb148: ; preds = %bb145, %bb38 585 br i1 false, label %cond_true156, label %cond_false157 586 587cond_true156: ; preds = %bb148 588 br label %bb40 589 590cond_false157: ; preds = %bb148 591 br label %bb159 592 593cond_next158: ; No predecessors! 594 br label %bb159 595 596bb159: ; preds = %cond_next158, %cond_false157 597 br label %done 598 599done: ; preds = %bb159, %cleanup135 600 br label %bb214 601 602bb185: ; preds = %cond_true218 603 br i1 false, label %cond_true193, label %cond_false206 604 605cond_true193: ; preds = %bb185 606 br label %cond_next211 607 608cond_false206: ; preds = %bb185 609 br label %cond_next211 610 611cond_next211: ; preds = %cond_false206, %cond_true193 612 br label %bb214 613 614bb214: ; preds = %cond_next211, %done 615 br i1 false, label %cond_true218, label %cond_false219 616 617cond_true218: ; preds = %bb214 618 br label %bb185 619 620cond_false219: ; preds = %bb214 621 br label %bb221 622 623cond_next220: ; No predecessors! 624 br label %bb221 625 626bb221: ; preds = %cond_next220, %cond_false219 627 br i1 false, label %cond_true236, label %cond_false245 628 629cond_true236: ; preds = %bb221 630 br label %cond_next249 631 632cond_false245: ; preds = %bb221 633 br label %cond_next249 634 635cond_next249: ; preds = %cond_false245, %cond_true236 636 br i1 false, label %cond_true272, label %cond_false277 637 638cond_true272: ; preds = %cond_next249 639 br label %cond_next278 640 641cond_false277: ; preds = %cond_next249 642 br label %cond_next278 643 644cond_next278: ; preds = %cond_false277, %cond_true272 645 br label %cleanup285 646 647cleanup285: ; preds = %cond_next278 648 br label %finally284 649 650finally284: ; preds = %cleanup285 651 br label %cond_next287 652 653cond_false286: ; preds = %finally10 654 br label %cond_next287 655 656cond_next287: ; preds = %cond_false286, %finally284 657 br i1 false, label %cond_true317, label %cond_false319 658 659cond_true317: ; preds = %cond_next287 660 br label %cond_next321 661 662cond_false319: ; preds = %cond_next287 663 br label %cond_next321 664 665cond_next321: ; preds = %cond_false319, %cond_true317 666 br label %bb348 667 668bb335: ; preds = %cond_true355 669 br label %bb348 670 671bb348: ; preds = %bb335, %cond_next321 672 br i1 false, label %cond_true355, label %cond_false356 673 674cond_true355: ; preds = %bb348 675 br label %bb335 676 677cond_false356: ; preds = %bb348 678 br label %bb358 679 680cond_next357: ; No predecessors! 681 br label %bb358 682 683bb358: ; preds = %cond_next357, %cond_false356 684 br i1 false, label %cond_true363, label %cond_false364 685 686cond_true363: ; preds = %bb358 687 br label %bb388 688 689cond_false364: ; preds = %bb358 690 br label %cond_next365 691 692cond_next365: ; preds = %cond_false364 693 br i1 false, label %cond_true370, label %cond_false371 694 695cond_true370: ; preds = %cond_next365 696 br label %bb388 697 698cond_false371: ; preds = %cond_next365 699 br label %cond_next372 700 701cond_next372: ; preds = %cond_false371 702 br i1 false, label %cond_true385, label %cond_false386 703 704cond_true385: ; preds = %cond_next372 705 br label %bb388 706 707cond_false386: ; preds = %cond_next372 708 br label %cond_next387 709 710cond_next387: ; preds = %cond_false386 711 br label %bb389 712 713bb388: ; preds = %cond_true385, %cond_true370, %cond_true363 714 br label %bb389 715 716bb389: ; preds = %bb388, %cond_next387 717 br i1 false, label %cond_true392, label %cond_false443 718 719cond_true392: ; preds = %bb389 720 br label %bb419 721 722bb402: ; preds = %cond_true425 723 br i1 false, label %cond_true406, label %cond_false412 724 725cond_true406: ; preds = %bb402 726 br label %cond_next416 727 728cond_false412: ; preds = %bb402 729 br label %cond_next416 730 731cond_next416: ; preds = %cond_false412, %cond_true406 732 br label %bb419 733 734bb419: ; preds = %cond_next416, %cond_true392 735 br i1 false, label %cond_true425, label %cond_false426 736 737cond_true425: ; preds = %bb419 738 br label %bb402 739 740cond_false426: ; preds = %bb419 741 br label %bb428 742 743cond_next427: ; No predecessors! 744 br label %bb428 745 746bb428: ; preds = %cond_next427, %cond_false426 747 br label %cond_next478 748 749cond_false443: ; preds = %bb389 750 br label %bb460 751 752bb450: ; preds = %cond_true466 753 br label %bb460 754 755bb460: ; preds = %bb450, %cond_false443 756 br i1 false, label %cond_true466, label %cond_false467 757 758cond_true466: ; preds = %bb460 759 br label %bb450 760 761cond_false467: ; preds = %bb460 762 br label %bb469 763 764cond_next468: ; No predecessors! 765 br label %bb469 766 767bb469: ; preds = %cond_next468, %cond_false467 768 br label %cond_next478 769 770cond_next478: ; preds = %bb469, %bb428 771 br label %cleanup485 772 773cleanup485: ; preds = %cond_next478 774 br label %finally484 775 776finally484: ; preds = %cleanup485 777 br label %cleanup487 778 779cleanup487: ; preds = %finally484 780 br label %finally486 781 782finally486: ; preds = %cleanup487 783 br label %cleanup489 784 785cleanup489: ; preds = %finally486 786 br label %finally488 787 788finally488: ; preds = %cleanup489 789 br label %bb492 790 791bb492: ; preds = %finally488, %entry 792 br i1 false, label %cond_true499, label %cond_false500 793 794cond_true499: ; preds = %bb492 795 br label %bb 796 797cond_false500: ; preds = %bb492 798 br label %bb502 799 800cond_next501: ; No predecessors! 801 br label %bb502 802 803bb502: ; preds = %cond_next501, %cond_false500 804 br label %return 805 806return: ; preds = %bb502 807 ret void 808} 809 810define internal fastcc void @_ZSt26__unguarded_insertion_sortIN9__gnu_cxx17__normal_iteratorIPSsSt6vectorISsSaISsEEEEEvT_S7_() { 811entry: 812 br label %bb12 813 814bb: ; preds = %cond_true 815 br label %cleanup 816 817cleanup: ; preds = %bb 818 br label %finally 819 820finally: ; preds = %cleanup 821 br label %bb12 822 823bb12: ; preds = %finally, %entry 824 br i1 false, label %cond_true, label %cond_false 825 826cond_true: ; preds = %bb12 827 br label %bb 828 829cond_false: ; preds = %bb12 830 br label %bb14 831 832cond_next: ; No predecessors! 833 br label %bb14 834 835bb14: ; preds = %cond_next, %cond_false 836 br label %return 837 838return: ; preds = %bb14 839 ret void 840} 841