brintos

brintos / llvm-project-archived public Read only

0
0
Text · 7.8 KiB · 97ad5b3 Raw
154 lines · plain
1; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu2; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu3 4%"class.std::__1::locale::id.1580.4307.4610.8491" = type { %"struct.std::__1::once_flag.1579.4306.4609.8490", i32 }5%"struct.std::__1::once_flag.1579.4306.4609.8490" = type { i64 }6%"class.Foam::IOerror.1581.4308.4611.8505" = type { %"class.Foam::error.1535.4262.4565.8504", %"class.Foam::string.1530.4257.4560.8499", i32, i32 }7%"class.Foam::error.1535.4262.4565.8504" = type { %"class.std::exception.1523.4250.4553.8492", [36 x i8], %"class.Foam::string.1530.4257.4560.8499", %"class.Foam::string.1530.4257.4560.8499", i32, i8, i8, ptr }8%"class.std::exception.1523.4250.4553.8492" = type { ptr }9%"class.Foam::OStringStream.1534.4261.4564.8503" = type { %"class.Foam::OSstream.1533.4260.4563.8502" }10%"class.Foam::OSstream.1533.4260.4563.8502" = type { [50 x i8], %"class.Foam::fileName.1531.4258.4561.8500", ptr }11%"class.Foam::fileName.1531.4258.4561.8500" = type { %"class.Foam::string.1530.4257.4560.8499" }12%"class.std::__1::basic_ostream.1532.4259.4562.8501" = type { ptr, [148 x i8] }13%"class.Foam::string.1530.4257.4560.8499" = type { %"class.std::__1::basic_string.1529.4256.4559.8498" }14%"class.std::__1::basic_string.1529.4256.4559.8498" = type { %"class.std::__1::__compressed_pair.1528.4255.4558.8497" }15%"class.std::__1::__compressed_pair.1528.4255.4558.8497" = type { %"class.std::__1::__libcpp_compressed_pair_imp.1527.4254.4557.8496" }16%"class.std::__1::__libcpp_compressed_pair_imp.1527.4254.4557.8496" = type { %"struct.std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__rep.1526.4253.4556.8495" }17%"struct.std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__rep.1526.4253.4556.8495" = type { %union.anon.1525.4252.4555.8494 }18%union.anon.1525.4252.4555.8494 = type { %"struct.std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__long.1524.4251.4554.8493" }19%"struct.std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__long.1524.4251.4554.8493" = type { i64, i64, ptr }20 21@.str3 = external unnamed_addr constant [16 x i8], align 122@_ZNSt3__15ctypeIcE2idE = external global %"class.std::__1::locale::id.1580.4307.4610.8491"23@_ZN4Foam12FatalIOErrorE = external global %"class.Foam::IOerror.1581.4308.4611.8505"24@.str204 = external unnamed_addr constant [18 x i8], align 125@.str205 = external unnamed_addr constant [34 x i8], align 126 27declare void @_ZN4FoamlsERNS_7OstreamEPKc() #028 29declare i32 @__gxx_personality_v0(...)30 31declare void @_ZNKSt3__18ios_base6getlocEv() #032 33declare void @_ZNKSt3__16locale9use_facetERNS0_2idE() #034 35; Function Attrs: noreturn36declare void @_ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv() #1 align 237 38declare void @_ZN4Foam6string6expandEb() #039 40declare void @_ZN4Foam8IFstreamC1ERKNS_8fileNameENS_8IOstream12streamFormatENS4_13versionNumberE() #041 42declare void @_ZN4Foam7IOerrorclEPKcS2_iRKNS_8IOstreamE() #043 44declare void @_ZN4Foam7IOerror4exitEi() #045 46; Function Attrs: inlinehint47declare void @_ZN4Foam8fileName12stripInvalidEv() #2 align 248 49define void @_ZN4Foam3CSVINS_6VectorIdEEE4readEv() #0 align 2 personality ptr @__gxx_personality_v0 {50entry:51  invoke void @_ZN4Foam6string6expandEb()52          to label %invoke.cont unwind label %lpad53 54invoke.cont:                                      ; preds = %entry55  br i1 undef, label %if.then.i.i.i.i176, label %_ZN4Foam6stringC2ERKS0_.exit.i56 57if.then.i.i.i.i176:                               ; preds = %invoke.cont58  invoke void @_ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv()59          to label %.noexc unwind label %lpad60 61.noexc:                                           ; preds = %if.then.i.i.i.i17662  unreachable63 64_ZN4Foam6stringC2ERKS0_.exit.i:                   ; preds = %invoke.cont65  invoke void @_ZN4Foam8fileName12stripInvalidEv()66          to label %invoke.cont2 unwind label %lpad.i67 68lpad.i:                                           ; preds = %_ZN4Foam6stringC2ERKS0_.exit.i69  %0 = landingpad { ptr, i32 }70          cleanup71  br label %ehcleanup14272 73invoke.cont2:                                     ; preds = %_ZN4Foam6stringC2ERKS0_.exit.i74  invoke void @_ZN4Foam8IFstreamC1ERKNS_8fileNameENS_8IOstream12streamFormatENS4_13versionNumberE()75          to label %invoke.cont4 unwind label %lpad376 77invoke.cont4:                                     ; preds = %invoke.cont278  br i1 undef, label %for.body, label %if.then79 80if.then:                                          ; preds = %invoke.cont481  invoke void @_ZN4Foam7IOerrorclEPKcS2_iRKNS_8IOstreamE()82          to label %invoke.cont8 unwind label %lpad583 84invoke.cont8:                                     ; preds = %if.then85  invoke void @_ZN4FoamlsERNS_7OstreamEPKc()86          to label %memptr.end.i unwind label %lpad587 88memptr.end.i:                                     ; preds = %invoke.cont889  invoke void @_ZN4Foam7IOerror4exitEi()90          to label %if.end unwind label %lpad591 92lpad:                                             ; preds = %if.then.i.i.i.i176, %entry93  %1 = landingpad { ptr, i32 }94          cleanup95  br label %ehcleanup14296 97lpad3:                                            ; preds = %invoke.cont298  %2 = landingpad { ptr, i32 }99          cleanup100  br label %ehcleanup142101 102lpad5:                                            ; preds = %memptr.end.i, %invoke.cont8, %if.then103  %3 = landingpad { ptr, i32 }104          cleanup105  br label %ehcleanup142106 107if.end:                                           ; preds = %memptr.end.i108  br i1 undef, label %for.body, label %vector.body109 110for.body:                                         ; preds = %if.end, %invoke.cont4111  invoke void @_ZNKSt3__18ios_base6getlocEv()112          to label %.noexc205 unwind label %lpad19113 114.noexc205:                                        ; preds = %for.body115  invoke void @_ZNKSt3__16locale9use_facetERNS0_2idE()116          to label %invoke.cont.i.i.i unwind label %lpad.i.i.i117 118invoke.cont.i.i.i:                                ; preds = %.noexc205119  unreachable120 121lpad.i.i.i:                                       ; preds = %.noexc205122  %4 = landingpad { ptr, i32 }123          cleanup124  br label %ehcleanup142125 126lpad19:                                           ; preds = %for.body127  %5 = landingpad { ptr, i32 }128          cleanup129  br label %ehcleanup142130 131vector.body:                                      ; preds = %vector.body, %if.end132  %vec.phi = phi <8 x i32> [ %10, %vector.body ], [ undef, %if.end ]133  %vec.phi1302 = phi <8 x i32> [ %11, %vector.body ], [ undef, %if.end ]134  %vec.phi1303 = phi <8 x i32> [ %12, %vector.body ], [ undef, %if.end ]135  %vec.phi1304 = phi <8 x i32> [ %13, %vector.body ], [ undef, %if.end ]136  %6 = icmp sgt <8 x i32> undef, %vec.phi137  %7 = icmp sgt <8 x i32> undef, %vec.phi1302138  %8 = icmp sgt <8 x i32> undef, %vec.phi1303139  %9 = icmp sgt <8 x i32> undef, %vec.phi1304140  %10 = select <8 x i1> %6, <8 x i32> undef, <8 x i32> %vec.phi141  %11 = select <8 x i1> %7, <8 x i32> undef, <8 x i32> %vec.phi1302142  %12 = select <8 x i1> %8, <8 x i32> undef, <8 x i32> %vec.phi1303143  %13 = select <8 x i1> %9, <8 x i32> undef, <8 x i32> %vec.phi1304144  br label %vector.body145 146ehcleanup142:                                     ; preds = %lpad19, %lpad.i.i.i, %lpad5, %lpad3, %lpad, %lpad.i147  resume { ptr, i32 } undef148}149 150attributes #0 = { "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "use-soft-float"="false" }151attributes #1 = { noreturn "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "use-soft-float"="false" }152attributes #2 = { inlinehint "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "use-soft-float"="false" }153 154