diff --git a/bench/abc/optimized/abcAig.ll b/bench/abc/optimized/abcAig.ll index 3aa5f7adeb0..0f34ede3bcd 100644 --- a/bench/abc/optimized/abcAig.ll +++ b/bench/abc/optimized/abcAig.ll @@ -2378,7 +2378,7 @@ define ptr @Abc_AigMiter2(ptr noundef captures(none) %0, ptr noundef readonly ca } ; Function Attrs: nounwind uwtable -define noundef i32 @Abc_AigReplace(ptr noundef captures(none) %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { +define noundef range(i32 1, 2) i32 @Abc_AigReplace(ptr noundef captures(none) %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = getelementptr inbounds nuw i8, ptr %0, i64 40 %6 = load ptr, ptr %5, align 8, !tbaa !29 %7 = getelementptr inbounds nuw i8, ptr %6, i64 4 diff --git a/bench/abseil-cpp/optimized/mutex.ll b/bench/abseil-cpp/optimized/mutex.ll index 3108822a8b4..bb85ae27645 100644 --- a/bench/abseil-cpp/optimized/mutex.ll +++ b/bench/abseil-cpp/optimized/mutex.ll @@ -2597,9 +2597,7 @@ _ZN4abslL13GetSynchEventEPKv.exit: ; preds = %.critedge9.i, %24 br i1 %.not39, label %.thread50, label %59 59: ; preds = %56 - %60 = getelementptr inbounds nuw i8, ptr %.011.i, i64 32 - %61 = load ptr, ptr %60, align 8, !tbaa !55 - call void %58(ptr noundef %61) + %60 = call fastcc noundef zeroext i1 @_ZZN4abslL14PostSynchEventEPviEN5local4predEPNS_10SynchEventE(ptr noundef nonnull %.011.i) br label %.thread50 62: ; preds = %._crit_edge @@ -4637,6 +4635,16 @@ declare noundef i32 @_ZN4absl13GetStackTraceEPPvii(ptr noundef, i32 noundef, i32 ; Function Attrs: nofree nounwind declare noundef i32 @snprintf(ptr noalias noundef writeonly captures(none), i64 noundef, ptr noundef readonly captures(none), ...) local_unnamed_addr #22 +; Function Attrs: mustprogress uwtable +define internal fastcc noundef zeroext range(i1 0, -1) i1 @_ZZN4abslL14PostSynchEventEPviEN5local4predEPNS_10SynchEventE(ptr noundef readonly captures(none) %0) unnamed_addr #0 align 2 { + %2 = getelementptr inbounds nuw i8, ptr %0, i64 24 + %3 = load ptr, ptr %2, align 8, !tbaa !54 + %4 = getelementptr inbounds nuw i8, ptr %0, i64 32 + %5 = load ptr, ptr %4, align 8, !tbaa !55 + tail call void %3(ptr noundef %5) + ret i1 false +} + ; Function Attrs: nounwind declare i32 @pthread_getschedparam(i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #18 diff --git a/bench/abseil-cpp/optimized/symbolize.ll b/bench/abseil-cpp/optimized/symbolize.ll index 4bb5c47567b..d94f1a22359 100644 --- a/bench/abseil-cpp/optimized/symbolize.ll +++ b/bench/abseil-cpp/optimized/symbolize.ll @@ -2978,7 +2978,7 @@ _ZN4absl18debugging_internal18GetFileMappingHintEPPKvS3_PmPPKc.exit.thread: ; pr %163 = icmp eq i8 %162, 91 br i1 %163, label %.critedge.backedge, label %166 -164: ; preds = %159, %166 +164: ; preds = %166, %159 %165 = landingpad { ptr, i32 } cleanup br label %173 @@ -2988,17 +2988,14 @@ _ZN4absl18debugging_internal18GetFileMappingHintEPPKvS3_PmPPKc.exit.thread: ; pr %.13259 = phi ptr [ %.13258, %161 ], [ %.031, %_ZN4absl18debugging_internal18GetFileMappingHintEPPKvS3_PmPPKc.exit ] %.13457 = phi ptr [ %.13456, %161 ], [ %.033, %_ZN4absl18debugging_internal18GetFileMappingHintEPPKvS3_PmPPKc.exit ] %.354 = phi ptr [ %.353, %161 ], [ %.2, %_ZN4absl18debugging_internal18GetFileMappingHintEPPKvS3_PmPPKc.exit ] - %167 = invoke fastcc noundef zeroext i1 @_ZN4absl18debugging_internal12_GLOBAL__N_110Symbolizer15RegisterObjFileEPKcPKvS6_mPv(ptr noundef %.354, ptr noundef %.13457, ptr noundef %.13259, i64 noundef %.161, ptr noundef nonnull %0) - to label %168 unwind label %164 + invoke fastcc void @_ZN4absl18debugging_internal12_GLOBAL__N_110Symbolizer15RegisterObjFileEPKcPKvS6_mPv(ptr noundef %.354, ptr noundef %.13457, ptr noundef %.13259, i64 noundef %.161, ptr noundef nonnull %0) + to label %.critedge.backedge unwind label %164 -168: ; preds = %166 - br i1 %167, label %.critedge.backedge, label %_ZN4absl18debugging_internal12_GLOBAL__N_110LineReader8ReadLineEPPKcS5_.exit.thread - -.critedge.backedge: ; preds = %168, %102, %161, %_ZN4absl18debugging_internal18GetFileMappingHintEPPKvS3_PmPPKc.exit.thread, %_ZN4absl18debugging_internalL16ShouldUseMappingEPKc.exit +168: ; preds = %166, %102, %161, %_ZN4absl18debugging_internal18GetFileMappingHintEPPKvS3_PmPPKc.exit.thread, %_ZN4absl18debugging_internalL16ShouldUseMappingEPKc.exit br label %.critedge, !llvm.loop !111 -_ZN4absl18debugging_internal12_GLOBAL__N_110LineReader8ReadLineEPPKcS5_.exit.thread: ; preds = %168, %34, %.noexc, %.noexc57, %64, %90, %.critedge2.thread - %.0 = phi i1 [ false, %64 ], [ false, %90 ], [ false, %.critedge2.thread ], [ true, %.noexc57 ], [ true, %.noexc ], [ true, %34 ], [ true, %168 ] +_ZN4absl18debugging_internal12_GLOBAL__N_110LineReader8ReadLineEPPKcS5_.exit.thread: ; preds = %34, %.noexc, %.noexc57, %64, %90, %.critedge2.thread + %.0 = phi i1 [ false, %64 ], [ false, %90 ], [ false, %.critedge2.thread ], [ true, %.noexc57 ], [ true, %.noexc ], [ true, %34 ] %169 = invoke i32 @close(i32 noundef %7) to label %_ZN4absl18debugging_internal12_GLOBAL__N_114FileDescriptorD2Ev.exit unwind label %170 @@ -3022,7 +3019,7 @@ _ZN4absl18debugging_internal12_GLOBAL__N_114FileDescriptorD2Ev.exit: ; preds = % } ; Function Attrs: mustprogress uwtable -define internal fastcc noundef zeroext i1 @_ZN4absl18debugging_internal12_GLOBAL__N_110Symbolizer15RegisterObjFileEPKcPKvS6_mPv(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef captures(none) %4) unnamed_addr #0 align 2 { +define internal fastcc void @_ZN4absl18debugging_internal12_GLOBAL__N_110Symbolizer15RegisterObjFileEPKcPKvS6_mPv(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef captures(none) %4) unnamed_addr #0 align 2 { %.val = load i64, ptr %4, align 8, !tbaa !99 %.not = icmp eq i64 %.val, 0 br i1 %.not, label %43, label %6 @@ -3167,7 +3164,7 @@ _ZN4absl18debugging_internal12_GLOBAL__N_110Symbolizer10CopyStringEPKc.exit: ; p br label %.critedge .critedge: ; preds = %13, %42, %24, %22, %_ZN4absl18debugging_internal12_GLOBAL__N_110Symbolizer10CopyStringEPKc.exit - ret i1 true + ret void } ; Function Attrs: nofree nounwind diff --git a/bench/abseil-cpp/optimized/usage.ll b/bench/abseil-cpp/optimized/usage.ll index 36233d70fd0..2c4564ba4cd 100644 --- a/bench/abseil-cpp/optimized/usage.ll +++ b/bench/abseil-cpp/optimized/usage.ll @@ -926,11 +926,12 @@ define dso_local void @_ZN4absl14flags_internal9FlagsHelpERSoSt17basic_string_vi store ptr @"_ZNSt17_Function_handlerIFbSt17basic_string_viewIcSt11char_traitsIcEEEZN4absl14flags_internal9FlagsHelpERSoS3_NS6_10HelpFormatES3_E3$_0E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation", ptr %13, align 8, !tbaa !43 %16 = getelementptr inbounds nuw i8, ptr %10, i64 16 %17 = getelementptr inbounds nuw i8, ptr %10, i64 24 - %18 = getelementptr inbounds nuw i8, ptr %10, i64 8 - store i64 0, ptr %18, align 8 - store i64 %12, ptr %10, align 8, !tbaa !38 - store ptr @"_ZNSt17_Function_handlerIFbSt17basic_string_viewIcSt11char_traitsIcEEEZN4absl14flags_internal9FlagsHelpERSoS3_NS6_10HelpFormatES3_E3$_0E9_M_invokeERKSt9_Any_dataOS3_", ptr %17, align 8, !tbaa !40 - store ptr @"_ZNSt17_Function_handlerIFbSt17basic_string_viewIcSt11char_traitsIcEEEZN4absl14flags_internal9FlagsHelpERSoS3_NS6_10HelpFormatES3_E3$_0E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation", ptr %16, align 8, !tbaa !43 + call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %10, i8 0, i64 16, i1 false) + %18 = call noundef zeroext i1 @"_ZNSt17_Function_handlerIFbSt17basic_string_viewIcSt11char_traitsIcEEEZN4absl14flags_internal9FlagsHelpERSoS3_NS6_10HelpFormatES3_E3$_0E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %9, i32 noundef 2) + %19 = load ptr, ptr %14, align 8, !tbaa !38 + store ptr %19, ptr %17, align 8, !tbaa !40 + %20 = load ptr, ptr %13, align 8, !tbaa !43 + store ptr %20, ptr %16, align 8, !tbaa !43 call void @llvm.lifetime.start.p0(ptr nonnull %7) %19 = ptrtoint ptr %10 to i64 %20 = getelementptr inbounds nuw i8, ptr %7, i64 16 @@ -941,21 +942,21 @@ define dso_local void @_ZN4absl14flags_internal9FlagsHelpERSoSt17basic_string_vi store ptr @"_ZNSt17_Function_handlerIFbRKN4absl15CommandLineFlagEEZNS0_14flags_internal12_GLOBAL__N_113FlagsHelpImplERSoSt8functionIFbSt17basic_string_viewIcSt11char_traitsIcEEEENS5_10HelpFormatESC_E3$_0E9_M_invokeERKSt9_Any_dataS3_", ptr %21, align 8, !tbaa !46 store ptr @"_ZNSt17_Function_handlerIFbRKN4absl15CommandLineFlagEEZNS0_14flags_internal12_GLOBAL__N_113FlagsHelpImplERSoSt8functionIFbSt17basic_string_viewIcSt11char_traitsIcEEEENS5_10HelpFormatESC_E3$_0E10_M_managerERSt9_Any_dataRKSI_St18_Manager_operation", ptr %20, align 8, !tbaa !43 invoke fastcc void @_ZN4absl14flags_internal12_GLOBAL__N_113FlagsHelpImplERSoSt8functionIFbRKNS_15CommandLineFlagEEENS0_10HelpFormatESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %7, i32 noundef %3, i64 %4, ptr %5) - to label %23 unwind label %30 + to label %25 unwind label %30 23: ; preds = %6 %24 = load ptr, ptr %20, align 8, !tbaa !43 %.not.i.i7 = icmp eq ptr %24, null - br i1 %.not.i.i7, label %38, label %25 - -25: ; preds = %23 - %26 = invoke noundef zeroext i1 %24(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %7, i32 noundef 3) - to label %38 unwind label %27 + br i1 %.not.i.i7, label %38, label %27 27: ; preds = %25 - %28 = landingpad { ptr, i32 } + %28 = invoke noundef zeroext i1 %26(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %7, i32 noundef 3) + to label %40 unwind label %29 + +29: ; preds = %27 + %30 = landingpad { ptr, i32 } catch ptr null - %29 = extractvalue { ptr, i32 } %28, 0 + %29 = extractvalue { ptr, i32 } %30, 0 call void @__clang_call_terminate(ptr %29) #25 unreachable @@ -967,7 +968,7 @@ define dso_local void @_ZN4absl14flags_internal9FlagsHelpERSoSt17basic_string_vi br i1 %.not.i5.i, label %.body9, label %33 33: ; preds = %30 - %34 = invoke noundef zeroext i1 %32(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %7, i32 noundef 3) + %34 = invoke noundef zeroext i1 %34(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %7, i32 noundef 3) to label %.body9 unwind label %35 35: ; preds = %33 @@ -977,30 +978,30 @@ define dso_local void @_ZN4absl14flags_internal9FlagsHelpERSoSt17basic_string_vi call void @__clang_call_terminate(ptr %37) #25 unreachable -38: ; preds = %25, %23 +38: ; preds = %27, %23 call void @llvm.lifetime.end.p0(ptr nonnull %7) %39 = load ptr, ptr %16, align 8, !tbaa !43 %.not.i = icmp eq ptr %39, null - br i1 %.not.i, label %_ZNSt14_Function_baseD2Ev.exit, label %40 - -40: ; preds = %38 - %41 = invoke noundef zeroext i1 %39(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %10, i32 noundef 3) - to label %_ZNSt14_Function_baseD2Ev.exit unwind label %42 + br i1 %.not.i, label %_ZNSt14_Function_baseD2Ev.exit, label %42 42: ; preds = %40 - %43 = landingpad { ptr, i32 } + %43 = invoke noundef zeroext i1 %41(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %10, i32 noundef 3) + to label %_ZNSt14_Function_baseD2Ev.exit unwind label %44 + +44: ; preds = %42 + %45 = landingpad { ptr, i32 } catch ptr null - %44 = extractvalue { ptr, i32 } %43, 0 + %44 = extractvalue { ptr, i32 } %45, 0 call void @__clang_call_terminate(ptr %44) #25 unreachable -_ZNSt14_Function_baseD2Ev.exit: ; preds = %38, %40 +_ZNSt14_Function_baseD2Ev.exit: ; preds = %38, %42 %45 = load ptr, ptr %13, align 8, !tbaa !43 %.not.i11 = icmp eq ptr %45, null br i1 %.not.i11, label %_ZNSt14_Function_baseD2Ev.exit12, label %46 46: ; preds = %_ZNSt14_Function_baseD2Ev.exit - %47 = invoke noundef zeroext i1 %45(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %9, i32 noundef 3) + %47 = invoke noundef zeroext i1 %47(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %9, i32 noundef 3) to label %_ZNSt14_Function_baseD2Ev.exit12 unwind label %48 48: ; preds = %46 @@ -1020,7 +1021,7 @@ _ZNSt14_Function_baseD2Ev.exit12: ; preds = %_ZNSt14_Function_ba br i1 %.not.i13, label %.body, label %52 52: ; preds = %.body9 - %53 = invoke noundef zeroext i1 %51(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %10, i32 noundef 3) + %53 = invoke noundef zeroext i1 %53(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %10, i32 noundef 3) to label %.body unwind label %54 54: ; preds = %52 @@ -1036,7 +1037,7 @@ _ZNSt14_Function_baseD2Ev.exit12: ; preds = %_ZNSt14_Function_ba br i1 %.not.i15, label %_ZNSt14_Function_baseD2Ev.exit16, label %58 58: ; preds = %.body - %59 = invoke noundef zeroext i1 %57(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %9, i32 noundef 3) + %59 = invoke noundef zeroext i1 %59(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %9, i32 noundef 3) to label %_ZNSt14_Function_baseD2Ev.exit16 unwind label %60 60: ; preds = %58 @@ -5013,7 +5014,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit13.i.i.i: ; preds } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFbRKN4absl15CommandLineFlagEEZNS0_14flags_internal12_GLOBAL__N_113FlagsHelpImplERSoSt8functionIFbSt17basic_string_viewIcSt11char_traitsIcEEEENS5_10HelpFormatESC_E3$_0E10_M_managerERSt9_Any_dataRKSI_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #13 align 2 personality ptr @__gxx_personality_v0 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFbRKN4absl15CommandLineFlagEEZNS0_14flags_internal12_GLOBAL__N_113FlagsHelpImplERSoSt8functionIFbSt17basic_string_viewIcSt11char_traitsIcEEEENS5_10HelpFormatESC_E3$_0E10_M_managerERSt9_Any_dataRKSI_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #13 align 2 personality ptr @__gxx_personality_v0 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN4absl14flags_internal12_GLOBAL__N_113FlagsHelpImplERSoSt8functionIFbSt17basic_string_viewIcSt11char_traitsIcEEEENS2_10HelpFormatES9_E3$_0E10_M_managerERSt9_Any_dataRKSF_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -5426,7 +5427,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit30.i.i.i: ; preds } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFvRN4absl15CommandLineFlagEEZNS0_14flags_internal12_GLOBAL__N_113FlagsHelpImplERSoSt8functionIFbRKS1_EENS4_10HelpFormatESt17basic_string_viewIcSt11char_traitsIcEEE3$_0E10_M_managerERSt9_Any_dataRKSJ_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #13 align 2 personality ptr @__gxx_personality_v0 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFvRN4absl15CommandLineFlagEEZNS0_14flags_internal12_GLOBAL__N_113FlagsHelpImplERSoSt8functionIFbRKS1_EENS4_10HelpFormatESt17basic_string_viewIcSt11char_traitsIcEEE3$_0E10_M_managerERSt9_Any_dataRKSJ_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #13 align 2 personality ptr @__gxx_personality_v0 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN4absl14flags_internal12_GLOBAL__N_113FlagsHelpImplERSoSt8functionIFbRKNS1_15CommandLineFlagEEENS2_10HelpFormatESt17basic_string_viewIcSt11char_traitsIcEEE3$_0E10_M_managerERSt9_Any_dataRKSI_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -7345,7 +7346,7 @@ _ZNSt11char_traitsIcE7compareEPKcS2_m.exit.i.i.i.i.i.i: ; preds = %_ZNSt11char_t } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFbSt17basic_string_viewIcSt11char_traitsIcEEEZN4absl14flags_internal9FlagsHelpERSoS3_NS6_10HelpFormatES3_E3$_0E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #13 align 2 personality ptr @__gxx_personality_v0 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFbSt17basic_string_viewIcSt11char_traitsIcEEEZN4absl14flags_internal9FlagsHelpERSoS3_NS6_10HelpFormatES3_E3$_0E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #13 align 2 personality ptr @__gxx_personality_v0 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN4absl14flags_internal9FlagsHelpERSoSt17basic_string_viewIcSt11char_traitsIcEENS2_10HelpFormatES7_E3$_0E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -7582,7 +7583,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit49.i.i.i: ; preds } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFbRKN4absl15CommandLineFlagEEZNS0_14flags_internal16HandleUsageFlagsERSoSt17basic_string_viewIcSt11char_traitsIcEEE3$_0E10_M_managerERSt9_Any_dataRKSD_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #13 align 2 personality ptr @__gxx_personality_v0 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFbRKN4absl15CommandLineFlagEEZNS0_14flags_internal16HandleUsageFlagsERSoSt17basic_string_viewIcSt11char_traitsIcEEE3$_0E10_M_managerERSt9_Any_dataRKSD_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #13 align 2 personality ptr @__gxx_personality_v0 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN4absl14flags_internal16HandleUsageFlagsERSoSt17basic_string_viewIcSt11char_traitsIcEEE3$_0E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 diff --git a/bench/bdwgc/optimized/gc.ll b/bench/bdwgc/optimized/gc.ll index da8d6443402..0a3eabdd517 100644 --- a/bench/bdwgc/optimized/gc.ll +++ b/bench/bdwgc/optimized/gc.ll @@ -3827,12 +3827,12 @@ GC_lock.exit: ; preds = %.preheader.i.i, %GC } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define noundef i32 @GC_get_version() local_unnamed_addr #10 { +define noundef range(i32 525056, 525057) i32 @GC_get_version() local_unnamed_addr #10 { ret i32 525056 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define noundef i32 @GC_get_dont_add_byte_at_end() local_unnamed_addr #10 { +define noundef range(i32 0, 1) i32 @GC_get_dont_add_byte_at_end() local_unnamed_addr #10 { ret i32 0 } @@ -5372,7 +5372,7 @@ define void @GC_gcollect_and_unmap() local_unnamed_addr #1 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @GC_never_stop_func() #10 { +define internal noundef range(i32 0, 1) i32 @GC_never_stop_func() #10 { ret i32 0 } @@ -5848,7 +5848,7 @@ define void @GC_register_describe_type_fn(i32 noundef %0, ptr noundef %1) local_ } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define noundef i64 @GC_get_debug_header_size() local_unnamed_addr #10 { +define noundef range(i64 32, 33) i64 @GC_get_debug_header_size() local_unnamed_addr #10 { ret i64 32 } @@ -12105,7 +12105,7 @@ GC_register_disclaim_proc_inner.exit: ; preds = %GC_new_kind_inner.e } ; Function Attrs: nounwind uwtable -define internal noundef i32 @GC_finalized_disclaim(ptr noundef %0) #1 { +define internal noundef range(i32 0, 1) i32 @GC_finalized_disclaim(ptr noundef %0) #1 { %2 = load atomic volatile i64, ptr %0 monotonic, align 8 %3 = and i64 %2, 1 %.not = icmp eq i64 %3, 0 @@ -15189,7 +15189,7 @@ define void @GC_set_pointer_mask(i64 noundef %0) local_unnamed_addr #1 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define noundef i64 @GC_get_pointer_mask() local_unnamed_addr #10 { +define noundef range(i64 -1, 0) i64 @GC_get_pointer_mask() local_unnamed_addr #10 { ret i64 -1 } @@ -15209,7 +15209,7 @@ define void @GC_set_pointer_shift(i32 noundef %0) local_unnamed_addr #1 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define noundef i32 @GC_get_pointer_shift() local_unnamed_addr #10 { +define noundef range(i32 0, 1) i32 @GC_get_pointer_shift() local_unnamed_addr #10 { ret i32 0 } @@ -19296,7 +19296,7 @@ define range(i32 -128, 128) i32 @GC_get_manual_vdb_allowed() local_unnamed_addr } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define noundef i32 @GC_get_supported_vdbs() local_unnamed_addr #10 { +define noundef range(i32 67, 68) i32 @GC_get_supported_vdbs() local_unnamed_addr #10 { ret i32 67 } @@ -24454,7 +24454,7 @@ define void @GC_abort_on_oom() local_unnamed_addr #6 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define noundef i64 @GC_get_hblk_size() local_unnamed_addr #10 { +define noundef range(i64 4096, 4097) i64 @GC_get_hblk_size() local_unnamed_addr #10 { ret i64 4096 } @@ -27451,7 +27451,7 @@ define internal fastcc void @GC_suspend_self_inner(ptr noundef %0, i64 noundef % } ; Function Attrs: nounwind uwtable -define noundef i32 @GC_unregister_my_thread() local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @GC_unregister_my_thread() local_unnamed_addr #1 { %1 = alloca i32, align 4 call void @llvm.lifetime.start.p0(ptr nonnull %1) %.b1 = load i1, ptr @GC_need_to_lock, align 1 diff --git a/bench/c3c/optimized/linker.ll b/bench/c3c/optimized/linker.ll index fcf8499e6e0..352cc0fb692 100644 --- a/bench/c3c/optimized/linker.ll +++ b/bench/c3c/optimized/linker.ll @@ -6985,7 +6985,7 @@ declare ptr @get_object_extension() local_unnamed_addr #1 declare ptr @strstr(ptr noundef, ptr noundef captures(none)) local_unnamed_addr #3 ; Function Attrs: nounwind uwtable -define dso_local noundef zeroext i1 @dynamic_lib_linker(ptr noundef %0, ptr noundef readonly captures(none) %1, i32 noundef %2) local_unnamed_addr #0 { +define dso_local noundef zeroext range(i1 -1, 0) i1 @dynamic_lib_linker(ptr noundef %0, ptr noundef readonly captures(none) %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = load i8, ptr @debug_log, align 1 @@ -7268,7 +7268,7 @@ define dso_local zeroext i1 @static_lib_linker(ptr noundef %0, ptr noundef %1, i declare zeroext i1 @llvm_ar(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nounwind uwtable -define dso_local noundef zeroext i1 @linker(ptr noundef %0, ptr noundef readonly captures(none) %1, i32 noundef %2) local_unnamed_addr #0 { +define dso_local noundef zeroext range(i1 -1, 0) i1 @linker(ptr noundef %0, ptr noundef readonly captures(none) %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(ptr nonnull %4) diff --git a/bench/csmith/optimized/FunctionInvocationUser.ll b/bench/csmith/optimized/FunctionInvocationUser.ll index a3858dbe264..5c17d11ed79 100644 --- a/bench/csmith/optimized/FunctionInvocationUser.ll +++ b/bench/csmith/optimized/FunctionInvocationUser.ll @@ -3078,7 +3078,7 @@ _ZNSt6vectorIbSaIbEE9push_backEb.exit.i: ; preds = %37, %_ZNSt13_Bit_it br i1 %.not5.i.i, label %_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPKPK10ExpressionSt6vectorIS4_SaIS4_EEEESt9binder2ndISt26pointer_to_binary_functionIS4_PSoiEEET0_T_SH_SG_.exit.i, label %.lr.ph.i.i .lr.ph.i.i: ; preds = %_ZNSt6vectorIbSaIbEE9push_backEb.exit.i, %_ZL27OutputActualParamExpressionPK10ExpressionPSo.exit.i - %.sroa.02.06.i.i = phi ptr [ %61, %_ZL27OutputActualParamExpressionPK10ExpressionPSo.exit.i ], [ %38, %_ZNSt6vectorIbSaIbEE9push_backEb.exit.i ] + %.sroa.02.06.i.i = phi ptr [ %61, %_ZL27OutputActualParamExpressionPK10ExpressionPSo.exit ], [ %38, %_ZNSt6vectorIbSaIbEE9push_backEb.exit.i ] %41 = load ptr, ptr %.sroa.02.06.i.i, align 8, !tbaa !114 %.sroa.0.0.copyload.i.i.i.i = load ptr, ptr getelementptr inbounds nuw (i8, ptr @_ZL9needcomma, i64 16), align 8 %.sroa.2.0.copyload.i.i.i.i = load i32, ptr getelementptr inbounds nuw (i8, ptr @_ZL9needcomma, i64 24), align 8 @@ -3109,7 +3109,7 @@ _ZNSt6vectorIbSaIbEE9push_backEb.exit.i: ; preds = %37, %_ZNSt13_Bit_it %.pre22.i.i = shl nuw i64 1, %.pre20.i.i br label %_ZL27OutputActualParamExpressionPK10ExpressionPSo.exit.i -_ZL27OutputActualParamExpressionPK10ExpressionPSo.exit.i: ; preds = %52, %.lr.ph.i.i +_ZL27OutputActualParamExpressionPK10ExpressionPSo.exit.i: ; preds = %.lr.ph.i.i, %52 %.pre-phi23.i.i = phi i64 [ %.pre22.i.i, %52 ], [ %49, %.lr.ph.i.i ] %.pre-phi19.i.i = phi i64 [ %.pre18.i.i, %52 ], [ %46, %.lr.ph.i.i ] %.pre-phi17.i.i = phi i64 [ %.pre16.i.i, %52 ], [ %44, %.lr.ph.i.i ] diff --git a/bench/delta-rs/optimized/4yzqn3zldbxccs8p.ll b/bench/delta-rs/optimized/4yzqn3zldbxccs8p.ll index fe4d38d1334..90454e53587 100644 --- a/bench/delta-rs/optimized/4yzqn3zldbxccs8p.ll +++ b/bench/delta-rs/optimized/4yzqn3zldbxccs8p.ll @@ -7945,12 +7945,12 @@ define hidden void @"_ZN22aws_smithy_runtime_api6client18runtime_components17Run } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i128 @"_ZN36_$LT$T$u20$as$u20$core..any..Any$GT$7type_id17h3d247e9bd6bcbea2E.llvm.8209374114036670355"(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define hidden noundef range(i128 152465511170937834694080767995001260209, 152465511170937834694080767995001260210) i128 @"_ZN36_$LT$T$u20$as$u20$core..any..Any$GT$7type_id17h3d247e9bd6bcbea2E.llvm.8209374114036670355"(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i128 152465511170937834694080767995001260209 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i128 @"_ZN36_$LT$T$u20$as$u20$core..any..Any$GT$7type_id17hc9fad64b366baca3E.llvm.8209374114036670355"(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define hidden noundef range(i128 -104256971114462709189997456225789174846, -104256971114462709189997456225789174845) i128 @"_ZN36_$LT$T$u20$as$u20$core..any..Any$GT$7type_id17hc9fad64b366baca3E.llvm.8209374114036670355"(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i128 -104256971114462709189997456225789174846 } @@ -21415,7 +21415,7 @@ define hidden void @_ZN4core4sync6atomic5fence17h58c21b3babc78cabE.llvm.82093741 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i128 @_ZN4core5error5Error7type_id17h518d6286acc1cf7bE(ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %0) unnamed_addr #5 { +define hidden noundef range(i128 70227752923598660269508653088855162301, 70227752923598660269508653088855162302) i128 @_ZN4core5error5Error7type_id17h518d6286acc1cf7bE(ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %0) unnamed_addr #5 { ret i128 70227752923598660269508653088855162301 } @@ -21893,7 +21893,7 @@ define internal noundef zeroext i1 @"_ZN58_$LT$alloc..string..String$u20$as$u20$ } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN58_$LT$alloc..string..String$u20$as$u20$core..fmt..Write$GT$10write_char17h0c5f3430a03d95feE"(ptr noalias noundef align 8 dereferenceable(24) %0, i32 noundef %1) unnamed_addr #0 personality ptr @rust_eh_personality { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZN58_$LT$alloc..string..String$u20$as$u20$core..fmt..Write$GT$10write_char17h0c5f3430a03d95feE"(ptr noalias noundef align 8 dereferenceable(24) %0, i32 noundef %1) unnamed_addr #0 personality ptr @rust_eh_personality { %.sroa.0.i = alloca i32, align 4 tail call void @llvm.experimental.noalias.scope.decl(metadata !4272) %3 = icmp ult i32 %1, 128 @@ -22022,7 +22022,7 @@ _ZN5alloc6string6String4push17h1a3e9179dd826612E.exit: ; preds = %"_ZN5alloc3vec } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN58_$LT$alloc..string..String$u20$as$u20$core..fmt..Write$GT$9write_str17h25913c731620d82aE"(ptr noalias noundef align 8 dereferenceable(24) %0, ptr noalias noundef nonnull readonly align 1 captures(none) %1, i64 noundef %2) unnamed_addr #0 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZN58_$LT$alloc..string..String$u20$as$u20$core..fmt..Write$GT$9write_str17h25913c731620d82aE"(ptr noalias noundef align 8 dereferenceable(24) %0, ptr noalias noundef nonnull readonly align 1 captures(none) %1, i64 noundef %2) unnamed_addr #0 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 16 %5 = load i64, ptr %4, align 8, !alias.scope !4291, !noalias !4298, !noundef !7 %6 = load i64, ptr %0, align 8, !alias.scope !4291, !noalias !4298, !noundef !7 @@ -22179,37 +22179,37 @@ define hidden void @"_ZN5alloc3vec16Vec$LT$T$C$A$GT$4push17h34ac6c16e41013caE.ll } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5alloc4sync11data_offset17h2d45538a83a5b001E(ptr noundef readnone captures(none) %0) unnamed_addr #5 { +define hidden noundef range(i64 16, 17) i64 @_ZN5alloc4sync11data_offset17h2d45538a83a5b001E(ptr noundef readnone captures(none) %0) unnamed_addr #5 { ret i64 16 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5alloc4sync11data_offset17h3e8065572bccfd07E(ptr noundef readnone captures(none) %0) unnamed_addr #5 { +define hidden noundef range(i64 16, 17) i64 @_ZN5alloc4sync11data_offset17h3e8065572bccfd07E(ptr noundef readnone captures(none) %0) unnamed_addr #5 { ret i64 16 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5alloc4sync11data_offset17h49e2cdebc7c61a1dE(ptr noundef readnone captures(none) %0) unnamed_addr #5 { +define hidden noundef range(i64 16, 17) i64 @_ZN5alloc4sync11data_offset17h49e2cdebc7c61a1dE(ptr noundef readnone captures(none) %0) unnamed_addr #5 { ret i64 16 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5alloc4sync11data_offset17hbcc570204fc07e32E(ptr noundef readnone captures(none) %0) unnamed_addr #5 { +define hidden noundef range(i64 16, 17) i64 @_ZN5alloc4sync11data_offset17hbcc570204fc07e32E(ptr noundef readnone captures(none) %0) unnamed_addr #5 { ret i64 16 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5alloc4sync11data_offset17hc16960669987c31bE(ptr noundef readnone captures(none) %0) unnamed_addr #5 { +define hidden noundef range(i64 16, 17) i64 @_ZN5alloc4sync11data_offset17hc16960669987c31bE(ptr noundef readnone captures(none) %0) unnamed_addr #5 { ret i64 16 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5alloc4sync11data_offset17hdc20acdc1fd713beE(ptr noundef readnone captures(none) %0) unnamed_addr #5 { +define hidden noundef range(i64 16, 17) i64 @_ZN5alloc4sync11data_offset17hdc20acdc1fd713beE(ptr noundef readnone captures(none) %0) unnamed_addr #5 { ret i64 16 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5alloc4sync11data_offset17hfa9a9b9d35991b15E(ptr noundef readnone captures(none) %0) unnamed_addr #5 { +define hidden noundef range(i64 16, 17) i64 @_ZN5alloc4sync11data_offset17hfa9a9b9d35991b15E(ptr noundef readnone captures(none) %0) unnamed_addr #5 { ret i64 16 } @@ -28936,29 +28936,26 @@ define hidden void @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$4poll17h3a1a9 } ; Function Attrs: nonlazybind uwtable -define hidden noundef zeroext i1 @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$4poll17h68889e7250e81c69E"(ptr noundef nonnull align 8 %0, ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %1) unnamed_addr #2 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 0, -1) i1 @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$4poll17h68889e7250e81c69E"(ptr noundef nonnull align 8 %0, ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %1) unnamed_addr #2 personality ptr @rust_eh_personality { %3 = alloca { { i64, [1 x i64] } }, align 8 %4 = alloca { i64, [3 x i64] }, align 8 %5 = getelementptr inbounds nuw i8, ptr %0, i64 8 %6 = tail call noundef zeroext i1 @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$4poll28_$u7b$$u7b$closure$u7d$$u7d$17hf39486c18d3beb61E.llvm.8209374114036670355"(ptr noundef nonnull align 8 %0, ptr noalias nonnull align 8 poison, ptr noundef nonnull %5) - br i1 %6, label %19, label %7 - -7: ; preds = %2 call void @llvm.lifetime.start.p0(ptr nonnull %4) store i64 4, ptr %4, align 8 call void @llvm.lifetime.start.p0(ptr nonnull %3), !noalias !5192 %8 = load i64, ptr %0, align 8, !noalias !5192, !noundef !7 %9 = invoke { i64, i64 } @_ZN5tokio7runtime4task4core11TaskIdGuard5enter17h37d18785748bffe5E(i64 noundef %8) - to label %10 unwind label %17, !noalias !5192 + to label %9 unwind label %17, !noalias !5192 -10: ; preds = %7 +10: ; preds = %2 %11 = extractvalue { i64, i64 } %9, 0 %12 = extractvalue { i64, i64 } %9, 1 store i64 %11, ptr %3, align 8, !noalias !5192 %13 = getelementptr inbounds nuw i8, ptr %3, i64 8 store i64 %12, ptr %13, align 8, !noalias !5192 invoke void @"_ZN4core3ptr424drop_in_place$LT$tokio..runtime..task..core..Stage$LT$tokio..runtime..blocking..task..BlockingTask$LT$tokio..runtime..scheduler..multi_thread..worker..block_in_place$LT$deltalake_aws..storage..execute_sdk_future$LT$aws_config..loader..ConfigLoader..load..$u7b$$u7b$closure$u7d$$u7d$$GT$..$u7b$$u7b$closure$u7d$$u7d$$C$aws_types..sdk_config..SdkConfig$GT$..$u7b$$u7b$closure$u7d$$u7d$..$u7b$$u7b$closure$u7d$$u7d$$GT$$GT$$GT$17h56ebc495b183418aE.llvm.8209374114036670355"(ptr noalias noundef nonnull align 8 dereferenceable(32) %5) - to label %"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$9set_stage17ha2ede29c35caf714E.exit" unwind label %.body.i, !noalias !5195 + to label %18 unwind label %.body.i, !noalias !5195 .body.i: ; preds = %10 %14 = landingpad { ptr, i32 } @@ -28974,10 +28971,10 @@ define hidden noundef zeroext i1 @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT unreachable .thread.i: ; preds = %17, %.body.i - %.pn5.i = phi { ptr, i32 } [ %18, %17 ], [ %14, %.body.i ] + %.pn5.i = phi { ptr, i32 } [ %18, %16 ], [ %14, %.body.i ] resume { ptr, i32 } %.pn5.i -17: ; preds = %7 +17: ; preds = %2 %18 = landingpad { ptr, i32 } cleanup invoke void @"_ZN4core3ptr424drop_in_place$LT$tokio..runtime..task..core..Stage$LT$tokio..runtime..blocking..task..BlockingTask$LT$tokio..runtime..scheduler..multi_thread..worker..block_in_place$LT$deltalake_aws..storage..execute_sdk_future$LT$aws_config..loader..ConfigLoader..load..$u7b$$u7b$closure$u7d$$u7d$$GT$..$u7b$$u7b$closure$u7d$$u7d$$C$aws_types..sdk_config..SdkConfig$GT$..$u7b$$u7b$closure$u7d$$u7d$..$u7b$$u7b$closure$u7d$$u7d$$GT$$GT$$GT$17h56ebc495b183418aE.llvm.8209374114036670355"(ptr noalias noundef nonnull align 8 dereferenceable(32) %4) #36 @@ -28988,10 +28985,7 @@ define hidden noundef zeroext i1 @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT call void @"_ZN81_$LT$tokio..runtime..task..core..TaskIdGuard$u20$as$u20$core..ops..drop..Drop$GT$4drop17h41c4e38ca1e60cdcE"(ptr noalias noundef nonnull align 8 dereferenceable(16) %3), !noalias !5192 call void @llvm.lifetime.end.p0(ptr nonnull %3), !noalias !5192 call void @llvm.lifetime.end.p0(ptr nonnull %4) - br label %19 - -19: ; preds = %2, %"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$9set_stage17ha2ede29c35caf714E.exit" - ret i1 %6 + ret i1 false } ; Function Attrs: inlinehint nonlazybind uwtable @@ -29101,7 +29095,7 @@ define hidden void @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$4poll28_$u7b$ } ; Function Attrs: inlinehint nonlazybind uwtable -define hidden noundef zeroext i1 @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$4poll28_$u7b$$u7b$closure$u7d$$u7d$17hf39486c18d3beb61E.llvm.8209374114036670355"(ptr noundef nonnull readonly align 8 captures(none) %0, ptr noalias readnone align 8 captures(none) %1, ptr noundef captures(none) %2) unnamed_addr #0 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 0, -1) i1 @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$4poll28_$u7b$$u7b$closure$u7d$$u7d$17hf39486c18d3beb61E.llvm.8209374114036670355"(ptr noundef nonnull readonly align 8 captures(none) %0, ptr noalias readnone align 8 captures(none) %1, ptr noundef captures(none) %2) unnamed_addr #0 personality ptr @rust_eh_personality { %4 = alloca [0 x { ptr, ptr }], align 8 %5 = alloca ptr, align 8 %6 = alloca { { i64, [1 x i64] } }, align 8 diff --git a/bench/draco/optimized/parser_utils.ll b/bench/draco/optimized/parser_utils.ll index f5acd2a6160..e1bbfa33213 100644 --- a/bench/draco/optimized/parser_utils.ll +++ b/bench/draco/optimized/parser_utils.ll @@ -517,29 +517,26 @@ _ZN5draco13DecoderBuffer4PeekIcEEbPT_.exit62: ; preds = %.lr.ph179 store i64 0, ptr %53, align 8, !tbaa !23 store i8 0, ptr %52, align 8, !tbaa !18 %54 = invoke noundef zeroext i1 @_ZN5draco6parser11ParseStringEPNS_13DecoderBufferEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull %0, ptr noundef nonnull %3) - to label %55 unwind label %56 + to label %61 unwind label %55 55: ; preds = %51 - br i1 %54, label %62, label %.critedge58 - -56: ; preds = %51 - %57 = landingpad { ptr, i32 } + %56 = landingpad { ptr, i32 } cleanup %58 = load ptr, ptr %3, align 8, !tbaa !26 %59 = icmp eq ptr %58, %52 br i1 %59, label %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit, label %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i -_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i: ; preds = %56 +_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i: ; preds = %55 %60 = load i64, ptr %52, align 8, !tbaa !18 %61 = add i64 %60, 1 call void @_ZdlPvm(ptr noundef %58, i64 noundef %61) #18 br label %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit -_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit: ; preds = %56, %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i +_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit: ; preds = %55, %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i call void @llvm.lifetime.end.p0(ptr nonnull %3) - resume { ptr, i32 } %57 + resume { ptr, i32 } %56 -62: ; preds = %55 +62: ; preds = %51 %63 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str) #19 %64 = icmp eq i32 %63, 0 br i1 %64, label %74, label %65 @@ -560,7 +557,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit: ; preds = %56, % br i1 %73, label %74, label %.critedge58 74: ; preds = %62, %65, %71, %68 - %.349 = phi double [ 0x7FF8000000000000, %68 ], [ 0x7FF8000000000000, %71 ], [ 0x7FF0000000000000, %65 ], [ 0x7FF0000000000000, %62 ] + %.349 = phi double [ 0x7FF8000000000000, %67 ], [ 0x7FF8000000000000, %70 ], [ 0x7FF0000000000000, %64 ], [ 0x7FF0000000000000, %61 ] %75 = load ptr, ptr %3, align 8, !tbaa !26 %76 = icmp eq ptr %75, %52 br i1 %76, label %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit65, label %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i63 @@ -594,7 +591,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit65: ; preds = %74, %85 = getelementptr inbounds i8, ptr %10, i64 %82 %86 = load i8, ptr %85, align 1 %switch.selectcmp4.i.not.i = icmp eq i8 %86, 45 - switch i8 %86, label %88 [ + switch i8 %86, label %87 [ i8 45, label %87 i8 43, label %87 ] @@ -605,8 +602,8 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit65: ; preds = %74, br label %88 88: ; preds = %87, %84 - %.pre-phi.i = phi i64 [ %83, %84 ], [ %.pre.i, %87 ] - %.promoted.i.i = phi i64 [ %82, %84 ], [ %83, %87 ] + %.pre-phi.i = phi i64 [ %83, %83 ], [ %.pre.i, %86 ] + %.promoted.i.i = phi i64 [ %82, %83 ], [ %83, %86 ] %.not18.i.i = icmp slt i64 %5, %.pre-phi.i br i1 %.not18.i.i, label %_ZN5draco13DecoderBuffer4PeekIcEEbPT_.exit, label %_ZN5draco13DecoderBuffer4PeekIcEEbPT_.exit.lr.ph.i.i @@ -646,14 +643,14 @@ _ZN5draco13DecoderBuffer4PeekIcEEbPT_.exit.i.i: ; preds = %.lr.ph.i br label %110 110: ; preds = %104, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit65, %.critedge8.thread - %.5 = phi double [ %109, %104 ], [ %.147135, %.critedge8.thread ], [ %.349, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit65 ] + %.5 = phi double [ %109, %103 ], [ %.147135, %.critedge8.thread ], [ %.349, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit65 ] %111 = fptrunc double %.5 to float %112 = fneg float %111 %113 = select i1 %.053, float %112, float %111 store float %113, ptr %1, align 4, !tbaa !33 br label %_ZN5draco13DecoderBuffer4PeekIcEEbPT_.exit -.critedge58: ; preds = %71, %55 +.critedge58: ; preds = %71 %114 = load ptr, ptr %3, align 8, !tbaa !26 %115 = icmp eq ptr %114, %52 br i1 %115, label %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit68, label %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i66 @@ -669,7 +666,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit68: ; preds = %.cr br label %_ZN5draco13DecoderBuffer4PeekIcEEbPT_.exit _ZN5draco13DecoderBuffer4PeekIcEEbPT_.exit: ; preds = %_ZN5draco13DecoderBuffer4PeekIcEEbPT_.exit.lr.ph.i.i, %88, %81, %2, %110, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit68 - %.0 = phi i1 [ true, %110 ], [ false, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit68 ], [ false, %2 ], [ false, %81 ], [ false, %88 ], [ false, %_ZN5draco13DecoderBuffer4PeekIcEEbPT_.exit.lr.ph.i.i ] + %.0 = phi i1 [ true, %109 ], [ false, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit68 ], [ false, %2 ], [ false, %80 ], [ false, %87 ], [ false, %_ZN5draco13DecoderBuffer4PeekIcEEbPT_.exit.lr.ph.i.i ] ret i1 %.0 } @@ -686,7 +683,7 @@ define dso_local noundef range(i32 -1, 2) i32 @_ZN5draco6parser12GetSignValueEc( declare double @llvm.fmuladd.f64(double, double, double) #11 ; Function Attrs: mustprogress uwtable -define dso_local noundef zeroext i1 @_ZN5draco6parser11ParseStringEPNS_13DecoderBufferEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef captures(none) %0, ptr noundef initializes((8, 16)) %1) local_unnamed_addr #9 personality ptr @__gxx_personality_v0 { +define dso_local noundef zeroext range(i1 -1, 0) i1 @_ZN5draco6parser11ParseStringEPNS_13DecoderBufferEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef captures(none) %0, ptr noundef initializes((8, 16)) %1) local_unnamed_addr #9 personality ptr @__gxx_personality_v0 { %3 = getelementptr inbounds nuw i8, ptr %1, i64 8 store i64 0, ptr %3, align 8, !tbaa !23 %4 = load ptr, ptr %1, align 8, !tbaa !26 diff --git a/bench/elfshaker-rs/optimized/3a1f053714hdbf2r1u9m19s6u.ll b/bench/elfshaker-rs/optimized/3a1f053714hdbf2r1u9m19s6u.ll index 6d69d480f8e..3f1db93cd26 100644 --- a/bench/elfshaker-rs/optimized/3a1f053714hdbf2r1u9m19s6u.ll +++ b/bench/elfshaker-rs/optimized/3a1f053714hdbf2r1u9m19s6u.ll @@ -793,7 +793,7 @@ define internal noundef zeroext i1 @"_ZN58_$LT$alloc..string..String$u20$as$u20$ } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN58_$LT$alloc..string..String$u20$as$u20$core..fmt..Write$GT$10write_char17hf78211a952f51adcE"(ptr noalias noundef align 8 dereferenceable(24) %0, i32 noundef range(i32 0, 1114112) %1) unnamed_addr #1 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZN58_$LT$alloc..string..String$u20$as$u20$core..fmt..Write$GT$10write_char17hf78211a952f51adcE"(ptr noalias noundef align 8 dereferenceable(24) %0, i32 noundef range(i32 0, 1114112) %1) unnamed_addr #1 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 16 %4 = load i64, ptr %3, align 8, !alias.scope !35, !noundef !5 %5 = icmp sgt i64 %4, -1 @@ -894,7 +894,7 @@ _ZN5alloc6string6String4push17ha4c5805dc4fe4e9aE.exit: ; preds = %19, %24, %32, } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN58_$LT$alloc..string..String$u20$as$u20$core..fmt..Write$GT$9write_str17h802eebc2a1c2d22fE"(ptr noalias noundef align 8 dereferenceable(24) %0, ptr noalias noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #1 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZN58_$LT$alloc..string..String$u20$as$u20$core..fmt..Write$GT$9write_str17h802eebc2a1c2d22fE"(ptr noalias noundef align 8 dereferenceable(24) %0, ptr noalias noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #1 { %4 = getelementptr inbounds nuw i8, ptr %1, i64 %2 tail call void @"_ZN132_$LT$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$alloc..vec..spec_extend..SpecExtend$LT$$RF$T$C$core..slice..iter..Iter$LT$T$GT$$GT$$GT$11spec_extend17h8b7d0c71538f587eE"(ptr noalias noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull readonly align 1 %1, ptr noundef nonnull readonly %4, ptr noalias noundef readonly align 8 dereferenceable(24) @anon.7d7fa6b3a568edea7c5b2245a49c0080.61) ret i1 false @@ -1050,7 +1050,7 @@ define void @_ZN9elfshaker4repo10repository14ExtractOptions15set_num_workers17h1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i64 @"_ZN86_$LT$elfshaker..repo..repository..ExtractOptions$u20$as$u20$core..default..Default$GT$7default17h0f267765b57c5b07E"() unnamed_addr #5 { +define noundef range(i64 4294967297, 4294967298) i64 @"_ZN86_$LT$elfshaker..repo..repository..ExtractOptions$u20$as$u20$core..default..Default$GT$7default17h0f267765b57c5b07E"() unnamed_addr #5 { ret i64 4294967297 } diff --git a/bench/folly/optimized/AsyncBase.ll b/bench/folly/optimized/AsyncBase.ll index b55f59626e6..c7241f29e3b 100644 --- a/bench/folly/optimized/AsyncBase.ll +++ b/bench/folly/optimized/AsyncBase.ll @@ -3111,14 +3111,15 @@ define void @_ZN5folly14AsyncBaseQueue6submitEPNS_11AsyncBaseOpE(ptr noundef non _ZNSt16allocator_traitsISaISt8functionIFPN5folly11AsyncBaseOpEvEEEE9constructIS5_JRKS5_EEEvRS6_PT_DpOT0_.exit.i.i: ; preds = %2 %13 = getelementptr inbounds nuw i8, ptr %9, i64 16 %14 = getelementptr inbounds nuw i8, ptr %9, i64 24 - %15 = getelementptr inbounds nuw i8, ptr %9, i64 8 - store i64 0, ptr %15, align 8 - store i64 %4, ptr %9, align 8, !tbaa !93 - store ptr @"_ZNSt17_Function_handlerIFPN5folly11AsyncBaseOpEvEZNS0_14AsyncBaseQueue6submitES2_E3$_0E9_M_invokeERKSt9_Any_data", ptr %14, align 8, !tbaa !129 - store ptr @"_ZNSt17_Function_handlerIFPN5folly11AsyncBaseOpEvEZNS0_14AsyncBaseQueue6submitES2_E3$_0E10_M_managerERSt9_Any_dataRKS7_St18_Manager_operation", ptr %13, align 8, !tbaa !125 - %16 = load ptr, ptr %8, align 8, !tbaa !115 - %17 = getelementptr inbounds nuw i8, ptr %16, i64 32 - store ptr %17, ptr %8, align 8, !tbaa !115 + tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 0, i64 32, i1 false) + %15 = call noundef zeroext i1 @"_ZNSt17_Function_handlerIFPN5folly11AsyncBaseOpEvEZNS0_14AsyncBaseQueue6submitES2_E3$_0E10_M_managerERSt9_Any_dataRKS7_St18_Manager_operation"(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef 2) + %16 = load ptr, ptr %6, align 8, !tbaa !129 + store ptr %16, ptr %14, align 8, !tbaa !129 + %17 = load ptr, ptr %5, align 8, !tbaa !125 + store ptr %17, ptr %13, align 8, !tbaa !125 + %18 = load ptr, ptr %8, align 8, !tbaa !115 + %19 = getelementptr inbounds nuw i8, ptr %18, i64 32 + store ptr %19, ptr %8, align 8, !tbaa !115 br label %_ZNSt5dequeISt8functionIFPN5folly11AsyncBaseOpEvEESaIS5_EE9push_backERKS5_.exit.i 18: ; preds = %2 @@ -3136,7 +3137,7 @@ _ZN5folly14AsyncBaseQueue6submitESt8functionIFPNS_11AsyncBaseOpEvEE.exit: ; pred br i1 %.not.i, label %_ZNSt14_Function_baseD2Ev.exit, label %21 21: ; preds = %_ZN5folly14AsyncBaseQueue6submitESt8functionIFPNS_11AsyncBaseOpEvEE.exit - %22 = invoke noundef zeroext i1 %20(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef 3) + %22 = invoke noundef zeroext i1 %22(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef 3) to label %_ZNSt14_Function_baseD2Ev.exit unwind label %23 23: ; preds = %21 @@ -3157,7 +3158,7 @@ _ZNSt14_Function_baseD2Ev.exit: ; preds = %_ZN5folly14AsyncBas br i1 %.not.i4, label %_ZNSt14_Function_baseD2Ev.exit5, label %28 28: ; preds = %.body - %29 = invoke noundef zeroext i1 %27(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef 3) + %29 = invoke noundef zeroext i1 %29(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef 3) to label %_ZNSt14_Function_baseD2Ev.exit5 unwind label %30 30: ; preds = %28 @@ -3246,7 +3247,7 @@ define internal noundef ptr @"_ZNSt17_Function_handlerIFPN5folly11AsyncBaseOpEvE } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFPN5folly11AsyncBaseOpEvEZNS0_14AsyncBaseQueue6submitES2_E3$_0E10_M_managerERSt9_Any_dataRKS7_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #23 align 2 personality ptr @__gxx_personality_v0 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFPN5folly11AsyncBaseOpEvEZNS0_14AsyncBaseQueue6submitES2_E3$_0E10_M_managerERSt9_Any_dataRKS7_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #23 align 2 personality ptr @__gxx_personality_v0 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN5folly14AsyncBaseQueue6submitEPNS1_11AsyncBaseOpEE3$_0E10_M_managerERSt9_Any_dataRKS7_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -3835,7 +3836,7 @@ define internal void @"_ZN5folly6detail8function5call_IZNS_14AsyncBaseQueue12may } ; Function Attrs: mustprogress nounwind uwtable -define internal noundef i64 @"_ZN5folly6detail8function11DispatchBig4execIZNS_14AsyncBaseQueue12maybeDequeueEvE3$_0EEmNS1_2OpEPNS1_4DataES8_"(i32 noundef %0, ptr noundef captures(none) %1, ptr noundef writeonly captures(none) %2) #2 align 2 { +define internal noundef range(i64 80, 81) i64 @"_ZN5folly6detail8function11DispatchBig4execIZNS_14AsyncBaseQueue12maybeDequeueEvE3$_0EEmNS1_2OpEPNS1_4DataES8_"(i32 noundef %0, ptr noundef captures(none) %1, ptr noundef writeonly captures(none) %2) #2 align 2 { switch i32 %0, label %15 [ i32 0, label %4 i32 1, label %6 diff --git a/bench/foundations-rs/optimized/0uhtkdzva2a9kciz5ikpsa8ze.ll b/bench/foundations-rs/optimized/0uhtkdzva2a9kciz5ikpsa8ze.ll index 5ac615ea5a7..0dd9017c79b 100644 --- a/bench/foundations-rs/optimized/0uhtkdzva2a9kciz5ikpsa8ze.ll +++ b/bench/foundations-rs/optimized/0uhtkdzva2a9kciz5ikpsa8ze.ll @@ -5448,12 +5448,12 @@ define internal noundef zeroext i1 @"_ZN42_$LT$$RF$T$u20$as$u20$core..fmt..Debug } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @"_ZN45_$LT$slog..Discard$u20$as$u20$slog..Drain$GT$10is_enabled17h3d6e927b5cce66edE"(ptr noalias nonnull readonly align 1 captures(none) %0, i8 range(i8 0, 6) %1) unnamed_addr #5 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZN45_$LT$slog..Discard$u20$as$u20$slog..Drain$GT$10is_enabled17h3d6e927b5cce66edE"(ptr noalias nonnull readonly align 1 captures(none) %0, i8 range(i8 0, 6) %1) unnamed_addr #5 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @"_ZN45_$LT$slog..Discard$u20$as$u20$slog..Drain$GT$3log17hf6303d6f06540715E"(ptr noalias nonnull readonly align 1 captures(none) %0, ptr noalias readonly align 8 captures(none) %1, ptr noalias readonly align 8 captures(none) %2) unnamed_addr #1 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZN45_$LT$slog..Discard$u20$as$u20$slog..Drain$GT$3log17hf6303d6f06540715E"(ptr noalias nonnull readonly align 1 captures(none) %0, ptr noalias readonly align 8 captures(none) %1, ptr noalias readonly align 8 captures(none) %2) unnamed_addr #1 { ret i1 false } @@ -7423,227 +7423,227 @@ _ZN5alloc5alloc15exchange_malloc17h9bf821feab712ccbE.exit.i: ; preds = %"_ZN5all } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain10is_enabled17h281d56358ebea944E(ptr noalias readonly align 8 captures(none) %0, i8 range(i8 0, 6) %1) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain10is_enabled17h281d56358ebea944E(ptr noalias readonly align 8 captures(none) %0, i8 range(i8 0, 6) %1) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain10is_enabled17hb45d6a0b67c65283E(ptr nonnull readnone align 8 captures(none) %0, i8 range(i8 0, 6) %1) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain10is_enabled17hb45d6a0b67c65283E(ptr nonnull readnone align 8 captures(none) %0, i8 range(i8 0, 6) %1) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain10is_enabled17hfffb0c996b34b1acE(ptr nonnull readnone align 8 captures(none) %0, i8 range(i8 0, 6) %1) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain10is_enabled17hfffb0c996b34b1acE(ptr nonnull readnone align 8 captures(none) %0, i8 range(i8 0, 6) %1) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain15is_info_enabled17h1389085d08b234f2E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain15is_info_enabled17h1389085d08b234f2E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain15is_info_enabled17h5bbeb8fae8b71e73E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain15is_info_enabled17h5bbeb8fae8b71e73E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain15is_info_enabled17h62dd5328655dcb78E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN4slog5Drain15is_info_enabled17h62dd5328655dcb78E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i1 false } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain15is_info_enabled17hc718058dc2dd240aE(ptr noalias nonnull readonly align 1 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN4slog5Drain15is_info_enabled17hc718058dc2dd240aE(ptr noalias nonnull readonly align 1 captures(none) %0) unnamed_addr #5 { ret i1 false } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain15is_info_enabled17hd214b5db16f319daE(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain15is_info_enabled17hd214b5db16f319daE(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain15is_info_enabled17hfbd1a7f0451012e0E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain15is_info_enabled17hfbd1a7f0451012e0E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain15is_info_enabled17hfe8378e428748ee5E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain15is_info_enabled17hfe8378e428748ee5E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_debug_enabled17h07bc5ba4df407492E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain16is_debug_enabled17h07bc5ba4df407492E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_debug_enabled17h3d43c4d7102b8bbeE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain16is_debug_enabled17h3d43c4d7102b8bbeE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_debug_enabled17h543562c919eca1dfE(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain16is_debug_enabled17h543562c919eca1dfE(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_debug_enabled17h5b285343bad16eb8E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN4slog5Drain16is_debug_enabled17h5b285343bad16eb8E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i1 false } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_debug_enabled17h9a4a585859393eb3E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain16is_debug_enabled17h9a4a585859393eb3E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_debug_enabled17hc9aeadf8ed9fdfdbE(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain16is_debug_enabled17hc9aeadf8ed9fdfdbE(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_debug_enabled17he6ad4b7f3d34d7bcE(ptr noalias nonnull readonly align 1 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN4slog5Drain16is_debug_enabled17he6ad4b7f3d34d7bcE(ptr noalias nonnull readonly align 1 captures(none) %0) unnamed_addr #5 { ret i1 false } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_error_enabled17h6ebe7fa1e1f8a09bE(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain16is_error_enabled17h6ebe7fa1e1f8a09bE(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_error_enabled17h71b7a33032e98042E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain16is_error_enabled17h71b7a33032e98042E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_error_enabled17h7ac06f29278191b2E(ptr noalias nonnull readonly align 1 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN4slog5Drain16is_error_enabled17h7ac06f29278191b2E(ptr noalias nonnull readonly align 1 captures(none) %0) unnamed_addr #5 { ret i1 false } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_error_enabled17h98fce1894a5c2107E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain16is_error_enabled17h98fce1894a5c2107E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_error_enabled17ha08bc38e57001c76E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain16is_error_enabled17ha08bc38e57001c76E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_error_enabled17ha956e71ae5d3bb4fE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN4slog5Drain16is_error_enabled17ha956e71ae5d3bb4fE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i1 false } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_error_enabled17hc67e07b0b2481911E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain16is_error_enabled17hc67e07b0b2481911E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_trace_enabled17h11c8eada3017db32E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain16is_trace_enabled17h11c8eada3017db32E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_trace_enabled17h48d885e5e43eea06E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain16is_trace_enabled17h48d885e5e43eea06E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_trace_enabled17h643b067416eb35bcE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain16is_trace_enabled17h643b067416eb35bcE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_trace_enabled17h733db7426c9ed5ecE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain16is_trace_enabled17h733db7426c9ed5ecE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_trace_enabled17h98602f8b5eaeba88E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain16is_trace_enabled17h98602f8b5eaeba88E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_trace_enabled17hb8f61e1b3cd91513E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN4slog5Drain16is_trace_enabled17hb8f61e1b3cd91513E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i1 false } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain16is_trace_enabled17hbaa42905d2c54adeE(ptr noalias nonnull readonly align 1 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN4slog5Drain16is_trace_enabled17hbaa42905d2c54adeE(ptr noalias nonnull readonly align 1 captures(none) %0) unnamed_addr #5 { ret i1 false } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain18is_warning_enabled17h23aab5a1d4d70dd9E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain18is_warning_enabled17h23aab5a1d4d70dd9E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain18is_warning_enabled17h2966e1e9eacc90b3E(ptr noalias nonnull readonly align 1 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN4slog5Drain18is_warning_enabled17h2966e1e9eacc90b3E(ptr noalias nonnull readonly align 1 captures(none) %0) unnamed_addr #5 { ret i1 false } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain18is_warning_enabled17h55bc589cd7b6ed4aE(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain18is_warning_enabled17h55bc589cd7b6ed4aE(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain18is_warning_enabled17h90ff477de6865163E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain18is_warning_enabled17h90ff477de6865163E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain18is_warning_enabled17ha158adacea30926aE(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain18is_warning_enabled17ha158adacea30926aE(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain18is_warning_enabled17haaeef6d0c3df2080E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain18is_warning_enabled17haaeef6d0c3df2080E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain18is_warning_enabled17hd9d60ccb0ad7c560E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN4slog5Drain18is_warning_enabled17hd9d60ccb0ad7c560E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i1 false } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain19is_critical_enabled17h05c8c7bf14b4d68aE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN4slog5Drain19is_critical_enabled17h05c8c7bf14b4d68aE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i1 false } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain19is_critical_enabled17h0d72c52143d757c7E(ptr noalias nonnull readonly align 1 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN4slog5Drain19is_critical_enabled17h0d72c52143d757c7E(ptr noalias nonnull readonly align 1 captures(none) %0) unnamed_addr #5 { ret i1 false } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain19is_critical_enabled17h2ed38fdfd21504dcE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain19is_critical_enabled17h2ed38fdfd21504dcE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain19is_critical_enabled17h79caf391378f54e4E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain19is_critical_enabled17h79caf391378f54e4E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain19is_critical_enabled17h8325f43fae64e2fdE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain19is_critical_enabled17h8325f43fae64e2fdE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain19is_critical_enabled17hb3dfd2d7a91ffa00E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain19is_critical_enabled17hb3dfd2d7a91ffa00E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN4slog5Drain19is_critical_enabled17hd1ec31ed1a3d63d6E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZN4slog5Drain19is_critical_enabled17hd1ec31ed1a3d63d6E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } @@ -7808,12 +7808,12 @@ define hidden void @"_ZN50_$LT$T$u20$as$u20$erased_serde..ser..Serialize$GT$16er } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @"_ZN51_$LT$slog..Fuse$LT$D$GT$$u20$as$u20$slog..Drain$GT$10is_enabled17hf5bb6905917aecf1E"(ptr nonnull readnone align 8 captures(none) %0, i8 range(i8 0, 6) %1) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN51_$LT$slog..Fuse$LT$D$GT$$u20$as$u20$slog..Drain$GT$10is_enabled17hf5bb6905917aecf1E"(ptr nonnull readnone align 8 captures(none) %0, i8 range(i8 0, 6) %1) unnamed_addr #5 { ret i1 true } ; Function Attrs: nonlazybind uwtable -define hidden noundef zeroext i1 @"_ZN51_$LT$slog..Fuse$LT$D$GT$$u20$as$u20$slog..Drain$GT$3log17h00c4b209a6d52742E"(ptr noundef nonnull align 8 %0, ptr noalias noundef readonly align 8 dereferenceable(32) %1, ptr noalias noundef readonly align 8 dereferenceable(16) %2) unnamed_addr #0 { +define hidden noundef zeroext range(i1 0, -1) i1 @"_ZN51_$LT$slog..Fuse$LT$D$GT$$u20$as$u20$slog..Drain$GT$3log17h00c4b209a6d52742E"(ptr noundef nonnull align 8 %0, ptr noalias noundef readonly align 8 dereferenceable(32) %1, ptr noalias noundef readonly align 8 dereferenceable(16) %2) unnamed_addr #0 { %4 = tail call noundef ptr @"_ZN62_$LT$slog_term..FullFormat$LT$D$GT$$u20$as$u20$slog..Drain$GT$3log17hf8c2725ccf971544E"(ptr noundef nonnull align 8 %0, ptr noalias noundef nonnull readonly align 8 dereferenceable(32) %1, ptr noalias noundef nonnull readonly align 8 dereferenceable(16) %2) %.not = icmp eq ptr %4, null br i1 %.not, label %6, label %5 @@ -7827,7 +7827,7 @@ define hidden noundef zeroext i1 @"_ZN51_$LT$slog..Fuse$LT$D$GT$$u20$as$u20$slog } ; Function Attrs: nonlazybind uwtable -define hidden noundef zeroext i1 @"_ZN51_$LT$slog..Fuse$LT$D$GT$$u20$as$u20$slog..Drain$GT$3log17h0f806f86562e06a7E"(ptr noundef nonnull align 8 %0, ptr noalias noundef readonly align 8 dereferenceable(32) %1, ptr noalias noundef readonly align 8 dereferenceable(16) %2) unnamed_addr #0 { +define hidden noundef zeroext range(i1 0, -1) i1 @"_ZN51_$LT$slog..Fuse$LT$D$GT$$u20$as$u20$slog..Drain$GT$3log17h0f806f86562e06a7E"(ptr noundef nonnull align 8 %0, ptr noalias noundef readonly align 8 dereferenceable(32) %1, ptr noalias noundef readonly align 8 dereferenceable(16) %2) unnamed_addr #0 { %4 = tail call noundef ptr @"_ZN56_$LT$slog_json..Json$LT$W$GT$$u20$as$u20$slog..Drain$GT$3log17h6bd8eb75011e7385E"(ptr noundef nonnull align 8 %0, ptr noalias noundef nonnull readonly align 8 dereferenceable(32) %1, ptr noalias noundef nonnull readonly align 8 dereferenceable(16) %2) %.not = icmp eq ptr %4, null br i1 %.not, label %6, label %5 @@ -7841,7 +7841,7 @@ define hidden noundef zeroext i1 @"_ZN51_$LT$slog..Fuse$LT$D$GT$$u20$as$u20$slog } ; Function Attrs: nonlazybind uwtable -define hidden noundef zeroext i1 @"_ZN51_$LT$slog..Fuse$LT$D$GT$$u20$as$u20$slog..Drain$GT$3log17h7df701557b716effE"(ptr noundef nonnull align 8 %0, ptr noalias noundef readonly align 8 dereferenceable(32) %1, ptr noalias noundef readonly align 8 dereferenceable(16) %2) unnamed_addr #0 { +define hidden noundef zeroext range(i1 0, -1) i1 @"_ZN51_$LT$slog..Fuse$LT$D$GT$$u20$as$u20$slog..Drain$GT$3log17h7df701557b716effE"(ptr noundef nonnull align 8 %0, ptr noalias noundef readonly align 8 dereferenceable(32) %1, ptr noalias noundef readonly align 8 dereferenceable(16) %2) unnamed_addr #0 { %4 = tail call noundef ptr @"_ZN62_$LT$slog_term..FullFormat$LT$D$GT$$u20$as$u20$slog..Drain$GT$3log17h3c7b1d07b6d0ff86E"(ptr noundef nonnull align 8 %0, ptr noalias noundef nonnull readonly align 8 dereferenceable(32) %1, ptr noalias noundef nonnull readonly align 8 dereferenceable(16) %2) %.not = icmp eq ptr %4, null br i1 %.not, label %6, label %5 @@ -7855,7 +7855,7 @@ define hidden noundef zeroext i1 @"_ZN51_$LT$slog..Fuse$LT$D$GT$$u20$as$u20$slog } ; Function Attrs: nonlazybind uwtable -define hidden noundef zeroext i1 @"_ZN51_$LT$slog..Fuse$LT$D$GT$$u20$as$u20$slog..Drain$GT$3log17hb2547dafea2b7941E"(ptr noundef nonnull align 8 %0, ptr noalias noundef readonly align 8 dereferenceable(32) %1, ptr noalias noundef readonly align 8 dereferenceable(16) %2) unnamed_addr #0 { +define hidden noundef zeroext range(i1 0, -1) i1 @"_ZN51_$LT$slog..Fuse$LT$D$GT$$u20$as$u20$slog..Drain$GT$3log17hb2547dafea2b7941E"(ptr noundef nonnull align 8 %0, ptr noalias noundef readonly align 8 dereferenceable(32) %1, ptr noalias noundef readonly align 8 dereferenceable(16) %2) unnamed_addr #0 { %4 = tail call noundef ptr @"_ZN56_$LT$slog_json..Json$LT$W$GT$$u20$as$u20$slog..Drain$GT$3log17h9300e0a8b43f1619E"(ptr noundef nonnull align 8 %0, ptr noalias noundef nonnull readonly align 8 dereferenceable(32) %1, ptr noalias noundef nonnull readonly align 8 dereferenceable(16) %2) %.not = icmp eq ptr %4, null br i1 %.not, label %6, label %5 @@ -7869,7 +7869,7 @@ define hidden noundef zeroext i1 @"_ZN51_$LT$slog..Fuse$LT$D$GT$$u20$as$u20$slog } ; Function Attrs: nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN51_$LT$slog..Fuse$LT$D$GT$$u20$as$u20$slog..Drain$GT$3log17hd60354cc3e944bb3E"(ptr noundef nonnull align 8 %0, ptr noalias noundef readonly align 8 dereferenceable(32) %1, ptr noalias noundef readonly align 8 dereferenceable(16) %2) unnamed_addr #0 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZN51_$LT$slog..Fuse$LT$D$GT$$u20$as$u20$slog..Drain$GT$3log17hd60354cc3e944bb3E"(ptr noundef nonnull align 8 %0, ptr noalias noundef readonly align 8 dereferenceable(32) %1, ptr noalias noundef readonly align 8 dereferenceable(16) %2) unnamed_addr #0 { %4 = alloca [24 x i8], align 8 call void @llvm.lifetime.start.p0(ptr nonnull %4) call void @"_ZN49_$LT$slog_async..Async$u20$as$u20$slog..Drain$GT$3log17h21fb7305439a51c9E"(ptr noalias noundef nonnull sret([24 x i8]) align 8 captures(none) dereferenceable(24) %4, ptr noundef nonnull align 8 %0, ptr noalias noundef nonnull readonly align 8 dereferenceable(32) %1, ptr noalias noundef nonnull readonly align 8 dereferenceable(16) %2) @@ -8144,12 +8144,12 @@ define internal fastcc void @"_ZN51_$LT$slog..Fuse$LT$D$GT$$u20$as$u20$slog..Dra } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @"_ZN57_$LT$alloc..sync..Arc$LT$D$GT$$u20$as$u20$slog..Drain$GT$10is_enabled17h5848d5ed79f6b566E"(ptr noalias readonly align 8 captures(none) %0, i8 range(i8 0, 6) %1) unnamed_addr #5 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZN57_$LT$alloc..sync..Arc$LT$D$GT$$u20$as$u20$slog..Drain$GT$10is_enabled17h5848d5ed79f6b566E"(ptr noalias readonly align 8 captures(none) %0, i8 range(i8 0, 6) %1) unnamed_addr #5 { ret i1 false } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @"_ZN57_$LT$alloc..sync..Arc$LT$D$GT$$u20$as$u20$slog..Drain$GT$10is_enabled17h72aedfdf12917577E"(ptr noalias readonly align 8 captures(none) %0, i8 range(i8 0, 6) %1) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN57_$LT$alloc..sync..Arc$LT$D$GT$$u20$as$u20$slog..Drain$GT$10is_enabled17h72aedfdf12917577E"(ptr noalias readonly align 8 captures(none) %0, i8 range(i8 0, 6) %1) unnamed_addr #5 { ret i1 true } @@ -8179,7 +8179,7 @@ define hidden noundef zeroext i1 @"_ZN57_$LT$alloc..sync..Arc$LT$D$GT$$u20$as$u2 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @"_ZN57_$LT$alloc..sync..Arc$LT$D$GT$$u20$as$u20$slog..Drain$GT$3log17hc76c9a8b10ce10ceE"(ptr noalias readonly align 8 captures(none) %0, ptr noalias readonly align 8 captures(none) %1, ptr noalias readonly align 8 captures(none) %2) unnamed_addr #1 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZN57_$LT$alloc..sync..Arc$LT$D$GT$$u20$as$u20$slog..Drain$GT$3log17hc76c9a8b10ce10ceE"(ptr noalias readonly align 8 captures(none) %0, ptr noalias readonly align 8 captures(none) %1, ptr noalias readonly align 8 captures(none) %2) unnamed_addr #1 { ret i1 false } @@ -8969,7 +8969,7 @@ define internal noundef zeroext i1 @"_ZN59_$LT$slog_async..AsyncError$u20$as$u20 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5alloc4sync11data_offset17h5277ecceddaf0e55E(ptr noundef readnone captures(none) %0) unnamed_addr #1 { +define hidden noundef range(i64 16, 17) i64 @_ZN5alloc4sync11data_offset17h5277ecceddaf0e55E(ptr noundef readnone captures(none) %0) unnamed_addr #1 { ret i64 16 } @@ -11730,7 +11730,7 @@ define hidden void @_ZN5prost8encoding6uint326encode17hd0c85e73106bc75aE(i32 nou } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN5tokio2io11async_write10AsyncWrite17is_write_vectored17h76245174aa589b2eE(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #1 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN5tokio2io11async_write10AsyncWrite17is_write_vectored17h76245174aa589b2eE(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #1 { ret i1 false } @@ -15067,7 +15067,7 @@ define internal { i64, ptr } @"_ZN89_$LT$tokio..net..tcp..stream..TcpStream$u20$ } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @"_ZN89_$LT$tokio..net..tcp..stream..TcpStream$u20$as$u20$tokio..io..async_write..AsyncWrite$GT$17is_write_vectored17hb426757b6e14bb61E"(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #1 { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN89_$LT$tokio..net..tcp..stream..TcpStream$u20$as$u20$tokio..io..async_write..AsyncWrite$GT$17is_write_vectored17hb426757b6e14bb61E"(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #1 { ret i1 true } @@ -17561,7 +17561,7 @@ define hidden { i64, ptr } @"_ZN97_$LT$hyper..common..io..rewind..Rewind$LT$T$GT } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @"_ZN97_$LT$hyper..common..io..rewind..Rewind$LT$T$GT$$u20$as$u20$tokio..io..async_write..AsyncWrite$GT$17is_write_vectored17h4ed76fa2700392dfE"(ptr noundef nonnull readnone align 8 captures(none) %0) unnamed_addr #1 { +define hidden noundef zeroext range(i1 -1, 0) i1 @"_ZN97_$LT$hyper..common..io..rewind..Rewind$LT$T$GT$$u20$as$u20$tokio..io..async_write..AsyncWrite$GT$17is_write_vectored17h4ed76fa2700392dfE"(ptr noundef nonnull readnone align 8 captures(none) %0) unnamed_addr #1 { ret i1 true } @@ -17589,7 +17589,7 @@ define internal { i64, ptr } @"_ZN98_$LT$hyper..server..tcp..addr_stream..AddrSt } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @"_ZN98_$LT$hyper..server..tcp..addr_stream..AddrStream$u20$as$u20$tokio..io..async_write..AsyncWrite$GT$17is_write_vectored17hd1843cf77610e7e4E"(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN98_$LT$hyper..server..tcp..addr_stream..AddrStream$u20$as$u20$tokio..io..async_write..AsyncWrite$GT$17is_write_vectored17hd1843cf77610e7e4E"(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #5 { ret i1 true } @@ -17792,7 +17792,7 @@ common.resume: ; preds = %39, %47 } ; Function Attrs: nonlazybind uwtable -define noundef zeroext i1 @"_ZN82_$LT$foundations..telemetry..log..testing..TestLogDrain$u20$as$u20$slog..Drain$GT$3log17h9704b5f8ac44202eE"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %0, ptr noalias noundef readonly align 8 dereferenceable(32) %1, ptr noalias noundef readonly align 8 dereferenceable(16) %2) unnamed_addr #0 personality ptr @rust_eh_personality { +define noundef zeroext range(i1 0, -1) i1 @"_ZN82_$LT$foundations..telemetry..log..testing..TestLogDrain$u20$as$u20$slog..Drain$GT$3log17h9704b5f8ac44202eE"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %0, ptr noalias noundef readonly align 8 dereferenceable(32) %1, ptr noalias noundef readonly align 8 dereferenceable(16) %2) unnamed_addr #0 personality ptr @rust_eh_personality { %4 = alloca [48 x i8], align 8 %5 = alloca [16 x i8], align 8 %6 = alloca [16 x i8], align 8 diff --git a/bench/foundations-rs/optimized/erkslivvuaq2p4ulgpbnuovit.ll b/bench/foundations-rs/optimized/erkslivvuaq2p4ulgpbnuovit.ll index 4c9a79ce36a..cb1703b1653 100644 --- a/bench/foundations-rs/optimized/erkslivvuaq2p4ulgpbnuovit.ll +++ b/bench/foundations-rs/optimized/erkslivvuaq2p4ulgpbnuovit.ll @@ -853,7 +853,7 @@ define hidden noundef zeroext i1 @"_ZN44_$LT$$RF$T$u20$as$u20$core..fmt..Display } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h0153314746dff0c0E"(ptr noundef readonly captures(none) %0) unnamed_addr #1 personality ptr @rust_eh_personality { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h0153314746dff0c0E"(ptr noundef readonly captures(none) %0) unnamed_addr #1 personality ptr @rust_eh_personality { %.sroa.6.i.i = alloca [1060 x i8], align 4 %.val = load ptr, ptr %0, align 8, !alias.scope !58, !nonnull !3, !align !4, !noundef !3 %2 = getelementptr i8, ptr %0, i64 8 @@ -1034,7 +1034,7 @@ _ZN4core3ops8function6FnOnce9call_once17h428d91cb7040a265E.exit: ; preds = %16, } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h2e05fd7a610e700aE"(ptr noundef readonly captures(none) %0) unnamed_addr #1 personality ptr @rust_eh_personality { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h2e05fd7a610e700aE"(ptr noundef readonly captures(none) %0) unnamed_addr #1 personality ptr @rust_eh_personality { %2 = alloca [48 x i8], align 8 %.val = load ptr, ptr %0, align 8, !alias.scope !105, !nonnull !3, !align !4, !noundef !3 %3 = getelementptr i8, ptr %0, i64 8 @@ -1161,7 +1161,7 @@ _ZN4core3ops8function6FnOnce9call_once17h8055baa43ce1d531E.exit: ; preds = %3 } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h3ac0b5e5186e53dbE"(ptr noundef readonly captures(none) %0) unnamed_addr #1 personality ptr @rust_eh_personality { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h3ac0b5e5186e53dbE"(ptr noundef readonly captures(none) %0) unnamed_addr #1 personality ptr @rust_eh_personality { %.sroa.5.i.i = alloca [592 x i8], align 8 %.val = load ptr, ptr %0, align 8, !alias.scope !123, !nonnull !3, !align !4, !noundef !3 %2 = getelementptr i8, ptr %0, i64 8 @@ -1266,13 +1266,13 @@ _ZN4core3ops8function6FnOnce9call_once17h8a1f15f411d8300cE.exit: ; preds = %3 } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h5aaaabd3c4109ff1E"(ptr noundef nonnull readonly captures(none) %0) unnamed_addr #1 personality ptr @rust_eh_personality { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h5aaaabd3c4109ff1E"(ptr noundef nonnull readonly captures(none) %0) unnamed_addr #1 personality ptr @rust_eh_personality { %2 = tail call noundef zeroext i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17hbcad174b5770f9cdE"(ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %0) ret i1 true } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h6b28b81b19005eebE"(ptr noundef readonly captures(none) %0) unnamed_addr #1 personality ptr @rust_eh_personality { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h6b28b81b19005eebE"(ptr noundef readonly captures(none) %0) unnamed_addr #1 personality ptr @rust_eh_personality { %.sroa.5.i.i = alloca [56 x i8], align 8 %.val = load ptr, ptr %0, align 8, !alias.scope !149, !nonnull !3, !align !4, !noundef !3 %2 = getelementptr i8, ptr %0, i64 8 @@ -1316,7 +1316,7 @@ _ZN4core3ops8function6FnOnce9call_once17h336bb328b8112237E.exit: ; preds = %1, % } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h7dce324893176185E"(ptr noundef readonly captures(none) %0) unnamed_addr #1 personality ptr @rust_eh_personality { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h7dce324893176185E"(ptr noundef readonly captures(none) %0) unnamed_addr #1 personality ptr @rust_eh_personality { %2 = alloca [48 x i8], align 8 %3 = alloca [600 x i8], align 8 %.val = load ptr, ptr %0, align 8, !alias.scope !166, !nonnull !3, !align !4, !noundef !3 @@ -1453,7 +1453,7 @@ _ZN4core3ops8function6FnOnce9call_once17hd3ab4172ac6a8b50E.exit: ; preds = %16, } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h95c98d2870ce8bb4E"(ptr noundef readonly captures(none) %0) unnamed_addr #1 personality ptr @rust_eh_personality { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h95c98d2870ce8bb4E"(ptr noundef readonly captures(none) %0) unnamed_addr #1 personality ptr @rust_eh_personality { %2 = alloca [48 x i8], align 8 %3 = alloca [24 x i8], align 8 %.val = load ptr, ptr %0, align 8, !alias.scope !199, !nonnull !3, !align !4, !noundef !3 @@ -1514,7 +1514,7 @@ _ZN4core3ops8function6FnOnce9call_once17h9ea26da382f9b0cbE.exit: ; preds = %"_ZN } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17hb560923127cfab92E"(ptr noundef readonly captures(none) %0) unnamed_addr #1 personality ptr @rust_eh_personality { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17hb560923127cfab92E"(ptr noundef readonly captures(none) %0) unnamed_addr #1 personality ptr @rust_eh_personality { %2 = alloca [48 x i8], align 8 %3 = alloca [1072 x i8], align 8 %.val = load ptr, ptr %0, align 8, !alias.scope !213, !nonnull !3, !align !4, !noundef !3 @@ -1641,7 +1641,7 @@ _ZN4core3ops8function6FnOnce9call_once17h6a822ed737b90101E.exit: ; preds = %3 } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17hedb835b9f8f91801E"(ptr noundef nonnull readonly captures(none) %0) unnamed_addr #1 personality ptr @rust_eh_personality { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17hedb835b9f8f91801E"(ptr noundef nonnull readonly captures(none) %0) unnamed_addr #1 personality ptr @rust_eh_personality { %2 = tail call noundef zeroext i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17h079c5f890fb8ebf0E"(ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %0) ret i1 true } @@ -4859,7 +4859,7 @@ define internal void @_ZN5bytes5bytes12static_clone17hfa2d02649d14f034E(ptr dead } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN5bytes5bytes16static_is_unique17h27d008ef1a4213e1E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #2 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN5bytes5bytes16static_is_unique17h27d008ef1a4213e1E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #2 { ret i1 false } @@ -13549,7 +13549,7 @@ define hidden void @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize17hec5e27e2 } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17h032b0c082faa3c1eE"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #1 personality ptr @rust_eh_personality { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17h032b0c082faa3c1eE"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #1 personality ptr @rust_eh_personality { %2 = alloca [48 x i8], align 8 %3 = alloca [1072 x i8], align 8 %4 = load ptr, ptr %0, align 8, !nonnull !3, !align !4, !noundef !3 @@ -13609,7 +13609,7 @@ define internal noundef zeroext i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initi } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17h04e3c6ae8f03bc44E"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #1 personality ptr @rust_eh_personality { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17h04e3c6ae8f03bc44E"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #1 personality ptr @rust_eh_personality { %.sroa.5 = alloca [56 x i8], align 8 %2 = load ptr, ptr %0, align 8, !nonnull !3, !align !4, !noundef !3 %3 = load ptr, ptr %2, align 8, !nonnull !3, !align !4, !noundef !3 @@ -13653,7 +13653,7 @@ define internal noundef zeroext i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initi } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17h079c5f890fb8ebf0E"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #1 personality ptr @rust_eh_personality { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17h079c5f890fb8ebf0E"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #1 personality ptr @rust_eh_personality { %2 = alloca [104 x i8], align 8 %3 = alloca [104 x i8], align 8 %4 = alloca [64 x i8], align 8 @@ -13812,7 +13812,7 @@ common.resume: ; preds = %15, %38 } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17h0d4781af50ba2a00E"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #1 personality ptr @rust_eh_personality { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17h0d4781af50ba2a00E"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #1 personality ptr @rust_eh_personality { %.sroa.6 = alloca [1060 x i8], align 4 %2 = load ptr, ptr %0, align 8, !nonnull !3, !align !4, !noundef !3 %3 = load ptr, ptr %2, align 8, !nonnull !3, !align !4, !noundef !3 @@ -13865,7 +13865,7 @@ define internal noundef zeroext i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initi } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17h7825a1859ba68fb1E"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #1 personality ptr @rust_eh_personality { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17h7825a1859ba68fb1E"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #1 personality ptr @rust_eh_personality { %2 = alloca [48 x i8], align 8 %3 = alloca [600 x i8], align 8 %4 = load ptr, ptr %0, align 8, !nonnull !3, !align !4, !noundef !3 @@ -13924,7 +13924,7 @@ define internal noundef zeroext i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initi } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17ha00bdc8850a310e4E"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #1 personality ptr @rust_eh_personality { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17ha00bdc8850a310e4E"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #1 personality ptr @rust_eh_personality { %2 = alloca [48 x i8], align 8 %3 = load ptr, ptr %0, align 8, !nonnull !3, !align !4, !noundef !3 %4 = load ptr, ptr %3, align 8, !nonnull !3, !align !4, !noundef !3 @@ -14040,7 +14040,7 @@ define internal noundef zeroext i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initi } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17hbcad174b5770f9cdE"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #1 personality ptr @rust_eh_personality { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17hbcad174b5770f9cdE"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #1 personality ptr @rust_eh_personality { %2 = alloca [104 x i8], align 8 %3 = alloca [104 x i8], align 8 %.sroa.4.i = alloca [144 x i8], align 8 @@ -14158,7 +14158,7 @@ common.resume: ; preds = %5, %22 } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17hc7c78dbe7ddadcd0E"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #1 personality ptr @rust_eh_personality { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17hc7c78dbe7ddadcd0E"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #1 personality ptr @rust_eh_personality { %.sroa.5 = alloca [592 x i8], align 8 %2 = load ptr, ptr %0, align 8, !nonnull !3, !align !4, !noundef !3 %3 = load ptr, ptr %2, align 8, !nonnull !3, !align !4, !noundef !3 @@ -14204,7 +14204,7 @@ define internal noundef zeroext i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initi } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17he70b81fb78b7fa66E"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #1 personality ptr @rust_eh_personality { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZN9once_cell3imp17OnceCell$LT$T$GT$10initialize28_$u7b$$u7b$closure$u7d$$u7d$17he70b81fb78b7fa66E"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #1 personality ptr @rust_eh_personality { %2 = alloca [48 x i8], align 8 %3 = alloca [24 x i8], align 8 %4 = load ptr, ptr %0, align 8, !nonnull !3, !align !4, !noundef !3 @@ -17097,7 +17097,7 @@ define internal fastcc void @_ZN11foundations9telemetry6server8RouteMap3set17hb7 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef zeroext i1 @"_ZN136_$LT$foundations..telemetry..server..Router$u20$as$u20$tower_service..Service$LT$$RF$hyper..server..tcp..addr_stream..AddrStream$GT$$GT$10poll_ready17h269b95ab78a82a6dE"(ptr noalias noundef readnone align 8 captures(none) dereferenceable(16) %0, ptr noalias noundef readnone align 8 captures(none) dereferenceable(32) %1) unnamed_addr #2 { +define noundef zeroext range(i1 0, -1) i1 @"_ZN136_$LT$foundations..telemetry..server..Router$u20$as$u20$tower_service..Service$LT$$RF$hyper..server..tcp..addr_stream..AddrStream$GT$$GT$10poll_ready17h269b95ab78a82a6dE"(ptr noalias noundef readnone align 8 captures(none) dereferenceable(16) %0, ptr noalias noundef readnone align 8 captures(none) dereferenceable(32) %1) unnamed_addr #2 { ret i1 false } @@ -17132,7 +17132,7 @@ define { ptr, ptr } @"_ZN136_$LT$foundations..telemetry..server..Router$u20$as$u } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef zeroext i1 @"_ZN142_$LT$foundations..telemetry..server..Router$u20$as$u20$tower_service..Service$LT$http..request..Request$LT$hyper..body..body..Body$GT$$GT$$GT$10poll_ready17ha3f1f7ca0ea2e526E"(ptr noalias noundef readnone align 8 captures(none) dereferenceable(16) %0, ptr noalias noundef readnone align 8 captures(none) dereferenceable(32) %1) unnamed_addr #2 { +define noundef zeroext range(i1 0, -1) i1 @"_ZN142_$LT$foundations..telemetry..server..Router$u20$as$u20$tower_service..Service$LT$http..request..Request$LT$hyper..body..body..Body$GT$$GT$$GT$10poll_ready17ha3f1f7ca0ea2e526E"(ptr noalias noundef readnone align 8 captures(none) dereferenceable(16) %0, ptr noalias noundef readnone align 8 captures(none) dereferenceable(32) %1) unnamed_addr #2 { ret i1 false } diff --git a/bench/hermes/optimized/Runtime.ll b/bench/hermes/optimized/Runtime.ll index 898fb7e70d7..51136b1eb9b 100644 --- a/bench/hermes/optimized/Runtime.ll +++ b/bench/hermes/optimized/Runtime.ll @@ -6214,15 +6214,13 @@ _ZN6hermes2vm7Runtime20raiseEvalUnsupportedEN4llvh9StringRefE.exit: ; preds = %e %ref.tmp2.sroa.6.0.ref.tmp.sroa_idx.i = getelementptr inbounds nuw i8, ptr %ref.tmp.i, i64 40 store i64 %.sink.i, ptr %ref.tmp2.sroa.6.0.ref.tmp.sroa_idx.i, align 8 %SyntaxErrorPrototype.i.i = getelementptr inbounds nuw i8, ptr %this, i64 120 - %call5.i.i = call fastcc noundef i32 @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %SyntaxErrorPrototype.i.i, ptr noundef nonnull align 8 dereferenceable(48) %ref.tmp.i) + call fastcc void @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %SyntaxErrorPrototype.i.i, ptr noundef nonnull align 8 dereferenceable(48) %ref.tmp.i) call void @llvm.lifetime.end.p0(ptr nonnull %ref.tmp.i) - %.fca.0.insert = insertvalue { i32, i64 } poison, i32 %call5.i.i, 0 - %.fca.1.insert = insertvalue { i32, i64 } %.fca.0.insert, i64 undef, 1 - ret { i32, i64 } %.fca.1.insert + ret { i32, i64 } { i32 0, i64 undef } } ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i32 @_ZN6hermes2vm7Runtime20raiseEvalUnsupportedEN4llvh9StringRefE(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr %code.coerce0, i64 %code.coerce1) local_unnamed_addr #0 align 2 { +define hidden noundef range(i32 0, 1) i32 @_ZN6hermes2vm7Runtime20raiseEvalUnsupportedEN4llvh9StringRefE(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr %code.coerce0, i64 %code.coerce1) local_unnamed_addr #0 align 2 { entry: %ref.tmp = alloca %"class.hermes::vm::TwineChar16", align 8 %cmp.i3 = icmp eq i64 %code.coerce1, 0 @@ -6253,8 +6251,8 @@ _ZN6hermes2vmplERKNS0_11TwineChar16ES3_.exit: ; preds = %if.end.i.i, %if.end %ref.tmp2.sroa.6.0.ref.tmp.sroa_idx = getelementptr inbounds nuw i8, ptr %ref.tmp, i64 40 store i64 %.sink, ptr %ref.tmp2.sroa.6.0.ref.tmp.sroa_idx, align 8 %SyntaxErrorPrototype.i = getelementptr inbounds nuw i8, ptr %this, i64 120 - %call5.i = call fastcc noundef i32 @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %SyntaxErrorPrototype.i, ptr noundef nonnull align 8 dereferenceable(48) %ref.tmp) - ret i32 %call5.i + call fastcc void @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %SyntaxErrorPrototype.i, ptr noundef nonnull align 8 dereferenceable(48) %ref.tmp) + ret i32 0 } ; Function Attrs: mustprogress nounwind uwtable @@ -6289,11 +6287,9 @@ _ZN6hermes2vm7Runtime20raiseEvalUnsupportedEN4llvh9StringRefE.exit: ; preds = %e %ref.tmp2.sroa.6.0.ref.tmp.sroa_idx.i = getelementptr inbounds nuw i8, ptr %ref.tmp.i, i64 40 store i64 %.sink.i, ptr %ref.tmp2.sroa.6.0.ref.tmp.sroa_idx.i, align 8 %SyntaxErrorPrototype.i.i = getelementptr inbounds nuw i8, ptr %this, i64 120 - %call5.i.i = call fastcc noundef i32 @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %SyntaxErrorPrototype.i.i, ptr noundef nonnull align 8 dereferenceable(48) %ref.tmp.i) + call fastcc void @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %SyntaxErrorPrototype.i.i, ptr noundef nonnull align 8 dereferenceable(48) %ref.tmp.i) call void @llvm.lifetime.end.p0(ptr nonnull %ref.tmp.i) - %.fca.0.insert = insertvalue { i32, i64 } poison, i32 %call5.i.i, 0 - %.fca.1.insert = insertvalue { i32, i64 } %.fca.0.insert, i64 undef, 1 - ret { i32, i64 } %.fca.1.insert + ret { i32, i64 } { i32 0, i64 undef } } ; Function Attrs: mustprogress nounwind uwtable @@ -6398,7 +6394,7 @@ if.then27: ; preds = %if.end14 %10 = getelementptr inbounds nuw i8, ptr %ref.tmp28, i64 8 store i32 3, ptr %10, align 8 %TypeErrorPrototype.i = getelementptr inbounds nuw i8, ptr %this, i64 136 - %call5.i = call fastcc noundef i32 @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %TypeErrorPrototype.i, ptr noundef nonnull align 8 dereferenceable(48) %ref.tmp28) + call fastcc void @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %TypeErrorPrototype.i, ptr noundef nonnull align 8 dereferenceable(48) %ref.tmp28) br label %return if.end30: ; preds = %if.end14 @@ -6747,7 +6743,7 @@ if.then180: ; preds = %if.else151 %RangeErrorPrototype.i = getelementptr inbounds nuw i8, ptr %this, i64 88 %66 = getelementptr inbounds nuw i8, ptr %ref.tmp.i71, i64 8 store i32 3, ptr %66, align 8 - %call8.i = call fastcc noundef i32 @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %RangeErrorPrototype.i, ptr noundef nonnull align 8 dereferenceable(48) %ref.tmp.i71) + call fastcc void @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %RangeErrorPrototype.i, ptr noundef nonnull align 8 dereferenceable(48) %ref.tmp.i71) call void @llvm.lifetime.end.p0(ptr nonnull %ref.tmp.i71) br label %cleanup @@ -6788,7 +6784,7 @@ cond.false: ; preds = %if.end182 br label %cleanup cleanup: ; preds = %cond.true, %cond.false, %if.then180 - %retval.sroa.0.2 = phi i32 [ %call8.i, %if.then180 ], [ %70, %cond.true ], [ %72, %cond.false ] + %retval.sroa.0.2 = phi i32 [ 0, %if.then180 ], [ %70, %cond.true ], [ %72, %cond.false ] %retval.sroa.9.2 = phi i64 [ undef, %if.then180 ], [ %71, %cond.true ], [ %73, %cond.false ] %74 = load i32, ptr %nativeCallFrameDepth_.i, align 8 %dec.i = add i32 %74, -1 @@ -6803,7 +6799,7 @@ cleanup186: ; preds = %_ZN6hermes2vm15Hand br label %return return: ; preds = %_ZN6hermes2vm7Runtime24assertBuiltinsUnmodifiedEv.exit, %cleanup186, %if.then27 - %retval.sroa.0.0 = phi i32 [ %retval.sroa.0.1, %cleanup186 ], [ %call5.i, %if.then27 ], [ 0, %_ZN6hermes2vm7Runtime24assertBuiltinsUnmodifiedEv.exit ] + %retval.sroa.0.0 = phi i32 [ %retval.sroa.0.1, %cleanup186 ], [ 0, %if.then27 ], [ 0, %_ZN6hermes2vm7Runtime24assertBuiltinsUnmodifiedEv.exit ] %retval.sroa.9.0 = phi i64 [ %retval.sroa.9.1, %cleanup186 ], [ undef, %if.then27 ], [ undef, %_ZN6hermes2vm7Runtime24assertBuiltinsUnmodifiedEv.exit ] %.fca.0.insert = insertvalue { i32, i64 } poison, i32 %retval.sroa.0.0, 0 %.fca.1.insert = insertvalue { i32, i64 } %.fca.0.insert, i64 %retval.sroa.9.0, 1 @@ -6811,7 +6807,7 @@ return: ; preds = %_ZN6hermes2vm7Runti } ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i32 @_ZN6hermes2vm7Runtime24assertBuiltinsUnmodifiedEv(ptr noundef nonnull align 8 dereferenceable(9832) %this) local_unnamed_addr #0 align 2 { +define hidden noundef range(i32 0, 2) i32 @_ZN6hermes2vm7Runtime24assertBuiltinsUnmodifiedEv(ptr noundef nonnull align 8 dereferenceable(9832) %this) local_unnamed_addr #0 align 2 { entry: %gcScope = alloca %"class.hermes::vm::GCScope", align 8 %ref.tmp = alloca %"class.std::function.390", align 8 @@ -6961,11 +6957,11 @@ _ZNSt6vectorIN6hermes2vm8SymbolIDESaIS2_EED2Ev.exit4: ; preds = %_ZNSt6vectorIN6 } ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i32 @_ZN6hermes2vm7Runtime14raiseTypeErrorERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr noundef nonnull align 8 dereferenceable(48) %msg) local_unnamed_addr #0 align 2 { +define hidden noundef range(i32 0, 1) i32 @_ZN6hermes2vm7Runtime14raiseTypeErrorERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr noundef nonnull align 8 dereferenceable(48) %msg) local_unnamed_addr #0 align 2 { entry: %TypeErrorPrototype = getelementptr inbounds nuw i8, ptr %this, i64 136 - %call5 = tail call fastcc noundef i32 @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %TypeErrorPrototype, ptr noundef nonnull align 8 dereferenceable(48) %msg) - ret i32 %call5 + tail call fastcc void @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %TypeErrorPrototype, ptr noundef nonnull align 8 dereferenceable(48) %msg) + ret i32 0 } declare void @_ZN6hermes3hbc20BCProviderFromBuffer11startWarmupEh(ptr noundef nonnull align 8 dereferenceable(376), i8 noundef zeroext) unnamed_addr #1 @@ -6987,7 +6983,7 @@ declare { i32, i64 } @_ZN6hermes2vm14runRequireCallERNS0_7RuntimeENS0_6HandleINS declare ptr @_ZN6hermes2vm10JSFunction6createERNS0_7RuntimeENS0_6HandleINS0_6DomainEEENS4_INS0_8JSObjectEEENS4_INS0_11EnvironmentEEEPNS0_9CodeBlockE(ptr noundef nonnull align 8 dereferenceable(9832), ptr, ptr, ptr, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i32 @_ZN6hermes2vm7Runtime18raiseStackOverflowENS1_17StackOverflowKindE(ptr noundef nonnull align 8 dereferenceable(9832) %this, i32 noundef %kind) local_unnamed_addr #0 align 2 { +define hidden noundef range(i32 0, 1) i32 @_ZN6hermes2vm7Runtime18raiseStackOverflowENS1_17StackOverflowKindE(ptr noundef nonnull align 8 dereferenceable(9832) %this, i32 noundef %kind) local_unnamed_addr #0 align 2 { entry: %ref.tmp = alloca %"class.hermes::vm::TwineChar16", align 8 %switch.tableidx = add i32 %kind, -1 @@ -7021,8 +7017,8 @@ _ZN6hermes2vm11TwineChar16C2EPKc.exit: ; preds = %sw.epilog, %if.else %RangeErrorPrototype = getelementptr inbounds nuw i8, ptr %this, i64 88 %2 = getelementptr inbounds nuw i8, ptr %ref.tmp, i64 8 store i32 %.sink.i.i, ptr %2, align 8 - %call8 = call fastcc noundef i32 @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %RangeErrorPrototype, ptr noundef nonnull align 8 dereferenceable(48) %ref.tmp) - ret i32 %call8 + call fastcc void @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %RangeErrorPrototype, ptr noundef nonnull align 8 dereferenceable(48) %ref.tmp) + ret i32 0 } ; Function Attrs: mustprogress nounwind uwtable @@ -7635,15 +7631,15 @@ nrvo.skipdtor: ; preds = %for.inc, %entry } ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i32 @_ZN6hermes2vm7Runtime10raiseErrorERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr noundef nonnull align 8 dereferenceable(48) %msg) local_unnamed_addr #0 align 2 { +define hidden noundef range(i32 0, 1) i32 @_ZN6hermes2vm7Runtime10raiseErrorERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr noundef nonnull align 8 dereferenceable(48) %msg) local_unnamed_addr #0 align 2 { entry: %ErrorPrototype = getelementptr inbounds nuw i8, ptr %this, i64 40 - %call5 = tail call fastcc noundef i32 @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %ErrorPrototype, ptr noundef nonnull align 8 dereferenceable(48) %msg) - ret i32 %call5 + tail call fastcc void @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %ErrorPrototype, ptr noundef nonnull align 8 dereferenceable(48) %msg) + ret i32 0 } ; Function Attrs: mustprogress nounwind uwtable -define internal fastcc noundef i32 @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %runtime, ptr %prototype.coerce, ptr noundef nonnull align 8 dereferenceable(48) %msg) unnamed_addr #0 { +define internal fastcc void @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %runtime, ptr %prototype.coerce, ptr noundef nonnull align 8 dereferenceable(48) %msg) unnamed_addr #0 { entry: %ref.tmp.i = alloca %"class.std::__cxx11::basic_string.471", align 8 %gcScope = alloca %"class.hermes::vm::GCScope", align 8 @@ -7739,11 +7735,10 @@ if.end.i.i.i.i.i.i: ; preds = %if.end _ZN6hermes2vm15HandleRootOwner10makeHandleINS0_15StringPrimitiveEEENS0_6HandleIT_EENS0_11HermesValueE.exit: ; preds = %if.then.i.i.i.i.i.i, %if.end.i.i.i.i.i.i %retval.0.i.i.i.i.i.i = phi ptr [ %8, %if.then.i.i.i.i.i.i ], [ %call7.i.i.i.i.i.i, %if.end.i.i.i.i.i.i ] - %call15 = call fastcc noundef i32 @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEENS3_INS0_11HermesValueEEE(ptr noundef nonnull align 8 dereferenceable(9832) %runtime, ptr %prototype.coerce, ptr %retval.0.i.i.i.i.i.i) + call fastcc void @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEENS3_INS0_11HermesValueEEE(ptr noundef nonnull align 8 dereferenceable(9832) %runtime, ptr %prototype.coerce, ptr %retval.0.i.i.i.i.i.i) br label %cleanup cleanup: ; preds = %_ZN6hermes2vm15StringPrimitive6createERNS0_7RuntimeEN4llvh8ArrayRefIDsEE.exit, %_ZN6hermes2vm15HandleRootOwner10makeHandleINS0_15StringPrimitiveEEENS0_6HandleIT_EENS0_11HermesValueE.exit - %retval.0 = phi i32 [ %call15, %_ZN6hermes2vm15HandleRootOwner10makeHandleINS0_15StringPrimitiveEEENS0_6HandleIT_EENS0_11HermesValueE.exit ], [ 0, %_ZN6hermes2vm15StringPrimitive6createERNS0_7RuntimeEN4llvh8ArrayRefIDsEE.exit ] %10 = load ptr, ptr %buf, align 8 %cmp.i.i.i.i = icmp eq ptr %10, %add.ptr.i.i.i.i.i.i4 br i1 %cmp.i.i.i.i, label %_ZN6hermes2vm12SmallXStringIDsLj64EED2Ev.exit, label %if.then.i.i.i7 @@ -7754,11 +7749,11 @@ if.then.i.i.i7: ; preds = %cleanup _ZN6hermes2vm12SmallXStringIDsLj64EED2Ev.exit: ; preds = %cleanup, %if.then.i.i.i7 call void @_ZN6hermes2vm7GCScopeD1Ev(ptr noundef nonnull align 8 dereferenceable(212) %gcScope) #26 - ret i32 %retval.0 + ret void } ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i32 @_ZN6hermes2vm7Runtime14raiseTypeErrorENS0_6HandleINS0_11HermesValueEEE(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr %message.coerce) local_unnamed_addr #0 align 2 { +define hidden noundef range(i32 0, 1) i32 @_ZN6hermes2vm7Runtime14raiseTypeErrorENS0_6HandleINS0_11HermesValueEEE(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr %message.coerce) local_unnamed_addr #0 align 2 { entry: %gcScope = alloca %"class.hermes::vm::GCScope", align 8 store ptr %this, ptr %gcScope, align 8 @@ -7783,13 +7778,13 @@ entry: store i32 0, ptr %curChunkIndex_.i, align 8 store ptr %gcScope, ptr %topGCScope_.i, align 8 %TypeErrorPrototype = getelementptr inbounds nuw i8, ptr %this, i64 136 - %call10 = call fastcc noundef i32 @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEENS3_INS0_11HermesValueEEE(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %TypeErrorPrototype, ptr %message.coerce) + call fastcc void @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEENS3_INS0_11HermesValueEEE(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %TypeErrorPrototype, ptr %message.coerce) call void @_ZN6hermes2vm7GCScopeD1Ev(ptr noundef nonnull align 8 dereferenceable(212) %gcScope) #26 - ret i32 %call10 + ret i32 0 } ; Function Attrs: mustprogress nounwind uwtable -define internal fastcc noundef i32 @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEENS3_INS0_11HermesValueEEE(ptr noundef nonnull align 8 dereferenceable(9832) %runtime, ptr %prototype.coerce, ptr %message.coerce) unnamed_addr #0 { +define internal fastcc void @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEENS3_INS0_11HermesValueEEE(ptr noundef nonnull align 8 dereferenceable(9832) %runtime, ptr %prototype.coerce, ptr %message.coerce) unnamed_addr #0 { entry: %topGCScope_.i.i = getelementptr inbounds nuw i8, ptr %runtime, i64 8 %0 = load ptr, ptr %topGCScope_.i.i, align 8 @@ -7836,11 +7831,11 @@ _ZN6hermes2vm15HandleRootOwner10makeHandleINS0_7JSErrorEEENS0_6HandleIT_EEONS0_1 %curChunkEnd_.i.i.i = getelementptr inbounds nuw i8, ptr %0, i64 200 store ptr %add.ptr.i.i.i, ptr %curChunkEnd_.i.i.i, align 8 store ptr %1, ptr %next_.i.i, align 8 - ret i32 0 + ret void } ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i32 @_ZN6hermes2vm7Runtime22raiseTypeErrorForValueERKNS0_11TwineChar16ENS0_6HandleINS0_11HermesValueEEES4_(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr noundef nonnull align 8 dereferenceable(48) %msg1, ptr readonly captures(none) %value.coerce, ptr noundef nonnull align 8 dereferenceable(48) %msg2) local_unnamed_addr #0 align 2 { +define hidden noundef range(i32 0, 1) i32 @_ZN6hermes2vm7Runtime22raiseTypeErrorForValueERKNS0_11TwineChar16ENS0_6HandleINS0_11HermesValueEEES4_(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr noundef nonnull align 8 dereferenceable(48) %msg1, ptr readonly captures(none) %value.coerce, ptr noundef nonnull align 8 dereferenceable(48) %msg2) local_unnamed_addr #0 align 2 { entry: %ref.tmp = alloca %"class.hermes::vm::TwineChar16", align 8 %ref.tmp4 = alloca %"class.hermes::vm::TwineChar16", align 8 @@ -9135,8 +9130,8 @@ if.end8.i.i876: ; preds = %lor.lhs.false.i.i86 return: ; preds = %if.end8.i.i876, %if.then7.i.i898, %if.then.i.i900, %if.end8.i.i790, %if.then7.i.i812, %if.then4.i.i813, %if.then.i.i814, %if.end8.i.i710, %if.then7.i.i732, %if.then.i.i734, %if.end8.i.i624, %if.then7.i.i646, %if.then.i.i648, %if.end8.i.i536, %if.then7.i.i558, %if.then.i.i560, %if.end8.i.i366, %if.then7.i.i388, %if.then.i.i390, %if.end8.i.i280, %if.then7.i.i302, %if.then.i.i304, %if.end8.i.i194, %if.then7.i.i216, %if.then.i.i218, %if.end8.i.i26, %if.then7.i.i48, %if.then.i.i50 %ref.tmp74.sink = phi ptr [ %ref.tmp, %if.then.i.i50 ], [ %ref.tmp, %if.then7.i.i48 ], [ %ref.tmp, %if.end8.i.i26 ], [ %ref.tmp8, %if.then.i.i218 ], [ %ref.tmp8, %if.then7.i.i216 ], [ %ref.tmp8, %if.end8.i.i194 ], [ %ref.tmp26, %if.then.i.i304 ], [ %ref.tmp26, %if.then7.i.i302 ], [ %ref.tmp26, %if.end8.i.i280 ], [ %ref.tmp30, %if.then.i.i390 ], [ %ref.tmp30, %if.then7.i.i388 ], [ %ref.tmp30, %if.end8.i.i366 ], [ %ref.tmp34, %if.then.i.i560 ], [ %ref.tmp34, %if.then7.i.i558 ], [ %ref.tmp34, %if.end8.i.i536 ], [ %ref.tmp52, %if.then.i.i648 ], [ %ref.tmp52, %if.then7.i.i646 ], [ %ref.tmp52, %if.end8.i.i624 ], [ %ref.tmp57, %if.then.i.i734 ], [ %ref.tmp57, %if.then7.i.i732 ], [ %ref.tmp57, %if.end8.i.i710 ], [ %ref.tmp67, %if.then.i.i814 ], [ %ref.tmp67, %if.then4.i.i813 ], [ %ref.tmp67, %if.then7.i.i812 ], [ %ref.tmp67, %if.end8.i.i790 ], [ %ref.tmp74, %if.then.i.i900 ], [ %ref.tmp74, %if.then7.i.i898 ], [ %ref.tmp74, %if.end8.i.i876 ] %TypeErrorPrototype.i905 = getelementptr inbounds nuw i8, ptr %this, i64 136 - %call5.i906 = call fastcc noundef i32 @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %TypeErrorPrototype.i905, ptr noundef nonnull align 8 dereferenceable(48) %ref.tmp74.sink) - ret i32 %call5.i906 + call fastcc void @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %TypeErrorPrototype.i905, ptr noundef nonnull align 8 dereferenceable(48) %ref.tmp74.sink) + ret i32 0 } declare void @_ZN6hermes2vm11TwineChar16C1EPKNS0_15StringPrimitiveE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef) unnamed_addr #1 @@ -9144,7 +9139,7 @@ declare void @_ZN6hermes2vm11TwineChar16C1EPKNS0_15StringPrimitiveE(ptr noundef declare noundef i64 @_ZN6hermes14numberToStringEdPcm(double noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i32 @_ZN6hermes2vm7Runtime25raiseTypeErrorForCallableENS0_6HandleINS0_11HermesValueEEE(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr readonly captures(none) %callable.coerce) local_unnamed_addr #0 align 2 { +define hidden noundef range(i32 0, 1) i32 @_ZN6hermes2vm7Runtime25raiseTypeErrorForCallableENS0_6HandleINS0_11HermesValueEEE(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr readonly captures(none) %callable.coerce) local_unnamed_addr #0 align 2 { entry: %ref.tmp.i = alloca %"class.hermes::vm::TwineChar16", align 8 %ref.tmp3.i = alloca %"class.hermes::vm::TwineChar16", align 8 @@ -9379,8 +9374,7 @@ _ZN4llvh9StringRefC2EPKc.exit: ; preds = %_ZN6hermes2vm10dyn_ br label %return return: ; preds = %if.then.i.i84, %_ZN6hermes32convertUTF8WithSurrogatesToUTF16ISt20back_insert_iteratorIN4llvh11SmallVectorIDsLj16EEEEEET_S6_PKcS8_.exit, %_ZN4llvh9StringRefC2EPKc.exit, %_ZN6hermes2vmplERKNS0_11TwineChar16ES3_.exit - %retval.0 = phi i32 [ %call30, %_ZN6hermes2vmplERKNS0_11TwineChar16ES3_.exit ], [ %call.i87, %_ZN4llvh9StringRefC2EPKc.exit ], [ %call49, %_ZN6hermes32convertUTF8WithSurrogatesToUTF16ISt20back_insert_iteratorIN4llvh11SmallVectorIDsLj16EEEEEET_S6_PKcS8_.exit ], [ %call49, %if.then.i.i84 ] - ret i32 %retval.0 + ret i32 0 } declare i64 @_ZNK6hermes2vm9CodeBlock24getTextifiedCalleeOffsetEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 @@ -9388,47 +9382,47 @@ declare i64 @_ZNK6hermes2vm9CodeBlock24getTextifiedCalleeOffsetEv(ptr noundef no declare void @_ZNK6hermes3hbc9DebugInfo22getTextifiedCalleeUTF8Ejj(ptr sret(%"class.hermes::OptValue.359") align 8, ptr noundef nonnull align 8 dereferenceable(136), i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i32 @_ZN6hermes2vm7Runtime16raiseSyntaxErrorERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr noundef nonnull align 8 dereferenceable(48) %msg) local_unnamed_addr #0 align 2 { +define hidden noundef range(i32 0, 1) i32 @_ZN6hermes2vm7Runtime16raiseSyntaxErrorERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr noundef nonnull align 8 dereferenceable(48) %msg) local_unnamed_addr #0 align 2 { entry: %SyntaxErrorPrototype = getelementptr inbounds nuw i8, ptr %this, i64 120 - %call5 = tail call fastcc noundef i32 @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %SyntaxErrorPrototype, ptr noundef nonnull align 8 dereferenceable(48) %msg) - ret i32 %call5 + tail call fastcc void @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %SyntaxErrorPrototype, ptr noundef nonnull align 8 dereferenceable(48) %msg) + ret i32 0 } ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i32 @_ZN6hermes2vm7Runtime15raiseRangeErrorERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr noundef nonnull align 8 dereferenceable(48) %msg) local_unnamed_addr #0 align 2 { +define hidden noundef range(i32 0, 1) i32 @_ZN6hermes2vm7Runtime15raiseRangeErrorERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr noundef nonnull align 8 dereferenceable(48) %msg) local_unnamed_addr #0 align 2 { entry: %RangeErrorPrototype = getelementptr inbounds nuw i8, ptr %this, i64 88 - %call5 = tail call fastcc noundef i32 @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %RangeErrorPrototype, ptr noundef nonnull align 8 dereferenceable(48) %msg) - ret i32 %call5 + tail call fastcc void @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %RangeErrorPrototype, ptr noundef nonnull align 8 dereferenceable(48) %msg) + ret i32 0 } ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i32 @_ZN6hermes2vm7Runtime19raiseReferenceErrorERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr noundef nonnull align 8 dereferenceable(48) %msg) local_unnamed_addr #0 align 2 { +define hidden noundef range(i32 0, 1) i32 @_ZN6hermes2vm7Runtime19raiseReferenceErrorERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr noundef nonnull align 8 dereferenceable(48) %msg) local_unnamed_addr #0 align 2 { entry: %ReferenceErrorPrototype = getelementptr inbounds nuw i8, ptr %this, i64 104 - %call5 = tail call fastcc noundef i32 @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %ReferenceErrorPrototype, ptr noundef nonnull align 8 dereferenceable(48) %msg) - ret i32 %call5 + tail call fastcc void @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %ReferenceErrorPrototype, ptr noundef nonnull align 8 dereferenceable(48) %msg) + ret i32 0 } ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i32 @_ZN6hermes2vm7Runtime13raiseURIErrorERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr noundef nonnull align 8 dereferenceable(48) %msg) local_unnamed_addr #0 align 2 { +define hidden noundef range(i32 0, 1) i32 @_ZN6hermes2vm7Runtime13raiseURIErrorERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr noundef nonnull align 8 dereferenceable(48) %msg) local_unnamed_addr #0 align 2 { entry: %URIErrorPrototype = getelementptr inbounds nuw i8, ptr %this, i64 152 - %call5 = tail call fastcc noundef i32 @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %URIErrorPrototype, ptr noundef nonnull align 8 dereferenceable(48) %msg) - ret i32 %call5 + tail call fastcc void @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %URIErrorPrototype, ptr noundef nonnull align 8 dereferenceable(48) %msg) + ret i32 0 } ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i32 @_ZN6hermes2vm7Runtime14raiseQuitErrorEv(ptr noundef nonnull align 8 dereferenceable(9832) %this) local_unnamed_addr #0 align 2 { +define hidden noundef range(i32 0, 1) i32 @_ZN6hermes2vm7Runtime14raiseQuitErrorEv(ptr noundef nonnull align 8 dereferenceable(9832) %this) local_unnamed_addr #0 align 2 { entry: %QuitErrorPrototype = getelementptr inbounds nuw i8, ptr %this, i64 184 %call6 = tail call noundef i32 @_ZN6hermes2vm7Runtime21raiseUncatchableErrorENS0_6HandleINS0_8JSObjectEEEN4llvh9StringRefE(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %QuitErrorPrototype, ptr nonnull @.str.140, i64 4) - ret i32 %call6 + ret i32 0 } ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i32 @_ZN6hermes2vm7Runtime21raiseUncatchableErrorENS0_6HandleINS0_8JSObjectEEEN4llvh9StringRefE(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr %prototype.coerce, ptr %errMessage.coerce0, i64 %errMessage.coerce1) local_unnamed_addr #0 align 2 { +define hidden noundef range(i32 0, 1) i32 @_ZN6hermes2vm7Runtime21raiseUncatchableErrorENS0_6HandleINS0_8JSObjectEEEN4llvh9StringRefE(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr %prototype.coerce, ptr %errMessage.coerce0, i64 %errMessage.coerce1) local_unnamed_addr #0 align 2 { entry: %call = tail call ptr @_ZN6hermes2vm7JSError17createUncatchableERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEE(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr %prototype.coerce) #26 %0 = ptrtoint ptr %call to i64 @@ -9494,11 +9488,11 @@ return: ; preds = %_ZN6hermes2vm15Hand } ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i32 @_ZN6hermes2vm7Runtime17raiseTimeoutErrorEv(ptr noundef nonnull align 8 dereferenceable(9832) %this) local_unnamed_addr #0 align 2 { +define hidden noundef range(i32 0, 1) i32 @_ZN6hermes2vm7Runtime17raiseTimeoutErrorEv(ptr noundef nonnull align 8 dereferenceable(9832) %this) local_unnamed_addr #0 align 2 { entry: %TimeoutErrorPrototype = getelementptr inbounds nuw i8, ptr %this, i64 168 %call6 = tail call noundef i32 @_ZN6hermes2vm7Runtime21raiseUncatchableErrorENS0_6HandleINS0_8JSObjectEEEN4llvh9StringRefE(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %TimeoutErrorPrototype, ptr nonnull @.str.141, i64 35) - ret i32 %call6 + ret i32 0 } declare ptr @_ZN6hermes2vm7JSError17createUncatchableERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEE(ptr noundef nonnull align 8 dereferenceable(9832), ptr) local_unnamed_addr #1 @@ -10461,7 +10455,7 @@ return: ; preds = %if.end.i.i.i.i.i.i, } ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i32 @_ZN6hermes2vm7Runtime26forEachPublicNativeBuiltinERKSt8functionIFNS0_15ExecutionStatusEjNS0_10Predefined3StrERNS0_6HandleINS0_8JSObjectEEENS0_8SymbolIDEEE(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr noundef nonnull align 8 dereferenceable(32) %callback) local_unnamed_addr #0 align 2 { +define hidden noundef range(i32 0, 2) i32 @_ZN6hermes2vm7Runtime26forEachPublicNativeBuiltinERKSt8functionIFNS0_15ExecutionStatusEjNS0_10Predefined3StrERNS0_6HandleINS0_8JSObjectEEENS0_8SymbolIDEEE(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr noundef nonnull align 8 dereferenceable(32) %callback) local_unnamed_addr #0 align 2 { entry: %__args.i = alloca %"class.hermes::vm::SymbolID", align 4 %__args.addr.i = alloca i32, align 4 @@ -10817,11 +10811,10 @@ _ZNKSt8functionIFN6hermes2vm15ExecutionStatusEjNS1_10Predefined3StrERNS1_6Handle cleanup.thread.sink.split: ; preds = %if.end8.i.i124, %if.then4.i.i147, %if.then.i.i148, %if.end8.i.i28, %if.then4.i.i51, %if.then.i.i52 %ref.tmp40.sink = phi ptr [ %ref.tmp, %if.then.i.i52 ], [ %ref.tmp, %if.then4.i.i51 ], [ %ref.tmp, %if.end8.i.i28 ], [ %ref.tmp40, %if.then.i.i148 ], [ %ref.tmp40, %if.then4.i.i147 ], [ %ref.tmp40, %if.end8.i.i124 ] %TypeErrorPrototype.i153 = getelementptr inbounds nuw i8, ptr %this, i64 136 - %call5.i154 = call fastcc noundef i32 @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %TypeErrorPrototype.i153, ptr noundef nonnull align 8 dereferenceable(48) %ref.tmp40.sink) + call fastcc void @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %TypeErrorPrototype.i153, ptr noundef nonnull align 8 dereferenceable(48) %ref.tmp40.sink) br label %cleanup.thread cleanup.thread: ; preds = %if.end, %_ZNKSt8functionIFN6hermes2vm15ExecutionStatusEjNS1_10Predefined3StrERNS1_6HandleINS1_8JSObjectEEENS1_8SymbolIDEEEclEjS4_S8_S9_.exit, %cleanup.thread.sink.split - %retval.1.ph = phi i32 [ %call5.i154, %cleanup.thread.sink.split ], [ 0, %_ZNKSt8functionIFN6hermes2vm15ExecutionStatusEjNS1_10Predefined3StrERNS1_6HandleINS1_8JSObjectEEENS1_8SymbolIDEEEclEjS4_S8_S9_.exit ], [ 0, %if.end ] %chunks_.i.i.i162 = getelementptr inbounds nuw i8, ptr %4, i64 144 %conv.i.i.i163 = zext i32 %6 to i64 %37 = load ptr, ptr %chunks_.i.i.i162, align 8 @@ -10850,7 +10843,7 @@ for.inc: ; preds = %_ZNKSt8functionIFN6 br i1 %exitcond.not, label %return, label %for.body, !llvm.loop !378 return: ; preds = %for.inc, %cleanup.thread - %retval.2 = phi i32 [ %retval.1.ph, %cleanup.thread ], [ 1, %for.inc ] + %retval.2 = phi i32 [ 0, %cleanup.thread ], [ 1, %for.inc ] ret i32 %retval.2 } @@ -11783,7 +11776,7 @@ entry: declare noundef nonnull align 8 dereferenceable(36) ptr @_ZN4llvh4errsEv() local_unnamed_addr #1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN6hermes2vm7Runtime32isNativeStackOverflowingSlowPathEv(ptr noundef nonnull readnone align 8 captures(none) dereferenceable(9832) %this) local_unnamed_addr #11 align 2 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN6hermes2vm7Runtime32isNativeStackOverflowingSlowPathEv(ptr noundef nonnull readnone align 8 captures(none) dereferenceable(9832) %this) local_unnamed_addr #11 align 2 { entry: ret i1 false } @@ -12714,11 +12707,11 @@ _ZN6hermes2vm7Runtime9onGCEventENS0_11GCEventKindERKNSt7__cxx1112basic_stringIcS } ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i32 @_ZN6hermes2vm7Runtime13notifyTimeoutEv(ptr noundef nonnull align 8 dereferenceable(9832) %this) local_unnamed_addr #0 align 2 { +define hidden noundef range(i32 0, 1) i32 @_ZN6hermes2vm7Runtime13notifyTimeoutEv(ptr noundef nonnull align 8 dereferenceable(9832) %this) local_unnamed_addr #0 align 2 { entry: %TimeoutErrorPrototype.i = getelementptr inbounds nuw i8, ptr %this, i64 168 %call6.i = tail call noundef i32 @_ZN6hermes2vm7Runtime21raiseUncatchableErrorENS0_6HandleINS0_8JSObjectEEEN4llvh9StringRefE(ptr noundef nonnull align 8 dereferenceable(9832) %this, ptr nonnull %TimeoutErrorPrototype.i, ptr nonnull @.str.141, i64 35) - ret i32 %call6.i + ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable @@ -13632,7 +13625,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFviEZN6hermes2vm7RuntimeC1ESt10shared_ptrINS2_15StorageProviderEERKNS2_13RuntimeConfigEE3$_0E10_M_managerERSt9_Any_dataRKSC_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %__dest, ptr noundef nonnull align 8 dereferenceable(16) %__source, i32 noundef %__op) #12 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFviEZN6hermes2vm7RuntimeC1ESt10shared_ptrINS2_15StorageProviderEERKNS2_13RuntimeConfigEE3$_0E10_M_managerERSt9_Any_dataRKSC_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %__dest, ptr noundef nonnull align 8 dereferenceable(16) %__source, i32 noundef %__op) #12 align 2 { entry: switch i32 %__op, label %sw.epilog [ i32 1, label %sw.bb @@ -14857,7 +14850,7 @@ if.end41: ; preds = %_ZSt27__uninitializ } ; Function Attrs: mustprogress nounwind uwtable -define internal noundef i32 @"_ZNSt17_Function_handlerIFN6hermes2vm15ExecutionStatusEjNS1_10Predefined3StrERNS1_6HandleINS1_8JSObjectEEENS1_8SymbolIDEEZNS1_7Runtime18initNativeBuiltinsEvE3$_0E9_M_invokeERKSt9_Any_dataOjOS4_S8_OS9_"(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %__functor, ptr noundef nonnull readonly align 4 captures(none) dereferenceable(4) %__args, ptr nonnull readonly align 4 captures(none) %__args1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(8) %__args3, ptr noundef nonnull readonly align 4 captures(none) dereferenceable(4) %__args5) #0 align 2 { +define internal noundef range(i32 1, 2) i32 @"_ZNSt17_Function_handlerIFN6hermes2vm15ExecutionStatusEjNS1_10Predefined3StrERNS1_6HandleINS1_8JSObjectEEENS1_8SymbolIDEEZNS1_7Runtime18initNativeBuiltinsEvE3$_0E9_M_invokeERKSt9_Any_dataOjOS4_S8_OS9_"(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %__functor, ptr noundef nonnull readonly align 4 captures(none) dereferenceable(4) %__args, ptr nonnull readonly align 4 captures(none) %__args1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(8) %__args3, ptr noundef nonnull readonly align 4 captures(none) dereferenceable(4) %__args5) #0 align 2 { entry: %call.val = load ptr, ptr %__functor, align 8 %__args.val = load i32, ptr %__args, align 4 @@ -14876,7 +14869,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFN6hermes2vm15ExecutionStatusEjNS1_10Predefined3StrERNS1_6HandleINS1_8JSObjectEEENS1_8SymbolIDEEZNS1_7Runtime18initNativeBuiltinsEvE3$_0E10_M_managerERSt9_Any_dataRKSE_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %__dest, ptr noundef nonnull align 8 dereferenceable(16) %__source, i32 noundef %__op) #12 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFN6hermes2vm15ExecutionStatusEjNS1_10Predefined3StrERNS1_6HandleINS1_8JSObjectEEENS1_8SymbolIDEEZNS1_7Runtime18initNativeBuiltinsEvE3$_0E10_M_managerERSt9_Any_dataRKSE_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %__dest, ptr noundef nonnull align 8 dereferenceable(16) %__source, i32 noundef %__op) #12 align 2 { entry: switch i32 %__op, label %sw.epilog [ i32 1, label %sw.bb @@ -14902,7 +14895,7 @@ sw.epilog: ; preds = %entry, %sw.bb4.i, % } ; Function Attrs: mustprogress nounwind uwtable -define internal noundef i32 @"_ZNSt17_Function_handlerIFN6hermes2vm15ExecutionStatusEjNS1_10Predefined3StrERNS1_6HandleINS1_8JSObjectEEENS1_8SymbolIDEEZNS1_7Runtime24assertBuiltinsUnmodifiedEvE3$_0E9_M_invokeERKSt9_Any_dataOjOS4_S8_OS9_"(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %__functor, ptr noundef nonnull readonly align 4 captures(none) dereferenceable(4) %__args, ptr noundef nonnull readonly align 4 captures(none) dereferenceable(4) %__args1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(8) %__args3, ptr noundef nonnull readonly align 4 captures(none) dereferenceable(4) %__args5) #0 align 2 { +define internal noundef range(i32 0, 2) i32 @"_ZNSt17_Function_handlerIFN6hermes2vm15ExecutionStatusEjNS1_10Predefined3StrERNS1_6HandleINS1_8JSObjectEEENS1_8SymbolIDEEZNS1_7Runtime24assertBuiltinsUnmodifiedEvE3$_0E9_M_invokeERKSt9_Any_dataOjOS4_S8_OS9_"(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %__functor, ptr noundef nonnull readonly align 4 captures(none) dereferenceable(4) %__args, ptr noundef nonnull readonly align 4 captures(none) dereferenceable(4) %__args1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(8) %__args3, ptr noundef nonnull readonly align 4 captures(none) dereferenceable(4) %__args5) #0 align 2 { entry: %desc.i.i.i = alloca %"struct.hermes::vm::NamedPropertyDescriptor", align 8 %ref.tmp.i.i.i = alloca %"class.hermes::vm::TwineChar16", align 8 @@ -15395,11 +15388,11 @@ if.end8.i.i289.i.i.i: ; preds = %_ZN6hermes2vmplERKN return.sink.split.i.i.i: ; preds = %if.end8.i.i289.i.i.i, %if.then4.i.i312.i.i.i, %if.then.i.i313.i.i.i, %if.end8.i.i108.i.i.i, %if.then4.i.i131.i.i.i, %if.then.i.i132.i.i.i %ref.tmp44.sink.i.i.i = phi ptr [ %ref.tmp.i.i.i, %if.then.i.i132.i.i.i ], [ %ref.tmp.i.i.i, %if.then4.i.i131.i.i.i ], [ %ref.tmp.i.i.i, %if.end8.i.i108.i.i.i ], [ %ref.tmp44.i.i.i, %if.then.i.i313.i.i.i ], [ %ref.tmp44.i.i.i, %if.then4.i.i312.i.i.i ], [ %ref.tmp44.i.i.i, %if.end8.i.i289.i.i.i ] %TypeErrorPrototype.i318.i.i.i = getelementptr inbounds nuw i8, ptr %call.val, i64 136 - %call5.i319.i.i.i = call fastcc noundef i32 @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %call.val, ptr nonnull %TypeErrorPrototype.i318.i.i.i, ptr noundef nonnull align 8 dereferenceable(48) %ref.tmp44.sink.i.i.i) + call fastcc void @_ZN6hermes2vmL16raisePlaceholderERNS0_7RuntimeENS0_6HandleINS0_8JSObjectEEERKNS0_11TwineChar16E(ptr noundef nonnull align 8 dereferenceable(9832) %call.val, ptr nonnull %TypeErrorPrototype.i318.i.i.i, ptr noundef nonnull align 8 dereferenceable(48) %ref.tmp44.sink.i.i.i) br label %"_ZSt10__invoke_rIN6hermes2vm15ExecutionStatusERZNS1_7Runtime24assertBuiltinsUnmodifiedEvE3$_0JjNS1_10Predefined3StrERNS1_6HandleINS1_8JSObjectEEENS1_8SymbolIDEEENSt9enable_ifIX16is_invocable_r_vIT_T0_DpT1_EESE_E4typeEOSF_DpOSG_.exit" "_ZSt10__invoke_rIN6hermes2vm15ExecutionStatusERZNS1_7Runtime24assertBuiltinsUnmodifiedEvE3$_0JjNS1_10Predefined3StrERNS1_6HandleINS1_8JSObjectEEENS1_8SymbolIDEEENSt9enable_ifIX16is_invocable_r_vIT_T0_DpT1_EESE_E4typeEOSF_DpOSG_.exit": ; preds = %if.end.i.i.i, %lor.lhs.false41.i.i.i, %return.sink.split.i.i.i - %retval.0.i.i.i = phi i32 [ 0, %if.end.i.i.i ], [ 1, %lor.lhs.false41.i.i.i ], [ %call5.i319.i.i.i, %return.sink.split.i.i.i ] + %retval.0.i.i.i = phi i32 [ 0, %if.end.i.i.i ], [ 1, %lor.lhs.false41.i.i.i ], [ 0, %return.sink.split.i.i.i ] call void @llvm.lifetime.end.p0(ptr nonnull %desc.i.i.i) call void @llvm.lifetime.end.p0(ptr nonnull %ref.tmp.i.i.i) call void @llvm.lifetime.end.p0(ptr nonnull %ref.tmp11.i.i.i) @@ -15417,7 +15410,7 @@ return.sink.split.i.i.i: ; preds = %if.end8.i.i289.i.i. } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFN6hermes2vm15ExecutionStatusEjNS1_10Predefined3StrERNS1_6HandleINS1_8JSObjectEEENS1_8SymbolIDEEZNS1_7Runtime24assertBuiltinsUnmodifiedEvE3$_0E10_M_managerERSt9_Any_dataRKSE_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %__dest, ptr noundef nonnull align 8 dereferenceable(16) %__source, i32 noundef %__op) #12 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFN6hermes2vm15ExecutionStatusEjNS1_10Predefined3StrERNS1_6HandleINS1_8JSObjectEEENS1_8SymbolIDEEZNS1_7Runtime24assertBuiltinsUnmodifiedEvE3$_0E10_M_managerERSt9_Any_dataRKSE_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %__dest, ptr noundef nonnull align 8 dereferenceable(16) %__source, i32 noundef %__op) #12 align 2 { entry: switch i32 %__op, label %sw.epilog [ i32 1, label %sw.bb @@ -15443,7 +15436,7 @@ sw.epilog: ; preds = %entry, %sw.bb4.i, % } ; Function Attrs: mustprogress nounwind uwtable -define internal noundef i32 @"_ZNSt17_Function_handlerIFN6hermes2vm15ExecutionStatusEjNS1_10Predefined3StrERNS1_6HandleINS1_8JSObjectEEENS1_8SymbolIDEEZNS1_7Runtime14freezeBuiltinsEvE3$_0E9_M_invokeERKSt9_Any_dataOjOS4_S8_OS9_"(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %__functor, ptr noundef nonnull readonly align 4 captures(none) dereferenceable(4) %__args, ptr noundef nonnull readonly align 4 captures(none) dereferenceable(4) %__args1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(8) %__args3, ptr noundef nonnull readonly align 4 captures(none) dereferenceable(4) %__args5) #0 align 2 { +define internal noundef range(i32 1, 2) i32 @"_ZNSt17_Function_handlerIFN6hermes2vm15ExecutionStatusEjNS1_10Predefined3StrERNS1_6HandleINS1_8JSObjectEEENS1_8SymbolIDEEZNS1_7Runtime14freezeBuiltinsEvE3$_0E9_M_invokeERKSt9_Any_dataOjOS4_S8_OS9_"(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %__functor, ptr noundef nonnull readonly align 4 captures(none) dereferenceable(4) %__args, ptr noundef nonnull readonly align 4 captures(none) dereferenceable(4) %__args1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(8) %__args3, ptr noundef nonnull readonly align 4 captures(none) dereferenceable(4) %__args5) #0 align 2 { entry: %agg.tmp7.i.i.i = alloca %"class.hermes::OptValue.402", align 8 %__functor.val = load ptr, ptr %__functor, align 8 @@ -15651,7 +15644,7 @@ if.then.i.i.i.i.i: ; preds = %_ZNSt6vectorIN6herm } ; Function Attrs: mustprogress nounwind uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFN6hermes2vm15ExecutionStatusEjNS1_10Predefined3StrERNS1_6HandleINS1_8JSObjectEEENS1_8SymbolIDEEZNS1_7Runtime14freezeBuiltinsEvE3$_0E10_M_managerERSt9_Any_dataRKSE_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %__dest, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %__source, i32 noundef %__op) #0 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFN6hermes2vm15ExecutionStatusEjNS1_10Predefined3StrERNS1_6HandleINS1_8JSObjectEEENS1_8SymbolIDEEZNS1_7Runtime14freezeBuiltinsEvE3$_0E10_M_managerERSt9_Any_dataRKSE_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %__dest, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %__source, i32 noundef %__op) #0 align 2 { entry: switch i32 %__op, label %sw.epilog [ i32 1, label %sw.bb diff --git a/bench/hyper-rs/optimized/5drhzjx8c241ue20.ll b/bench/hyper-rs/optimized/5drhzjx8c241ue20.ll index 191386a8af8..ab74f91f6ca 100644 --- a/bench/hyper-rs/optimized/5drhzjx8c241ue20.ll +++ b/bench/hyper-rs/optimized/5drhzjx8c241ue20.ll @@ -184,17 +184,17 @@ define noundef zeroext i1 @_ZN5hyper5error5Error11is_canceled17h3a95d1757eae4a46 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef zeroext i1 @_ZN5hyper5error5Error9is_closed17he5a5f77943b20da0E(ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %0) unnamed_addr #5 { +define noundef zeroext range(i1 0, -1) i1 @_ZN5hyper5error5Error9is_closed17he5a5f77943b20da0E(ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %0) unnamed_addr #5 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef zeroext i1 @_ZN5hyper5error5Error21is_incomplete_message17h8099e92179246fd2E(ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %0) unnamed_addr #5 { +define noundef zeroext range(i1 0, -1) i1 @_ZN5hyper5error5Error21is_incomplete_message17h8099e92179246fd2E(ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %0) unnamed_addr #5 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef zeroext i1 @_ZN5hyper5error5Error21is_body_write_aborted17h1f0b3ca02fc6815fE(ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %0) unnamed_addr #5 { +define noundef zeroext range(i1 0, -1) i1 @_ZN5hyper5error5Error21is_body_write_aborted17h1f0b3ca02fc6815fE(ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %0) unnamed_addr #5 { ret i1 false } @@ -517,22 +517,22 @@ _ZN5hyper5error5Error3new17h1a0c7787d1136bedE.llvm.15489473380671106129.exit: ; } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i8 @"_ZN94_$LT$hyper..error..Parse$u20$as$u20$core..convert..From$LT$http..method..InvalidMethod$GT$$GT$4from17h559b5139aab37632E"() unnamed_addr #5 { +define noundef range(i8 0, 1) i8 @"_ZN94_$LT$hyper..error..Parse$u20$as$u20$core..convert..From$LT$http..method..InvalidMethod$GT$$GT$4from17h559b5139aab37632E"() unnamed_addr #5 { ret i8 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i8 @"_ZN98_$LT$hyper..error..Parse$u20$as$u20$core..convert..From$LT$http..status..InvalidStatusCode$GT$$GT$4from17h9f21264987c50c1cE"() unnamed_addr #5 { +define noundef range(i8 2, 3) i8 @"_ZN98_$LT$hyper..error..Parse$u20$as$u20$core..convert..From$LT$http..status..InvalidStatusCode$GT$$GT$4from17h9f21264987c50c1cE"() unnamed_addr #5 { ret i8 2 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i8 @"_ZN88_$LT$hyper..error..Parse$u20$as$u20$core..convert..From$LT$http..uri..InvalidUri$GT$$GT$4from17h2b9f097108d0c931E"(i8 noundef %0) unnamed_addr #5 { +define noundef range(i8 1, 2) i8 @"_ZN88_$LT$hyper..error..Parse$u20$as$u20$core..convert..From$LT$http..uri..InvalidUri$GT$$GT$4from17h2b9f097108d0c931E"(i8 noundef %0) unnamed_addr #5 { ret i8 1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i8 @"_ZN93_$LT$hyper..error..Parse$u20$as$u20$core..convert..From$LT$http..uri..InvalidUriParts$GT$$GT$4from17h87aa20c0d1c11b47E"(i8 noundef %0) unnamed_addr #5 { +define noundef range(i8 1, 2) i8 @"_ZN93_$LT$hyper..error..Parse$u20$as$u20$core..convert..From$LT$http..uri..InvalidUriParts$GT$$GT$4from17h87aa20c0d1c11b47E"(i8 noundef %0) unnamed_addr #5 { ret i8 1 } diff --git a/bench/ipopt/optimized/IpTNLPAdapter.ll b/bench/ipopt/optimized/IpTNLPAdapter.ll index dd59c7b7302..d1ff2fe84b6 100644 --- a/bench/ipopt/optimized/IpTNLPAdapter.ll +++ b/bench/ipopt/optimized/IpTNLPAdapter.ll @@ -7639,7 +7639,7 @@ _ZN5Ipopt8SmartPtrINS_25IpoptCalculatedQuantitiesEEaSEPS1_.exit: ; preds = %_ZN5 } ; Function Attrs: mustprogress uwtable -define noundef zeroext i1 @_ZN5Ipopt11TNLPAdapter9GetSpacesERNS_8SmartPtrIKNS_11VectorSpaceEEES5_S5_S5_RNS1_IKNS_11MatrixSpaceEEES5_S9_S5_S9_S5_S9_S9_S9_RNS1_IKNS_14SymMatrixSpaceEEE(ptr noundef nonnull align 8 dereferenceable(600) %0, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %1, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %2, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %3, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %4, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %5, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %6, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %7, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %8, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %9, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %10, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %11, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %12, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %13, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %14) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 { +define noundef zeroext range(i1 -1, 0) i1 @_ZN5Ipopt11TNLPAdapter9GetSpacesERNS_8SmartPtrIKNS_11VectorSpaceEEES5_S5_S5_RNS1_IKNS_11MatrixSpaceEEES5_S9_S5_S9_S5_S9_S9_S9_RNS1_IKNS_14SymMatrixSpaceEEE(ptr noundef nonnull align 8 dereferenceable(600) %0, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %1, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %2, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %3, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %4, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %5, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %6, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %7, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %8, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %9, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %10, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %11, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %12, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %13, ptr noundef nonnull align 8 captures(none) dereferenceable(8) %14) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 { %16 = alloca %"class.std::__cxx11::basic_string", align 8 %17 = alloca %"class.std::allocator.7", align 1 %18 = alloca %"class.std::__cxx11::basic_string", align 8 @@ -7717,7 +7717,7 @@ define noundef zeroext i1 @_ZN5Ipopt11TNLPAdapter9GetSpacesERNS_8SmartPtrIKNS_11 %87 = getelementptr inbounds nuw i8, ptr %0, i64 100 %88 = load i32, ptr %87, align 4, !tbaa !104 %89 = tail call noundef zeroext i1 @_ZN5Ipopt11TNLPAdapter16CheckDerivativesENS0_18DerivativeTestEnumEi(ptr noundef nonnull align 8 dereferenceable(600) %0, i32 noundef %85, i32 noundef %88) - br i1 %89, label %90, label %3638 + br label %90 90: ; preds = %86, %15 %91 = getelementptr inbounds nuw i8, ptr %0, i64 104 @@ -7759,7 +7759,7 @@ define noundef zeroext i1 @_ZN5Ipopt11TNLPAdapter9GetSpacesERNS_8SmartPtrIKNS_11 105: ; preds = %104 invoke void @__cxa_throw(ptr nonnull %103, ptr nonnull @_ZTIN5Ipopt17INVALID_WARMSTARTE, ptr nonnull @_ZN5Ipopt14IpoptExceptionD2Ev) #27 - to label %3640 unwind label %111 + to label %3639 unwind label %111 106: ; preds = %97 %107 = landingpad { ptr, i32 } @@ -8033,7 +8033,7 @@ _ZNSt6vectorIiSaIiEE13shrink_to_fitEv.exit1011: ; preds = %200, %_ZNSt6vectorI 217: ; preds = %216 invoke void @__cxa_throw(ptr nonnull %215, ptr nonnull @_ZTIN5Ipopt11TNLPAdapter12INVALID_TNLPE, ptr nonnull @_ZN5Ipopt14IpoptExceptionD2Ev) #27 - to label %3640 unwind label %223 + to label %3639 unwind label %223 218: ; preds = %209 %219 = landingpad { ptr, i32 } @@ -8096,7 +8096,7 @@ _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i10 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1017: ; preds = %231, %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i1015, %218 %.pn839.pn.pn = phi { ptr, i32 } [ %219, %218 ], [ %.pn839.pn, %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i1015 ], [ %.pn839.pn, %231 ] call void @llvm.lifetime.end.p0(ptr nonnull %24) - br label %3637 + br label %3636 237: ; preds = %_ZNSt6vectorIiSaIiEE13shrink_to_fitEv.exit1011 %238 = load i32, ptr %20, align 4, !tbaa !87 @@ -8131,7 +8131,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1017: ; preds = %2 248: ; preds = %247 invoke void @__cxa_throw(ptr nonnull %246, ptr nonnull @_ZTIN5Ipopt11TNLPAdapter12INVALID_TNLPE, ptr nonnull @_ZN5Ipopt14IpoptExceptionD2Ev) #27 - to label %3640 unwind label %254 + to label %3639 unwind label %254 249: ; preds = %240 %250 = landingpad { ptr, i32 } @@ -8194,7 +8194,7 @@ _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i10 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1023: ; preds = %262, %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i1021, %249 %.pn843.pn.pn = phi { ptr, i32 } [ %250, %249 ], [ %.pn843.pn, %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i1021 ], [ %.pn843.pn, %262 ] call void @llvm.lifetime.end.p0(ptr nonnull %28) - br label %3637 + br label %3636 268: ; preds = %237 %269 = load i32, ptr %21, align 4, !tbaa !87 @@ -8229,7 +8229,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1023: ; preds = %2 279: ; preds = %278 invoke void @__cxa_throw(ptr nonnull %277, ptr nonnull @_ZTIN5Ipopt11TNLPAdapter12INVALID_TNLPE, ptr nonnull @_ZN5Ipopt14IpoptExceptionD2Ev) #27 - to label %3640 unwind label %285 + to label %3639 unwind label %285 280: ; preds = %271 %281 = landingpad { ptr, i32 } @@ -8292,7 +8292,7 @@ _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i10 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1029: ; preds = %293, %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i1027, %280 %.pn847.pn.pn = phi { ptr, i32 } [ %281, %280 ], [ %.pn847.pn, %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i1027 ], [ %.pn847.pn, %293 ] call void @llvm.lifetime.end.p0(ptr nonnull %32) - br label %3637 + br label %3636 299: ; preds = %268 %300 = load i32, ptr %22, align 4, !tbaa !87 @@ -8327,7 +8327,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1029: ; preds = %2 310: ; preds = %309 invoke void @__cxa_throw(ptr nonnull %308, ptr nonnull @_ZTIN5Ipopt11TNLPAdapter12INVALID_TNLPE, ptr nonnull @_ZN5Ipopt14IpoptExceptionD2Ev) #27 - to label %3640 unwind label %316 + to label %3639 unwind label %316 311: ; preds = %302 %312 = landingpad { ptr, i32 } @@ -8390,7 +8390,7 @@ _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i10 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1035: ; preds = %324, %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i1033, %311 %.pn851.pn.pn = phi { ptr, i32 } [ %312, %311 ], [ %.pn851.pn, %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i1033 ], [ %.pn851.pn, %324 ] call void @llvm.lifetime.end.p0(ptr nonnull %36) - br label %3637 + br label %3636 330: ; preds = %299 %331 = load i32, ptr %23, align 4, !tbaa !87 @@ -8425,7 +8425,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1035: ; preds = %3 341: ; preds = %340 invoke void @__cxa_throw(ptr nonnull %339, ptr nonnull @_ZTIN5Ipopt11TNLPAdapter12INVALID_TNLPE, ptr nonnull @_ZN5Ipopt14IpoptExceptionD2Ev) #27 - to label %3640 unwind label %347 + to label %3639 unwind label %347 342: ; preds = %333 %343 = landingpad { ptr, i32 } @@ -8488,7 +8488,7 @@ _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i10 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1041: ; preds = %355, %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i1039, %342 %.pn855.pn.pn = phi { ptr, i32 } [ %343, %342 ], [ %.pn855.pn, %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i1039 ], [ %.pn855.pn, %355 ] call void @llvm.lifetime.end.p0(ptr nonnull %40) - br label %3637 + br label %3636 361: ; preds = %330 %362 = load i8, ptr %91, align 8, !tbaa !105, !range !106, !noundef !107 @@ -8548,7 +8548,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1041: ; preds = %3 385: ; preds = %384 invoke void @__cxa_throw(ptr nonnull %383, ptr nonnull @_ZTIN5Ipopt17INVALID_WARMSTARTE, ptr nonnull @_ZN5Ipopt14IpoptExceptionD2Ev) #27 - to label %3640 unwind label %391 + to label %3639 unwind label %391 386: ; preds = %377 %387 = landingpad { ptr, i32 } @@ -8611,7 +8611,7 @@ _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i10 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1047: ; preds = %399, %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i1045, %386 %.pn859.pn.pn = phi { ptr, i32 } [ %387, %386 ], [ %.pn859.pn, %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i1045 ], [ %.pn859.pn, %399 ] call void @llvm.lifetime.end.p0(ptr nonnull %44) - br label %3637 + br label %3636 405: ; preds = %361 store i32 %238, ptr %364, align 8, !tbaa !109 @@ -8890,7 +8890,7 @@ _ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIdSaIdEES 523: ; preds = %522 invoke void @__cxa_throw(ptr nonnull %521, ptr nonnull @_ZTIN5Ipopt11TNLPAdapter12INVALID_TNLPE, ptr nonnull @_ZN5Ipopt14IpoptExceptionD2Ev) #27 - to label %3640 unwind label %537 + to label %3639 unwind label %537 524: ; preds = %489 %525 = landingpad { ptr, i32 } @@ -9184,7 +9184,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1056: ; preds = %5 647: ; preds = %646 invoke void @__cxa_throw(ptr nonnull %644, ptr nonnull @_ZTIN5Ipopt19INCONSISTENT_BOUNDSE, ptr nonnull @_ZN5Ipopt14IpoptExceptionD2Ev) #27 - to label %3640 unwind label %651 + to label %3639 unwind label %651 648: ; preds = %640 %649 = landingpad { ptr, i32 } @@ -9442,7 +9442,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1062: ; preds = %_ 739: ; preds = %738 invoke void @__cxa_throw(ptr nonnull %736, ptr nonnull @_ZTIN5Ipopt19INCONSISTENT_BOUNDSE, ptr nonnull @_ZN5Ipopt14IpoptExceptionD2Ev) #27 - to label %3640 unwind label %743 + to label %3639 unwind label %743 740: ; preds = %732 %741 = landingpad { ptr, i32 } @@ -14424,7 +14424,7 @@ _ZNSt6vectorIdSaIdEED2Ev.exit1448: ; preds = %.loopexit1998, %.lo 2706: ; preds = %2705 invoke void @__cxa_throw(ptr nonnull %2703, ptr nonnull @_ZTIN5Ipopt11TNLPAdapter12INVALID_TNLPE, ptr nonnull @_ZN5Ipopt14IpoptExceptionD2Ev) #27 - to label %3640 unwind label %2714 + to label %3639 unwind label %2714 2707: ; preds = %.loopexit1997 %2708 = landingpad { ptr, i32 } @@ -15272,7 +15272,7 @@ _ZNSt6vectorIiSaIiEE9push_backERKi.exit1477: ; preds = %2804, %_ZNSt6vector 3104: ; preds = %3103 invoke void @__cxa_throw(ptr nonnull %3101, ptr nonnull @_ZTIN5Ipopt14OPTION_INVALIDE, ptr nonnull @_ZN5Ipopt14IpoptExceptionD2Ev) #27 - to label %3640 unwind label %3116 + to label %3639 unwind label %3116 3105: ; preds = %3053 %3106 = landingpad { ptr, i32 } @@ -15925,7 +15925,7 @@ _ZN5Ipopt8SmartPtrINS_16DenseVectorSpaceEED2Ev.exit1530: ; preds = %1021, %_ZN5I call void @llvm.lifetime.end.p0(ptr nonnull %49) call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS5_SaIS5_EESt4lessIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %48) #26 call void @llvm.lifetime.end.p0(ptr nonnull %48) - br label %3637 + br label %3636 3377: ; preds = %.thread, %_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS5_SaIS5_EESt4lessIS5_ESaISt4pairIKS5_S8_EEED2Ev.exit1512 %3378 = getelementptr inbounds nuw i8, ptr %0, i64 200 @@ -16407,7 +16407,7 @@ _ZN5Ipopt8SmartPtrIKNS_14SymMatrixSpaceEEaSERKS3_.exit: ; preds = %3605, %3607, %3616 = getelementptr inbounds nuw i8, ptr %0, i64 24 %3617 = load ptr, ptr %3616, align 8, !tbaa !14 %.not1984 = icmp eq ptr %3617, null - br i1 %.not1984, label %3636, label %3618 + br i1 %.not1984, label %3637, label %3618 3618: ; preds = %_ZN5Ipopt8SmartPtrIKNS_14SymMatrixSpaceEEaSERKS3_.exit %3619 = getelementptr inbounds nuw i8, ptr %0, i64 168 @@ -16430,29 +16430,25 @@ _ZN5Ipopt8SmartPtrIKNS_14SymMatrixSpaceEEaSERKS3_.exit: ; preds = %3605, %3607, %3634 = getelementptr inbounds nuw i8, ptr %3633, i64 16 %3635 = load ptr, ptr %3634, align 8 call void (ptr, i32, i32, ptr, ...) %3635(ptr noundef nonnull align 8 dereferenceable(40) %3630, i32 noundef 5, i32 noundef 1, ptr noundef nonnull @.str.105, i32 noundef %3632) - br label %3636 + br label %3637 -3636: ; preds = %3618, %_ZN5Ipopt8SmartPtrIKNS_14SymMatrixSpaceEEaSERKS3_.exit +3636: ; preds = %_ZN5Ipopt8SmartPtrINS_16DenseVectorSpaceEED2Ev.exit1530, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1047, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1041, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1035, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1029, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1023, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1017 + %.pn963.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn963.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %_ZN5Ipopt8SmartPtrINS_16DenseVectorSpaceEED2Ev.exit1530 ], [ %.pn859.pn.pn, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1047 ], [ %.pn855.pn.pn, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1041 ], [ %.pn851.pn.pn, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1035 ], [ %.pn847.pn.pn, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1029 ], [ %.pn843.pn.pn, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1023 ], [ %.pn839.pn.pn, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1017 ] call void @llvm.lifetime.end.p0(ptr nonnull %23) call void @llvm.lifetime.end.p0(ptr nonnull %22) call void @llvm.lifetime.end.p0(ptr nonnull %21) call void @llvm.lifetime.end.p0(ptr nonnull %20) br label %3638 -3637: ; preds = %_ZN5Ipopt8SmartPtrINS_16DenseVectorSpaceEED2Ev.exit1530, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1047, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1041, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1035, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1029, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1023, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1017 - %.pn963.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn963.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %_ZN5Ipopt8SmartPtrINS_16DenseVectorSpaceEED2Ev.exit1530 ], [ %.pn859.pn.pn, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1047 ], [ %.pn855.pn.pn, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1041 ], [ %.pn851.pn.pn, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1035 ], [ %.pn847.pn.pn, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1029 ], [ %.pn843.pn.pn, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1023 ], [ %.pn839.pn.pn, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1017 ] +3637: ; preds = %_ZN5Ipopt8SmartPtrIKNS_14SymMatrixSpaceEEaSERKS3_.exit, %3618 call void @llvm.lifetime.end.p0(ptr nonnull %23) call void @llvm.lifetime.end.p0(ptr nonnull %22) call void @llvm.lifetime.end.p0(ptr nonnull %21) call void @llvm.lifetime.end.p0(ptr nonnull %20) - br label %3639 - -3638: ; preds = %86, %3636 - %.1 = phi i1 [ true, %3636 ], [ false, %86 ] - ret i1 %.1 + ret i1 true -3639: ; preds = %3637, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1005 - %.pn963.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn963.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %3637 ], [ %.pn.pn.pn, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1005 ] +3639: ; preds = %3636, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1005 + %.pn963.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn963.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %3636 ], [ %.pn.pn.pn, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit1005 ] resume { ptr, i32 } %.pn963.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn 3640: ; preds = %3104, %2706, %739, %647, %523, %385, %341, %310, %279, %248, %217, %105 @@ -16460,7 +16456,7 @@ _ZN5Ipopt8SmartPtrIKNS_14SymMatrixSpaceEEaSERKS3_.exit: ; preds = %3605, %3607, } ; Function Attrs: mustprogress uwtable -define noundef zeroext i1 @_ZN5Ipopt11TNLPAdapter16CheckDerivativesENS0_18DerivativeTestEnumEi(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(600) %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 { +define noundef zeroext range(i1 -1, 0) i1 @_ZN5Ipopt11TNLPAdapter16CheckDerivativesENS0_18DerivativeTestEnumEi(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(600) %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 { %4 = alloca %"class.std::__cxx11::basic_string", align 8 %5 = alloca %"class.std::allocator.7", align 1 %6 = alloca %"class.std::__cxx11::basic_string", align 8 @@ -20622,7 +20618,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S } ; Function Attrs: mustprogress uwtable -define noundef zeroext i1 @_ZN5Ipopt11TNLPAdapter20GetBoundsInformationERKNS_6MatrixERNS_6VectorES3_S5_S3_S5_S3_S5_(ptr noundef nonnull align 8 captures(none) dereferenceable(600) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(69) %1, ptr noundef nonnull align 8 dereferenceable(205) %2, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(69) %3, ptr noundef nonnull align 8 dereferenceable(205) %4, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(69) %5, ptr noundef nonnull align 8 dereferenceable(205) %6, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(69) %7, ptr noundef nonnull align 8 dereferenceable(205) %8) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 { +define noundef zeroext range(i1 -1, 0) i1 @_ZN5Ipopt11TNLPAdapter20GetBoundsInformationERKNS_6MatrixERNS_6VectorES3_S5_S3_S5_S3_S5_(ptr noundef nonnull align 8 captures(none) dereferenceable(600) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(69) %1, ptr noundef nonnull align 8 dereferenceable(205) %2, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(69) %3, ptr noundef nonnull align 8 dereferenceable(205) %4, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(69) %5, ptr noundef nonnull align 8 dereferenceable(205) %6, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(69) %7, ptr noundef nonnull align 8 dereferenceable(205) %8) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 { %10 = alloca %"class.std::__cxx11::basic_string", align 8 %11 = alloca %"class.std::allocator.7", align 1 %12 = alloca %"class.std::__cxx11::basic_string", align 8 diff --git a/bench/jq/optimized/regexec.ll b/bench/jq/optimized/regexec.ll index 29a37d4d5f8..6ea0037e603 100644 --- a/bench/jq/optimized/regexec.ll +++ b/bench/jq/optimized/regexec.ll @@ -44,41 +44,41 @@ target triple = "x86_64-pc-linux-gnu" @.str.5 = private unnamed_addr constant [3 x i8] c"<=\00", align 1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @onig_set_match_stack_limit_size_of_match_param(ptr noundef writeonly captures(none) initializes((0, 4)) %0, i32 noundef %1) local_unnamed_addr #0 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_match_stack_limit_size_of_match_param(ptr noundef writeonly captures(none) initializes((0, 4)) %0, i32 noundef %1) local_unnamed_addr #0 { store i32 %1, ptr %0, align 8, !tbaa !4 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @onig_set_retry_limit_in_match_of_match_param(ptr noundef writeonly captures(none) initializes((8, 16)) %0, i64 noundef %1) local_unnamed_addr #0 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_retry_limit_in_match_of_match_param(ptr noundef writeonly captures(none) initializes((8, 16)) %0, i64 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 8 store i64 %1, ptr %3, align 8, !tbaa !11 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @onig_set_retry_limit_in_search_of_match_param(ptr noundef writeonly captures(none) initializes((16, 24)) %0, i64 noundef %1) local_unnamed_addr #0 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_retry_limit_in_search_of_match_param(ptr noundef writeonly captures(none) initializes((16, 24)) %0, i64 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 16 store i64 %1, ptr %3, align 8, !tbaa !12 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @onig_set_progress_callout_of_match_param(ptr noundef writeonly captures(none) initializes((32, 40)) %0, ptr noundef %1) local_unnamed_addr #0 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_progress_callout_of_match_param(ptr noundef writeonly captures(none) initializes((32, 40)) %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 32 store ptr %1, ptr %3, align 8, !tbaa !13 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @onig_set_retraction_callout_of_match_param(ptr noundef writeonly captures(none) initializes((40, 48)) %0, ptr noundef %1) local_unnamed_addr #0 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_retraction_callout_of_match_param(ptr noundef writeonly captures(none) initializes((40, 48)) %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 40 store ptr %1, ptr %3, align 8, !tbaa !14 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @onig_set_callout_user_data_of_match_param(ptr noundef writeonly captures(none) initializes((24, 32)) %0, ptr noundef %1) local_unnamed_addr #0 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_callout_user_data_of_match_param(ptr noundef writeonly captures(none) initializes((24, 32)) %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 24 store ptr %1, ptr %3, align 8, !tbaa !15 ret i32 0 @@ -98,7 +98,7 @@ define dso_local ptr @onig_get_callback_each_match() local_unnamed_addr #2 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_set_callback_each_match(ptr noundef %0) local_unnamed_addr #3 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_callback_each_match(ptr noundef %0) local_unnamed_addr #3 { store ptr %0, ptr @CallbackEachMatch, align 8, !tbaa !20 ret i32 0 } @@ -602,7 +602,7 @@ define dso_local i32 @onig_get_match_stack_limit_size() local_unnamed_addr #2 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_set_match_stack_limit_size(i32 noundef %0) local_unnamed_addr #3 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_match_stack_limit_size(i32 noundef %0) local_unnamed_addr #3 { store i32 %0, ptr @MatchStackLimit, align 4, !tbaa !24 ret i32 0 } @@ -614,7 +614,7 @@ define dso_local i64 @onig_get_retry_limit_in_match() local_unnamed_addr #2 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_set_retry_limit_in_match(i64 noundef %0) local_unnamed_addr #3 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_retry_limit_in_match(i64 noundef %0) local_unnamed_addr #3 { store i64 %0, ptr @RetryLimitInMatch, align 8, !tbaa !39 ret i32 0 } @@ -626,7 +626,7 @@ define dso_local i64 @onig_get_retry_limit_in_search() local_unnamed_addr #2 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_set_retry_limit_in_search(i64 noundef %0) local_unnamed_addr #3 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_retry_limit_in_search(i64 noundef %0) local_unnamed_addr #3 { store i64 %0, ptr @RetryLimitInSearch, align 8, !tbaa !39 ret i32 0 } @@ -638,7 +638,7 @@ define dso_local i64 @onig_get_subexp_call_limit_in_search() local_unnamed_addr } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_set_subexp_call_limit_in_search(i64 noundef %0) local_unnamed_addr #3 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_subexp_call_limit_in_search(i64 noundef %0) local_unnamed_addr #3 { store i64 %0, ptr @SubexpCallLimitInSearch, align 8, !tbaa !39 ret i32 0 } @@ -679,7 +679,7 @@ define dso_local noalias noundef ptr @onig_new_match_param() local_unnamed_addr } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_initialize_match_param(ptr noundef writeonly captures(none) initializes((0, 4), (8, 52), (56, 68)) %0) local_unnamed_addr #11 { +define dso_local noundef range(i32 0, 1) i32 @onig_initialize_match_param(ptr noundef writeonly captures(none) initializes((0, 4), (8, 52), (56, 68)) %0) local_unnamed_addr #11 { %2 = load i32, ptr @MatchStackLimit, align 4, !tbaa !24 store i32 %2, ptr %0, align 8, !tbaa !4 %3 = load i64, ptr @RetryLimitInMatch, align 8, !tbaa !39 @@ -9350,7 +9350,7 @@ define dso_local i32 @onig_get_subexp_call_max_nest_level() local_unnamed_addr # } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_set_subexp_call_max_nest_level(i32 noundef %0) local_unnamed_addr #3 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_subexp_call_max_nest_level(i32 noundef %0) local_unnamed_addr #3 { store i32 %0, ptr @SubexpCallMaxNestLevel, align 4, !tbaa !24 ret i32 0 } @@ -10070,7 +10070,7 @@ define dso_local ptr @onig_regset_get_region(ptr noundef readonly captures(none) } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_init_for_match_at(ptr noundef readonly captures(none) %0) local_unnamed_addr #20 { +define dso_local noundef range(i32 0, 1) i32 @onig_init_for_match_at(ptr noundef readonly captures(none) %0) local_unnamed_addr #20 { %2 = getelementptr inbounds nuw i8, ptr %0, i64 24 %3 = load i32, ptr %2, align 8, !tbaa !99 %.not2304.i = icmp eq i32 %3, 0 @@ -10108,7 +10108,7 @@ define dso_local ptr @onig_get_progress_callout() local_unnamed_addr #2 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_set_progress_callout(ptr noundef %0) local_unnamed_addr #3 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_progress_callout(ptr noundef %0) local_unnamed_addr #3 { store ptr %0, ptr @DefaultProgressCallout, align 8, !tbaa !20 ret i32 0 } @@ -10120,7 +10120,7 @@ define dso_local ptr @onig_get_retraction_callout() local_unnamed_addr #2 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_set_retraction_callout(ptr noundef %0) local_unnamed_addr #3 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_retraction_callout(ptr noundef %0) local_unnamed_addr #3 { store ptr %0, ptr @DefaultRetractionCallout, align 8, !tbaa !20 ret i32 0 } @@ -10425,7 +10425,7 @@ define dso_local range(i32 -30, 1) i32 @onig_get_capture_range_in_callout(ptr no } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define dso_local noundef i32 @onig_get_used_stack_size_in_callout(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(address_is_null) %1, ptr noundef writeonly captures(address_is_null) %2) local_unnamed_addr #18 { +define dso_local noundef range(i32 0, 1) i32 @onig_get_used_stack_size_in_callout(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(address_is_null) %1, ptr noundef writeonly captures(address_is_null) %2) local_unnamed_addr #18 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 88 %5 = load ptr, ptr %4, align 8, !tbaa !164 %6 = getelementptr inbounds nuw i8, ptr %0, i64 80 @@ -10457,12 +10457,12 @@ define dso_local noundef i32 @onig_get_used_stack_size_in_callout(ptr noundef re } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @onig_builtin_fail(ptr noundef readnone captures(none) %0, ptr noundef readnone captures(none) %1) local_unnamed_addr #22 { +define dso_local noundef range(i32 1, 2) i32 @onig_builtin_fail(ptr noundef readnone captures(none) %0, ptr noundef readnone captures(none) %1) local_unnamed_addr #22 { ret i32 1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @onig_builtin_mismatch(ptr noundef readnone captures(none) %0, ptr noundef readnone captures(none) %1) local_unnamed_addr #22 { +define dso_local noundef range(i32 -1, 0) i32 @onig_builtin_mismatch(ptr noundef readnone captures(none) %0, ptr noundef readnone captures(none) %1) local_unnamed_addr #22 { ret i32 -1 } diff --git a/bench/libcxx/optimized/locale.ll b/bench/libcxx/optimized/locale.ll index de752d03a04..07c5788d538 100644 --- a/bench/libcxx/optimized/locale.ll +++ b/bench/libcxx/optimized/locale.ll @@ -58905,32 +58905,32 @@ define dso_local void @_ZNSt3__17codecvtIcc11__mbstate_tED0Ev(ptr noundef nonnul } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @_ZNKSt3__17codecvtIcc11__mbstate_tE6do_outERS1_PKcS5_RS5_PcS7_RS7_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4, ptr noundef %5, ptr readnone captures(none) %6, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %7) unnamed_addr #25 align 2 { +define dso_local noundef range(i32 3, 4) i32 @_ZNKSt3__17codecvtIcc11__mbstate_tE6do_outERS1_PKcS5_RS5_PcS7_RS7_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4, ptr noundef %5, ptr readnone captures(none) %6, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %7) unnamed_addr #25 align 2 { store ptr %2, ptr %4, align 8, !tbaa !72 store ptr %5, ptr %7, align 8, !tbaa !72 ret i32 3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @_ZNKSt3__17codecvtIcc11__mbstate_tE5do_inERS1_PKcS5_RS5_PcS7_RS7_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4, ptr noundef %5, ptr readnone captures(none) %6, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %7) unnamed_addr #25 align 2 { +define dso_local noundef range(i32 3, 4) i32 @_ZNKSt3__17codecvtIcc11__mbstate_tE5do_inERS1_PKcS5_RS5_PcS7_RS7_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4, ptr noundef %5, ptr readnone captures(none) %6, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %7) unnamed_addr #25 align 2 { store ptr %2, ptr %4, align 8, !tbaa !72 store ptr %5, ptr %7, align 8, !tbaa !72 ret i32 3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @_ZNKSt3__17codecvtIcc11__mbstate_tE10do_unshiftERS1_PcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { +define dso_local noundef range(i32 3, 4) i32 @_ZNKSt3__17codecvtIcc11__mbstate_tE10do_unshiftERS1_PcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { store ptr %2, ptr %4, align 8, !tbaa !72 ret i32 3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__17codecvtIcc11__mbstate_tE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 1, 2) i32 @_ZNKSt3__17codecvtIcc11__mbstate_tE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNKSt3__17codecvtIcc11__mbstate_tE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef zeroext range(i1 -1, 0) i1 @_ZNKSt3__17codecvtIcc11__mbstate_tE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i1 true } @@ -58945,7 +58945,7 @@ define dso_local noundef i32 @_ZNKSt3__17codecvtIcc11__mbstate_tE9do_lengthERS1_ } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__17codecvtIcc11__mbstate_tE13do_max_lengthEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 1, 2) i32 @_ZNKSt3__17codecvtIcc11__mbstate_tE13do_max_lengthEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 1 } @@ -59619,7 +59619,7 @@ _ZNSt3__18__locale12__mb_len_maxB8ne210000EP15__locale_struct.exit: ; preds = %1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNKSt3__17codecvtIwc11__mbstate_tE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNKSt3__17codecvtIwc11__mbstate_tE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i1 false } @@ -60296,18 +60296,18 @@ define internal fastcc noundef range(i32 0, 3) i32 @_ZNSt3__1L13utf8_to_utf16EPK } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @_ZNKSt3__17codecvtIDsc11__mbstate_tE10do_unshiftERS1_PcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { +define dso_local noundef range(i32 3, 4) i32 @_ZNKSt3__17codecvtIDsc11__mbstate_tE10do_unshiftERS1_PcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { store ptr %2, ptr %4, align 8, !tbaa !72 ret i32 3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__17codecvtIDsc11__mbstate_tE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 0, 1) i32 @_ZNKSt3__17codecvtIDsc11__mbstate_tE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNKSt3__17codecvtIDsc11__mbstate_tE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNKSt3__17codecvtIDsc11__mbstate_tE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i1 false } @@ -60555,7 +60555,7 @@ define internal fastcc noundef i32 @_ZNSt3__1L20utf8_to_utf16_lengthEPKhS1_mmNS_ } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__17codecvtIDsc11__mbstate_tE13do_max_lengthEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 4, 5) i32 @_ZNKSt3__17codecvtIDsc11__mbstate_tE13do_max_lengthEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 4 } @@ -60615,18 +60615,18 @@ define dso_local noundef range(i32 0, 3) i32 @_ZNKSt3__17codecvtIDsDu11__mbstate } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @_ZNKSt3__17codecvtIDsDu11__mbstate_tE10do_unshiftERS1_PDuS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { +define dso_local noundef range(i32 3, 4) i32 @_ZNKSt3__17codecvtIDsDu11__mbstate_tE10do_unshiftERS1_PDuS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { store ptr %2, ptr %4, align 8, !tbaa !425 ret i32 3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__17codecvtIDsDu11__mbstate_tE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 0, 1) i32 @_ZNKSt3__17codecvtIDsDu11__mbstate_tE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNKSt3__17codecvtIDsDu11__mbstate_tE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNKSt3__17codecvtIDsDu11__mbstate_tE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i1 false } @@ -60637,7 +60637,7 @@ define dso_local noundef i32 @_ZNKSt3__17codecvtIDsDu11__mbstate_tE9do_lengthERS } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__17codecvtIDsDu11__mbstate_tE13do_max_lengthEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 4, 5) i32 @_ZNKSt3__17codecvtIDsDu11__mbstate_tE13do_max_lengthEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 4 } @@ -61224,18 +61224,18 @@ define internal fastcc noundef range(i32 0, 3) i32 @_ZNSt3__1L12utf8_to_ucs4EPKh } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @_ZNKSt3__17codecvtIDic11__mbstate_tE10do_unshiftERS1_PcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { +define dso_local noundef range(i32 3, 4) i32 @_ZNKSt3__17codecvtIDic11__mbstate_tE10do_unshiftERS1_PcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { store ptr %2, ptr %4, align 8, !tbaa !72 ret i32 3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__17codecvtIDic11__mbstate_tE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 0, 1) i32 @_ZNKSt3__17codecvtIDic11__mbstate_tE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNKSt3__17codecvtIDic11__mbstate_tE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNKSt3__17codecvtIDic11__mbstate_tE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i1 false } @@ -61467,7 +61467,7 @@ define internal fastcc noundef i32 @_ZNSt3__1L19utf8_to_ucs4_lengthEPKhS1_mmNS_1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__17codecvtIDic11__mbstate_tE13do_max_lengthEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 4, 5) i32 @_ZNKSt3__17codecvtIDic11__mbstate_tE13do_max_lengthEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 4 } @@ -61642,18 +61642,18 @@ define dso_local noundef range(i32 0, 3) i32 @_ZNKSt3__17codecvtIDiDu11__mbstate } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @_ZNKSt3__17codecvtIDiDu11__mbstate_tE10do_unshiftERS1_PDuS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { +define dso_local noundef range(i32 3, 4) i32 @_ZNKSt3__17codecvtIDiDu11__mbstate_tE10do_unshiftERS1_PDuS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { store ptr %2, ptr %4, align 8, !tbaa !425 ret i32 3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__17codecvtIDiDu11__mbstate_tE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 0, 1) i32 @_ZNKSt3__17codecvtIDiDu11__mbstate_tE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNKSt3__17codecvtIDiDu11__mbstate_tE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNKSt3__17codecvtIDiDu11__mbstate_tE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i1 false } @@ -61664,7 +61664,7 @@ define dso_local noundef i32 @_ZNKSt3__17codecvtIDiDu11__mbstate_tE9do_lengthERS } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__17codecvtIDiDu11__mbstate_tE13do_max_lengthEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 4, 5) i32 @_ZNKSt3__17codecvtIDiDu11__mbstate_tE13do_max_lengthEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 4 } @@ -61725,18 +61725,18 @@ define dso_local noundef range(i32 0, 3) i32 @_ZNKSt3__114__codecvt_utf8IwE5do_i } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @_ZNKSt3__114__codecvt_utf8IwE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { +define dso_local noundef range(i32 3, 4) i32 @_ZNKSt3__114__codecvt_utf8IwE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { store ptr %2, ptr %4, align 8, !tbaa !72 ret i32 3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__114__codecvt_utf8IwE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 0, 1) i32 @_ZNKSt3__114__codecvt_utf8IwE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNKSt3__114__codecvt_utf8IwE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNKSt3__114__codecvt_utf8IwE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i1 false } @@ -62079,18 +62079,18 @@ _ZNSt3__1L12utf8_to_ucs2EPKhS1_RS1_PtS3_RS3_mNS_12codecvt_modeE.exit: ; preds = } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @_ZNKSt3__114__codecvt_utf8IDsE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { +define dso_local noundef range(i32 3, 4) i32 @_ZNKSt3__114__codecvt_utf8IDsE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { store ptr %2, ptr %4, align 8, !tbaa !72 ret i32 3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__114__codecvt_utf8IDsE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 0, 1) i32 @_ZNKSt3__114__codecvt_utf8IDsE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNKSt3__114__codecvt_utf8IDsE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNKSt3__114__codecvt_utf8IDsE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i1 false } @@ -62328,18 +62328,18 @@ define dso_local noundef range(i32 0, 3) i32 @_ZNKSt3__114__codecvt_utf8IDiE5do_ } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @_ZNKSt3__114__codecvt_utf8IDiE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { +define dso_local noundef range(i32 3, 4) i32 @_ZNKSt3__114__codecvt_utf8IDiE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { store ptr %2, ptr %4, align 8, !tbaa !72 ret i32 3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__114__codecvt_utf8IDiE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 0, 1) i32 @_ZNKSt3__114__codecvt_utf8IDiE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNKSt3__114__codecvt_utf8IDiE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNKSt3__114__codecvt_utf8IDiE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i1 false } @@ -62600,18 +62600,18 @@ _ZNSt3__1L15utf16be_to_ucs4EPKhS1_RS1_PjS3_RS3_mNS_12codecvt_modeE.exit: ; preds } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @_ZNKSt3__115__codecvt_utf16IwLb0EE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { +define dso_local noundef range(i32 3, 4) i32 @_ZNKSt3__115__codecvt_utf16IwLb0EE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { store ptr %2, ptr %4, align 8, !tbaa !72 ret i32 3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__115__codecvt_utf16IwLb0EE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 0, 1) i32 @_ZNKSt3__115__codecvt_utf16IwLb0EE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNKSt3__115__codecvt_utf16IwLb0EE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNKSt3__115__codecvt_utf16IwLb0EE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i1 false } @@ -62972,18 +62972,18 @@ _ZNSt3__1L15utf16le_to_ucs4EPKhS1_RS1_PjS3_RS3_mNS_12codecvt_modeE.exit: ; preds } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @_ZNKSt3__115__codecvt_utf16IwLb1EE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { +define dso_local noundef range(i32 3, 4) i32 @_ZNKSt3__115__codecvt_utf16IwLb1EE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { store ptr %2, ptr %4, align 8, !tbaa !72 ret i32 3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__115__codecvt_utf16IwLb1EE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 0, 1) i32 @_ZNKSt3__115__codecvt_utf16IwLb1EE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNKSt3__115__codecvt_utf16IwLb1EE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNKSt3__115__codecvt_utf16IwLb1EE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i1 false } @@ -63270,18 +63270,18 @@ _ZNSt3__1L15utf16be_to_ucs2EPKhS1_RS1_PtS3_RS3_mNS_12codecvt_modeE.exit: ; preds } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @_ZNKSt3__115__codecvt_utf16IDsLb0EE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { +define dso_local noundef range(i32 3, 4) i32 @_ZNKSt3__115__codecvt_utf16IDsLb0EE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { store ptr %2, ptr %4, align 8, !tbaa !72 ret i32 3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__115__codecvt_utf16IDsLb0EE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 0, 1) i32 @_ZNKSt3__115__codecvt_utf16IDsLb0EE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNKSt3__115__codecvt_utf16IDsLb0EE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNKSt3__115__codecvt_utf16IDsLb0EE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i1 false } @@ -63527,18 +63527,18 @@ _ZNSt3__1L15utf16le_to_ucs2EPKhS1_RS1_PtS3_RS3_mNS_12codecvt_modeE.exit: ; preds } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @_ZNKSt3__115__codecvt_utf16IDsLb1EE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { +define dso_local noundef range(i32 3, 4) i32 @_ZNKSt3__115__codecvt_utf16IDsLb1EE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { store ptr %2, ptr %4, align 8, !tbaa !72 ret i32 3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__115__codecvt_utf16IDsLb1EE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 0, 1) i32 @_ZNKSt3__115__codecvt_utf16IDsLb1EE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNKSt3__115__codecvt_utf16IDsLb1EE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNKSt3__115__codecvt_utf16IDsLb1EE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i1 false } @@ -63861,18 +63861,18 @@ _ZNSt3__1L15utf16be_to_ucs4EPKhS1_RS1_PjS3_RS3_mNS_12codecvt_modeE.exit: ; preds } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @_ZNKSt3__115__codecvt_utf16IDiLb0EE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { +define dso_local noundef range(i32 3, 4) i32 @_ZNKSt3__115__codecvt_utf16IDiLb0EE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { store ptr %2, ptr %4, align 8, !tbaa !72 ret i32 3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__115__codecvt_utf16IDiLb0EE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 0, 1) i32 @_ZNKSt3__115__codecvt_utf16IDiLb0EE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNKSt3__115__codecvt_utf16IDiLb0EE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNKSt3__115__codecvt_utf16IDiLb0EE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i1 false } @@ -64233,18 +64233,18 @@ _ZNSt3__1L15utf16le_to_ucs4EPKhS1_RS1_PjS3_RS3_mNS_12codecvt_modeE.exit: ; preds } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @_ZNKSt3__115__codecvt_utf16IDiLb1EE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { +define dso_local noundef range(i32 3, 4) i32 @_ZNKSt3__115__codecvt_utf16IDiLb1EE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { store ptr %2, ptr %4, align 8, !tbaa !72 ret i32 3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__115__codecvt_utf16IDiLb1EE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 0, 1) i32 @_ZNKSt3__115__codecvt_utf16IDiLb1EE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNKSt3__115__codecvt_utf16IDiLb1EE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNKSt3__115__codecvt_utf16IDiLb1EE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i1 false } @@ -64955,18 +64955,18 @@ define internal fastcc noundef range(i32 0, 3) i32 @_ZNSt3__1L13utf8_to_utf16EPK } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @_ZNKSt3__120__codecvt_utf8_utf16IwE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { +define dso_local noundef range(i32 3, 4) i32 @_ZNKSt3__120__codecvt_utf8_utf16IwE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { store ptr %2, ptr %4, align 8, !tbaa !72 ret i32 3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__120__codecvt_utf8_utf16IwE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 0, 1) i32 @_ZNKSt3__120__codecvt_utf8_utf16IwE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNKSt3__120__codecvt_utf8_utf16IwE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNKSt3__120__codecvt_utf8_utf16IwE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i1 false } @@ -65047,18 +65047,18 @@ define dso_local noundef range(i32 0, 3) i32 @_ZNKSt3__120__codecvt_utf8_utf16ID } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @_ZNKSt3__120__codecvt_utf8_utf16IDsE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { +define dso_local noundef range(i32 3, 4) i32 @_ZNKSt3__120__codecvt_utf8_utf16IDsE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { store ptr %2, ptr %4, align 8, !tbaa !72 ret i32 3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__120__codecvt_utf8_utf16IDsE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 0, 1) i32 @_ZNKSt3__120__codecvt_utf8_utf16IDsE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNKSt3__120__codecvt_utf8_utf16IDsE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNKSt3__120__codecvt_utf8_utf16IDsE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i1 false } @@ -65139,18 +65139,18 @@ define dso_local noundef range(i32 0, 3) i32 @_ZNKSt3__120__codecvt_utf8_utf16ID } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @_ZNKSt3__120__codecvt_utf8_utf16IDiE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { +define dso_local noundef range(i32 3, 4) i32 @_ZNKSt3__120__codecvt_utf8_utf16IDiE10do_unshiftER11__mbstate_tPcS4_RS4_(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 4 captures(none) %1, ptr noundef %2, ptr readnone captures(none) %3, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(8) initializes((0, 8)) %4) unnamed_addr #25 align 2 { store ptr %2, ptr %4, align 8, !tbaa !72 ret i32 3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNKSt3__120__codecvt_utf8_utf16IDiE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef range(i32 0, 1) i32 @_ZNKSt3__120__codecvt_utf8_utf16IDiE11do_encodingEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNKSt3__120__codecvt_utf8_utf16IDiE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNKSt3__120__codecvt_utf8_utf16IDiE16do_always_noconvEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 align 2 { ret i1 false } diff --git a/bench/lief/optimized/Builder.ll b/bench/lief/optimized/Builder.ll index ca4006ae648..de40b02627a 100644 --- a/bench/lief/optimized/Builder.ll +++ b/bench/lief/optimized/Builder.ll @@ -1571,7 +1571,7 @@ _ZN4LIEF5MachO12DylibCommand7classofEPKNS0_11LoadCommandE.exit: ; preds = %.lr.p } ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i64 @_ZN4LIEF5MachO7Builder9build_fatEv(ptr noundef nonnull align 8 dereferenceable(201) %0) local_unnamed_addr #0 align 2 { +define hidden noundef range(i64 4294967296, 4294967297) i64 @_ZN4LIEF5MachO7Builder9build_fatEv(ptr noundef nonnull align 8 dereferenceable(201) %0) local_unnamed_addr #0 align 2 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 @@ -1847,7 +1847,7 @@ _ZNSt6vectorIhSaIhEEC2ERKS1_.exit: ; preds = %_ZNSt12_Vector_base } ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i64 @_ZN4LIEF5MachO7Builder16build_fat_headerEv(ptr noundef nonnull align 8 dereferenceable(201) initializes((56, 72)) %0) local_unnamed_addr #0 align 2 { +define hidden noundef range(i64 4294967296, 4294967297) i64 @_ZN4LIEF5MachO7Builder16build_fat_headerEv(ptr noundef nonnull align 8 dereferenceable(201) initializes((56, 72)) %0) local_unnamed_addr #0 align 2 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 @@ -2329,14 +2329,13 @@ define hidden noundef nonnull align 8 dereferenceable(24) ptr @_ZN4LIEF5MachO7Bu } ; Function Attrs: mustprogress nounwind uwtable -define noundef range(i64 0, 1099511627776) i64 @_ZN4LIEF5MachO7Builder5writeERNS0_6BinaryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(488) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) local_unnamed_addr #0 align 2 { +define noundef range(i64 4294967296, 4294967297) i64 @_ZN4LIEF5MachO7Builder5writeERNS0_6BinaryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(488) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) local_unnamed_addr #0 align 2 { %3 = tail call i64 @_ZN4LIEF5MachO7Builder5writeERNS0_6BinaryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_8config_tE(ptr noundef nonnull align 8 dereferenceable(488) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, i8 1) - %.sroa.02.0.insert.ext = and i64 %3, 1099511627775 - ret i64 %.sroa.02.0.insert.ext + ret i64 4294967296 } ; Function Attrs: mustprogress nounwind uwtable -define noundef i64 @_ZN4LIEF5MachO7Builder5writeERNS0_6BinaryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_8config_tE(ptr noundef nonnull align 8 dereferenceable(488) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, i8 %2) local_unnamed_addr #0 align 2 { +define noundef range(i64 4294967296, 4294967297) i64 @_ZN4LIEF5MachO7Builder5writeERNS0_6BinaryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_8config_tE(ptr noundef nonnull align 8 dereferenceable(488) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, i8 %2) local_unnamed_addr #0 align 2 { %4 = alloca %"class.LIEF::MachO::Builder", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %4) call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(201) %4, i8 0, i64 24, i1 false) @@ -2484,14 +2483,13 @@ _ZNK4LIEF5MachO7Builder5writeERSo.exit: ; preds = %26, %15, %12 } ; Function Attrs: mustprogress nounwind uwtable -define noundef range(i64 0, 1099511627776) i64 @_ZN4LIEF5MachO7Builder5writeERNS0_6BinaryERSo(ptr noundef nonnull align 8 dereferenceable(488) %0, ptr noundef nonnull align 8 dereferenceable(8) %1) local_unnamed_addr #0 align 2 { +define noundef range(i64 4294967296, 4294967297) i64 @_ZN4LIEF5MachO7Builder5writeERNS0_6BinaryERSo(ptr noundef nonnull align 8 dereferenceable(488) %0, ptr noundef nonnull align 8 dereferenceable(8) %1) local_unnamed_addr #0 align 2 { %3 = tail call i64 @_ZN4LIEF5MachO7Builder5writeERNS0_6BinaryERSoNS1_8config_tE(ptr noundef nonnull align 8 dereferenceable(488) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i8 1) - %.sroa.02.0.insert.ext = and i64 %3, 1099511627775 - ret i64 %.sroa.02.0.insert.ext + ret i64 4294967296 } ; Function Attrs: mustprogress nounwind uwtable -define noundef i64 @_ZN4LIEF5MachO7Builder5writeERNS0_6BinaryERSoNS1_8config_tE(ptr noundef nonnull align 8 dereferenceable(488) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i8 %2) local_unnamed_addr #0 align 2 { +define noundef range(i64 4294967296, 4294967297) i64 @_ZN4LIEF5MachO7Builder5writeERNS0_6BinaryERSoNS1_8config_tE(ptr noundef nonnull align 8 dereferenceable(488) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i8 %2) local_unnamed_addr #0 align 2 { %4 = alloca %"class.LIEF::MachO::Builder", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %4) call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(201) %4, i8 0, i64 24, i1 false) @@ -2589,7 +2587,7 @@ _ZNK4LIEF5MachO7Builder5writeERSo.exit: ; preds = %_ZN4LIEF5MachO7Buil } ; Function Attrs: mustprogress nounwind uwtable -define hidden noundef i64 @_ZNK4LIEF5MachO7Builder5writeERSo(ptr noundef nonnull align 8 captures(none) dereferenceable(201) %0, ptr noundef nonnull align 8 dereferenceable(8) %1) local_unnamed_addr #0 align 2 { +define hidden noundef range(i64 4294967296, 4294967297) i64 @_ZNK4LIEF5MachO7Builder5writeERSo(ptr noundef nonnull align 8 captures(none) dereferenceable(201) %0, ptr noundef nonnull align 8 dereferenceable(8) %1) local_unnamed_addr #0 align 2 { _ZN4LIEF15vector_iostream4moveERSt6vectorIhSaIhEE.exit: %2 = getelementptr inbounds nuw i8, ptr %0, i64 72 %3 = load ptr, ptr %2, align 8, !tbaa !3 @@ -2616,7 +2614,7 @@ _ZNSt6vectorIhSaIhEED2Ev.exit: ; preds = %_ZN4LIEF15vector_io } ; Function Attrs: mustprogress nounwind uwtable -define noundef range(i64 0, 1099511627776) i64 @_ZN4LIEF5MachO7Builder5writeERNS0_6BinaryERSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(488) %0, ptr noundef nonnull align 8 captures(none) dereferenceable(24) initializes((8, 16)) %1) local_unnamed_addr #0 align 2 { +define noundef range(i64 4294967296, 4294967297) i64 @_ZN4LIEF5MachO7Builder5writeERNS0_6BinaryERSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(488) %0, ptr noundef nonnull align 8 captures(none) dereferenceable(24) initializes((8, 16)) %1) local_unnamed_addr #0 align 2 { %3 = alloca %"class.std::vector.49", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %3) call void @_ZN4LIEF5MachO7Builder9build_rawERNS0_6BinaryENS1_8config_tE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.49") align 8 %3, ptr noundef nonnull align 8 dereferenceable(488) %0, i8 1) @@ -2648,7 +2646,7 @@ _ZN4LIEF5MachO7Builder5writeERNS0_6BinaryERSt6vectorIhSaIhEENS1_8config_tE.exit: } ; Function Attrs: mustprogress nounwind uwtable -define noundef i64 @_ZN4LIEF5MachO7Builder5writeERNS0_6BinaryERSt6vectorIhSaIhEENS1_8config_tE(ptr noundef nonnull align 8 dereferenceable(488) %0, ptr noundef nonnull align 8 captures(none) dereferenceable(24) initializes((8, 16)) %1, i8 %2) local_unnamed_addr #0 align 2 { +define noundef range(i64 4294967296, 4294967297) i64 @_ZN4LIEF5MachO7Builder5writeERNS0_6BinaryERSt6vectorIhSaIhEENS1_8config_tE(ptr noundef nonnull align 8 dereferenceable(488) %0, ptr noundef nonnull align 8 captures(none) dereferenceable(24) initializes((8, 16)) %1, i8 %2) local_unnamed_addr #0 align 2 { %4 = alloca %"class.std::vector.49", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %4) call void @_ZN4LIEF5MachO7Builder9build_rawERNS0_6BinaryENS1_8config_tE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.49") align 8 %4, ptr noundef nonnull align 8 dereferenceable(488) %0, i8 %2) @@ -2680,14 +2678,13 @@ _ZNSt6vectorIhSaIhEED2Ev.exit: ; preds = %14, %3 } ; Function Attrs: mustprogress nounwind uwtable -define noundef range(i64 0, 1099511627776) i64 @_ZN4LIEF5MachO7Builder5writeERNS0_9FatBinaryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) local_unnamed_addr #0 align 2 { +define noundef range(i64 4294967296, 4294967297) i64 @_ZN4LIEF5MachO7Builder5writeERNS0_9FatBinaryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) local_unnamed_addr #0 align 2 { %3 = tail call i64 @_ZN4LIEF5MachO7Builder5writeERNS0_9FatBinaryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_8config_tE(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, i8 1) - %.sroa.02.0.insert.ext = and i64 %3, 1099511627775 - ret i64 %.sroa.02.0.insert.ext + ret i64 4294967296 } ; Function Attrs: mustprogress nounwind uwtable -define noundef i64 @_ZN4LIEF5MachO7Builder5writeERNS0_9FatBinaryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_8config_tE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, i8 %2) local_unnamed_addr #0 align 2 { +define noundef range(i64 4294967296, 4294967297) i64 @_ZN4LIEF5MachO7Builder5writeERNS0_9FatBinaryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_8config_tE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, i8 %2) local_unnamed_addr #0 align 2 { %4 = alloca %"class.LIEF::MachO::Builder", align 8 %5 = getelementptr inbounds nuw i8, ptr %0, i64 8 %6 = getelementptr inbounds nuw i8, ptr %0, i64 16 @@ -2813,14 +2810,13 @@ _ZNSt6vectorIPN4LIEF5MachO6BinaryESaIS3_EED2Ev.exit12: ; preds = %_ZNSt20back_in } ; Function Attrs: mustprogress nounwind uwtable -define noundef range(i64 0, 1099511627776) i64 @_ZN4LIEF5MachO7Builder5writeERNS0_9FatBinaryERSt6vectorIhSaIhEE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) local_unnamed_addr #0 align 2 { +define noundef range(i64 4294967296, 4294967297) i64 @_ZN4LIEF5MachO7Builder5writeERNS0_9FatBinaryERSt6vectorIhSaIhEE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) local_unnamed_addr #0 align 2 { %3 = tail call i64 @_ZN4LIEF5MachO7Builder5writeERNS0_9FatBinaryERSt6vectorIhSaIhEENS1_8config_tE(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i8 1) - %.sroa.02.0.insert.ext = and i64 %3, 1099511627775 - ret i64 %.sroa.02.0.insert.ext + ret i64 4294967296 } ; Function Attrs: mustprogress nounwind uwtable -define noundef i64 @_ZN4LIEF5MachO7Builder5writeERNS0_9FatBinaryERSt6vectorIhSaIhEENS1_8config_tE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i8 %2) local_unnamed_addr #0 align 2 { +define noundef range(i64 4294967296, 4294967297) i64 @_ZN4LIEF5MachO7Builder5writeERNS0_9FatBinaryERSt6vectorIhSaIhEENS1_8config_tE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i8 %2) local_unnamed_addr #0 align 2 { %4 = alloca %"class.LIEF::MachO::Builder", align 8 %5 = getelementptr inbounds nuw i8, ptr %0, i64 8 %6 = getelementptr inbounds nuw i8, ptr %0, i64 16 @@ -3057,14 +3053,13 @@ _ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEENS1_IPhS6_EEET0_T } ; Function Attrs: mustprogress nounwind uwtable -define noundef range(i64 0, 1099511627776) i64 @_ZN4LIEF5MachO7Builder5writeERNS0_9FatBinaryERSo(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(8) %1) local_unnamed_addr #0 align 2 { +define noundef range(i64 4294967296, 4294967297) i64 @_ZN4LIEF5MachO7Builder5writeERNS0_9FatBinaryERSo(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(8) %1) local_unnamed_addr #0 align 2 { %3 = tail call i64 @_ZN4LIEF5MachO7Builder5writeERNS0_9FatBinaryERSoNS1_8config_tE(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i8 1) - %.sroa.02.0.insert.ext = and i64 %3, 1099511627775 - ret i64 %.sroa.02.0.insert.ext + ret i64 4294967296 } ; Function Attrs: mustprogress nounwind uwtable -define noundef i64 @_ZN4LIEF5MachO7Builder5writeERNS0_9FatBinaryERSoNS1_8config_tE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i8 %2) local_unnamed_addr #0 align 2 { +define noundef range(i64 4294967296, 4294967297) i64 @_ZN4LIEF5MachO7Builder5writeERNS0_9FatBinaryERSoNS1_8config_tE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i8 %2) local_unnamed_addr #0 align 2 { %4 = alloca %"class.LIEF::MachO::Builder", align 8 %5 = getelementptr inbounds nuw i8, ptr %0, i64 8 %6 = getelementptr inbounds nuw i8, ptr %0, i64 16 diff --git a/bench/lightgbm/optimized/tree.ll b/bench/lightgbm/optimized/tree.ll index 7ba64541f62..a16ca40b890 100644 --- a/bench/lightgbm/optimized/tree.ll +++ b/bench/lightgbm/optimized/tree.ll @@ -7391,7 +7391,7 @@ _ZNK8LightGBM4Tree13DecisionInnerEjijj.exit.i.i.i: ; preds = %_ZNK8LightGBM4Tree } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_0E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_0E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_0E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -7944,7 +7944,7 @@ _ZNK8LightGBM4Tree13DecisionInnerEjijj.exit.i.i.i: ; preds = %_ZNK8LightGBM4Tree } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_1E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_1E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_1E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -8420,7 +8420,7 @@ _ZNK8LightGBM4Tree22NumericalDecisionInnerEjijj.exit.i.i.i: ; preds = %190, %188 } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_2E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_2E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_2E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -8884,7 +8884,7 @@ _ZNK8LightGBM4Tree22NumericalDecisionInnerEjijj.exit.i.i.i: ; preds = %177, %175 } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_3E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_3E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_3E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -9248,7 +9248,7 @@ _ZNK8LightGBM4Tree13DecisionInnerEjijj.exit.i.i.i: ; preds = %_ZNK8LightGBM4Tree } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_4E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_4E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_4E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -9614,7 +9614,7 @@ _ZNK8LightGBM4Tree13DecisionInnerEjijj.exit.i.i.i: ; preds = %_ZNK8LightGBM4Tree } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_5E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_5E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_5E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -9936,7 +9936,7 @@ _ZNK8LightGBM4Tree22NumericalDecisionInnerEjijj.exit.i.i.i: ; preds = %131, %129 } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_6E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_6E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_6E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -10260,7 +10260,7 @@ _ZNK8LightGBM4Tree22NumericalDecisionInnerEjijj.exit.i.i.i: ; preds = %132, %130 } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_7E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_7E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEiPdE3$_7E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -10882,7 +10882,7 @@ _ZNK8LightGBM4Tree13DecisionInnerEjijj.exit.i.i.i: ; preds = %_ZNK8LightGBM4Tree } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_0E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_0E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_0E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -11411,7 +11411,7 @@ _ZNK8LightGBM4Tree13DecisionInnerEjijj.exit.i.i.i: ; preds = %_ZNK8LightGBM4Tree } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_1E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_1E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_1E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -11910,7 +11910,7 @@ _ZNK8LightGBM4Tree22NumericalDecisionInnerEjijj.exit.i.i.i: ; preds = %201, %199 } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_2E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_2E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_2E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -12397,7 +12397,7 @@ _ZNK8LightGBM4Tree22NumericalDecisionInnerEjijj.exit.i.i.i: ; preds = %189, %187 } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_3E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_3E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_3E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -12773,7 +12773,7 @@ _ZNK8LightGBM4Tree13DecisionInnerEjijj.exit.i.i.i: ; preds = %_ZNK8LightGBM4Tree } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_4E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_4E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_4E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -13151,7 +13151,7 @@ _ZNK8LightGBM4Tree13DecisionInnerEjijj.exit.i.i.i: ; preds = %_ZNK8LightGBM4Tree } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_5E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_5E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_5E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -13485,7 +13485,7 @@ _ZNK8LightGBM4Tree22NumericalDecisionInnerEjijj.exit.i.i.i: ; preds = %139, %137 } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_6E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_6E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_6E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -13821,7 +13821,7 @@ _ZNK8LightGBM4Tree22NumericalDecisionInnerEjijj.exit.i.i.i: ; preds = %141, %139 } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_7E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFviiiEZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_7E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #1 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK8LightGBM4Tree20AddPredictionToScoreEPKNS1_7DatasetEPKiiPdE3$_7E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 diff --git a/bench/llvm/optimized/InvalidPtrChecker.ll b/bench/llvm/optimized/InvalidPtrChecker.ll index a03bf733a7d..04e710599cb 100644 --- a/bench/llvm/optimized/InvalidPtrChecker.ll +++ b/bench/llvm/optimized/InvalidPtrChecker.ll @@ -1950,7 +1950,7 @@ _ZN5clang4ento14CheckerManager15registerCheckerIN12_GLOBAL__N_117InvalidPtrCheck declare noundef zeroext i1 @_ZNK5clang15AnalyzerOptions23getCheckerBooleanOptionEPKNS_4ento11CheckerBaseEN4llvm9StringRefEb(ptr noundef nonnull align 8 dereferenceable(488), ptr noundef, ptr, i64, i1 noundef zeroext) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZN5clang4ento31shouldRegisterInvalidPtrCheckerERKNS0_14CheckerManagerE(ptr noundef nonnull readnone align 8 captures(none) dereferenceable(1560) %0) local_unnamed_addr #2 { +define dso_local noundef zeroext range(i1 -1, 0) i1 @_ZN5clang4ento31shouldRegisterInvalidPtrCheckerERKNS0_14CheckerManagerE(ptr noundef nonnull readnone align 8 captures(none) dereferenceable(1560) %0) local_unnamed_addr #2 { ret i1 true } @@ -2873,7 +2873,7 @@ _ZN4llvm12ImmutableSetIPKN5clang4ento9MemRegionENS_17ImutContainerInfoIS5_EEEC2E %174 = call noundef zeroext i1 %172(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %8, i32 noundef 3) #21 br label %175 -175: ; preds = %173, %"_ZNSt17_Function_handlerIFvRN5clang4ento22PathSensitiveBugReportERN4llvm11raw_ostreamEEZNK12_GLOBAL__N_117InvalidPtrChecker25createEnvInvalidationNoteERNS1_14CheckerContextENS4_18IntrusiveRefCntPtrIKNS1_12ProgramStateEEENS4_9StringRefEE3$_0E10_M_managerERSt9_Any_dataRKSJ_St18_Manager_operation.exit.i" +175: ; preds = %"_ZNSt17_Function_handlerIFvRN5clang4ento22PathSensitiveBugReportERN4llvm11raw_ostreamEEZNK12_GLOBAL__N_117InvalidPtrChecker25createEnvInvalidationNoteERNS1_14CheckerContextENS4_18IntrusiveRefCntPtrIKNS1_12ProgramStateEEENS4_9StringRefEE3$_0E10_M_managerERSt9_Any_dataRKSJ_St18_Manager_operation.exit.i", %173 call void @llvm.lifetime.end.p0(ptr nonnull %8) %176 = load ptr, ptr %123, align 8, !tbaa !52 %177 = icmp eq ptr %176, %124 @@ -2902,7 +2902,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit.i.i.i.i68.i: ; pr call void @_ZN4llvm11ImutAVLTreeINS_17ImutContainerInfoIPKN5clang4ento9MemRegionEEEE7destroyEv(ptr noundef nonnull align 8 dereferenceable(64) %180) br label %"_ZNSt17_Function_handlerIFvRN5clang4ento22PathSensitiveBugReportERN4llvm11raw_ostreamEEZNK12_GLOBAL__N_117InvalidPtrChecker25createEnvInvalidationNoteERNS1_14CheckerContextENS4_18IntrusiveRefCntPtrIKNS1_12ProgramStateEEENS4_9StringRefEE3$_0E10_M_managerERSt9_Any_dataRKSJ_St18_Manager_operation.exit71.i" -"_ZNSt17_Function_handlerIFvRN5clang4ento22PathSensitiveBugReportERN4llvm11raw_ostreamEEZNK12_GLOBAL__N_117InvalidPtrChecker25createEnvInvalidationNoteERNS1_14CheckerContextENS4_18IntrusiveRefCntPtrIKNS1_12ProgramStateEEENS4_9StringRefEE3$_0E10_M_managerERSt9_Any_dataRKSJ_St18_Manager_operation.exit71.i": ; preds = %186, %181, %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit.i.i.i.i68.i +"_ZNSt17_Function_handlerIFvRN5clang4ento22PathSensitiveBugReportERN4llvm11raw_ostreamEEZNK12_GLOBAL__N_117InvalidPtrChecker25createEnvInvalidationNoteERNS1_14CheckerContextENS4_18IntrusiveRefCntPtrIKNS1_12ProgramStateEEENS4_9StringRefEE3$_0E10_M_managerERSt9_Any_dataRKSJ_St18_Manager_operation.exit71.i": ; preds = %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit.i.i.i.i68.i, %181, %186 call void @_ZdlPvm(ptr noundef nonnull %117, i64 noundef 56) #23 %187 = load ptr, ptr %105, align 8, !tbaa !52 %188 = icmp eq ptr %187, %106 @@ -3647,6 +3647,7 @@ _ZNSt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERN5clang4ent _ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERN5clang4ento22PathSensitiveBugReportEEZNS7_14CheckerContext10getNoteTagEOSt8functionIFvS9_RN4llvm11raw_ostreamEEEbEUlS9_E_E10_M_managerERSt9_Any_dataRKSL_St18_Manager_operation.exit176: ; preds = %194, %_ZNSt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERN5clang4ento18BugReporterContextERNS7_22PathSensitiveBugReportEEEC2IZNS7_14CheckerContext10getNoteTagEOS_IFS5_SB_EEbEUlS9_SB_E_vEEOT_.exit.i80 call void @llvm.lifetime.end.p0(ptr nonnull %5) + %196 = call noundef zeroext i1 @"_ZNSt17_Function_handlerIFvRN5clang4ento22PathSensitiveBugReportERN4llvm11raw_ostreamEEZNK12_GLOBAL__N_117InvalidPtrChecker34postPreviousReturnInvalidatingCallERKNS1_9CallEventERNS1_14CheckerContextEE3$_1E10_M_managerERSt9_Any_dataRKSH_St18_Manager_operation"(ptr noundef nonnull align 8 dereferenceable(32) %178, ptr noundef nonnull align 8 dereferenceable(32) %178, i32 noundef 3) #21 call void @_ZdlPvm(ptr noundef nonnull %178, i64 noundef 32) #23 br i1 %.not.i.i48, label %_ZN4llvm18IntrusiveRefCntPtrIKN5clang4ento12ProgramStateEEC2ERKS5_.exit65.thread, label %196 @@ -7618,7 +7619,7 @@ _ZN4llvm11SmallVectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELj2EED } ; Function Attrs: mustprogress nounwind uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFvRN5clang4ento22PathSensitiveBugReportERN4llvm11raw_ostreamEEZNK12_GLOBAL__N_117InvalidPtrChecker25createEnvInvalidationNoteERNS1_14CheckerContextENS4_18IntrusiveRefCntPtrIKNS1_12ProgramStateEEENS4_9StringRefEE3$_0E10_M_managerERSt9_Any_dataRKSJ_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #0 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFvRN5clang4ento22PathSensitiveBugReportERN4llvm11raw_ostreamEEZNK12_GLOBAL__N_117InvalidPtrChecker25createEnvInvalidationNoteERNS1_14CheckerContextENS4_18IntrusiveRefCntPtrIKNS1_12ProgramStateEEENS4_9StringRefEE3$_0E10_M_managerERSt9_Any_dataRKSJ_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #0 align 2 { %4 = alloca i64, align 8 %.val = load ptr, ptr %1, align 8 switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK12_GLOBAL__N_117InvalidPtrChecker25createEnvInvalidationNoteERN5clang4ento14CheckerContextEN4llvm18IntrusiveRefCntPtrIKNS4_12ProgramStateEEENS7_9StringRefEE3$_0E10_M_managerERSt9_Any_dataRKSF_St18_Manager_operation.exit" [ @@ -8925,7 +8926,7 @@ _ZN4llvm11raw_ostreamlsEc.exit11.i.i.i: ; preds = %82, %80 } ; Function Attrs: mustprogress nounwind uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFvRN5clang4ento22PathSensitiveBugReportERN4llvm11raw_ostreamEEZNK12_GLOBAL__N_117InvalidPtrChecker34postPreviousReturnInvalidatingCallERKNS1_9CallEventERNS1_14CheckerContextEE3$_0E10_M_managerERSt9_Any_dataRKSH_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #0 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFvRN5clang4ento22PathSensitiveBugReportERN4llvm11raw_ostreamEEZNK12_GLOBAL__N_117InvalidPtrChecker34postPreviousReturnInvalidatingCallERKNS1_9CallEventERNS1_14CheckerContextEE3$_0E10_M_managerERSt9_Any_dataRKSH_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #0 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK12_GLOBAL__N_117InvalidPtrChecker34postPreviousReturnInvalidatingCallERKN5clang4ento9CallEventERNS4_14CheckerContextEE3$_0E10_M_managerERSt9_Any_dataRKSC_St18_Manager_operation.exit" [ i32 1, label %4 i32 0, label %5 @@ -10246,7 +10247,7 @@ define internal void @"_ZNSt17_Function_handlerIFvRN5clang4ento22PathSensitiveBu } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFvRN5clang4ento22PathSensitiveBugReportERN4llvm11raw_ostreamEEZNK12_GLOBAL__N_117InvalidPtrChecker34postPreviousReturnInvalidatingCallERKNS1_9CallEventERNS1_14CheckerContextEE3$_1E10_M_managerERSt9_Any_dataRKSH_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #14 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFvRN5clang4ento22PathSensitiveBugReportERN4llvm11raw_ostreamEEZNK12_GLOBAL__N_117InvalidPtrChecker34postPreviousReturnInvalidatingCallERKNS1_9CallEventERNS1_14CheckerContextEE3$_1E10_M_managerERSt9_Any_dataRKSH_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #14 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK12_GLOBAL__N_117InvalidPtrChecker34postPreviousReturnInvalidatingCallERKN5clang4ento9CallEventERNS4_14CheckerContextEE3$_1E10_M_managerERSt9_Any_dataRKSC_St18_Manager_operation.exit" [ i32 1, label %4 i32 0, label %5 diff --git a/bench/llvm/optimized/Localizer.ll b/bench/llvm/optimized/Localizer.ll index 803bde74d39..b4ed9b92cf7 100644 --- a/bench/llvm/optimized/Localizer.ll +++ b/bench/llvm/optimized/Localizer.ll @@ -6,6 +6,10 @@ target triple = "x86_64-pc-linux-gnu" %"struct.std::once_flag" = type { i32 } %class.anon.297 = type { ptr, ptr } %"class.std::reference_wrapper" = type { ptr } +%"class.std::function" = type { %"class.std::_Function_base", ptr } +%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr } +%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" } +%"union.std::_Nocopy_types" = type { { i64, i64 } } %"class.llvm::MachineOperand" = type { i32, %union.anon.184, ptr, %"union.llvm::MachineOperand::ContentsUnion" } %union.anon.184 = type { i32 } %"union.llvm::MachineOperand::ContentsUnion" = type { %"class.llvm::ArrayRef" } @@ -179,26 +183,43 @@ _ZNSt8functionIFbRKN4llvm15MachineFunctionEEEC2ERKS5_.exit: ; preds = %2, %10 ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local void @_ZN4llvm9LocalizerC2Ev(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(104) initializes((0, 28), (32, 104)) %0) unnamed_addr #1 align 2 { +; Function Attrs: mustprogress nounwind uwtable +define dso_local void @_ZN4llvm9LocalizerC2Ev(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(104) initializes((0, 28), (32, 72)) %0) unnamed_addr #0 align 2 { _ZNSt14_Function_baseD2Ev.exit: - %1 = getelementptr inbounds nuw i8, ptr %0, i64 8 - store ptr null, ptr %1, align 8, !tbaa !20 - %2 = getelementptr inbounds nuw i8, ptr %0, i64 16 - store ptr @_ZN4llvm9Localizer2IDE, ptr %2, align 8, !tbaa !24 - %3 = getelementptr inbounds nuw i8, ptr %0, i64 24 - store i32 2, ptr %3, align 8, !tbaa !25 - %4 = getelementptr inbounds nuw i8, ptr %0, i64 32 - tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, i8 0, i64 24, i1 false) + %1 = alloca %"class.std::function", align 8 + %2 = getelementptr inbounds nuw i8, ptr %1, i64 16 + %2 = getelementptr inbounds nuw i8, ptr %1, i64 24 + call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 0, i64 16, i1 false) + store ptr @"_ZNSt17_Function_handlerIFbRKN4llvm15MachineFunctionEEZNS0_9LocalizerC1EvE3$_0E9_M_invokeERKSt9_Any_dataS3_", ptr %3, align 8, !tbaa !30 + store ptr @"_ZNSt17_Function_handlerIFbRKN4llvm15MachineFunctionEEZNS0_9LocalizerC1EvE3$_0E10_M_managerERSt9_Any_dataRKS8_St18_Manager_operation", ptr %2, align 8, !tbaa !28 + %4 = getelementptr inbounds nuw i8, ptr %0, i64 8 + store ptr null, ptr %4, align 8, !tbaa !20 + %5 = getelementptr inbounds nuw i8, ptr %0, i64 16 + store ptr @_ZN4llvm9Localizer2IDE, ptr %5, align 8, !tbaa !24 + %6 = getelementptr inbounds nuw i8, ptr %0, i64 24 + store i32 2, ptr %6, align 8, !tbaa !25 + %7 = getelementptr inbounds nuw i8, ptr %0, i64 32 + tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %7, i8 0, i64 24, i1 false) store ptr getelementptr inbounds nuw inrange(-16, 176) (i8, ptr @_ZTVN4llvm9LocalizerE, i64 16), ptr %0, align 8, !tbaa !26 %5 = getelementptr inbounds nuw i8, ptr %0, i64 56 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 0, i64 16, i1 false) %6 = getelementptr inbounds nuw i8, ptr %0, i64 80 %7 = getelementptr inbounds nuw i8, ptr %0, i64 72 - store ptr @"_ZNSt17_Function_handlerIFbRKN4llvm15MachineFunctionEEZNS0_9LocalizerC1EvE3$_0E9_M_invokeERKSt9_Any_dataS3_", ptr %6, align 8, !tbaa !30 - store ptr @"_ZNSt17_Function_handlerIFbRKN4llvm15MachineFunctionEEZNS0_9LocalizerC1EvE3$_0E10_M_managerERSt9_Any_dataRKS8_St18_Manager_operation", ptr %7, align 8, !tbaa !28 - %8 = getelementptr inbounds nuw i8, ptr %0, i64 88 - tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %8, i8 0, i64 16, i1 false) + %11 = call noundef zeroext i1 @"_ZNSt17_Function_handlerIFbRKN4llvm15MachineFunctionEEZNS0_9LocalizerC1EvE3$_0E10_M_managerERSt9_Any_dataRKS8_St18_Manager_operation"(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef 2) #16 + %12 = load ptr, ptr %3, align 8, !tbaa !30 + store ptr %12, ptr %9, align 8, !tbaa !30 + %13 = load ptr, ptr %2, align 8, !tbaa !28 + store ptr %13, ptr %10, align 8, !tbaa !28 + %14 = getelementptr inbounds nuw i8, ptr %0, i64 88 + call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %14, i8 0, i64 16, i1 false) + %.not.i = icmp eq ptr %13, null + br i1 %.not.i, label %_ZNSt14_Function_baseD2Ev.exit, label %15 + +15: ; preds = %_ZN4llvm9LocalizerC2ESt8functionIFbRKNS_15MachineFunctionEEE.exit + %16 = call noundef zeroext i1 %13(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef 3) #16 + br label %_ZNSt14_Function_baseD2Ev.exit + +_ZNSt14_Function_baseD2Ev.exit: ; preds = %_ZN4llvm9LocalizerC2ESt8functionIFbRKNS_15MachineFunctionEEE.exit, %15 ret void } @@ -294,7 +315,7 @@ define dso_local noundef zeroext i1 @_ZN4llvm9Localizer10isLocalUseERNS_14Machin declare noundef i32 @_ZNK4llvm14MachineOperand12getOperandNoEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local noundef i32 @_ZNK4llvm9Localizer13getNumPhiUsesERNS_14MachineOperandE(ptr noundef nonnull readnone align 8 captures(none) dereferenceable(104) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(32) %1) local_unnamed_addr #3 align 2 { +define dso_local noundef i32 @_ZNK4llvm9Localizer13getNumPhiUsesERNS_14MachineOperandE(ptr noundef nonnull readnone align 8 captures(none) dereferenceable(104) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(32) %1) local_unnamed_addr #2 align 2 { %3 = getelementptr inbounds nuw i8, ptr %1, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !160 %5 = getelementptr inbounds nuw i8, ptr %4, i64 68 @@ -1721,7 +1742,7 @@ _ZN4llvm9SetVectorIPNS_12MachineInstrENS_11SmallVectorIS2_Lj32EEENS_8DenseSetIS2 } ; Function Attrs: inlinehint mustprogress nounwind uwtable -define linkonce_odr hidden void @_ZN4llvm9LocalizerD2Ev(ptr noundef nonnull align 8 dereferenceable(104) %0) unnamed_addr #4 comdat align 2 { +define linkonce_odr hidden void @_ZN4llvm9LocalizerD2Ev(ptr noundef nonnull align 8 dereferenceable(104) %0) unnamed_addr #3 comdat align 2 { store ptr getelementptr inbounds nuw inrange(-16, 176) (i8, ptr @_ZTVN4llvm9LocalizerE, i64 16), ptr %0, align 8, !tbaa !26 %2 = getelementptr inbounds nuw i8, ptr %0, i64 72 %3 = load ptr, ptr %2, align 8, !tbaa !28 @@ -1739,7 +1760,7 @@ _ZNSt14_Function_baseD2Ev.exit: ; preds = %1, %4 } ; Function Attrs: inlinehint mustprogress nounwind uwtable -define linkonce_odr hidden void @_ZN4llvm9LocalizerD0Ev(ptr noundef nonnull align 8 dereferenceable(104) %0) unnamed_addr #4 comdat align 2 { +define linkonce_odr hidden void @_ZN4llvm9LocalizerD0Ev(ptr noundef nonnull align 8 dereferenceable(104) %0) unnamed_addr #3 comdat align 2 { store ptr getelementptr inbounds nuw inrange(-16, 176) (i8, ptr @_ZTVN4llvm9LocalizerE, i64 16), ptr %0, align 8, !tbaa !26 %2 = getelementptr inbounds nuw i8, ptr %0, i64 72 %3 = load ptr, ptr %2, align 8, !tbaa !28 @@ -1876,7 +1897,7 @@ declare void @_ZSt20__throw_system_errori(i32 noundef) local_unnamed_addr #10 declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #11 ; Function Attrs: inlinehint mustprogress nounwind uwtable -define linkonce_odr hidden void @_ZZNSt9once_flag18_Prepare_executionC1IZSt9call_onceIRFPvRN4llvm12PassRegistryEEJSt17reference_wrapperIS5_EEEvRS_OT_DpOT0_EUlvE_EERSC_ENUlvE_8__invokeEv() #4 comdat align 2 { +define linkonce_odr hidden void @_ZZNSt9once_flag18_Prepare_executionC1IZSt9call_onceIRFPvRN4llvm12PassRegistryEEJSt17reference_wrapperIS5_EEEvRS_OT_DpOT0_EUlvE_EERSC_ENUlvE_8__invokeEv() #3 comdat align 2 { %1 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_ZSt15__once_callable) %2 = load ptr, ptr %1, align 8, !tbaa !3 %3 = load ptr, ptr %2, align 8, !tbaa !252 @@ -1890,12 +1911,12 @@ define linkonce_odr hidden void @_ZZNSt9once_flag18_Prepare_executionC1IZSt9call declare i32 @pthread_once(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFbRKN4llvm15MachineFunctionEEZNS0_9LocalizerC1EvE3$_0E9_M_invokeERKSt9_Any_dataS3_"(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 8 captures(none) %1) #12 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFbRKN4llvm15MachineFunctionEEZNS0_9LocalizerC1EvE3$_0E9_M_invokeERKSt9_Any_dataS3_"(ptr nonnull readnone align 8 captures(none) %0, ptr nonnull readnone align 8 captures(none) %1) #11 align 2 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFbRKN4llvm15MachineFunctionEEZNS0_9LocalizerC1EvE3$_0E10_M_managerERSt9_Any_dataRKS8_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #1 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFbRKN4llvm15MachineFunctionEEZNS0_9LocalizerC1EvE3$_0E10_M_managerERSt9_Any_dataRKS8_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #12 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN4llvm9LocalizerC1EvE3$_0E10_M_managerERSt9_Any_dataRKS5_St18_Manager_operation.exit" [ i32 1, label %"_ZNSt14_Function_base13_Base_managerIZN4llvm9LocalizerC1EvE3$_0E10_M_managerERSt9_Any_dataRKS5_St18_Manager_operation.exit.sink.split" i32 0, label %4 @@ -2467,18 +2488,18 @@ declare void @llvm.assume(i1 noundef) #14 declare i32 @llvm.umax.i32(i32, i32) #15 attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #1 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #3 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #5 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #7 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #8 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #9 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #10 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #11 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #12 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #2 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #4 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #7 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #8 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #9 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #10 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #11 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #12 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #13 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #14 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } attributes #15 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) } diff --git a/bench/llvm/optimized/Symbol.ll b/bench/llvm/optimized/Symbol.ll index b9a3d18a329..d8a310831ef 100644 --- a/bench/llvm/optimized/Symbol.ll +++ b/bench/llvm/optimized/Symbol.ll @@ -30,23 +30,43 @@ $_ZN4llvm17make_filter_rangeIRKNS_11SmallVectorINS_5MachO6TargetELj5EEESt8functi define dso_local void @_ZNK4llvm5MachO6Symbol7targetsENS0_15ArchitectureSetE(ptr dead_on_unwind noalias writable sret(%"class.llvm::iterator_range") align 8 %0, ptr noundef nonnull align 8 dereferenceable(154) %1, i32 %2) local_unnamed_addr #0 align 2 { _ZNSt8functionIFbRKN4llvm5MachO6TargetEEEC2ERKS6_.exit: %3 = alloca %"class.std::function", align 8 - %4 = getelementptr inbounds nuw i8, ptr %1, i64 16 + %4 = alloca %"class.std::function", align 8 + call void @llvm.lifetime.start.p0(ptr nonnull %3) + %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 + %6 = getelementptr inbounds nuw i8, ptr %3, i64 24 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %3, i8 0, i64 16, i1 false) - %5 = getelementptr inbounds nuw i8, ptr %3, i64 24 - %6 = getelementptr inbounds nuw i8, ptr %3, i64 16 store i32 %2, ptr %3, align 8, !tbaa !3 - store ptr @"_ZNSt17_Function_handlerIFbRKN4llvm5MachO6TargetEEZNKS1_6Symbol7targetsENS1_15ArchitectureSetEE3$_0E9_M_invokeERKSt9_Any_dataS4_", ptr %5, align 8, !tbaa !7 - store ptr @"_ZNSt17_Function_handlerIFbRKN4llvm5MachO6TargetEEZNKS1_6Symbol7targetsENS1_15ArchitectureSetEE3$_0E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation", ptr %6, align 8, !tbaa !11 - call void @_ZN4llvm17make_filter_rangeIRKNS_11SmallVectorINS_5MachO6TargetELj5EEESt8functionIFbRKS3_EEEENS_14iterator_rangeINS_20filter_iterator_implIDTcl9adl_beginclsr3stdE7declvalIRT_EEEET0_NS_6detail15fwd_or_bidi_tagISG_E4typeEEEEEOSE_SH_(ptr dead_on_unwind writable sret(%"class.llvm::iterator_range") align 8 %0, ptr noundef nonnull align 8 dereferenceable(136) %4, ptr noundef nonnull %3) - %7 = load ptr, ptr %6, align 8, !tbaa !11 - %.not.i = icmp eq ptr %7, null - br i1 %.not.i, label %_ZNSt14_Function_baseD2Ev.exit2, label %8 - -8: ; preds = %_ZNSt8functionIFbRKN4llvm5MachO6TargetEEEC2ERKS6_.exit - %9 = call noundef zeroext i1 %7(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef 3) #11 + store ptr @"_ZNSt17_Function_handlerIFbRKN4llvm5MachO6TargetEEZNKS1_6Symbol7targetsENS1_15ArchitectureSetEE3$_0E9_M_invokeERKSt9_Any_dataS4_", ptr %6, align 8, !tbaa !7 + store ptr @"_ZNSt17_Function_handlerIFbRKN4llvm5MachO6TargetEEZNKS1_6Symbol7targetsENS1_15ArchitectureSetEE3$_0E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation", ptr %5, align 8, !tbaa !11 + %7 = getelementptr inbounds nuw i8, ptr %1, i64 16 + call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 0, i64 16, i1 false) + %8 = getelementptr inbounds nuw i8, ptr %4, i64 24 + %9 = getelementptr inbounds nuw i8, ptr %4, i64 16 + %10 = call noundef zeroext i1 @"_ZNSt17_Function_handlerIFbRKN4llvm5MachO6TargetEEZNKS1_6Symbol7targetsENS1_15ArchitectureSetEE3$_0E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation"(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef 2) #11 + %11 = load ptr, ptr %6, align 8, !tbaa !7 + store ptr %11, ptr %8, align 8, !tbaa !7 + %12 = load ptr, ptr %5, align 8, !tbaa !11 + store ptr %12, ptr %9, align 8, !tbaa !11 + call void @_ZN4llvm17make_filter_rangeIRKNS_11SmallVectorINS_5MachO6TargetELj5EEESt8functionIFbRKS3_EEEENS_14iterator_rangeINS_20filter_iterator_implIDTcl9adl_beginclsr3stdE7declvalIRT_EEEET0_NS_6detail15fwd_or_bidi_tagISG_E4typeEEEEEOSE_SH_(ptr dead_on_unwind writable sret(%"class.llvm::iterator_range") align 8 %0, ptr noundef nonnull align 8 dereferenceable(136) %7, ptr noundef nonnull %4) + %13 = load ptr, ptr %9, align 8, !tbaa !11 + %.not.i = icmp eq ptr %13, null + br i1 %.not.i, label %_ZNSt14_Function_baseD2Ev.exit, label %14 + +14: ; preds = %_ZNSt8functionIFbRKN4llvm5MachO6TargetEEEC2ERKS6_.exit + %15 = call noundef zeroext i1 %13(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef 3) #11 + br label %_ZNSt14_Function_baseD2Ev.exit + +_ZNSt14_Function_baseD2Ev.exit: ; preds = %_ZNSt8functionIFbRKN4llvm5MachO6TargetEEEC2ERKS6_.exit, %14 + %16 = load ptr, ptr %5, align 8, !tbaa !11 + %.not.i1 = icmp eq ptr %16, null + br i1 %.not.i1, label %_ZNSt14_Function_baseD2Ev.exit2, label %17 + +17: ; preds = %_ZNSt14_Function_baseD2Ev.exit + %18 = call noundef zeroext i1 %16(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef 3) #11 br label %_ZNSt14_Function_baseD2Ev.exit2 -_ZNSt14_Function_baseD2Ev.exit2: ; preds = %_ZNSt8functionIFbRKN4llvm5MachO6TargetEEEC2ERKS6_.exit, %8 +_ZNSt14_Function_baseD2Ev.exit2: ; preds = %_ZNSt14_Function_baseD2Ev.exit, %17 + call void @llvm.lifetime.end.p0(ptr nonnull %3) ret void } @@ -602,7 +622,7 @@ define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFbRKN4llvm5MachO6T } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFbRKN4llvm5MachO6TargetEEZNKS1_6Symbol7targetsENS1_15ArchitectureSetEE3$_0E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #6 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFbRKN4llvm5MachO6TargetEEZNKS1_6Symbol7targetsENS1_15ArchitectureSetEE3$_0E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #6 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZNK4llvm5MachO6Symbol7targetsENS2_15ArchitectureSetEE3$_0E10_M_managerERSt9_Any_dataRKS7_St18_Manager_operation.exit" [ i32 1, label %4 i32 0, label %5 diff --git a/bench/lodepng/optimized/lodepng_util.ll b/bench/lodepng/optimized/lodepng_util.ll index 5506e0ac183..db9c7e2d8bd 100644 --- a/bench/lodepng/optimized/lodepng_util.ll +++ b/bench/lodepng/optimized/lodepng_util.ll @@ -4456,38 +4456,34 @@ _ZN7lodepngL11validateICCEPKNS_10LodePNGICCE.exit: ; preds = %36, %35, %30, %28, 41: ; preds = %_ZN7lodepngL11validateICCEPKNS_10LodePNGICCE.exit %mul.val.i123 = shl nuw i64 %mul.i133, 4 - %42 = select i1 %15, i64 3, i64 2 - %mul.i125 = shl nuw nsw i64 %mul.i133, %42 - %43 = tail call noalias noundef ptr @malloc(i64 noundef %mul.val.i123) #32 - %44 = call fastcc noundef i32 @_ZN7lodepngL19convertFromXYZ_chrmEPfPKfjjPK11LodePNGInfojPKNS_10LodePNGICCES2_j(ptr noundef %43, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef nonnull %12, i32 noundef %.092, ptr noundef %8, ptr noundef %5, i32 noundef %6) - %.not114 = icmp eq i32 %44, 0 - br i1 %.not114, label %45, label %87 - -45: ; preds = %41 - %46 = call fastcc noundef i32 @_ZN7lodepngL20convertFromXYZ_gammaEPfjjPK11LodePNGInfojPKNS_10LodePNGICCE(ptr noundef %43, i32 noundef %2, i32 noundef %3, ptr noundef nonnull %12, i32 noundef %.092, ptr noundef %8) - %.not115 = icmp eq i32 %46, 0 - br i1 %.not115, label %47, label %87 - -47: ; preds = %45 - %48 = tail call noalias noundef ptr @malloc(i64 noundef %mul.i125) #32 + %42 = tail call noalias noundef ptr @malloc(i64 noundef %mul.val.i123) #32 + %43 = call fastcc noundef i32 @_ZN7lodepngL19convertFromXYZ_chrmEPfPKfjjPK11LodePNGInfojPKNS_10LodePNGICCES2_j(ptr noundef %42, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef nonnull %12, i32 noundef %.092, ptr noundef %8, ptr noundef %5, i32 noundef %6) + %.not114 = icmp eq i32 %43, 0 + br i1 %.not114, label %44, label %85 + +44:; preds = %41 + %45 = select i1 %15, i64 3, i64 2 + %mul.i125 = shl nuw nsw i64 %mul.i133, %45 + call fastcc void @_ZN7lodepngL20convertFromXYZ_gammaEPfjjPK11LodePNGInfojPKNS_10LodePNGICCE(ptr noundef %42, i32 noundef %2, i32 noundef %3, ptr noundef nonnull %12, i32 noundef %.092, ptr noundef %8) + %46 = tail call noalias noundef ptr @malloc(i64 noundef %mul.i125) #32 %.not146 = icmp eq i64 %mul.i133, 0 br i1 %15, label %49, label %71 -49: ; preds = %47 +49: ; preds = %44 call void @llvm.lifetime.start.p0(ptr nonnull %9) call void @_Z23lodepng_color_mode_make16LodePNGColorTypej(ptr dead_on_unwind nonnull writable sret(%struct.LodePNGColorMode) align 8 %9, i32 noundef 6, i32 noundef 16) br i1 %.not146, label %._crit_edge144, label %.preheader -.preheader: ; preds = %49, %68 - %.095143 = phi i64 [ %69, %68 ], [ 0, %49 ] +.preheader: ; preds = %49, %66 + %.095143 = phi i64 [ %67, %66 ], [ 0, %47 ] %50 = shl i64 %.095143, 3 %.idx = shl i64 %.095143, 4 - %51 = getelementptr inbounds nuw i8, ptr %43, i64 %.idx - %52 = getelementptr inbounds nuw i8, ptr %48, i64 %50 + %51 = getelementptr inbounds nuw i8, ptr %42, i64 %.idx + %52 = getelementptr inbounds nuw i8, ptr %46, i64 %50 br label %53 53: ; preds = %.preheader, %53 - %.097142 = phi i64 [ 0, %.preheader ], [ %67, %53 ] + %.097142 = phi i64 [ 0, %.preheader ], [ %65, %51 ] %54 = shl nuw nsw i64 %.097142, 1 %55 = getelementptr inbounds nuw float, ptr %51, i64 %.097142 %56 = load float, ptr %55, align 4, !tbaa !78 @@ -4500,38 +4496,38 @@ _ZN7lodepngL11validateICCEPKNS_10LodePNGICCE.exit: ; preds = %36, %35, %30, %28, %62 = lshr i32 %61, 8 %63 = trunc i32 %62 to i8 %64 = getelementptr inbounds nuw i8, ptr %52, i64 %54 + store i8 %61, ptr %62, align 1, !tbaa !18 + %63 = trunc i32 %59 to i8 + %64 = getelementptr inbounds nuw i8, ptr %62, i64 1 store i8 %63, ptr %64, align 1, !tbaa !18 - %65 = trunc i32 %61 to i8 - %66 = getelementptr inbounds nuw i8, ptr %64, i64 1 - store i8 %65, ptr %66, align 1, !tbaa !18 - %67 = add nuw nsw i64 %.097142, 1 - %exitcond148.not = icmp eq i64 %67, 4 - br i1 %exitcond148.not, label %68, label %53, !llvm.loop !112 - -68: ; preds = %53 - %69 = add nuw i64 %.095143, 1 - %exitcond149.not = icmp eq i64 %69, %mul.i133 + %65 = add nuw nsw i64 %.097142, 1 + %exitcond148.not = icmp eq i64 %65, 4 + br i1 %exitcond148.not, label %66, label %51, !llvm.loop !112 + +66:; preds = %51 + %67 = add nuw i64 %.095143, 1 + %exitcond149.not = icmp eq i64 %67, %mul.i133 br i1 %exitcond149.not, label %._crit_edge144, label %.preheader, !llvm.loop !113 -._crit_edge144: ; preds = %68, %49 - %70 = call noundef i32 @_Z15lodepng_convertPhPKhPK16LodePNGColorModeS4_jj(ptr noundef %0, ptr noundef %48, ptr noundef nonnull %11, ptr noundef nonnull %9, i32 noundef %2, i32 noundef %3) +._crit_edge144: ; preds = %66, %49 + %70 = call noundef i32 @_Z15lodepng_convertPhPKhPK16LodePNGColorModeS4_jj(ptr noundef %0, ptr noundef %46, ptr noundef nonnull %11, ptr noundef nonnull %9, i32 noundef %2, i32 noundef %3) call void @llvm.lifetime.end.p0(ptr nonnull %9) br label %87 -71: ; preds = %47 +71: ; preds = %44 call void @llvm.lifetime.start.p0(ptr nonnull %10) call void @_Z23lodepng_color_mode_make16LodePNGColorTypej(ptr dead_on_unwind nonnull writable sret(%struct.LodePNGColorMode) align 8 %10, i32 noundef 6, i32 noundef 8) br i1 %.not146, label %._crit_edge, label %.preheader139 .preheader139: ; preds = %71, %84 - %.196141 = phi i64 [ %85, %84 ], [ 0, %71 ] + %.196141 = phi i64 [ %85, %82 ], [ 0, %69 ] %72 = shl i64 %.196141, 2 br label %73 73: ; preds = %.preheader139, %73 - %.198140 = phi i64 [ 0, %.preheader139 ], [ %83, %73 ] + %.198140 = phi i64 [ 0, %.preheader139 ], [ %83, %71 ] %74 = add nuw nsw i64 %.198140, %72 - %75 = getelementptr inbounds nuw float, ptr %43, i64 %74 + %75 = getelementptr inbounds nuw float, ptr %42, i64 %74 %76 = load float, ptr %75, align 4, !tbaa !78 %77 = fcmp olt float %76, 0.000000e+00 %78 = fcmp uge float %76, 1.000000e+00 @@ -4540,7 +4536,7 @@ _ZN7lodepngL11validateICCEPKNS_10LodePNGICCE.exit: ; preds = %36, %35, %30, %28, %79 = call float @llvm.fmuladd.f32(float %76, float 2.550000e+02, float 5.000000e-01) %80 = fptoui float %79 to i8 %81 = select i1 %brmerge137, i8 %.mux138, i8 %80 - %82 = getelementptr inbounds nuw i8, ptr %48, i64 %74 + %82 = getelementptr inbounds nuw i8, ptr %46, i64 %74 store i8 %81, ptr %82, align 1, !tbaa !18 %83 = add nuw nsw i64 %.198140, 1 %exitcond.not = icmp eq i64 %83, 4 @@ -4552,20 +4548,20 @@ _ZN7lodepngL11validateICCEPKNS_10LodePNGICCE.exit: ; preds = %36, %35, %30, %28, br i1 %exitcond147.not, label %._crit_edge, label %.preheader139, !llvm.loop !115 ._crit_edge: ; preds = %84, %71 - %86 = call noundef i32 @_Z15lodepng_convertPhPKhPK16LodePNGColorModeS4_jj(ptr noundef %0, ptr noundef %48, ptr noundef nonnull %11, ptr noundef nonnull %10, i32 noundef %2, i32 noundef %3) + %86 = call noundef i32 @_Z15lodepng_convertPhPKhPK16LodePNGColorModeS4_jj(ptr noundef %0, ptr noundef %46, ptr noundef nonnull %11, ptr noundef nonnull %10, i32 noundef %2, i32 noundef %3) call void @llvm.lifetime.end.p0(ptr nonnull %10) br label %87 -87: ; preds = %._crit_edge, %._crit_edge144, %45, %41, %_ZN7lodepngL11validateICCEPKNS_10LodePNGICCE.exit, %21 - %.094 = phi ptr [ null, %21 ], [ null, %_ZN7lodepngL11validateICCEPKNS_10LodePNGICCE.exit ], [ %43, %41 ], [ %43, %45 ], [ %43, %._crit_edge144 ], [ %43, %._crit_edge ] - %.093 = phi ptr [ null, %21 ], [ null, %_ZN7lodepngL11validateICCEPKNS_10LodePNGICCE.exit ], [ null, %41 ], [ null, %45 ], [ %48, %._crit_edge144 ], [ %48, %._crit_edge ] - %.191 = phi i32 [ 1, %21 ], [ 92, %_ZN7lodepngL11validateICCEPKNS_10LodePNGICCE.exit ], [ 1, %41 ], [ %46, %45 ], [ %70, %._crit_edge144 ], [ %86, %._crit_edge ] +87: ; preds = %._crit_edge, %._crit_edge144, %41, %_ZN7lodepngL11validateICCEPKNS_10LodePNGICCE.exit, %21 + %.094 = phi ptr [ null, %21 ], [ null, %_ZN7lodepngL11validateICCEPKNS_10LodePNGICCE.exit ], [ %42, %41 ], [ %42, %._crit_edge144 ], [ %42, %._crit_edge ] + %.093 = phi ptr [ null, %21 ], [ null, %_ZN7lodepngL11validateICCEPKNS_10LodePNGICCE.exit ], [ null, %41 ], [ %46, %._crit_edge144 ], [ %46, %._crit_edge ] + %.191 = phi i32 [ 1, %21 ], [ 92, %_ZN7lodepngL11validateICCEPKNS_10LodePNGICCE.exit ], [ 1, %41 ], [ %70, %._crit_edge144 ], [ %86, %._crit_edge ] %88 = load ptr, ptr %16, align 8, !tbaa !65 + call void @free(ptr noundef %86) #28 + %87 = load ptr, ptr %17, align 8, !tbaa !65 + call void @free(ptr noundef %87) #28 + %88 = load ptr, ptr %18, align 8, !tbaa !65 call void @free(ptr noundef %88) #28 - %89 = load ptr, ptr %17, align 8, !tbaa !65 - call void @free(ptr noundef %89) #28 - %90 = load ptr, ptr %18, align 8, !tbaa !65 - call void @free(ptr noundef %90) #28 call void @free(ptr noundef %.094) #28 call void @free(ptr noundef %.093) #28 call void @llvm.lifetime.end.p0(ptr nonnull %8) @@ -4819,7 +4815,7 @@ define internal fastcc noundef range(i32 0, 2) i32 @_ZN7lodepngL19convertFromXYZ } ; Function Attrs: mustprogress nofree nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc noundef range(i32 0, 93) i32 @_ZN7lodepngL20convertFromXYZ_gammaEPfjjPK11LodePNGInfojPKNS_10LodePNGICCE(ptr noundef captures(none) %0, i32 noundef %1, i32 noundef %2, ptr noundef readonly captures(none) %3, i32 noundef range(i32 0, 2) %4, ptr noundef nonnull readonly captures(none) %5) unnamed_addr #9 { +define internal fastcc void @_ZN7lodepngL20convertFromXYZ_gammaEPfjjPK11LodePNGInfojPKNS_10LodePNGICCE(ptr noundef captures(none) %0, i32 noundef %1, i32 noundef %2, ptr noundef readonly captures(none) %3, i32 noundef range(i32 0, 2) %4, ptr noundef nonnull readonly captures(none) %5) unnamed_addr #9 { %7 = zext i32 %1 to i64 %8 = zext i32 %2 to i64 %mul.i60 = mul nuw i64 %8, %7 @@ -5153,14 +5149,14 @@ _ZN7lodepngL14iccBackwardTRCEPKNS_15LodePNGICCCurveEf.exit: ; preds = %11, %16, br i1 %exitcond84.not, label %.loopexit, label %.preheader, !llvm.loop !124 .loopexit: ; preds = %150, %173, %189, %.preheader64, %161, %175, %158 - ret i32 0 + ret void } ; Function Attrs: mustprogress nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #11 ; Function Attrs: mustprogress nounwind uwtable -define noundef range(i32 0, 93) i32 @_ZN7lodepng19convertFromXYZFloatEPfPKfjjPK12LodePNGStateS2_j(ptr noundef captures(none) %0, ptr noundef readonly captures(none) %1, i32 noundef %2, i32 noundef %3, ptr noundef readonly captures(none) %4, ptr noundef readonly captures(none) %5, i32 noundef %6) local_unnamed_addr #4 { +define noundef range(i32 0, 2) i32 @_ZN7lodepng19convertFromXYZFloatEPfPKfjjPK12LodePNGStateS2_j(ptr noundef captures(none) %0, ptr noundef readonly captures(none) %1, i32 noundef %2, i32 noundef %3, ptr noundef readonly captures(none) %4, ptr noundef readonly captures(none) %5, i32 noundef %6) local_unnamed_addr #4 { %8 = alloca %"struct.lodepng::LodePNGICC", align 8 %9 = getelementptr inbounds nuw i8, ptr %4, i64 208 call void @llvm.lifetime.start.p0(ptr nonnull %8) @@ -5222,17 +5218,17 @@ _ZN7lodepngL11validateICCEPKNS_10LodePNGICCE.exit: ; preds = %30, %29, %24, %22, br i1 %.not23, label %34, label %36 34: ; preds = %_ZN7lodepngL11validateICCEPKNS_10LodePNGICCE.exit - %35 = call fastcc noundef i32 @_ZN7lodepngL20convertFromXYZ_gammaEPfjjPK11LodePNGInfojPKNS_10LodePNGICCE(ptr noundef %0, i32 noundef %2, i32 noundef %3, ptr noundef nonnull %9, i32 noundef %.0, ptr noundef %8) + call fastcc void @_ZN7lodepngL20convertFromXYZ_gammaEPfjjPK11LodePNGInfojPKNS_10LodePNGICCE(ptr noundef %0, i32 noundef %2, i32 noundef %3, ptr noundef nonnull %9, i32 noundef %.0, ptr noundef %8) br label %36 36: ; preds = %34, %_ZN7lodepngL11validateICCEPKNS_10LodePNGICCE.exit, %15 - %.019 = phi i32 [ 1, %15 ], [ 1, %_ZN7lodepngL11validateICCEPKNS_10LodePNGICCE.exit ], [ %35, %34 ] + %.019 = phi i32 [ 1, %15 ], [ 1, %_ZN7lodepngL11validateICCEPKNS_10LodePNGICCE.exit ], [ 0, %34 ] %37 = load ptr, ptr %10, align 8, !tbaa !65 + tail call void @free(ptr noundef %36) #28 + %37 = load ptr, ptr %11, align 8, !tbaa !65 tail call void @free(ptr noundef %37) #28 - %38 = load ptr, ptr %11, align 8, !tbaa !65 + %38 = load ptr, ptr %12, align 8, !tbaa !65 tail call void @free(ptr noundef %38) #28 - %39 = load ptr, ptr %12, align 8, !tbaa !65 - tail call void @free(ptr noundef %39) #28 call void @llvm.lifetime.end.p0(ptr nonnull %8) ret i32 %.019 } diff --git a/bench/lua/optimized/lbaselib.ll b/bench/lua/optimized/lbaselib.ll index fa2fbd5cb65..00b5ccf7326 100644 --- a/bench/lua/optimized/lbaselib.ll +++ b/bench/lua/optimized/lbaselib.ll @@ -69,7 +69,7 @@ target triple = "x86_64-pc-linux-gnu" @.str.57 = private unnamed_addr constant [15 x i8] c"value expected\00", align 1 ; Function Attrs: nounwind uwtable -define dso_local noundef i32 @luaopen_base(ptr noundef %0) local_unnamed_addr #0 { +define dso_local noundef range(i32 1, 2) i32 @luaopen_base(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @lua_rawgeti(ptr noundef %0, i32 noundef -1001000, i64 noundef 2) #9 tail call void @luaL_setfuncs(ptr noundef %0, ptr noundef nonnull @base_funcs, i32 noundef 0) #9 tail call void @lua_pushvalue(ptr noundef %0, i32 noundef -1) #9 @@ -114,7 +114,7 @@ define internal i32 @luaB_assert(ptr noundef %0) #0 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @luaB_collectgarbage(ptr noundef %0) #0 { +define internal noundef range(i32 1, 2) i32 @luaB_collectgarbage(ptr noundef %0) #0 { %2 = tail call i32 @luaL_checkoption(ptr noundef %0, i32 noundef 1, ptr noundef nonnull @.str.29, ptr noundef nonnull @luaB_collectgarbage.opts) #9 %3 = sext i32 %2 to i64 %4 = getelementptr inbounds i8, ptr @luaB_collectgarbage.optsnum, i64 %3 @@ -269,7 +269,7 @@ define internal i32 @luaB_error(ptr noundef %0) #0 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @luaB_getmetatable(ptr noundef %0) #0 { +define internal noundef range(i32 1, 2) i32 @luaB_getmetatable(ptr noundef %0) #0 { tail call void @luaL_checkany(ptr noundef %0, i32 noundef 1) #9 %2 = tail call i32 @lua_getmetatable(ptr noundef %0, i32 noundef 1) #9 %.not = icmp eq i32 %2, 0 @@ -288,7 +288,7 @@ define internal noundef i32 @luaB_getmetatable(ptr noundef %0) #0 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @luaB_ipairs(ptr noundef %0) #0 { +define internal noundef range(i32 3, 4) i32 @luaB_ipairs(ptr noundef %0) #0 { tail call void @luaL_checkany(ptr noundef %0, i32 noundef 1) #9 tail call void @lua_pushcclosure(ptr noundef %0, ptr noundef nonnull @ipairsaux, i32 noundef 0) #9 tail call void @lua_pushvalue(ptr noundef %0, i32 noundef 1) #9 @@ -418,7 +418,7 @@ define internal range(i32 1, 3) i32 @luaB_next(ptr noundef %0) #0 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @luaB_pairs(ptr noundef %0) #0 { +define internal noundef range(i32 3, 4) i32 @luaB_pairs(ptr noundef %0) #0 { tail call void @luaL_checkany(ptr noundef %0, i32 noundef 1) #9 %2 = tail call i32 @luaL_getmetafield(ptr noundef %0, i32 noundef 1, ptr noundef nonnull @.str.48) #9 %3 = icmp eq i32 %2, 0 @@ -465,7 +465,7 @@ finishpcall.exit: ; preds = %6, %7 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @luaB_print(ptr noundef %0) #0 { +define internal noundef range(i32 0, 1) i32 @luaB_print(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = tail call i32 @lua_gettop(ptr noundef %0) #9 %.not9 = icmp slt i32 %3, 1 @@ -502,7 +502,7 @@ define internal noundef i32 @luaB_print(ptr noundef %0) #0 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @luaB_warn(ptr noundef %0) #0 { +define internal noundef range(i32 0, 1) i32 @luaB_warn(ptr noundef %0) #0 { %2 = tail call i32 @lua_gettop(ptr noundef %0) #9 %3 = tail call ptr @luaL_checklstring(ptr noundef %0, i32 noundef 1, ptr noundef null) #9 %.not16 = icmp slt i32 %2, 2 @@ -530,7 +530,7 @@ define internal noundef i32 @luaB_warn(ptr noundef %0) #0 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @luaB_rawequal(ptr noundef %0) #0 { +define internal noundef range(i32 1, 2) i32 @luaB_rawequal(ptr noundef %0) #0 { tail call void @luaL_checkany(ptr noundef %0, i32 noundef 1) #9 tail call void @luaL_checkany(ptr noundef %0, i32 noundef 2) #9 %2 = tail call i32 @lua_rawequal(ptr noundef %0, i32 noundef 1, i32 noundef 2) #9 @@ -539,7 +539,7 @@ define internal noundef i32 @luaB_rawequal(ptr noundef %0) #0 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @luaB_rawlen(ptr noundef %0) #0 { +define internal noundef range(i32 1, 2) i32 @luaB_rawlen(ptr noundef %0) #0 { %2 = tail call i32 @lua_type(ptr noundef %0, i32 noundef 1) #9 %3 = and i32 %2, -2 %4 = icmp eq i32 %3, 4 @@ -556,7 +556,7 @@ define internal noundef i32 @luaB_rawlen(ptr noundef %0) #0 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @luaB_rawget(ptr noundef %0) #0 { +define internal noundef range(i32 1, 2) i32 @luaB_rawget(ptr noundef %0) #0 { tail call void @luaL_checktype(ptr noundef %0, i32 noundef 1, i32 noundef 5) #9 tail call void @luaL_checkany(ptr noundef %0, i32 noundef 2) #9 tail call void @lua_settop(ptr noundef %0, i32 noundef 2) #9 @@ -565,7 +565,7 @@ define internal noundef i32 @luaB_rawget(ptr noundef %0) #0 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @luaB_rawset(ptr noundef %0) #0 { +define internal noundef range(i32 1, 2) i32 @luaB_rawset(ptr noundef %0) #0 { tail call void @luaL_checktype(ptr noundef %0, i32 noundef 1, i32 noundef 5) #9 tail call void @luaL_checkany(ptr noundef %0, i32 noundef 2) #9 tail call void @luaL_checkany(ptr noundef %0, i32 noundef 3) #9 @@ -650,7 +650,7 @@ define internal i32 @luaB_setmetatable(ptr noundef %0) #0 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @luaB_tonumber(ptr noundef %0) #0 { +define internal noundef range(i32 1, 2) i32 @luaB_tonumber(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = tail call i32 @lua_type(ptr noundef %0, i32 noundef 2) #9 @@ -799,14 +799,14 @@ b_str2int.exit: ; preds = %54, %25, %66 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @luaB_tostring(ptr noundef %0) #0 { +define internal noundef range(i32 1, 2) i32 @luaB_tostring(ptr noundef %0) #0 { tail call void @luaL_checkany(ptr noundef %0, i32 noundef 1) #9 %2 = tail call ptr @luaL_tolstring(ptr noundef %0, i32 noundef 1, ptr noundef null) #9 ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @luaB_type(ptr noundef %0) #0 { +define internal noundef range(i32 1, 2) i32 @luaB_type(ptr noundef %0) #0 { %2 = tail call i32 @lua_type(ptr noundef %0, i32 noundef 1) #9 %.not = icmp eq i32 %2, -1 br i1 %.not, label %3, label %5, !prof !4 @@ -974,7 +974,7 @@ declare void @lua_copy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr declare i32 @lua_next(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @pairscont(ptr readnone captures(none) %0, i32 %1, i64 %2) #3 { +define internal noundef range(i32 3, 4) i32 @pairscont(ptr readnone captures(none) %0, i32 %1, i64 %2) #3 { ret i32 3 } diff --git a/bench/luau/optimized/TypeInfer.ll b/bench/luau/optimized/TypeInfer.ll index 3bc18e78581..dcd4dfef9c7 100644 --- a/bench/luau/optimized/TypeInfer.ll +++ b/bench/luau/optimized/TypeInfer.ll @@ -7876,7 +7876,7 @@ _ZN4Luau13WithPredicateIPKNS_4TypeEED2Ev.exit: ; preds = %_ZSt8_DestroyIPN4Lu } ; Function Attrs: mustprogress uwtable -define dso_local noundef i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_12AstStatWhileE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(68) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { +define dso_local noundef range(i32 1, 2) i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_12AstStatWhileE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(68) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { %4 = alloca %"class.std::shared_ptr.131", align 8 %5 = alloca %"struct.Luau::WithPredicate.445", align 8 %6 = alloca %"class.std::shared_ptr.131", align 8 @@ -8115,7 +8115,7 @@ _ZN4Luau13WithPredicateIPKNS_4TypeEED2Ev.exit: ; preds = %_ZSt8_DestroyIPN4Lu } ; Function Attrs: mustprogress uwtable -define dso_local noundef i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_13AstStatRepeatE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(49) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { +define dso_local noundef range(i32 1, 2) i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_13AstStatRepeatE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(49) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { %4 = alloca %"class.std::shared_ptr.131", align 8 %5 = alloca %"struct.Luau::WithPredicate.445", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %4) @@ -8243,7 +8243,7 @@ _ZNSt12__shared_ptrIN4Luau5ScopeELN9__gnu_cxx12_Lock_policyE2EED2Ev.exit: ; pred } ; Function Attrs: mustprogress uwtable -define dso_local noundef i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_13AstStatReturnE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(48) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { +define dso_local noundef range(i32 2, 3) i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_13AstStatReturnE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(48) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { %4 = alloca %"class.std::vector.498", align 8 %5 = alloca %"struct.Luau::TypePackIterator", align 8 %6 = alloca %"struct.Luau::TypePackIterator", align 8 @@ -9205,7 +9205,7 @@ _ZNSt6vectorIN4Luau7VariantIJNS0_15TruthyPredicateENS0_12IsAPredicateENS0_18Type } ; Function Attrs: mustprogress uwtable -define dso_local noundef i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_12AstStatLocalE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(84) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { +define dso_local noundef range(i32 1, 2) i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_12AstStatLocalE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(84) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca %"class.std::vector.528", align 8 @@ -10945,7 +10945,7 @@ _ZNSt6vectorIPKN4Luau4TypeESaIS3_EED2Ev.exit260: ; preds = %.thread582, %722, % } ; Function Attrs: mustprogress uwtable -define dso_local noundef i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_10AstStatForE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(92) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { +define dso_local noundef range(i32 1, 2) i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_10AstStatForE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(92) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { %4 = alloca %"class.std::shared_ptr.131", align 8 %5 = alloca %"struct.Luau::UnifierOptions", align 1 %6 = alloca %"struct.Luau::UnifierOptions", align 1 @@ -14092,7 +14092,7 @@ _ZNSt6vectorIPKN4Luau4TypeESaIS3_EED2Ev.exit409: ; preds = %.body270.thread, %. } ; Function Attrs: mustprogress uwtable -define dso_local noundef i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_13AstStatAssignE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(64) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { +define dso_local noundef range(i32 1, 2) i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_13AstStatAssignE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(64) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { %4 = alloca %"struct.Luau::UnifierOptions", align 1 %5 = alloca %"struct.Luau::UnifierOptions", align 1 %6 = alloca %"class.std::vector.498", align 8 @@ -15288,7 +15288,7 @@ _ZNSt6vectorISt8optionalIPKN4Luau4TypeEESaIS5_EED2Ev.exit234: ; preds = %439, %4 } ; Function Attrs: mustprogress uwtable -define dso_local noundef i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_21AstStatCompoundAssignE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(56) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { +define dso_local noundef range(i32 1, 2) i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_21AstStatCompoundAssignE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(56) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { %4 = alloca %"struct.Luau::UnifierOptions", align 1 %5 = alloca %"class.Luau::AstExprBinary", align 8 %6 = alloca %"struct.Luau::WithPredicate.445", align 8 @@ -15496,7 +15496,7 @@ define linkonce_odr dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traits } ; Function Attrs: mustprogress uwtable -define dso_local noundef i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_16AstStatTypeAliasE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(97) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { +define dso_local noundef range(i32 1, 2) i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_16AstStatTypeAliasE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(97) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { %4 = alloca %"struct.Luau::UnifierOptions", align 1 %5 = alloca %"struct.Luau::UnifierOptions", align 1 %6 = alloca i64, align 8 @@ -17325,7 +17325,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit252: ; preds = %71 } ; Function Attrs: mustprogress uwtable -define dso_local noundef i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_19AstStatTypeFunctionE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(2024) %0, ptr nonnull readnone align 8 captures(none) %1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(65) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { +define dso_local noundef range(i32 1, 2) i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_19AstStatTypeFunctionE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(2024) %0, ptr nonnull readnone align 8 captures(none) %1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(65) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { .noexc.i: %3 = alloca i64, align 8 %4 = alloca %"class.std::__cxx11::basic_string", align 8 @@ -17747,7 +17747,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit: ; preds = %_ZNSt } ; Function Attrs: mustprogress uwtable -define dso_local noundef i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_22AstStatDeclareFunctionE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(192) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { +define dso_local noundef range(i32 1, 2) i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_22AstStatDeclareFunctionE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(192) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 @@ -19074,7 +19074,7 @@ _ZNSt6vectorIPKN4Luau4TypeESaIS3_EED2Ev.exit155: ; preds = %_ZNSt6vectorIPKN4Lu } ; Function Attrs: mustprogress uwtable -define dso_local noundef i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_19AstStatDeclareClassE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(80) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { +define dso_local noundef range(i32 1, 2) i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEERKNS_19AstStatDeclareClassE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(80) %2) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 @@ -37700,7 +37700,7 @@ _ZNSt16allocator_traitsISaIPKN4Luau4TypeEEE8allocateERS4_m.exit.i.i.i: ; preds = } ; Function Attrs: mustprogress uwtable -define dso_local noundef i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEEPKNS_4TypeES5_RKNS_15AstStatFunctionE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(48) %4) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { +define dso_local noundef range(i32 1, 2) i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEEPKNS_4TypeES5_RKNS_15AstStatFunctionE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(48) %4) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 @@ -41788,7 +41788,7 @@ _ZN4Luau12DenseHashSetIPvNS_16DenseHashPointerESt8equal_toIS1_EED2Ev.exit: ; pre } ; Function Attrs: mustprogress uwtable -define dso_local noundef i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEEPKNS_4TypeES5_RKNS_20AstStatLocalFunctionE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(48) %4) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { +define dso_local noundef range(i32 1, 2) i32 @_ZN4Luau11TypeChecker5checkERKSt10shared_ptrINS_5ScopeEEPKNS_4TypeES5_RKNS_20AstStatLocalFunctionE(ptr noundef nonnull align 8 dereferenceable(2024) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(48) %4) local_unnamed_addr #8 align 2 personality ptr @__gxx_personality_v0 { %6 = alloca i64, align 8 %7 = alloca %"class.std::__cxx11::basic_string", align 8 %8 = alloca %"struct.Luau::Binding", align 8 @@ -97905,31 +97905,19 @@ define internal fastcc void @"_ZZN4Luau11TypeChecker7resolveERKNS_18TypeGuardPre %19 = load ptr, ptr %18, align 8, !tbaa !1589 %20 = getelementptr inbounds nuw i8, ptr %6, i64 16 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %6, i8 0, i64 32, i1 false) - %21 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #40 - to label %24 unwind label %22 + %21 = invoke noundef zeroext i1 @"_ZNSt17_Function_handlerIFSt8optionalIPKN4Luau4TypeEES4_EZZNS1_11TypeChecker7resolveERKNS1_18TypeGuardPredicateERSt13unordered_mapINS1_7VariantIJNS1_6SymbolENS1_5FieldEEEES4_NS1_12LValueHasherESt8equal_toISF_ESaISt4pairIKSF_S4_EEERKSt10shared_ptrINS1_5ScopeEEbENK3$_0clEPFbS4_ES5_EUlS4_E_E10_M_managerERSt9_Any_dataRKSZ_St18_Manager_operation"(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef 2) + to label %30 unwind label %22 22: ; preds = %4 %23 = landingpad { ptr, i32 } cleanup - br label %.body - -24: ; preds = %4 - tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %21, ptr noundef nonnull readonly align 8 dereferenceable(32) %13, i64 32, i1 false) - store ptr %21, ptr %6, align 8, !tbaa !14 - %25 = getelementptr inbounds nuw i8, ptr %6, i64 24 - store ptr @"_ZNSt17_Function_handlerIFSt8optionalIPKN4Luau4TypeEES4_EZZNS1_11TypeChecker7resolveERKNS1_18TypeGuardPredicateERSt13unordered_mapINS1_7VariantIJNS1_6SymbolENS1_5FieldEEEES4_NS1_12LValueHasherESt8equal_toISF_ESaISt4pairIKSF_S4_EEERKSt10shared_ptrINS1_5ScopeEEbENK3$_0clEPFbS4_ES5_EUlS4_E_E9_M_invokeERKSt9_Any_dataOS4_", ptr %25, align 8, !tbaa !1269 - store ptr @"_ZNSt17_Function_handlerIFSt8optionalIPKN4Luau4TypeEES4_EZZNS1_11TypeChecker7resolveERKNS1_18TypeGuardPredicateERSt13unordered_mapINS1_7VariantIJNS1_6SymbolENS1_5FieldEEEES4_NS1_12LValueHasherESt8equal_toISF_ESaISt4pairIKSF_S4_EEERKSt10shared_ptrINS1_5ScopeEEbENK3$_0clEPFbS4_ES5_EUlS4_E_E10_M_managerERSt9_Any_dataRKSZ_St18_Manager_operation", ptr %20, align 8, !tbaa !236 - invoke void @_ZN4Luau11TypeChecker12refineLValueERKNS_7VariantIJNS_6SymbolENS_5FieldEEEERSt13unordered_mapIS4_PKNS_4TypeENS_12LValueHasherESt8equal_toIS4_ESaISt4pairIS5_SA_EEERKSt10shared_ptrINS_5ScopeEESt8functionIFSt8optionalISA_ESA_EE(ptr noundef nonnull align 8 dereferenceable(2024) %7, ptr noundef nonnull align 8 dereferenceable(56) %15, ptr noundef nonnull align 8 dereferenceable(56) %17, ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull %6) - to label %26 unwind label %39 - -26: ; preds = %24 - %27 = load ptr, ptr %20, align 8, !tbaa !236 - %.not.i = icmp eq ptr %27, null - br i1 %.not.i, label %_ZNSt14_Function_baseD2Ev.exit, label %28 + %24 = load ptr, ptr %20, align 8, !tbaa !236 + %.not.i.i = icmp eq ptr %24, null + br i1 %.not.i.i, label %.body, label %25 -28: ; preds = %26 - %29 = invoke noundef zeroext i1 %27(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %6, i32 noundef 3) - to label %_ZNSt14_Function_baseD2Ev.exit unwind label %30 +28: ; preds = %22 + %29 = invoke noundef zeroext i1 %24(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %6, i32 noundef 3) + to label %.body unwind label %_ZNSt14_Function_baseD2Ev.exit 30: ; preds = %28 %31 = landingpad { ptr, i32 } @@ -97938,14 +97926,21 @@ define internal fastcc void @"_ZZN4Luau11TypeChecker7resolveERKNS_18TypeGuardPre call void @__clang_call_terminate(ptr %32) #37 unreachable -_ZNSt14_Function_baseD2Ev.exit: ; preds = %26, %28 - %33 = load ptr, ptr %10, align 8, !tbaa !236 - %.not.i5 = icmp eq ptr %33, null - br i1 %.not.i5, label %_ZNSt14_Function_baseD2Ev.exit6, label %34 +_ZNSt14_Function_baseD2Ev.exit: ; preds = %4 + %31 = getelementptr inbounds nuw i8, ptr %6, i64 24 + store ptr @"_ZNSt17_Function_handlerIFSt8optionalIPKN4Luau4TypeEES4_EZZNS1_11TypeChecker7resolveERKNS1_18TypeGuardPredicateERSt13unordered_mapINS1_7VariantIJNS1_6SymbolENS1_5FieldEEEES4_NS1_12LValueHasherESt8equal_toISF_ESaISt4pairIKSF_S4_EEERKSt10shared_ptrINS1_5ScopeEEbENK3$_0clEPFbS4_ES5_EUlS4_E_E9_M_invokeERKSt9_Any_dataOS4_", ptr %31, align 8, !tbaa !1269 + store ptr @"_ZNSt17_Function_handlerIFSt8optionalIPKN4Luau4TypeEES4_EZZNS1_11TypeChecker7resolveERKNS1_18TypeGuardPredicateERSt13unordered_mapINS1_7VariantIJNS1_6SymbolENS1_5FieldEEEES4_NS1_12LValueHasherESt8equal_toISF_ESaISt4pairIKSF_S4_EEERKSt10shared_ptrINS1_5ScopeEEbENK3$_0clEPFbS4_ES5_EUlS4_E_E10_M_managerERSt9_Any_dataRKSZ_St18_Manager_operation", ptr %20, align 8, !tbaa !236 + invoke void @_ZN4Luau11TypeChecker12refineLValueERKNS_7VariantIJNS_6SymbolENS_5FieldEEEERSt13unordered_mapIS4_PKNS_4TypeENS_12LValueHasherESt8equal_toIS4_ESaISt4pairIS5_SA_EEERKSt10shared_ptrINS_5ScopeEESt8functionIFSt8optionalISA_ESA_EE(ptr noundef nonnull align 8 dereferenceable(2024) %7, ptr noundef nonnull align 8 dereferenceable(56) %15, ptr noundef nonnull align 8 dereferenceable(56) %17, ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull %6) + to label %32 unwind label %45 34: ; preds = %_ZNSt14_Function_baseD2Ev.exit - %35 = invoke noundef zeroext i1 %33(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef 3) - to label %_ZNSt14_Function_baseD2Ev.exit6 unwind label %36 + %33 = load ptr, ptr %20, align 8, !tbaa !236 + %.not.i = icmp eq ptr %33, null + br i1 %.not.i, label %_ZNSt14_Function_baseD2Ev.exit, label %34 + +34: ; preds = %32 + %35 = invoke noundef zeroext i1 %33(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %6, i32 noundef 3) + to label %_ZNSt14_Function_baseD2Ev.exit unwind label %36 36: ; preds = %34 %37 = landingpad { ptr, i32 } @@ -97954,37 +97949,36 @@ _ZNSt14_Function_baseD2Ev.exit: ; preds = %26, %28 call void @__clang_call_terminate(ptr %38) #37 unreachable -_ZNSt14_Function_baseD2Ev.exit6: ; preds = %_ZNSt14_Function_baseD2Ev.exit, %34 - call void @llvm.lifetime.end.p0(ptr nonnull %5) - ret void - -39: ; preds = %24 - %40 = landingpad { ptr, i32 } - cleanup - %41 = load ptr, ptr %20, align 8, !tbaa !236 - %.not.i7 = icmp eq ptr %41, null - br i1 %.not.i7, label %.body, label %42 +_ZNSt14_Function_baseD2Ev.exit6: ; preds = %32, %34 + %39 = load ptr, ptr %10, align 8, !tbaa !236 + %.not.i5 = icmp eq ptr %39, null + br i1 %.not.i5, label %_ZNSt14_Function_baseD2Ev.exit6, label %40 -42: ; preds = %39 - %43 = invoke noundef zeroext i1 %41(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %6, i32 noundef 3) - to label %.body unwind label %44 +39: ; preds = %_ZNSt14_Function_baseD2Ev.exit + %41 = invoke noundef zeroext i1 %39(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef 3) + to label %_ZNSt14_Function_baseD2Ev.exit6 unwind label %42 -44: ; preds = %42 +44: ; preds = %40 %45 = landingpad { ptr, i32 } catch ptr null %46 = extractvalue { ptr, i32 } %45, 0 call void @__clang_call_terminate(ptr %46) #37 unreachable -.body: ; preds = %22, %42, %39 - %.pn = phi { ptr, i32 } [ %23, %22 ], [ %40, %39 ], [ %40, %42 ] - %47 = load ptr, ptr %10, align 8, !tbaa !236 - %.not.i9 = icmp eq ptr %47, null - br i1 %.not.i9, label %_ZNSt14_Function_baseD2Ev.exit10, label %48 +.body: ; preds = %_ZNSt14_Function_baseD2Ev.exit, %39 + call void @llvm.lifetime.end.p0(ptr nonnull %5) + ret void + +48: ; preds = %30 + %46 = landingpad { ptr, i32 } + cleanup + %47 = load ptr, ptr %20, align 8, !tbaa !236 + %.not.i7 = icmp eq ptr %47, null + br i1 %.not.i7, label %.body, label %48 -48: ; preds = %.body - %49 = invoke noundef zeroext i1 %47(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef 3) - to label %_ZNSt14_Function_baseD2Ev.exit10 unwind label %50 +48: ; preds = %45 + %49 = invoke noundef zeroext i1 %47(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %6, i32 noundef 3) + to label %.body unwind label %50 50: ; preds = %48 %51 = landingpad { ptr, i32 } @@ -97993,7 +97987,24 @@ _ZNSt14_Function_baseD2Ev.exit6: ; preds = %_ZNSt14_Function_ba call void @__clang_call_terminate(ptr %52) #37 unreachable -_ZNSt14_Function_baseD2Ev.exit10: ; preds = %.body, %48 +_ZNSt14_Function_baseD2Ev.exit10: ; preds = %48, %45, %28, %22 + %.pn = phi { ptr, i32 } [ %23, %25 ], [ %23, %22 ], [ %46, %45 ], [ %46, %48 ] + %53 = load ptr, ptr %10, align 8, !tbaa !236 + %.not.i9 = icmp eq ptr %53, null + br i1 %.not.i9, label %_ZNSt14_Function_baseD2Ev.exit10, label %54 + +54: ; preds = %.body + %55 = invoke noundef zeroext i1 %53(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef 3) + to label %_ZNSt14_Function_baseD2Ev.exit10 unwind label %56 + +56: ; preds = %54 + %57 = landingpad { ptr, i32 } + catch ptr null + %58 = extractvalue { ptr, i32 } %57, 0 + call void @__clang_call_terminate(ptr %58) #37 + unreachable + +_ZNSt14_Function_baseD2Ev.exit10: ; preds = %.body, %54 call void @llvm.lifetime.end.p0(ptr nonnull %5) resume { ptr, i32 } %.pn } @@ -106560,7 +106571,7 @@ _ZN4Luau3getINS_11UnknownTypeEEEPKT_PKNS_4TypeE.exit.thread.i.i.i: ; preds = %6, } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFSt8optionalIPKN4Luau4TypeEES4_EZZNS1_11TypeChecker7resolveERKNS1_18TypeGuardPredicateERSt13unordered_mapINS1_7VariantIJNS1_6SymbolENS1_5FieldEEEES4_NS1_12LValueHasherESt8equal_toISF_ESaISt4pairIKSF_S4_EEERKSt10shared_ptrINS1_5ScopeEEbENK3$_0clEPFbS4_ES5_EUlS4_E_E10_M_managerERSt9_Any_dataRKSZ_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #8 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFSt8optionalIPKN4Luau4TypeEES4_EZZNS1_11TypeChecker7resolveERKNS1_18TypeGuardPredicateERSt13unordered_mapINS1_7VariantIJNS1_6SymbolENS1_5FieldEEEES4_NS1_12LValueHasherESt8equal_toISF_ESaISt4pairIKSF_S4_EEERKSt10shared_ptrINS1_5ScopeEEbENK3$_0clEPFbS4_ES5_EUlS4_E_E10_M_managerERSt9_Any_dataRKSZ_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #8 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZZN4Luau11TypeChecker7resolveERKNS1_18TypeGuardPredicateERSt13unordered_mapINS1_7VariantIJNS1_6SymbolENS1_5FieldEEEEPKNS1_4TypeENS1_12LValueHasherESt8equal_toISA_ESaISt4pairIKSA_SD_EEERKSt10shared_ptrINS1_5ScopeEEbENK3$_0clEPFbSD_ESt8optionalISD_EEUlSD_E_E10_M_managerERSt9_Any_dataRKSZ_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -126031,7 +126042,7 @@ _ZNSt10_HashtableIPKN4Luau4TypeES3_SaIS3_ENSt8__detail9_IdentityESt8equal_toIS3_ } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFPKN4Luau4TypeES3_S3_EZNS0_11TypeChecker5mergeERSt13unordered_mapINS0_7VariantIJNS0_6SymbolENS0_5FieldEEEES3_NS0_12LValueHasherESt8equal_toISA_ESaISt4pairIKSA_S3_EEERKSI_E3$_0E10_M_managerERSt9_Any_dataRKSO_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #22 align 2 personality ptr @__gxx_personality_v0 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFPKN4Luau4TypeES3_S3_EZNS0_11TypeChecker5mergeERSt13unordered_mapINS0_7VariantIJNS0_6SymbolENS0_5FieldEEEES3_NS0_12LValueHasherESt8equal_toISA_ESaISt4pairIKSA_S3_EEERKSI_E3$_0E10_M_managerERSt9_Any_dataRKSO_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #22 align 2 personality ptr @__gxx_personality_v0 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN4Luau11TypeChecker5mergeERSt13unordered_mapINS1_7VariantIJNS1_6SymbolENS1_5FieldEEEEPKNS1_4TypeENS1_12LValueHasherESt8equal_toIS7_ESaISt4pairIKS7_SA_EEERKSI_E3$_0E10_M_managerERSt9_Any_dataRKSO_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -126479,7 +126490,7 @@ _ZN4Luau3getINS_13SingletonTypeEEEPKT_PKNS_4TypeE.exit.thread.i.i.i: ; preds = % } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFSt8optionalIPKN4Luau4TypeEES4_EZNS1_11TypeChecker17mkTruthyPredicateEbS4_E3$_0E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #8 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFSt8optionalIPKN4Luau4TypeEES4_EZNS1_11TypeChecker17mkTruthyPredicateEbS4_E3$_0E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #8 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN4Luau11TypeChecker17mkTruthyPredicateEbPKNS1_4TypeEE3$_0E10_M_managerERSt9_Any_dataRKS8_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -127754,7 +127765,7 @@ _ZN4LuauL13isUndecidableEPKNS_4TypeE.exit.i.i.i: ; preds = %110, %107, %107, %1 } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFSt8optionalIPKN4Luau4TypeEES4_EZNS1_11TypeChecker7resolveERKNS1_12IsAPredicateERSt13unordered_mapINS1_7VariantIJNS1_6SymbolENS1_5FieldEEEES4_NS1_12LValueHasherESt8equal_toISF_ESaISt4pairIKSF_S4_EEERKSt10shared_ptrINS1_5ScopeEEbE3$_0E10_M_managerERSt9_Any_dataRKSW_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #8 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFSt8optionalIPKN4Luau4TypeEES4_EZNS1_11TypeChecker7resolveERKNS1_12IsAPredicateERSt13unordered_mapINS1_7VariantIJNS1_6SymbolENS1_5FieldEEEES4_NS1_12LValueHasherESt8equal_toISF_ESaISt4pairIKSF_S4_EEERKSt10shared_ptrINS1_5ScopeEEbE3$_0E10_M_managerERSt9_Any_dataRKSW_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #8 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN4Luau11TypeChecker7resolveERKNS1_12IsAPredicateERSt13unordered_mapINS1_7VariantIJNS1_6SymbolENS1_5FieldEEEEPKNS1_4TypeENS1_12LValueHasherESt8equal_toISA_ESaISt4pairIKSA_SD_EEERKSt10shared_ptrINS1_5ScopeEEbE3$_0E10_M_managerERSt9_Any_dataRKSU_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -128167,7 +128178,7 @@ _ZN4Luau3getINS_13SingletonTypeEEEPKT_PKNS_4TypeE.exit.i.i.i: ; preds = %121 } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFSt8optionalIPKN4Luau4TypeEES4_EZNS1_11TypeChecker7resolveERKNS1_11EqPredicateERSt13unordered_mapINS1_7VariantIJNS1_6SymbolENS1_5FieldEEEES4_NS1_12LValueHasherESt8equal_toISF_ESaISt4pairIKSF_S4_EEERKSt10shared_ptrINS1_5ScopeEEbE3$_0E10_M_managerERSt9_Any_dataRKSW_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #8 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFSt8optionalIPKN4Luau4TypeEES4_EZNS1_11TypeChecker7resolveERKNS1_11EqPredicateERSt13unordered_mapINS1_7VariantIJNS1_6SymbolENS1_5FieldEEEES4_NS1_12LValueHasherESt8equal_toISF_ESaISt4pairIKSF_S4_EEERKSt10shared_ptrINS1_5ScopeEEbE3$_0E10_M_managerERSt9_Any_dataRKSW_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #8 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN4Luau11TypeChecker7resolveERKNS1_11EqPredicateERSt13unordered_mapINS1_7VariantIJNS1_6SymbolENS1_5FieldEEEEPKNS1_4TypeENS1_12LValueHasherESt8equal_toISA_ESaISt4pairIKSA_SD_EEERKSt10shared_ptrINS1_5ScopeEEbE3$_0E10_M_managerERSt9_Any_dataRKSU_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 diff --git a/bench/memcached/optimized/testapp.ll b/bench/memcached/optimized/testapp.ll index 3d9d5c71d88..edcb1389573 100644 --- a/bench/memcached/optimized/testapp.ll +++ b/bench/memcached/optimized/testapp.ll @@ -389,7 +389,7 @@ target triple = "x86_64-pc-linux-gnu" @str = private unnamed_addr constant [24 x i8] c"/tmp/test_file.XXXXXXX\00\00", align 1 ; Function Attrs: nounwind uwtable -define internal noundef i32 @cache_create_test() #0 { +define internal noundef range(i32 1, 2) i32 @cache_create_test() #0 { %1 = tail call ptr @cache_create(ptr noundef nonnull @.str.60, i64 noundef 4, i64 noundef 8) #21 %.not = icmp eq ptr %1, null br i1 %.not, label %2, label %3 @@ -495,7 +495,7 @@ define internal range(i32 1, 3) i32 @cache_redzone_test() #0 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @cache_limit_revised_downward_test() #0 { +define internal noundef range(i32 1, 2) i32 @cache_limit_revised_downward_test() #0 { %1 = tail call noalias dereferenceable_or_null(88) ptr @calloc(i64 noundef 11, i64 noundef 8) #23 %2 = tail call ptr @cache_create(ptr noundef nonnull @.str.60, i64 noundef 4, i64 noundef 8) #21 %.not = icmp eq ptr %2, null @@ -551,7 +551,7 @@ define internal noundef i32 @cache_limit_revised_downward_test() #0 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_stats_prefix_find() #0 { +define internal noundef range(i32 1, 2) i32 @test_stats_prefix_find() #0 { tail call void @stats_prefix_clear() #21 %1 = tail call ptr @stats_prefix_find(ptr noundef nonnull @.str.69, i64 noundef 3) #21 %2 = icmp eq ptr %1, null @@ -855,7 +855,7 @@ define internal range(i32 1, 3) i32 @test_stats_prefix_record_set() #0 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_stats_prefix_dump() #0 { +define internal noundef range(i32 1, 2) i32 @test_stats_prefix_dump() #0 { %1 = alloca [500 x i8], align 16 %2 = alloca i32, align 4 %3 = load ptr, ptr @hash, align 8, !tbaa !27 @@ -1156,7 +1156,7 @@ cache_bulkalloc.exit: ; preds = %22, %13, %0 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_safe_strtol() #0 { +define internal noundef range(i32 1, 2) i32 @test_safe_strtol() #0 { %1 = alloca i32, align 4 call void @llvm.lifetime.start.p0(ptr nonnull %1) %2 = call zeroext i1 @safe_strtol(ptr noundef nonnull @.str.113, ptr noundef nonnull %1) #21 @@ -1281,7 +1281,7 @@ define internal noundef i32 @test_safe_strtol() #0 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_safe_strtoll() #0 { +define internal noundef range(i32 1, 2) i32 @test_safe_strtoll() #0 { %1 = alloca i64, align 8 call void @llvm.lifetime.start.p0(ptr nonnull %1) %2 = call zeroext i1 @safe_strtoll(ptr noundef nonnull @.str.113, ptr noundef nonnull %1) #21 @@ -1422,7 +1422,7 @@ define internal noundef i32 @test_safe_strtoll() #0 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_safe_strtoul() #0 { +define internal noundef range(i32 1, 2) i32 @test_safe_strtoul() #0 { %1 = alloca i32, align 4 call void @llvm.lifetime.start.p0(ptr nonnull %1) %2 = call zeroext i1 @safe_strtoul(ptr noundef nonnull @.str.113, ptr noundef nonnull %1) #21 @@ -1521,7 +1521,7 @@ define internal noundef i32 @test_safe_strtoul() #0 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_safe_strtoull() #0 { +define internal noundef range(i32 1, 2) i32 @test_safe_strtoull() #0 { %1 = alloca i64, align 8 call void @llvm.lifetime.start.p0(ptr nonnull %1) %2 = call zeroext i1 @safe_strtoull(ptr noundef nonnull @.str.113, ptr noundef nonnull %1) #21 @@ -1636,7 +1636,7 @@ define internal noundef i32 @test_safe_strtoull() #0 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_issue_44() #0 { +define internal noundef range(i32 1, 2) i32 @test_issue_44() #0 { %1 = alloca i16, align 2 call void @llvm.lifetime.start.p0(ptr nonnull %1) %2 = call fastcc i32 @start_server(ptr noundef nonnull %1, i1 noundef zeroext true, i32 noundef 600) @@ -1933,7 +1933,7 @@ define internal range(i32 0, 3) i32 @test_issue_101() #0 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_crc32c() #0 { +define internal noundef range(i32 1, 2) i32 @test_crc32c() #0 { %1 = alloca [256 x i8], align 16 call void @llvm.lifetime.start.p0(ptr nonnull %1) br label %7 @@ -2011,7 +2011,7 @@ define internal noundef i32 @test_crc32c() #0 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @start_memcached_server() #0 { +define internal noundef range(i32 1, 2) i32 @start_memcached_server() #0 { %1 = tail call fastcc i32 @start_server(ptr noundef nonnull @port, i1 noundef zeroext false, i32 noundef 600) store i32 %1, ptr @server_pid, align 4, !tbaa !9 %2 = load ptr, ptr @con, align 8, !tbaa !35 @@ -2050,7 +2050,7 @@ close_conn.exit: ; preds = %0, %9 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_issue_92() #0 { +define internal noundef range(i32 1, 2) i32 @test_issue_92() #0 { %1 = alloca [1024 x i8], align 16 call void @llvm.lifetime.start.p0(ptr nonnull %1) %2 = load ptr, ptr @con, align 8, !tbaa !35 @@ -2208,7 +2208,7 @@ close_conn.exit8: ; preds = %54, %62 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_issue_102() #0 { +define internal noundef range(i32 1, 2) i32 @test_issue_102() #0 { %1 = alloca [4096 x i8], align 16 %2 = alloca [80 x i8], align 16 call void @llvm.lifetime.start.p0(ptr nonnull %1) @@ -2607,7 +2607,7 @@ close_conn.exit32: ; preds = %181, %189 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_noop() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_noop() #0 { %1 = alloca %union.anon.0, align 8 call void @llvm.lifetime.start.p0(ptr nonnull %1) call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %1, i8 0, i64 24, i1 false) @@ -2681,139 +2681,139 @@ safe_recv_packet.exit: ; preds = %safe_send.exit, %24 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_quit() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_quit() #0 { tail call fastcc void @test_binary_quit_impl(i8 noundef zeroext 7) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_quitq() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_quitq() #0 { tail call fastcc void @test_binary_quit_impl(i8 noundef zeroext 23) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_set() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_set() #0 { tail call fastcc void @test_binary_set_impl(ptr noundef nonnull @.str.267, i8 noundef zeroext 1) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_setq() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_setq() #0 { tail call fastcc void @test_binary_set_impl(ptr noundef nonnull @.str.270, i8 noundef zeroext 17) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_add() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_add() #0 { tail call fastcc void @test_binary_add_impl(ptr noundef nonnull @.str.271, i8 noundef zeroext 2) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_addq() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_addq() #0 { tail call fastcc void @test_binary_add_impl(ptr noundef nonnull @.str.272, i8 noundef zeroext 18) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_replace() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_replace() #0 { tail call fastcc void @test_binary_replace_impl(ptr noundef nonnull @.str.273, i8 noundef zeroext 3) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_replaceq() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_replaceq() #0 { tail call fastcc void @test_binary_replace_impl(ptr noundef nonnull @.str.274, i8 noundef zeroext 19) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_delete() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_delete() #0 { tail call fastcc void @test_binary_delete_impl(ptr noundef nonnull @.str.275, i8 noundef zeroext 4) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_deleteq() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_deleteq() #0 { tail call fastcc void @test_binary_delete_impl(ptr noundef nonnull @.str.276, i8 noundef zeroext 20) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_get() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_get() #0 { tail call fastcc void @test_binary_get_impl(ptr noundef nonnull @.str.277, i8 noundef zeroext 0) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_getq() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_getq() #0 { tail call fastcc void @test_binary_getq_impl(ptr noundef nonnull @.str.278, i8 noundef zeroext 9) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_getk() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_getk() #0 { tail call fastcc void @test_binary_get_impl(ptr noundef nonnull @.str.280, i8 noundef zeroext 12) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_getkq() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_getkq() #0 { tail call fastcc void @test_binary_getq_impl(ptr noundef nonnull @.str.281, i8 noundef zeroext 13) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_gat() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_gat() #0 { tail call fastcc void @test_binary_get_impl(ptr noundef nonnull @.str.282, i8 noundef zeroext 29) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_gatq() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_gatq() #0 { tail call fastcc void @test_binary_getq_impl(ptr noundef nonnull @.str.283, i8 noundef zeroext 30) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_gatk() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_gatk() #0 { tail call fastcc void @test_binary_get_impl(ptr noundef nonnull @.str.284, i8 noundef zeroext 35) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_gatkq() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_gatkq() #0 { tail call fastcc void @test_binary_getq_impl(ptr noundef nonnull @.str.285, i8 noundef zeroext 36) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_incr() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_incr() #0 { tail call fastcc void @test_binary_incr_impl(ptr noundef nonnull @.str.286, i8 noundef zeroext 5) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_incrq() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_incrq() #0 { tail call fastcc void @test_binary_incr_impl(ptr noundef nonnull @.str.289, i8 noundef zeroext 21) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_decr() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_decr() #0 { tail call fastcc void @test_binary_decr_impl(ptr noundef nonnull @.str.290, i8 noundef zeroext 6) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_decrq() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_decrq() #0 { tail call fastcc void @test_binary_decr_impl(ptr noundef nonnull @.str.292, i8 noundef zeroext 22) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_version() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_version() #0 { %1 = alloca %union.anon.20, align 8 call void @llvm.lifetime.start.p0(ptr nonnull %1) call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %1, i8 0, i64 24, i1 false) @@ -2887,43 +2887,43 @@ safe_recv_packet.exit: ; preds = %safe_send.exit, %24 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_flush() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_flush() #0 { tail call fastcc void @test_binary_flush_impl(ptr noundef nonnull @.str.293, i8 noundef zeroext 8) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_flushq() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_flushq() #0 { tail call fastcc void @test_binary_flush_impl(ptr noundef nonnull @.str.295, i8 noundef zeroext 24) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_append() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_append() #0 { tail call fastcc void @test_binary_concat_impl(ptr noundef nonnull @.str.296, i8 noundef zeroext 14) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_appendq() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_appendq() #0 { tail call fastcc void @test_binary_concat_impl(ptr noundef nonnull @.str.302, i8 noundef zeroext 25) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_prepend() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_prepend() #0 { tail call fastcc void @test_binary_concat_impl(ptr noundef nonnull @.str.303, i8 noundef zeroext 15) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_prependq() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_prependq() #0 { tail call fastcc void @test_binary_concat_impl(ptr noundef nonnull @.str.304, i8 noundef zeroext 26) ret i32 1 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_stat() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_stat() #0 { %1 = alloca %union.anon.25, align 8 call void @llvm.lifetime.start.p0(ptr nonnull %1) call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %1, i8 0, i64 24, i1 false) @@ -3005,7 +3005,7 @@ safe_recv_packet.exit: ; preds = %safe_send.exit, %26 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @test_binary_illegal() #0 { +define internal noundef range(i32 1, 2) i32 @test_binary_illegal() #0 { %1 = alloca %union.anon.26, align 8 %2 = getelementptr inbounds nuw i8, ptr %1, i64 1 %3 = getelementptr inbounds nuw i8, ptr %1, i64 2 @@ -3446,7 +3446,7 @@ safe_send.exit: ; preds = %110 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @shutdown_memcached_server() #0 { +define internal noundef range(i32 1, 2) i32 @shutdown_memcached_server() #0 { %1 = alloca [1024 x i8], align 16 call void @llvm.lifetime.start.p0(ptr nonnull %1) %2 = load ptr, ptr @con, align 8, !tbaa !35 @@ -3562,7 +3562,7 @@ close_conn.exit2: ; preds = %38, %46 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @stop_memcached_server() #0 { +define internal noundef range(i32 1, 2) i32 @stop_memcached_server() #0 { %1 = load ptr, ptr @con, align 8, !tbaa !35 %2 = icmp eq ptr %1, null br i1 %2, label %close_conn.exit, label %3 diff --git a/bench/miniaudio/optimized/unity.ll b/bench/miniaudio/optimized/unity.ll index 03dc98846af..15f70f27844 100644 --- a/bench/miniaudio/optimized/unity.ll +++ b/bench/miniaudio/optimized/unity.ll @@ -8582,7 +8582,7 @@ ma_context_open_client__jack.exit: ; preds = %159 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define internal noundef i32 @ma_context_init__null(ptr readnone captures(none) %0, ptr readnone captures(none) %1, ptr noundef writeonly captures(none) initializes((0, 88)) %2) #0 { +define internal noundef range(i32 0, 1) i32 @ma_context_init__null(ptr readnone captures(none) %0, ptr readnone captures(none) %1, ptr noundef writeonly captures(none) initializes((0, 88)) %2) #0 { store ptr @ma_context_init__null, ptr %2, align 8, !tbaa !222 %4 = getelementptr inbounds nuw i8, ptr %2, i64 8 store ptr @ma_context_uninit__null, ptr %4, align 8, !tbaa !223 @@ -8677,7 +8677,7 @@ ma_free.exit: ; preds = %8, %17, %20 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define noundef i64 @ma_context_sizeof() local_unnamed_addr #1 { +define noundef range(i64 1016, 1017) i64 @ma_context_sizeof() local_unnamed_addr #1 { ret i64 1016 } @@ -12207,7 +12207,7 @@ ma_channel_map_get_channel.exit: ; preds = %.lr.ph.split, %52 } ; Function Attrs: nounwind uwtable -define noundef i32 @ma_duplex_rb_uninit(ptr noundef readonly captures(address_is_null) %0) local_unnamed_addr #6 { +define noundef range(i32 0, 1) i32 @ma_duplex_rb_uninit(ptr noundef readonly captures(address_is_null) %0) local_unnamed_addr #6 { %2 = icmp eq ptr %0, null br i1 %2, label %ma_pcm_rb_uninit.exit, label %3 @@ -30684,7 +30684,7 @@ ma_free.exit: ; preds = %30, %28, %25, %20, } ; Function Attrs: nounwind uwtable -define noundef range(i32 -2, 1) i32 @ma_spatializer_process_pcm_frames(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef readonly captures(address) %3, i64 noundef %4) local_unnamed_addr #40 { +define noundef range(i32 0, 1) i32 @ma_spatializer_process_pcm_frames(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef readonly captures(address) %3, i64 noundef %4) local_unnamed_addr #40 { %6 = alloca %struct.ma_vec3f, align 8 %7 = alloca %struct.ma_vec3f, align 8 %8 = getelementptr inbounds nuw i8, ptr %0, i64 8 @@ -66438,7 +66438,7 @@ ma_free.exit: ; preds = %1, %7, %10 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_encoder__on_write_pcm_frames_wav(ptr noundef readonly captures(none) %0, ptr noundef %1, i64 noundef %2, ptr noundef writeonly captures(address_is_null) %3) #6 { +define internal noundef range(i32 0, 1) i32 @ma_encoder__on_write_pcm_frames_wav(ptr noundef readonly captures(none) %0, ptr noundef %1, i64 noundef %2, ptr noundef writeonly captures(address_is_null) %3) #6 { %5 = getelementptr inbounds nuw i8, ptr %0, i64 96 %6 = load ptr, ptr %5, align 8, !tbaa !1454 %7 = icmp eq ptr %6, null @@ -106084,7 +106084,7 @@ define internal i64 @ma_dr_mp3__on_read_memory(ptr noundef captures(none) %0, pt } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef i32 @ma_dr_mp3__on_seek_memory(ptr noundef captures(none) %0, i32 noundef %1, i32 noundef %2) #12 { +define internal noundef range(i32 1, 2) i32 @ma_dr_mp3__on_seek_memory(ptr noundef captures(none) %0, i32 noundef %1, i32 noundef %2) #12 { %4 = icmp eq i32 %2, 1 br i1 %4, label %5, label %29 @@ -107858,7 +107858,7 @@ declare i32 @pthread_cond_wait(ptr noundef, ptr noundef) local_unnamed_addr #61 declare i32 @pthread_cond_signal(ptr noundef) local_unnamed_addr #11 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @ma_job_process__quit(ptr readnone captures(none) %0) #1 { +define internal noundef range(i32 0, 1) i32 @ma_job_process__quit(ptr readnone captures(none) %0) #1 { ret i32 0 } @@ -109492,7 +109492,7 @@ ma_resource_manager_post_job.exit: ; preds = %12, %10, %27 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @ma_job_process__device__aaudio_reroute(ptr readnone captures(none) %0) #1 { +define internal noundef range(i32 0, 1) i32 @ma_job_process__device__aaudio_reroute(ptr readnone captures(none) %0) #1 { ret i32 0 } @@ -110872,7 +110872,7 @@ ma_wait_for_pa_context_to_connect__pulse.exit: ; preds = %44 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_context_uninit__pulse(ptr noundef readonly captures(none) %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_context_uninit__pulse(ptr noundef readonly captures(none) %0) #6 { %2 = getelementptr inbounds nuw i8, ptr %0, i64 608 %3 = load ptr, ptr %2, align 8, !tbaa !7 %4 = getelementptr inbounds nuw i8, ptr %0, i64 928 @@ -112540,7 +112540,7 @@ ma_log_post.exit: ; preds = %354, %613, %93, %ma } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_uninit__pulse(ptr noundef readonly captures(none) %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_uninit__pulse(ptr noundef readonly captures(none) %0) #6 { %2 = load ptr, ptr %0, align 8, !tbaa !130 %3 = getelementptr inbounds nuw i8, ptr %0, i64 8 %4 = load i32, ptr %3, align 8, !tbaa !182 @@ -112704,7 +112704,7 @@ thread-pre-split: ; preds = %5 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_data_loop__pulse(ptr noundef readonly captures(address_is_null) %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_data_loop__pulse(ptr noundef readonly captures(address_is_null) %0) #6 { %.old = icmp eq ptr %0, null br i1 %.old, label %ma_device_get_state.exit.thread, label %ma_device_get_state.exit.preheader @@ -112732,7 +112732,7 @@ ma_device_get_state.exit.thread: ; preds = %6, %ma_device_get_s } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_data_loop_wakeup__pulse(ptr noundef readonly captures(none) %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_data_loop_wakeup__pulse(ptr noundef readonly captures(none) %0) #6 { %2 = load ptr, ptr %0, align 8, !tbaa !130 %3 = getelementptr inbounds nuw i8, ptr %2, i64 472 %4 = load ptr, ptr %3, align 8, !tbaa !7 @@ -113992,7 +113992,7 @@ define internal void @ma_pulse_operation_complete_callback(ptr readnone captures } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_context_uninit__alsa(ptr noundef %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_context_uninit__alsa(ptr noundef %0) #6 { ma_context_get_log.exit: %1 = getelementptr inbounds nuw i8, ptr %0, i64 424 %2 = getelementptr inbounds nuw i8, ptr %0, i64 952 @@ -114723,7 +114723,7 @@ thread-pre-split: ; preds = %7 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_uninit__alsa(ptr noundef readonly captures(none) %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_uninit__alsa(ptr noundef readonly captures(none) %0) #6 { %2 = getelementptr inbounds nuw i8, ptr %0, i64 3424 %3 = getelementptr inbounds nuw i8, ptr %0, i64 3432 %4 = load ptr, ptr %3, align 8, !tbaa !7 @@ -114865,7 +114865,7 @@ ma_log_post.exit: ; preds = %ma_device_get_conte } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_stop__alsa(ptr noundef readonly captures(none) %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_stop__alsa(ptr noundef readonly captures(none) %0) #6 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = getelementptr inbounds nuw i8, ptr %0, i64 8 @@ -117750,7 +117750,7 @@ ma_device_get_log.exit59: ; preds = %ma_device_get_conte declare noundef i64 @write(i32 noundef, ptr noundef readonly captures(none), i64 noundef) local_unnamed_addr #63 ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_context_uninit__jack(ptr noundef captures(none) %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_context_uninit__jack(ptr noundef captures(none) %0) #6 { %2 = getelementptr inbounds nuw i8, ptr %0, i64 560 %3 = load ptr, ptr %2, align 8, !tbaa !7 %4 = getelementptr inbounds nuw i8, ptr %0, i64 288 @@ -117777,7 +117777,7 @@ ma_context_get_log.exit: ; preds = %1, %6, %9 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_context_enumerate_devices__jack(ptr noundef %0, ptr noundef readonly captures(none) %1, ptr noundef %2) #6 { +define internal noundef range(i32 0, 1) i32 @ma_context_enumerate_devices__jack(ptr noundef %0, ptr noundef readonly captures(none) %1, ptr noundef %2) #6 { %4 = alloca %struct.ma_device_info, align 8 %5 = alloca %struct.ma_device_info, align 8 call void @llvm.lifetime.start.p0(ptr nonnull %4) @@ -118748,7 +118748,7 @@ ma_log_post.exit: ; preds = %.thread262, %352, % } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_uninit__jack(ptr noundef readonly captures(none) %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_uninit__jack(ptr noundef readonly captures(none) %0) #6 { %2 = getelementptr inbounds nuw i8, ptr %0, i64 3424 %3 = load ptr, ptr %2, align 8, !tbaa !7 %.not = icmp eq ptr %3, null @@ -119328,7 +119328,7 @@ ma_log_post.exit: ; preds = %ma_device_get_conte } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device__jack_process_callback(i32 noundef %0, ptr noundef %1) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device__jack_process_callback(i32 noundef %0, ptr noundef %1) #6 { %3 = load ptr, ptr %1, align 8, !tbaa !130 %4 = getelementptr inbounds nuw i8, ptr %1, i64 8 %5 = load i32, ptr %4, align 8, !tbaa !182 @@ -119628,12 +119628,12 @@ define internal void @ma_device__jack_shutdown_callback(ptr noundef %0) #6 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @ma_context_uninit__null(ptr readnone captures(none) %0) #1 { +define internal noundef range(i32 0, 1) i32 @ma_context_uninit__null(ptr readnone captures(none) %0) #1 { ret i32 0 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_context_enumerate_devices__null(ptr noundef %0, ptr noundef readonly captures(none) %1, ptr noundef %2) #6 { +define internal noundef range(i32 0, 1) i32 @ma_context_enumerate_devices__null(ptr noundef %0, ptr noundef readonly captures(none) %1, ptr noundef %2) #6 { %4 = alloca %struct.ma_device_info, align 8 %5 = alloca %struct.ma_device_info, align 8 call void @llvm.lifetime.start.p0(ptr nonnull %4) @@ -119961,7 +119961,7 @@ ma_semaphore_init.exit.thread: ; preds = %113, %ma_semaphore_ } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_uninit__null(ptr noundef %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_uninit__null(ptr noundef %0) #6 { tail call fastcc void @ma_device_do_operation__null(ptr noundef %0, i32 noundef 3) %2 = getelementptr inbounds nuw i8, ptr %0, i64 3424 %.val.i = load i64, ptr %2, align 8, !tbaa !52 @@ -119982,7 +119982,7 @@ define internal noundef i32 @ma_device_uninit__null(ptr noundef %0) #6 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_start__null(ptr noundef %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_start__null(ptr noundef %0) #6 { tail call fastcc void @ma_device_do_operation__null(ptr noundef %0, i32 noundef 1) %2 = getelementptr inbounds nuw i8, ptr %0, i64 3768 store atomic i32 1, ptr %2 seq_cst, align 4 @@ -119990,7 +119990,7 @@ define internal noundef i32 @ma_device_start__null(ptr noundef %0) #6 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_stop__null(ptr noundef %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_stop__null(ptr noundef %0) #6 { tail call fastcc void @ma_device_do_operation__null(ptr noundef %0, i32 noundef 2) %2 = getelementptr inbounds nuw i8, ptr %0, i64 3768 store atomic i32 0, ptr %2 seq_cst, align 4 @@ -119998,7 +119998,7 @@ define internal noundef i32 @ma_device_stop__null(ptr noundef %0) #6 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_read__null(ptr noundef captures(none) %0, ptr noundef writeonly captures(address_is_null) %1, i32 noundef %2, ptr noundef writeonly captures(address_is_null) %3) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_read__null(ptr noundef captures(none) %0, ptr noundef writeonly captures(address_is_null) %1, i32 noundef %2, ptr noundef writeonly captures(address_is_null) %3) #6 { %5 = alloca %struct.timespec, align 8 %6 = alloca %struct.timespec, align 8 %.not = icmp eq ptr %3, null @@ -120138,7 +120138,7 @@ define internal noundef i32 @ma_device_read__null(ptr noundef captures(none) %0, } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_write__null(ptr noundef %0, ptr readnone captures(none) %1, i32 noundef %2, ptr noundef writeonly captures(address_is_null) %3) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_write__null(ptr noundef %0, ptr readnone captures(none) %1, i32 noundef %2, ptr noundef writeonly captures(address_is_null) %3) #6 { %5 = alloca %struct.timespec, align 8 %6 = alloca %struct.timespec, align 8 %.not = icmp eq ptr %3, null @@ -121743,7 +121743,7 @@ ma_channel_map_apply_shuffle_table_u8.exit: ; preds = %124, %106, %87, %45 } ; Function Attrs: nofree norecurse nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal noundef i32 @ma_pcm_rb_data_source__on_read(ptr noundef captures(address_is_null) %0, ptr noundef writeonly captures(address) %1, i64 noundef %2, ptr noundef writeonly captures(none) %3) #24 { +define internal noundef range(i32 0, 1) i32 @ma_pcm_rb_data_source__on_read(ptr noundef captures(address_is_null) %0, ptr noundef writeonly captures(address) %1, i64 noundef %2, ptr noundef writeonly captures(none) %3) #24 { %5 = icmp eq ptr %0, null %6 = icmp eq i64 %2, 0 %or.cond44 = or i1 %5, %6 @@ -121890,7 +121890,7 @@ ma_rb_pointer_distance.exit.i.i: ; preds = %82, %80 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal noundef i32 @ma_pcm_rb_data_source__on_get_data_format(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(address_is_null) %1, ptr noundef writeonly captures(address_is_null) %2, ptr noundef writeonly captures(address_is_null) %3, ptr noundef writeonly captures(address_is_null) %4, i64 noundef %5) #22 { +define internal noundef range(i32 0, 1) i32 @ma_pcm_rb_data_source__on_get_data_format(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(address_is_null) %1, ptr noundef writeonly captures(address_is_null) %2, ptr noundef writeonly captures(address_is_null) %3, ptr noundef writeonly captures(address_is_null) %4, i64 noundef %5) #22 { %.not = icmp eq ptr %1, null br i1 %.not, label %10, label %7 @@ -122083,7 +122083,7 @@ ma_audio_buffer_ref_seek_to_pcm_frame.exit: ; preds = %2, %4, %8 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal noundef i32 @ma_audio_buffer_ref__data_source_on_get_data_format(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 4)) %1, ptr noundef writeonly captures(none) initializes((0, 4)) %2, ptr noundef writeonly captures(none) initializes((0, 4)) %3, ptr noundef writeonly captures(address_is_null) %4, i64 noundef %5) #22 { +define internal noundef range(i32 0, 1) i32 @ma_audio_buffer_ref__data_source_on_get_data_format(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 4)) %1, ptr noundef writeonly captures(none) initializes((0, 4)) %2, ptr noundef writeonly captures(none) initializes((0, 4)) %3, ptr noundef writeonly captures(address_is_null) %4, i64 noundef %5) #22 { %7 = getelementptr inbounds nuw i8, ptr %0, i64 72 %8 = load i32, ptr %7, align 8, !tbaa !1062 store i32 %8, ptr %1, align 4, !tbaa !3 @@ -122120,7 +122120,7 @@ ma_channel_map_init_standard.exit: ; preds = %.preheader.i, %6 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef i32 @ma_audio_buffer_ref__data_source_on_get_cursor(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #12 { +define internal noundef range(i32 0, 1) i32 @ma_audio_buffer_ref__data_source_on_get_cursor(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #12 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 88 %4 = load i64, ptr %3, align 8, !tbaa !1065 store i64 %4, ptr %1, align 8, !tbaa !63 @@ -122128,7 +122128,7 @@ define internal noundef i32 @ma_audio_buffer_ref__data_source_on_get_cursor(ptr } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef i32 @ma_audio_buffer_ref__data_source_on_get_length(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #12 { +define internal noundef range(i32 0, 1) i32 @ma_audio_buffer_ref__data_source_on_get_length(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #12 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 96 %4 = load i64, ptr %3, align 8, !tbaa !1066 store i64 %4, ptr %1, align 8, !tbaa !63 @@ -122342,7 +122342,7 @@ ma_paged_audio_buffer_seek_to_pcm_frame.exit: ; preds = %44, %2, %4, %17, %2 } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal noundef i32 @ma_paged_audio_buffer__data_source_on_get_data_format(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 4)) %1, ptr noundef writeonly captures(none) initializes((0, 4)) %2, ptr noundef writeonly captures(none) initializes((0, 4)) %3, ptr noundef writeonly captures(address_is_null) %4, i64 noundef %5) #19 { +define internal noundef range(i32 0, 1) i32 @ma_paged_audio_buffer__data_source_on_get_data_format(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 4)) %1, ptr noundef writeonly captures(none) initializes((0, 4)) %2, ptr noundef writeonly captures(none) initializes((0, 4)) %3, ptr noundef writeonly captures(address_is_null) %4, i64 noundef %5) #19 { %7 = getelementptr inbounds nuw i8, ptr %0, i64 72 %8 = load ptr, ptr %7, align 8, !tbaa !1089 %9 = load i32, ptr %8, align 8, !tbaa !1078 @@ -124225,7 +124225,7 @@ ma_free.exit: ; preds = %3, %.thread, %36, % } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef i32 @ma_decoder__on_tell_memory(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #12 { +define internal noundef range(i32 0, 1) i32 @ma_decoder__on_tell_memory(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #12 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 544 %4 = load i64, ptr %3, align 8, !tbaa !7 store i64 %4, ptr %1, align 8, !tbaa !63 @@ -124365,7 +124365,7 @@ ma_waveform_seek_to_pcm_frame.exit: ; preds = %2, %4 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal noundef i32 @ma_waveform__data_source_on_get_data_format(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 4)) %1, ptr noundef writeonly captures(none) initializes((0, 4)) %2, ptr noundef writeonly captures(none) initializes((0, 4)) %3, ptr noundef writeonly captures(address_is_null) %4, i64 noundef %5) #22 { +define internal noundef range(i32 0, 1) i32 @ma_waveform__data_source_on_get_data_format(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 4)) %1, ptr noundef writeonly captures(none) initializes((0, 4)) %2, ptr noundef writeonly captures(none) initializes((0, 4)) %3, ptr noundef writeonly captures(address_is_null) %4, i64 noundef %5) #22 { %7 = getelementptr inbounds nuw i8, ptr %0, i64 72 %8 = load i32, ptr %7, align 8, !tbaa !1470 store i32 %8, ptr %1, align 4, !tbaa !3 @@ -124402,7 +124402,7 @@ ma_channel_map_init_standard.exit: ; preds = %.preheader.i, %6 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef i32 @ma_waveform__data_source_on_get_cursor(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #12 { +define internal noundef range(i32 0, 1) i32 @ma_waveform__data_source_on_get_cursor(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #12 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 112 %4 = load double, ptr %3, align 8, !tbaa !1467 %5 = getelementptr inbounds nuw i8, ptr %0, i64 104 @@ -124420,12 +124420,12 @@ define internal range(i32 -3, 1) i32 @ma_noise__data_source_on_read(ptr noundef } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @ma_noise__data_source_on_seek(ptr readnone captures(none) %0, i64 %1) #1 { +define internal noundef range(i32 0, 1) i32 @ma_noise__data_source_on_seek(ptr readnone captures(none) %0, i64 %1) #1 { ret i32 0 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal noundef i32 @ma_noise__data_source_on_get_data_format(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 4)) %1, ptr noundef writeonly captures(none) initializes((0, 4)) %2, ptr noundef writeonly captures(none) initializes((0, 4)) %3, ptr noundef writeonly captures(address_is_null) %4, i64 noundef %5) #22 { +define internal noundef range(i32 0, 1) i32 @ma_noise__data_source_on_get_data_format(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 4)) %1, ptr noundef writeonly captures(none) initializes((0, 4)) %2, ptr noundef writeonly captures(none) initializes((0, 4)) %3, ptr noundef writeonly captures(address_is_null) %4, i64 noundef %5) #22 { %7 = getelementptr inbounds nuw i8, ptr %0, i64 72 %8 = load i32, ptr %7, align 8, !tbaa !1521 store i32 %8, ptr %1, align 4, !tbaa !3 @@ -124953,7 +124953,7 @@ ma_resource_manager_data_buffer_get_length_in_pcm_frames.exit: ; preds = %2, %5, } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_resource_manager_data_buffer_cb__set_looping(ptr noundef %0, i32 noundef %1) #6 { +define internal noundef range(i32 0, 1) i32 @ma_resource_manager_data_buffer_cb__set_looping(ptr noundef %0, i32 noundef %1) #6 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 120 %4 = atomicrmw xchg ptr %3, i32 %1 seq_cst, align 8 %5 = getelementptr inbounds nuw i8, ptr %0, i64 124 @@ -125286,7 +125286,7 @@ ma_resource_manager_data_stream_get_length_in_pcm_frames.exit: ; preds = %2, %4, } ; Function Attrs: mustprogress nofree norecurse nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef i32 @ma_resource_manager_data_stream_cb__set_looping(ptr noundef captures(none) %0, i32 noundef %1) #25 { +define internal noundef range(i32 0, 1) i32 @ma_resource_manager_data_stream_cb__set_looping(ptr noundef captures(none) %0, i32 noundef %1) #25 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 684 %4 = atomicrmw xchg ptr %3, i32 %1 seq_cst, align 4 ret i32 0 @@ -126766,7 +126766,7 @@ ma_engine_node_update_pitch_if_required.exit: ; preds = %12, %ma_engine_get_ } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_engine_node_get_required_input_frame_count__group(ptr noundef %0, i32 noundef %1, ptr noundef writeonly captures(none) initializes((0, 4)) %2) #6 { +define internal noundef range(i32 0, 1) i32 @ma_engine_node_get_required_input_frame_count__group(ptr noundef %0, i32 noundef %1, ptr noundef writeonly captures(none) initializes((0, 4)) %2) #6 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 828 %5 = load atomic volatile i32, ptr %4 acquire, align 4 %6 = bitcast i32 %5 to float @@ -130737,7 +130737,7 @@ ma_dr_wav__realloc_from_callbacks.exit.thread44: ; preds = %32, %33, %ma_dr_wav } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef i32 @ma_dr_wav__on_seek_memory_write(ptr noundef captures(none) %0, i32 noundef %1, i32 noundef %2) #12 { +define internal noundef range(i32 1, 2) i32 @ma_dr_wav__on_seek_memory_write(ptr noundef captures(none) %0, i32 noundef %1, i32 noundef %2) #12 { %4 = icmp eq i32 %2, 1 br i1 %4, label %5, label %29 diff --git a/bench/mold/optimized/lto-unix.cc.X86_64.ll b/bench/mold/optimized/lto-unix.cc.X86_64.ll index 0b49502ba72..d2d9f67ffe3 100644 --- a/bench/mold/optimized/lto-unix.cc.X86_64.ll +++ b/bench/mold/optimized/lto-unix.cc.X86_64.ll @@ -6044,7 +6044,7 @@ define linkonce_odr dso_local noundef nonnull align 8 dereferenceable(408) ptr @ } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL7messageINS_6X86_64EEENS_12PluginStatusENS_11PluginLevelEPKcz(i32 noundef %0, ptr noundef readonly captures(none) %1, ...) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL7messageINS_6X86_64EEENS_12PluginStatusENS_11PluginLevelEPKcz(i32 noundef %0, ptr noundef readonly captures(none) %1, ...) #4 { %3 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 %4 = alloca [1000 x i8], align 16 %5 = alloca [1 x %struct.__va_list_tag], align 16 @@ -6526,7 +6526,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit3: ; preds = %_ZNS } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL24register_claim_file_hookINS_6X86_64EEENS_12PluginStatusEPFS2_PKNS_15PluginInputFileEPiE(ptr noundef %0) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL24register_claim_file_hookINS_6X86_64EEENS_12PluginStatusEPFS2_PKNS_15PluginInputFileEPiE(ptr noundef %0) #4 { %2 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %2) %3 = getelementptr inbounds nuw i8, ptr %2, i64 112 @@ -6603,7 +6603,7 @@ _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev.exit: ; preds = } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL30register_all_symbols_read_hookINS_6X86_64EEENS_12PluginStatusEPFS2_vE(ptr noundef %0) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL30register_all_symbols_read_hookINS_6X86_64EEENS_12PluginStatusEPFS2_vE(ptr noundef %0) #4 { %2 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %2) %3 = getelementptr inbounds nuw i8, ptr %2, i64 112 @@ -6680,7 +6680,7 @@ _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev.exit: ; preds = } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL21register_cleanup_hookINS_6X86_64EEENS_12PluginStatusEPFS2_vE(ptr noundef %0) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL21register_cleanup_hookINS_6X86_64EEENS_12PluginStatusEPFS2_vE(ptr noundef %0) #4 { %2 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %2) %3 = getelementptr inbounds nuw i8, ptr %2, i64 112 @@ -6757,7 +6757,7 @@ _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev.exit: ; preds = } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL11add_symbolsEPviPKNS_12PluginSymbolE(ptr readnone captures(none) %0, i32 noundef %1, ptr noundef readonly captures(none) %2) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL11add_symbolsEPviPKNS_12PluginSymbolE(ptr readnone captures(none) %0, i32 noundef %1, ptr noundef readonly captures(none) %2) #4 { %4 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %4) %5 = getelementptr inbounds nuw i8, ptr %4, i64 112 @@ -6882,7 +6882,7 @@ define internal noundef i32 @_ZN4moldL14get_symbols_v1EPKviPNS_12PluginSymbolE(p } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL14add_input_fileINS_6X86_64EEENS_12PluginStatusEPKc(ptr noundef %0) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL14add_input_fileINS_6X86_64EEENS_12PluginStatusEPKc(ptr noundef %0) #4 { %2 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 %3 = alloca %"class.std::__cxx11::basic_string", align 8 %4 = alloca %"class.std::__cxx11::basic_string", align 8 @@ -7156,7 +7156,7 @@ _ZNSt6vectorIPN4mold10ObjectFileINS0_6X86_64EEESaIS4_EE9push_backERKS4_.exit: ; } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL14get_input_fileEPKvPNS_15PluginInputFileE(ptr readnone captures(none) %0, ptr readnone captures(none) %1) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL14get_input_fileEPKvPNS_15PluginInputFileE(ptr readnone captures(none) %0, ptr readnone captures(none) %1) #4 { %3 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %3) %4 = getelementptr inbounds nuw i8, ptr %3, i64 112 @@ -7232,7 +7232,7 @@ _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev.exit: ; preds = } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL18release_input_fileINS_6X86_64EEENS_12PluginStatusEPKv(ptr noundef readonly captures(none) %0) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL18release_input_fileINS_6X86_64EEENS_12PluginStatusEPKv(ptr noundef readonly captures(none) %0) #4 { %2 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %2) %3 = getelementptr inbounds nuw i8, ptr %2, i64 112 @@ -7311,7 +7311,7 @@ _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev.exit: ; preds = } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL17add_input_libraryEPKc(ptr readnone captures(none) %0) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL17add_input_libraryEPKc(ptr readnone captures(none) %0) #4 { %2 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %2) %3 = getelementptr inbounds nuw i8, ptr %2, i64 112 @@ -7387,7 +7387,7 @@ _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev.exit: ; preds = } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL22set_extra_library_pathEPKc(ptr readnone captures(none) %0) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL22set_extra_library_pathEPKc(ptr readnone captures(none) %0) #4 { %2 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %2) %3 = getelementptr inbounds nuw i8, ptr %2, i64 112 @@ -7463,7 +7463,7 @@ _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev.exit: ; preds = } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL8get_viewINS_6X86_64EEENS_12PluginStatusEPKvPS4_(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL8get_viewINS_6X86_64EEENS_12PluginStatusEPKvPS4_(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #4 { %3 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %3) %4 = getelementptr inbounds nuw i8, ptr %3, i64 112 @@ -7544,7 +7544,7 @@ _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev.exit: ; preds = } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL23get_input_section_countEPKvPi(ptr readnone captures(none) %0, ptr readnone captures(none) %1) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL23get_input_section_countEPKvPi(ptr readnone captures(none) %0, ptr readnone captures(none) %1) #4 { %3 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %3) %4 = getelementptr inbounds nuw i8, ptr %3, i64 112 @@ -7620,7 +7620,7 @@ _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev.exit: ; preds = } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL22get_input_section_typeENS_13PluginSectionEPi(ptr readnone captures(none) %0, i32 %1, ptr readnone captures(none) %2) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL22get_input_section_typeENS_13PluginSectionEPi(ptr readnone captures(none) %0, i32 %1, ptr readnone captures(none) %2) #4 { %4 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %4) %5 = getelementptr inbounds nuw i8, ptr %4, i64 112 @@ -7696,7 +7696,7 @@ _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev.exit: ; preds = } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL22get_input_section_nameENS_13PluginSectionEPPc(ptr readnone captures(none) %0, i32 %1, ptr readnone captures(none) %2) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL22get_input_section_nameENS_13PluginSectionEPPc(ptr readnone captures(none) %0, i32 %1, ptr readnone captures(none) %2) #4 { %4 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %4) %5 = getelementptr inbounds nuw i8, ptr %4, i64 112 @@ -7772,7 +7772,7 @@ _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev.exit: ; preds = } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL26get_input_section_contentsENS_13PluginSectionEPPKcPm(ptr readnone captures(none) %0, i32 %1, ptr readnone captures(none) %2, ptr readnone captures(none) %3) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL26get_input_section_contentsENS_13PluginSectionEPPKcPm(ptr readnone captures(none) %0, i32 %1, ptr readnone captures(none) %2, ptr readnone captures(none) %3) #4 { %5 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %5) %6 = getelementptr inbounds nuw i8, ptr %5, i64 112 @@ -7848,7 +7848,7 @@ _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev.exit: ; preds = } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL20update_section_orderEPKNS_13PluginSectionEi(ptr readnone captures(none) %0, i32 %1) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL20update_section_orderEPKNS_13PluginSectionEi(ptr readnone captures(none) %0, i32 %1) #4 { %3 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %3) %4 = getelementptr inbounds nuw i8, ptr %3, i64 112 @@ -7924,7 +7924,7 @@ _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev.exit: ; preds = } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL22allow_section_orderingEv() #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL22allow_section_orderingEv() #4 { %1 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %1) %2 = getelementptr inbounds nuw i8, ptr %1, i64 112 @@ -8173,7 +8173,7 @@ _ZN4moldL11get_symbolsINS_6X86_64EEENS_12PluginStatusEPKviPNS_12PluginSymbolEb.e } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL33allow_unique_segment_for_sectionsEv() #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL33allow_unique_segment_for_sectionsEv() #4 { %1 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %1) %2 = getelementptr inbounds nuw i8, ptr %1, i64 112 @@ -8249,7 +8249,7 @@ _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev.exit: ; preds = } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL27unique_segment_for_sectionsEPKcmmPKNS_13PluginSectionEi(ptr readnone captures(none) %0, i64 %1, i64 %2, ptr readnone captures(none) %3, i32 %4) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL27unique_segment_for_sectionsEPKcmmPKNS_13PluginSectionEi(ptr readnone captures(none) %0, i64 %1, i64 %2, ptr readnone captures(none) %3, i32 %4) #4 { %6 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %6) %7 = getelementptr inbounds nuw i8, ptr %6, i64 112 @@ -8498,7 +8498,7 @@ _ZN4moldL11get_symbolsINS_6X86_64EEENS_12PluginStatusEPKviPNS_12PluginSymbolEb.e } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL27get_input_section_alignmentENS_13PluginSectionEPi(ptr readnone captures(none) %0, i32 %1, ptr readnone captures(none) %2) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL27get_input_section_alignmentENS_13PluginSectionEPi(ptr readnone captures(none) %0, i32 %1, ptr readnone captures(none) %2) #4 { %4 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %4) %5 = getelementptr inbounds nuw i8, ptr %4, i64 112 @@ -8574,7 +8574,7 @@ _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev.exit: ; preds = } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL22get_input_section_sizeENS_13PluginSectionEPm(ptr readnone captures(none) %0, i32 %1, ptr readnone captures(none) %2) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL22get_input_section_sizeENS_13PluginSectionEPm(ptr readnone captures(none) %0, i32 %1, ptr readnone captures(none) %2) #4 { %4 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %4) %5 = getelementptr inbounds nuw i8, ptr %4, i64 112 @@ -8650,7 +8650,7 @@ _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev.exit: ; preds = } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL23register_new_input_hookINS_6X86_64EEENS_12PluginStatusEPFS2_PKNS_15PluginInputFileEE(ptr readnone captures(none) %0) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL23register_new_input_hookINS_6X86_64EEENS_12PluginStatusEPFS2_PKNS_15PluginInputFileEE(ptr readnone captures(none) %0) #4 { %2 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %2) %3 = getelementptr inbounds nuw i8, ptr %2, i64 112 @@ -8726,7 +8726,7 @@ _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev.exit: ; preds = } ; Function Attrs: mustprogress nounwind -define internal noundef i32 @_ZN4moldL16get_wrap_symbolsEPmPPPKc(ptr readnone captures(none) %0, ptr readnone captures(none) %1) #4 { +define internal noundef range(i32 0, 1) i32 @_ZN4moldL16get_wrap_symbolsEPmPPPKc(ptr readnone captures(none) %0, ptr readnone captures(none) %1) #4 { %3 = alloca %"class.std::__cxx11::basic_ostringstream", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %3) %4 = getelementptr inbounds nuw i8, ptr %3, i64 112 diff --git a/bench/msdfgen/optimized/import-font.ll b/bench/msdfgen/optimized/import-font.ll index 5952a6fedda..187c2b5f410 100644 --- a/bench/msdfgen/optimized/import-font.ll +++ b/bench/msdfgen/optimized/import-font.ll @@ -188,7 +188,7 @@ if.end: ; preds = %if.then.i.i.i.i.i.i } ; Function Attrs: mustprogress uwtable -define internal noundef i32 @_ZN7msdfgenL8ftMoveToEPK10FT_Vector_Pv(ptr noundef readonly captures(none) %to, ptr noundef captures(none) initializes((0, 16)) %user) #2 { +define internal noundef range(i32 0, 1) i32 @_ZN7msdfgenL8ftMoveToEPK10FT_Vector_Pv(ptr noundef readonly captures(none) %to, ptr noundef captures(none) initializes((0, 16)) %user) #2 { entry: %contour = getelementptr inbounds nuw i8, ptr %user, i64 24 %0 = load ptr, ptr %contour, align 8 @@ -224,7 +224,7 @@ if.end: ; preds = %if.then, %land.lhs. } ; Function Attrs: mustprogress uwtable -define internal noundef i32 @_ZN7msdfgenL8ftLineToEPK10FT_Vector_Pv(ptr noundef readonly captures(none) %to, ptr noundef captures(none) %user) #2 personality ptr @__gxx_personality_v0 { +define internal noundef range(i32 0, 1) i32 @_ZN7msdfgenL8ftLineToEPK10FT_Vector_Pv(ptr noundef readonly captures(none) %to, ptr noundef captures(none) %user) #2 personality ptr @__gxx_personality_v0 { entry: %ref.tmp = alloca %"class.msdfgen::EdgeHolder", align 8 %to.val = load i64, ptr %to, align 8 @@ -267,7 +267,7 @@ if.end: ; preds = %invoke.cont, %entry } ; Function Attrs: mustprogress uwtable -define internal noundef i32 @_ZN7msdfgenL9ftConicToEPK10FT_Vector_S2_Pv(ptr noundef readonly captures(none) %control, ptr noundef readonly captures(none) %to, ptr noundef captures(none) %user) #2 personality ptr @__gxx_personality_v0 { +define internal noundef range(i32 0, 1) i32 @_ZN7msdfgenL9ftConicToEPK10FT_Vector_S2_Pv(ptr noundef readonly captures(none) %control, ptr noundef readonly captures(none) %to, ptr noundef captures(none) %user) #2 personality ptr @__gxx_personality_v0 { entry: %ref.tmp = alloca %"class.msdfgen::EdgeHolder", align 8 %to.val = load i64, ptr %to, align 8 @@ -317,7 +317,7 @@ if.end: ; preds = %invoke.cont, %entry } ; Function Attrs: mustprogress uwtable -define internal noundef i32 @_ZN7msdfgenL9ftCubicToEPK10FT_Vector_S2_S2_Pv(ptr noundef readonly captures(none) %control1, ptr noundef readonly captures(none) %control2, ptr noundef readonly captures(none) %to, ptr noundef captures(none) %user) #2 personality ptr @__gxx_personality_v0 { +define internal noundef range(i32 0, 1) i32 @_ZN7msdfgenL9ftCubicToEPK10FT_Vector_S2_S2_Pv(ptr noundef readonly captures(none) %control1, ptr noundef readonly captures(none) %control2, ptr noundef readonly captures(none) %to, ptr noundef captures(none) %user) #2 personality ptr @__gxx_personality_v0 { entry: %ref.tmp = alloca %"class.msdfgen::EdgeHolder", align 8 %to.val = load i64, ptr %to, align 8 @@ -484,7 +484,7 @@ delete.end: ; preds = %if.then, %entry declare i32 @FT_Done_Face(ptr noundef) local_unnamed_addr #4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN7msdfgen14getFontMetricsERNS_11FontMetricsEPNS_10FontHandleE(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(48) initializes((0, 48)) %metrics, ptr noundef readonly captures(none) %font) local_unnamed_addr #6 { +define dso_local noundef zeroext range(i1 -1, 0) i1 @_ZN7msdfgen14getFontMetricsERNS_11FontMetricsEPNS_10FontHandleE(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(48) initializes((0, 48)) %metrics, ptr noundef readonly captures(none) %font) local_unnamed_addr #6 { entry: %0 = load ptr, ptr %font, align 8 %units_per_EM = getelementptr inbounds nuw i8, ptr %0, i64 136 diff --git a/bench/nghttp2/optimized/llhttp.ll b/bench/nghttp2/optimized/llhttp.ll index 7b45f62d6a8..59c8fc94bc5 100644 --- a/bench/nghttp2/optimized/llhttp.ll +++ b/bench/nghttp2/optimized/llhttp.ll @@ -164,7 +164,7 @@ define range(i32 0, 256) i32 @llhttp__internal__c_load_initial_message_completed } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_update_finish(ptr noundef writeonly captures(none) initializes((81, 82)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_update_finish(ptr noundef writeonly captures(none) initializes((81, 82)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 81 store i8 2, ptr %4, align 1, !tbaa !12 ret i32 0 @@ -179,7 +179,7 @@ define range(i32 0, 256) i32 @llhttp__internal__c_load_type(ptr noundef readonly } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_store_method(ptr noundef writeonly captures(none) initializes((73, 74)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2, i32 noundef %3) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_store_method(ptr noundef writeonly captures(none) initializes((73, 74)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2, i32 noundef %3) local_unnamed_addr #1 { %5 = trunc i32 %3 to i8 %6 = getelementptr inbounds nuw i8, ptr %0, i64 73 store i8 %5, ptr %6, align 1, !tbaa !14 @@ -196,14 +196,14 @@ define range(i32 0, 2) i32 @llhttp__internal__c_is_equal_method(ptr noundef read } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_update_http_major(ptr noundef writeonly captures(none) initializes((74, 75)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_update_http_major(ptr noundef writeonly captures(none) initializes((74, 75)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 74 store i8 0, ptr %4, align 2, !tbaa !15 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_update_http_minor(ptr noundef writeonly captures(none) initializes((75, 76)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_update_http_minor(ptr noundef writeonly captures(none) initializes((75, 76)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 75 store i8 9, ptr %4, align 1, !tbaa !16 ret i32 0 @@ -248,21 +248,21 @@ define range(i32 0, 2) i32 @llhttp__internal__c_is_equal_upgrade(ptr noundef rea } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_update_content_length(ptr noundef writeonly captures(none) initializes((64, 72)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_update_content_length(ptr noundef writeonly captures(none) initializes((64, 72)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 64 store i64 0, ptr %4, align 8, !tbaa !20 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_update_initial_message_completed(ptr noundef writeonly captures(none) initializes((86, 87)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_update_initial_message_completed(ptr noundef writeonly captures(none) initializes((86, 87)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 86 store i8 1, ptr %4, align 2, !tbaa !3 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_update_finish_1(ptr noundef writeonly captures(none) initializes((81, 82)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_update_finish_1(ptr noundef writeonly captures(none) initializes((81, 82)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 81 store i8 0, ptr %4, align 1, !tbaa !12 ret i32 0 @@ -358,7 +358,7 @@ define range(i32 0, 2) i32 @llhttp__internal__c_test_lenient_flags_7(ptr noundef } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define noundef i32 @llhttp__internal__c_or_flags(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_or_flags(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 82 %5 = load i16, ptr %4, align 2, !tbaa !18 %6 = or i16 %5, 128 @@ -377,14 +377,14 @@ define range(i32 0, 2) i32 @llhttp__internal__c_test_lenient_flags_8(ptr noundef } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_update_finish_3(ptr noundef writeonly captures(none) initializes((81, 82)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_update_finish_3(ptr noundef writeonly captures(none) initializes((81, 82)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 81 store i8 1, ptr %4, align 1, !tbaa !12 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define noundef i32 @llhttp__internal__c_or_flags_1(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_or_flags_1(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 82 %5 = load i16, ptr %4, align 2, !tbaa !18 %6 = or i16 %5, 64 @@ -393,14 +393,14 @@ define noundef i32 @llhttp__internal__c_or_flags_1(ptr noundef captures(none) %0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_update_upgrade(ptr noundef writeonly captures(none) initializes((80, 81)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_update_upgrade(ptr noundef writeonly captures(none) initializes((80, 81)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 80 store i8 1, ptr %4, align 8, !tbaa !19 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_store_header_state(ptr noundef writeonly captures(none) initializes((76, 77)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2, i32 noundef %3) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_store_header_state(ptr noundef writeonly captures(none) initializes((76, 77)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2, i32 noundef %3) local_unnamed_addr #1 { %5 = trunc i32 %3 to i8 %6 = getelementptr inbounds nuw i8, ptr %0, i64 76 store i8 %5, ptr %6, align 4, !tbaa !21 @@ -436,7 +436,7 @@ define range(i32 0, 2) i32 @llhttp__internal__c_test_lenient_flags_22(ptr nounde } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define noundef i32 @llhttp__internal__c_or_flags_5(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_or_flags_5(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 82 %5 = load i16, ptr %4, align 2, !tbaa !18 %6 = or i16 %5, 1 @@ -445,14 +445,14 @@ define noundef i32 @llhttp__internal__c_or_flags_5(ptr noundef captures(none) %0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_update_header_state(ptr noundef writeonly captures(none) initializes((76, 77)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_update_header_state(ptr noundef writeonly captures(none) initializes((76, 77)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 76 store i8 1, ptr %4, align 4, !tbaa !21 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define noundef i32 @llhttp__internal__c_or_flags_6(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_or_flags_6(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 82 %5 = load i16, ptr %4, align 2, !tbaa !18 %6 = or i16 %5, 2 @@ -461,7 +461,7 @@ define noundef i32 @llhttp__internal__c_or_flags_6(ptr noundef captures(none) %0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define noundef i32 @llhttp__internal__c_or_flags_7(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_or_flags_7(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 82 %5 = load i16, ptr %4, align 2, !tbaa !18 %6 = or i16 %5, 4 @@ -470,7 +470,7 @@ define noundef i32 @llhttp__internal__c_or_flags_7(ptr noundef captures(none) %0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define noundef i32 @llhttp__internal__c_or_flags_8(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_or_flags_8(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 82 %5 = load i16, ptr %4, align 2, !tbaa !18 %6 = or i16 %5, 8 @@ -479,28 +479,28 @@ define noundef i32 @llhttp__internal__c_or_flags_8(ptr noundef captures(none) %0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_update_header_state_3(ptr noundef writeonly captures(none) initializes((76, 77)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_update_header_state_3(ptr noundef writeonly captures(none) initializes((76, 77)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 76 store i8 6, ptr %4, align 4, !tbaa !21 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_update_header_state_1(ptr noundef writeonly captures(none) initializes((76, 77)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_update_header_state_1(ptr noundef writeonly captures(none) initializes((76, 77)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 76 store i8 0, ptr %4, align 4, !tbaa !21 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_update_header_state_6(ptr noundef writeonly captures(none) initializes((76, 77)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_update_header_state_6(ptr noundef writeonly captures(none) initializes((76, 77)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 76 store i8 5, ptr %4, align 4, !tbaa !21 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_update_header_state_7(ptr noundef writeonly captures(none) initializes((76, 77)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_update_header_state_7(ptr noundef writeonly captures(none) initializes((76, 77)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 76 store i8 7, ptr %4, align 4, !tbaa !21 ret i32 0 @@ -557,7 +557,7 @@ define range(i32 0, 2) i32 @llhttp__internal__c_mul_add_content_length_1(ptr nou } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define noundef i32 @llhttp__internal__c_or_flags_17(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_or_flags_17(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 82 %5 = load i16, ptr %4, align 2, !tbaa !18 %6 = or i16 %5, 32 @@ -586,7 +586,7 @@ define range(i32 0, 2) i32 @llhttp__internal__c_test_lenient_flags_20(ptr nounde } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define noundef i32 @llhttp__internal__c_or_flags_18(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_or_flags_18(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 82 %5 = load i16, ptr %4, align 2, !tbaa !18 %6 = or i16 %5, 512 @@ -595,7 +595,7 @@ define noundef i32 @llhttp__internal__c_or_flags_18(ptr noundef captures(none) % } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define noundef i32 @llhttp__internal__c_and_flags(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_and_flags(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 82 %5 = load i16, ptr %4, align 2, !tbaa !18 %6 = and i16 %5, -9 @@ -604,14 +604,14 @@ define noundef i32 @llhttp__internal__c_and_flags(ptr noundef captures(none) %0, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_update_header_state_8(ptr noundef writeonly captures(none) initializes((76, 77)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_update_header_state_8(ptr noundef writeonly captures(none) initializes((76, 77)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 76 store i8 8, ptr %4, align 4, !tbaa !21 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define noundef i32 @llhttp__internal__c_or_flags_20(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_or_flags_20(ptr noundef captures(none) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #2 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 82 %5 = load i16, ptr %4, align 2, !tbaa !18 %6 = or i16 %5, 16 @@ -628,7 +628,7 @@ define range(i32 0, 256) i32 @llhttp__internal__c_load_method(ptr noundef readon } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_store_http_major(ptr noundef writeonly captures(none) initializes((74, 75)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2, i32 noundef %3) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_store_http_major(ptr noundef writeonly captures(none) initializes((74, 75)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2, i32 noundef %3) local_unnamed_addr #1 { %5 = trunc i32 %3 to i8 %6 = getelementptr inbounds nuw i8, ptr %0, i64 74 store i8 %5, ptr %6, align 2, !tbaa !15 @@ -636,7 +636,7 @@ define noundef i32 @llhttp__internal__c_store_http_major(ptr noundef writeonly c } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_store_http_minor(ptr noundef writeonly captures(none) initializes((75, 76)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2, i32 noundef %3) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_store_http_minor(ptr noundef writeonly captures(none) initializes((75, 76)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2, i32 noundef %3) local_unnamed_addr #1 { %5 = trunc i32 %3 to i8 %6 = getelementptr inbounds nuw i8, ptr %0, i64 75 store i8 %5, ptr %6, align 1, !tbaa !16 @@ -670,7 +670,7 @@ define range(i32 0, 256) i32 @llhttp__internal__c_load_http_minor(ptr noundef re } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_update_status_code(ptr noundef writeonly captures(none) initializes((84, 86)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_update_status_code(ptr noundef writeonly captures(none) initializes((84, 86)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 84 store i16 0, ptr %4, align 4, !tbaa !22 ret i32 0 @@ -712,21 +712,21 @@ define range(i32 0, 2) i32 @llhttp__internal__c_mul_add_status_code(ptr noundef } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_update_type(ptr noundef writeonly captures(none) initializes((72, 73)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_update_type(ptr noundef writeonly captures(none) initializes((72, 73)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 72 store i8 1, ptr %4, align 8, !tbaa !13 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal__c_update_type_1(ptr noundef writeonly captures(none) initializes((72, 73)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal__c_update_type_1(ptr noundef writeonly captures(none) initializes((72, 73)) %0, ptr noundef readnone captures(none) %1, ptr noundef readnone captures(none) %2) local_unnamed_addr #1 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 72 store i8 2, ptr %4, align 8, !tbaa !13 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define noundef i32 @llhttp__internal_init(ptr noundef writeonly captures(none) initializes((0, 96)) %0) local_unnamed_addr #1 { +define noundef range(i32 0, 1) i32 @llhttp__internal_init(ptr noundef writeonly captures(none) initializes((0, 96)) %0) local_unnamed_addr #1 { tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %0, i8 0, i64 96, i1 false) %2 = getelementptr inbounds nuw i8, ptr %0, i64 56 store ptr inttoptr (i64 236 to ptr), ptr %2, align 8, !tbaa !23 diff --git a/bench/node/optimized/libnode.crypto_dsa.ll b/bench/node/optimized/libnode.crypto_dsa.ll index bcd804a78ef..78e5300d235 100644 --- a/bench/node/optimized/libnode.crypto_dsa.ll +++ b/bench/node/optimized/libnode.crypto_dsa.ll @@ -604,7 +604,7 @@ declare ptr @EVP_PKEY_CTX_new(ptr noundef, ptr noundef) local_unnamed_addr #0 declare i32 @EVP_PKEY_keygen_init(ptr noundef) local_unnamed_addr #0 ; Function Attrs: mustprogress nounwind uwtable -define dso_local noundef i16 @_ZN4node6crypto15DsaKeyGenTraits16AdditionalConfigENS0_13CryptoJobModeERKN2v820FunctionCallbackInfoINS3_5ValueEEEPjPNS0_16KeyPairGenConfigINS0_16DsaKeyPairParamsEEE(i32 %mode, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(20) %args, ptr noundef captures(none) %offset, ptr noundef writeonly captures(none) %params) local_unnamed_addr #3 align 2 { +define dso_local noundef range(i16 257, 258) i16 @_ZN4node6crypto15DsaKeyGenTraits16AdditionalConfigENS0_13CryptoJobModeERKN2v820FunctionCallbackInfoINS3_5ValueEEEPjPNS0_16KeyPairGenConfigINS0_16DsaKeyPairParamsEEE(i32 %mode, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(20) %args, ptr noundef captures(none) %offset, ptr noundef writeonly captures(none) %params) local_unnamed_addr #3 align 2 { entry: %0 = load i32, ptr %offset, align 4 %cmp.i107 = icmp sgt i32 %0, -1 @@ -762,7 +762,7 @@ declare noundef i32 @_ZNK2v86Uint325ValueEv(ptr noundef nonnull align 1 derefere declare noundef i32 @_ZNK2v85Int325ValueEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i16 @_ZN4node6crypto18DSAKeyExportTraits16AdditionalConfigERKN2v820FunctionCallbackInfoINS2_5ValueEEEjPNS0_18DSAKeyExportConfigE(ptr noundef nonnull readnone align 8 captures(none) dereferenceable(20) %args, i32 noundef %offset, ptr noundef readnone captures(none) %params) local_unnamed_addr #5 align 2 { +define dso_local noundef range(i16 257, 258) i16 @_ZN4node6crypto18DSAKeyExportTraits16AdditionalConfigERKN2v820FunctionCallbackInfoINS2_5ValueEEEjPNS0_18DSAKeyExportConfigE(ptr noundef nonnull readnone align 8 captures(none) dereferenceable(20) %args, i32 noundef %offset, ptr noundef readnone captures(none) %params) local_unnamed_addr #5 align 2 { entry: ret i16 257 } @@ -1161,12 +1161,6 @@ _ZNK2v820FunctionCallbackInfoINS_5ValueEEixEi.exit: ; preds = %if.end.i, %if.the %call12 = tail call noundef i32 @_ZN4node6crypto16GetCryptoJobModeEN2v85LocalINS1_5ValueEEE(ptr %retval.i.sroa.0.0) #18 store i32 1, ptr %offset, align 4 store ptr getelementptr inbounds nuw (i8, ptr @_ZTVN4node6crypto16KeyPairGenConfigINS0_16DsaKeyPairParamsEEE, i64 16), ptr %params, align 8 - %public_key_encoding.i = getelementptr inbounds nuw i8, ptr %params, i64 8 - store i8 0, ptr %public_key_encoding.i, align 8 - %format_.i.i = getelementptr inbounds nuw i8, ptr %params, i64 12 - store i32 0, ptr %format_.i.i, align 4 - %type_.i.i = getelementptr inbounds nuw i8, ptr %params, i64 16 - store i64 0, ptr %type_.i.i, align 8 %private_key_encoding.i = getelementptr inbounds nuw i8, ptr %params, i64 24 store i8 0, ptr %private_key_encoding.i, align 8 %format_.i.i.i = getelementptr inbounds nuw i8, ptr %params, i64 28 @@ -1199,6 +1193,8 @@ do.body5.i.i.i.i.i.i.i.i.i.i: ; preds = %_ZNK2v820FunctionCa unreachable _ZN4node6crypto16KeyPairGenConfigINS0_16DsaKeyPairParamsEEC2Ev.exit: ; preds = %_ZNK2v820FunctionCallbackInfoINS_5ValueEEixEi.exit + %type_.i.i = getelementptr inbounds nuw i8, ptr %params, i64 16 + %public_key_encoding.i = getelementptr inbounds nuw i8, ptr %params, i64 8 %mutex_.i.i = getelementptr inbounds nuw i8, ptr %params, i64 96 %_M_refcount.i.i.i.i.i = getelementptr inbounds nuw i8, ptr %params, i64 104 store ptr %call5.i.i.i.i.i.i.i.i.i, ptr %_M_refcount.i.i.i.i.i, align 8, !alias.scope !5 @@ -1207,10 +1203,6 @@ _ZN4node6crypto16KeyPairGenConfigINS0_16DsaKeyPairParamsEEC2Ev.exit: ; preds = % store ptr getelementptr inbounds nuw (i8, ptr @_ZTVN4node6crypto16DsaKeyPairParamsE, i64 16), ptr %params.i, align 8 call void @llvm.lifetime.start.p0(ptr nonnull %private_key_encoding.i12) %call.i = call i16 @_ZN4node6crypto15DsaKeyGenTraits16AdditionalConfigENS0_13CryptoJobModeERKN2v820FunctionCallbackInfoINS3_5ValueEEEPjPNS0_16KeyPairGenConfigINS0_16DsaKeyPairParamsEEE(i32 poison, ptr noundef nonnull align 8 dereferenceable(20) %args, ptr noundef nonnull %offset, ptr noundef nonnull %params) - %tobool.i.i = trunc i16 %call.i to i1 - br i1 %tobool.i.i, label %if.end.i13, label %cleanup - -if.end.i13: ; preds = %_ZN4node6crypto16KeyPairGenConfigINS0_16DsaKeyPairParamsEEC2Ev.exit %call5.i = call { i64, i64 } @_ZN4node6crypto14ManagedEVPPKey26GetPublicKeyEncodingFromJsERKN2v820FunctionCallbackInfoINS2_5ValueEEEPjNS0_18KeyEncodingContextE(ptr noundef nonnull align 8 dereferenceable(20) %args, ptr noundef nonnull %offset, i32 noundef 2) #18 %25 = extractvalue { i64, i64 } %call5.i, 0 %26 = extractvalue { i64, i64 } %call5.i, 1 @@ -1221,7 +1213,7 @@ if.end.i13: ; preds = %_ZN4node6crypto16Ke %tobool.i7.i = trunc i8 %27 to i1 br i1 %tobool.i7.i, label %if.end11.i, label %_ZN4node16NonCopyableMaybeINS_6crypto24PrivateKeyEncodingConfigEE7ReleaseEv.exit.i -_ZN4node16NonCopyableMaybeINS_6crypto24PrivateKeyEncodingConfigEE7ReleaseEv.exit.i: ; preds = %if.end.i13 +_ZN4node16NonCopyableMaybeINS_6crypto24PrivateKeyEncodingConfigEE7ReleaseEv.exit.i: ; preds = %_ZN4node6crypto16KeyPairGenConfigINS0_16DsaKeyPairParamsEEC2Ev.exit store i8 1, ptr %private_key_encoding.i12, align 8 %value_.i.i = getelementptr inbounds nuw i8, ptr %private_key_encoding.i12, i64 8 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %private_key_encoding.i, ptr noundef nonnull align 8 dereferenceable(56) %value_.i.i, i64 16, i1 false) @@ -1237,12 +1229,9 @@ _ZN4node16NonCopyableMaybeINS_6crypto24PrivateKeyEncodingConfigEE7ReleaseEv.exit %call.i.i.i = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN4node6crypto10ByteSourceaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %value_.i.i.i, ptr noundef nonnull align 8 dereferenceable(24) %value_3.i.i.i) #18 br label %if.end11.i -if.end11.i: ; preds = %_ZN4node16NonCopyableMaybeINS_6crypto24PrivateKeyEncodingConfigEE7ReleaseEv.exit.i, %if.end.i13 +if.end11.i: ; preds = %_ZN4node6crypto16KeyPairGenConfigINS0_16DsaKeyPairParamsEEC2Ev.exit, %_ZN4node16NonCopyableMaybeINS_6crypto24PrivateKeyEncodingConfigEE7ReleaseEv.exit.i %value_.i.i.i.i = getelementptr inbounds nuw i8, ptr %private_key_encoding.i12, i64 40 call void @_ZN4node6crypto10ByteSourceD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %value_.i.i.i.i) #18 - br label %cleanup - -cleanup: ; preds = %_ZN4node6crypto16KeyPairGenConfigINS0_16DsaKeyPairParamsEEC2Ev.exit, %if.end11.i call void @llvm.lifetime.end.p0(ptr nonnull %private_key_encoding.i12) %call17 = call noalias noundef nonnull dereferenceable(384) ptr @_Znwm(i64 noundef 384) #20 %values_.i73 = getelementptr inbounds nuw i8, ptr %args, i64 8 diff --git a/bench/node/optimized/libnode.crypto_random.ll b/bench/node/optimized/libnode.crypto_random.ll index b74f25ee713..3e1172c1a73 100644 --- a/bench/node/optimized/libnode.crypto_random.ll +++ b/bench/node/optimized/libnode.crypto_random.ll @@ -573,7 +573,7 @@ entry: declare void @llvm.memcpy.p0.p0.i64(ptr noalias writeonly captures(none), ptr noalias readonly captures(none), i64, i1 immarg) #4 ; Function Attrs: mustprogress nounwind uwtable -define dso_local noundef i16 @_ZN4node6crypto17RandomBytesTraits16AdditionalConfigENS0_13CryptoJobModeERKN2v820FunctionCallbackInfoINS3_5ValueEEEjPNS0_17RandomBytesConfigE(i32 %mode, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(20) %args, i32 noundef %offset, ptr noundef writeonly captures(none) %params) local_unnamed_addr #5 align 2 { +define dso_local noundef range(i16 257, 258) i16 @_ZN4node6crypto17RandomBytesTraits16AdditionalConfigENS0_13CryptoJobModeERKN2v820FunctionCallbackInfoINS3_5ValueEEEjPNS0_17RandomBytesConfigE(i32 %mode, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(20) %args, i32 noundef %offset, ptr noundef writeonly captures(none) %params) local_unnamed_addr #5 align 2 { entry: %in = alloca %"class.node::crypto::ArrayBufferOrViewContents", align 8 %cmp.i215 = icmp sgt i32 %offset, -1 @@ -983,7 +983,7 @@ _ZN4node13MemoryTracker18TrackFieldWithSizeEPKcmS2_.exit: ; preds = %entry, %_ZN } ; Function Attrs: mustprogress nounwind uwtable -define dso_local noundef i16 @_ZN4node6crypto17RandomPrimeTraits12EncodeOutputEPNS_11EnvironmentERKNS0_17RandomPrimeConfigEPNS0_10ByteSourceEPN2v85LocalINS9_5ValueEEE(ptr noundef readonly captures(none) %env, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(40) %params, ptr readnone captures(none) %unused, ptr noundef writeonly captures(none) %result) local_unnamed_addr #5 align 2 { +define dso_local noundef range(i16 257, 258) i16 @_ZN4node6crypto17RandomPrimeTraits12EncodeOutputEPNS_11EnvironmentERKNS0_17RandomPrimeConfigEPNS0_10ByteSourceEPN2v85LocalINS9_5ValueEEE(ptr noundef readonly captures(none) %env, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(40) %params, ptr readnone captures(none) %unused, ptr noundef writeonly captures(none) %result) local_unnamed_addr #5 align 2 { entry: %store = alloca %"class.std::shared_ptr.286", align 8 %ref.tmp = alloca %"class.std::unique_ptr.289", align 8 @@ -1808,7 +1808,7 @@ _ZN4node13MemoryTracker18TrackFieldWithSizeEPKcmS2_.exit: ; preds = %entry, %con } ; Function Attrs: mustprogress nounwind uwtable -define dso_local noundef i16 @_ZN4node6crypto16CheckPrimeTraits16AdditionalConfigENS0_13CryptoJobModeERKN2v820FunctionCallbackInfoINS3_5ValueEEEjPNS0_16CheckPrimeConfigE(i32 %mode, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(20) %args, i32 noundef %offset, ptr noundef captures(none) %params) local_unnamed_addr #5 align 2 { +define dso_local noundef range(i16 257, 258) i16 @_ZN4node6crypto16CheckPrimeTraits16AdditionalConfigENS0_13CryptoJobModeERKN2v820FunctionCallbackInfoINS3_5ValueEEEjPNS0_16CheckPrimeConfigE(i32 %mode, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(20) %args, i32 noundef %offset, ptr noundef captures(none) %params) local_unnamed_addr #5 align 2 { entry: %candidate = alloca %"class.node::crypto::ArrayBufferOrViewContents", align 8 %cmp.i84 = icmp sgt i32 %offset, -1 @@ -1990,7 +1990,7 @@ declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN4node6crypto10ByteSo declare void @_ZN4node6crypto10ByteSourceD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef i16 @_ZN4node6crypto16CheckPrimeTraits12EncodeOutputEPNS_11EnvironmentERKNS0_16CheckPrimeConfigEPNS0_10ByteSourceEPN2v85LocalINS9_5ValueEEE(ptr noundef readonly captures(none) %env, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(24) %params, ptr noundef readonly captures(none) %out, ptr noundef writeonly captures(none) initializes((0, 8)) %result) local_unnamed_addr #7 align 2 { +define dso_local noundef range(i16 257, 258) i16 @_ZN4node6crypto16CheckPrimeTraits12EncodeOutputEPNS_11EnvironmentERKNS0_16CheckPrimeConfigEPNS0_10ByteSourceEPN2v85LocalINS9_5ValueEEE(ptr noundef readonly captures(none) %env, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(24) %params, ptr noundef readonly captures(none) %out, ptr noundef writeonly captures(none) initializes((0, 8)) %result) local_unnamed_addr #7 align 2 { entry: %isolate_.i = getelementptr inbounds nuw i8, ptr %env, i64 88 %0 = load ptr, ptr %isolate_.i, align 8 @@ -2933,14 +2933,10 @@ if.end.i: ; preds = %_ZN4node11Environme %17 = load ptr, ptr %values_.i, align 8 br label %_ZNK2v820FunctionCallbackInfoINS_5ValueEEixEi.exit -_ZNK2v820FunctionCallbackInfoINS_5ValueEEixEi.exit: ; preds = %if.end.i, %if.then.i +_ZNK2v820FunctionCallbackInfoINS_5ValueEEixEi.exit: ; preds = %if.then.i, %if.end.i %retval.i.sroa.0.0 = phi ptr [ %16, %if.then.i ], [ %17, %if.end.i ] %call7 = tail call noundef i32 @_ZN4node6crypto16GetCryptoJobModeEN2v85LocalINS1_5ValueEEE(ptr %retval.i.sroa.0.0) #18 %call8 = call i16 @_ZN4node6crypto17RandomBytesTraits16AdditionalConfigENS0_13CryptoJobModeERKN2v820FunctionCallbackInfoINS3_5ValueEEEjPNS0_17RandomBytesConfigE(i32 poison, ptr noundef nonnull align 8 dereferenceable(20) %args, i32 noundef 1, ptr noundef nonnull %params) - %tobool.i = trunc i16 %call8 to i1 - br i1 %tobool.i, label %if.end, label %cleanup - -if.end: ; preds = %_ZNK2v820FunctionCallbackInfoINS_5ValueEEixEi.exit %call10 = tail call noalias noundef nonnull dereferenceable(304) ptr @_Znwm(i64 noundef 304) #20 %values_.i56 = getelementptr inbounds nuw i8, ptr %args, i64 8 %18 = load ptr, ptr %values_.i56, align 8 @@ -2981,14 +2977,11 @@ if.then.i.i: ; preds = %_ZN4node14ThreadPoo tail call void @_ZN4node10BaseObject8MakeWeakEv(ptr noundef nonnull align 8 dereferenceable(304) %call10) #18 br label %_ZN4node6crypto13DeriveBitsJobINS0_17RandomBytesTraitsEEC2EPNS_11EnvironmentEN2v85LocalINS6_6ObjectEEENS0_13CryptoJobModeEONS0_17RandomBytesConfigE.exit -_ZN4node6crypto13DeriveBitsJobINS0_17RandomBytesTraitsEEC2EPNS_11EnvironmentEN2v85LocalINS6_6ObjectEEENS0_13CryptoJobModeEONS0_17RandomBytesConfigE.exit: ; preds = %_ZN4node14ThreadPoolWorkC2EPNS_11EnvironmentEPKc.exit.i.i, %if.then.i.i +_ZN4node6crypto13DeriveBitsJobINS0_17RandomBytesTraitsEEC2EPNS_11EnvironmentEN2v85LocalINS6_6ObjectEEENS0_13CryptoJobModeEONS0_17RandomBytesConfigE.exit: ; preds = %if.then.i.i, %_ZN4node14ThreadPoolWorkC2EPNS_11EnvironmentEPKc.exit.i.i store ptr getelementptr inbounds nuw (i8, ptr @_ZTVN4node6crypto13DeriveBitsJobINS0_17RandomBytesTraitsEEE, i64 16), ptr %call10, align 8 store ptr getelementptr inbounds nuw (i8, ptr @_ZTVN4node6crypto13DeriveBitsJobINS0_17RandomBytesTraitsEEE, i64 200), ptr %19, align 8 %out_.i = getelementptr inbounds nuw i8, ptr %call10, i64 272 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(25) %out_.i, i8 0, i64 25, i1 false) - br label %cleanup - -cleanup: ; preds = %_ZNK2v820FunctionCallbackInfoINS_5ValueEEixEi.exit, %_ZN4node6crypto13DeriveBitsJobINS0_17RandomBytesTraitsEEC2EPNS_11EnvironmentEN2v85LocalINS6_6ObjectEEENS0_13CryptoJobModeEONS0_17RandomBytesConfigE.exit ret void } @@ -6373,7 +6366,7 @@ do.end32: ; preds = %do.body22 br label %return return: ; preds = %do.end32, %do.end8 - %retval.sroa.0.0 = phi i16 [ %call17, %do.end8 ], [ %retval.sroa.0.0.insert.insert.i, %do.end32 ] + %retval.sroa.0.0 = phi i16 [ 257, %do.end8 ], [ %retval.sroa.0.0.insert.insert.i, %do.end32 ] ret i16 %retval.sroa.0.0 } @@ -6883,7 +6876,7 @@ if.end.i: ; preds = %_ZN4node11Environme %17 = load ptr, ptr %values_.i, align 8 br label %_ZNK2v820FunctionCallbackInfoINS_5ValueEEixEi.exit -_ZNK2v820FunctionCallbackInfoINS_5ValueEEixEi.exit: ; preds = %if.end.i, %if.then.i +_ZNK2v820FunctionCallbackInfoINS_5ValueEEixEi.exit: ; preds = %if.then.i, %if.end.i %retval.i.sroa.0.0 = phi ptr [ %16, %if.then.i ], [ %17, %if.end.i ] %call7 = tail call noundef i32 @_ZN4node6crypto16GetCryptoJobModeEN2v85LocalINS1_5ValueEEE(ptr %retval.i.sroa.0.0) #18 store ptr getelementptr inbounds nuw (i8, ptr @_ZTVN4node6crypto16CheckPrimeConfigE, i64 16), ptr %params, align 8 @@ -6892,10 +6885,6 @@ _ZNK2v820FunctionCallbackInfoINS_5ValueEEixEi.exit: ; preds = %if.end.i, %if.the %checks.i = getelementptr inbounds nuw i8, ptr %params, i64 16 store i32 1, ptr %checks.i, align 8 %call8 = call i16 @_ZN4node6crypto16CheckPrimeTraits16AdditionalConfigENS0_13CryptoJobModeERKN2v820FunctionCallbackInfoINS3_5ValueEEEjPNS0_16CheckPrimeConfigE(i32 poison, ptr noundef nonnull align 8 dereferenceable(20) %args, i32 noundef 1, ptr noundef nonnull %params) - %tobool.i = trunc i16 %call8 to i1 - br i1 %tobool.i, label %if.end, label %cleanup - -if.end: ; preds = %_ZNK2v820FunctionCallbackInfoINS_5ValueEEixEi.exit %call10 = tail call noalias noundef nonnull dereferenceable(304) ptr @_Znwm(i64 noundef 304) #20 %values_.i56 = getelementptr inbounds nuw i8, ptr %args, i64 8 %18 = load ptr, ptr %values_.i56, align 8 @@ -6939,23 +6928,11 @@ if.then.i.i: ; preds = %_ZN4node14ThreadPoo tail call void @_ZN4node10BaseObject8MakeWeakEv(ptr noundef nonnull align 8 dereferenceable(304) %call10) #18 br label %cleanup.thread -cleanup.thread: ; preds = %if.then.i.i, %_ZN4node14ThreadPoolWorkC2EPNS_11EnvironmentEPKc.exit.i.i +cleanup.thread: ; preds = %_ZN4node14ThreadPoolWorkC2EPNS_11EnvironmentEPKc.exit.i.i, %cleanup store ptr getelementptr inbounds nuw (i8, ptr @_ZTVN4node6crypto13DeriveBitsJobINS0_16CheckPrimeTraitsEEE, i64 16), ptr %call10, align 8 store ptr getelementptr inbounds nuw (i8, ptr @_ZTVN4node6crypto13DeriveBitsJobINS0_16CheckPrimeTraitsEEE, i64 200), ptr %19, align 8 %out_.i = getelementptr inbounds nuw i8, ptr %call10, i64 272 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(25) %out_.i, i8 0, i64 25, i1 false) - br label %_ZN4node6crypto16CheckPrimeConfigD2Ev.exit - -cleanup: ; preds = %_ZNK2v820FunctionCallbackInfoINS_5ValueEEixEi.exit - %.pre = load ptr, ptr %candidate.i, align 8 - %cmp.not.i.i = icmp eq ptr %.pre, null - br i1 %cmp.not.i.i, label %_ZN4node6crypto16CheckPrimeConfigD2Ev.exit, label %if.then.i.i9 - -if.then.i.i9: ; preds = %cleanup - tail call void @BN_free(ptr noundef nonnull %.pre) #18 - br label %_ZN4node6crypto16CheckPrimeConfigD2Ev.exit - -_ZN4node6crypto16CheckPrimeConfigD2Ev.exit: ; preds = %cleanup.thread, %cleanup, %if.then.i.i9 ret void } diff --git a/bench/node/optimized/libnode.environment.ll b/bench/node/optimized/libnode.environment.ll index 4689b121773..9d6f09c4c8c 100644 --- a/bench/node/optimized/libnode.environment.ll +++ b/bench/node/optimized/libnode.environment.ll @@ -2699,6 +2699,7 @@ entry: %agg.tmp.i = alloca %"class.std::function.233", align 8 %main_script_source_utf8 = alloca %"class.std::basic_string_view", align 8 %env.addr = alloca ptr, align 8 + %agg.tmp = alloca %"class.std::function.233", align 8 store i64 %main_script_source_utf8.coerce0, ptr %main_script_source_utf8, align 8 %0 = getelementptr inbounds nuw i8, ptr %main_script_source_utf8, i64 8 store ptr %main_script_source_utf8.coerce1, ptr %0, align 8 @@ -2712,27 +2713,45 @@ do.body3: ; preds = %entry unreachable _ZNSt8functionIFN2v810MaybeLocalINS0_5ValueEEERKN4node26StartExecutionCallbackInfoEEEC2ERKS9_.exit.i: ; preds = %entry + %_M_manager.i.i = getelementptr inbounds nuw i8, ptr %agg.tmp, i64 16 + %_M_invoker.i = getelementptr inbounds nuw i8, ptr %agg.tmp, i64 24 + store ptr %env.addr, ptr %agg.tmp, align 8 + %ref.tmp.sroa.2.0.agg.tmp.sroa_idx = getelementptr inbounds nuw i8, ptr %agg.tmp, i64 8 + store ptr %main_script_source_utf8, ptr %ref.tmp.sroa.2.0.agg.tmp.sroa_idx, align 8 + store ptr @"_ZNSt17_Function_handlerIFN2v810MaybeLocalINS0_5ValueEEERKN4node26StartExecutionCallbackInfoEEZNS4_15LoadEnvironmentEPNS4_11EnvironmentESt17basic_string_viewIcSt11char_traitsIcEEE3$_0E9_M_invokeERKSt9_Any_dataS7_", ptr %_M_invoker.i, align 8 + store ptr @"_ZNSt17_Function_handlerIFN2v810MaybeLocalINS0_5ValueEEERKN4node26StartExecutionCallbackInfoEEZNS4_15LoadEnvironmentEPNS4_11EnvironmentESt17basic_string_viewIcSt11char_traitsIcEEE3$_0E10_M_managerERSt9_Any_dataRKSH_St18_Manager_operation", ptr %_M_manager.i.i, align 8 call void @llvm.lifetime.start.p0(ptr nonnull %agg.tmp.i) - tail call void @_ZN4node11Environment15InitializeLibuvEv(ptr noundef nonnull align 8 dereferenceable(2872) %env) #12 - tail call void @_ZN4node11Environment21InitializeDiagnosticsEv(ptr noundef nonnull align 8 dereferenceable(2872) %env) #12 + call void @_ZN4node11Environment15InitializeLibuvEv(ptr noundef nonnull align 8 dereferenceable(2872) %env) #12 + call void @_ZN4node11Environment21InitializeDiagnosticsEv(ptr noundef nonnull align 8 dereferenceable(2872) %env) #12 + call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %agg.tmp.i, i8 0, i64 16, i1 false) %_M_invoker.i.i = getelementptr inbounds nuw i8, ptr %agg.tmp.i, i64 24 %_M_manager.i.i.i = getelementptr inbounds nuw i8, ptr %agg.tmp.i, i64 16 - store ptr %env.addr, ptr %agg.tmp.i, align 8 - %agg.tmp.sroa.2.0.agg.tmp.i.sroa_idx = getelementptr inbounds nuw i8, ptr %agg.tmp.i, i64 8 - store ptr %main_script_source_utf8, ptr %agg.tmp.sroa.2.0.agg.tmp.i.sroa_idx, align 8 - store ptr @"_ZNSt17_Function_handlerIFN2v810MaybeLocalINS0_5ValueEEERKN4node26StartExecutionCallbackInfoEEZNS4_15LoadEnvironmentEPNS4_11EnvironmentESt17basic_string_viewIcSt11char_traitsIcEEE3$_0E9_M_invokeERKSt9_Any_dataS7_", ptr %_M_invoker.i.i, align 8 - store ptr @"_ZNSt17_Function_handlerIFN2v810MaybeLocalINS0_5ValueEEERKN4node26StartExecutionCallbackInfoEEZNS4_15LoadEnvironmentEPNS4_11EnvironmentESt17basic_string_viewIcSt11char_traitsIcEEE3$_0E10_M_managerERSt9_Any_dataRKSH_St18_Manager_operation", ptr %_M_manager.i.i.i, align 8 + %call3.i.i = call noundef zeroext i1 @"_ZNSt17_Function_handlerIFN2v810MaybeLocalINS0_5ValueEEERKN4node26StartExecutionCallbackInfoEEZNS4_15LoadEnvironmentEPNS4_11EnvironmentESt17basic_string_viewIcSt11char_traitsIcEEE3$_0E10_M_managerERSt9_Any_dataRKSH_St18_Manager_operation"(ptr noundef nonnull align 8 dereferenceable(32) %agg.tmp.i, ptr noundef nonnull align 8 dereferenceable(32) %agg.tmp, i32 noundef 2) #12 + %1 = load ptr, ptr %_M_invoker.i, align 8 + store ptr %1, ptr %_M_invoker.i.i, align 8 + %2 = load ptr, ptr %_M_manager.i.i, align 8 + store ptr %2, ptr %_M_manager.i.i.i, align 8 %call.i = call ptr @_ZN4node14StartExecutionEPNS_11EnvironmentESt8functionIFN2v810MaybeLocalINS3_5ValueEEERKNS_26StartExecutionCallbackInfoEEE(ptr noundef nonnull %env, ptr noundef nonnull %agg.tmp.i) #12 - %1 = load ptr, ptr %_M_manager.i.i.i, align 8 - %tobool.not.i.i.i = icmp eq ptr %1, null - br i1 %tobool.not.i.i.i, label %_ZNSt8functionIFN2v810MaybeLocalINS0_5ValueEEERKN4node26StartExecutionCallbackInfoEEED2Ev.exit, label %if.then.i.i.i + %_M_manager.i.i3.i = getelementptr inbounds nuw i8, ptr %agg.tmp.i, i64 16 + %3 = load ptr, ptr %_M_manager.i.i3.i, align 8 + %tobool.not.i.i.i = icmp eq ptr %3, null + br i1 %tobool.not.i.i.i, label %_ZN4node15LoadEnvironmentEPNS_11EnvironmentESt8functionIFN2v810MaybeLocalINS3_5ValueEEERKNS_26StartExecutionCallbackInfoEEE.exit, label %if.then.i.i.i if.then.i.i.i: ; preds = %_ZNSt8functionIFN2v810MaybeLocalINS0_5ValueEEERKN4node26StartExecutionCallbackInfoEEEC2ERKS9_.exit.i - %call.i.i.i = call noundef zeroext i1 %1(ptr noundef nonnull align 8 dereferenceable(32) %agg.tmp.i, ptr noundef nonnull align 8 dereferenceable(32) %agg.tmp.i, i32 noundef 3) #12 + %call.i.i.i = call noundef zeroext i1 %3(ptr noundef nonnull align 8 dereferenceable(32) %agg.tmp.i, ptr noundef nonnull align 8 dereferenceable(32) %agg.tmp.i, i32 noundef 3) #12 br label %_ZNSt8functionIFN2v810MaybeLocalINS0_5ValueEEERKN4node26StartExecutionCallbackInfoEEED2Ev.exit _ZNSt8functionIFN2v810MaybeLocalINS0_5ValueEEERKN4node26StartExecutionCallbackInfoEEED2Ev.exit: ; preds = %_ZNSt8functionIFN2v810MaybeLocalINS0_5ValueEEERKN4node26StartExecutionCallbackInfoEEEC2ERKS9_.exit.i, %if.then.i.i.i call void @llvm.lifetime.end.p0(ptr nonnull %agg.tmp.i) + %4 = load ptr, ptr %_M_manager.i.i, align 8 + %tobool.not.i.i = icmp eq ptr %4, null + br i1 %tobool.not.i.i, label %_ZNSt8functionIFN2v810MaybeLocalINS0_5ValueEEERKN4node26StartExecutionCallbackInfoEEED2Ev.exit, label %if.then.i.i2 + +if.then.i.i2: ; preds = %_ZN4node15LoadEnvironmentEPNS_11EnvironmentESt8functionIFN2v810MaybeLocalINS3_5ValueEEERKNS_26StartExecutionCallbackInfoEEE.exit + %call.i.i = call noundef zeroext i1 %4(ptr noundef nonnull align 8 dereferenceable(32) %agg.tmp, ptr noundef nonnull align 8 dereferenceable(32) %agg.tmp, i32 noundef 3) #12 + br label %_ZNSt8functionIFN2v810MaybeLocalINS0_5ValueEEERKN4node26StartExecutionCallbackInfoEEED2Ev.exit + +_ZNSt8functionIFN2v810MaybeLocalINS0_5ValueEEERKN4node26StartExecutionCallbackInfoEEED2Ev.exit: ; preds = %_ZN4node15LoadEnvironmentEPNS_11EnvironmentESt8functionIFN2v810MaybeLocalINS3_5ValueEEERKNS_26StartExecutionCallbackInfoEEE.exit, %if.then.i.i2 ret ptr %call.i } @@ -4486,7 +4505,7 @@ if.then.i.i.i.i: ; preds = %_ZN4node9ToV8ValueE } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFN2v810MaybeLocalINS0_5ValueEEERKN4node26StartExecutionCallbackInfoEEZNS4_15LoadEnvironmentEPNS4_11EnvironmentESt17basic_string_viewIcSt11char_traitsIcEEE3$_0E10_M_managerERSt9_Any_dataRKSH_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %__dest, ptr noundef nonnull align 8 dereferenceable(16) %__source, i32 noundef %__op) #19 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFN2v810MaybeLocalINS0_5ValueEEERKN4node26StartExecutionCallbackInfoEEZNS4_15LoadEnvironmentEPNS4_11EnvironmentESt17basic_string_viewIcSt11char_traitsIcEEE3$_0E10_M_managerERSt9_Any_dataRKSH_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %__dest, ptr noundef nonnull align 8 dereferenceable(16) %__source, i32 noundef %__op) #19 align 2 { entry: switch i32 %__op, label %sw.epilog [ i32 1, label %sw.bb @@ -4555,7 +4574,7 @@ if.then.i.i.i.i: ; preds = %entry } ; Function Attrs: mustprogress nounwind uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFvPN4node11EnvironmentENS0_8ExitCodeEEZNS0_21SetProcessExitHandlerES2_OSt8functionIFvS2_iEEE3$_0E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %__dest, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %__source, i32 noundef %__op) #3 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFvPN4node11EnvironmentENS0_8ExitCodeEEZNS0_21SetProcessExitHandlerES2_OSt8functionIFvS2_iEEE3$_0E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %__dest, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %__source, i32 noundef %__op) #3 align 2 { entry: %__source.val = load ptr, ptr %__source, align 8 switch i32 %__op, label %sw.epilog [ diff --git a/bench/oniguruma/optimized/regexec.ll b/bench/oniguruma/optimized/regexec.ll index 3f59673b656..85e140f9ae0 100644 --- a/bench/oniguruma/optimized/regexec.ll +++ b/bench/oniguruma/optimized/regexec.ll @@ -44,41 +44,41 @@ target triple = "x86_64-pc-linux-gnu" @.str.5 = private unnamed_addr constant [3 x i8] c"<=\00", align 1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @onig_set_match_stack_limit_size_of_match_param(ptr noundef writeonly captures(none) initializes((0, 4)) %0, i32 noundef %1) local_unnamed_addr #0 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_match_stack_limit_size_of_match_param(ptr noundef writeonly captures(none) initializes((0, 4)) %0, i32 noundef %1) local_unnamed_addr #0 { store i32 %1, ptr %0, align 8, !tbaa !4 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @onig_set_retry_limit_in_match_of_match_param(ptr noundef writeonly captures(none) initializes((8, 16)) %0, i64 noundef %1) local_unnamed_addr #0 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_retry_limit_in_match_of_match_param(ptr noundef writeonly captures(none) initializes((8, 16)) %0, i64 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 8 store i64 %1, ptr %3, align 8, !tbaa !11 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @onig_set_retry_limit_in_search_of_match_param(ptr noundef writeonly captures(none) initializes((16, 24)) %0, i64 noundef %1) local_unnamed_addr #0 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_retry_limit_in_search_of_match_param(ptr noundef writeonly captures(none) initializes((16, 24)) %0, i64 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 16 store i64 %1, ptr %3, align 8, !tbaa !12 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @onig_set_progress_callout_of_match_param(ptr noundef writeonly captures(none) initializes((32, 40)) %0, ptr noundef %1) local_unnamed_addr #0 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_progress_callout_of_match_param(ptr noundef writeonly captures(none) initializes((32, 40)) %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 32 store ptr %1, ptr %3, align 8, !tbaa !13 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @onig_set_retraction_callout_of_match_param(ptr noundef writeonly captures(none) initializes((40, 48)) %0, ptr noundef %1) local_unnamed_addr #0 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_retraction_callout_of_match_param(ptr noundef writeonly captures(none) initializes((40, 48)) %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 40 store ptr %1, ptr %3, align 8, !tbaa !14 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef i32 @onig_set_callout_user_data_of_match_param(ptr noundef writeonly captures(none) initializes((24, 32)) %0, ptr noundef %1) local_unnamed_addr #0 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_callout_user_data_of_match_param(ptr noundef writeonly captures(none) initializes((24, 32)) %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 24 store ptr %1, ptr %3, align 8, !tbaa !15 ret i32 0 @@ -98,7 +98,7 @@ define dso_local ptr @onig_get_callback_each_match() local_unnamed_addr #2 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_set_callback_each_match(ptr noundef %0) local_unnamed_addr #3 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_callback_each_match(ptr noundef %0) local_unnamed_addr #3 { store ptr %0, ptr @CallbackEachMatch, align 8, !tbaa !20 ret i32 0 } @@ -602,7 +602,7 @@ define dso_local i32 @onig_get_match_stack_limit_size() local_unnamed_addr #2 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_set_match_stack_limit_size(i32 noundef %0) local_unnamed_addr #3 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_match_stack_limit_size(i32 noundef %0) local_unnamed_addr #3 { store i32 %0, ptr @MatchStackLimit, align 4, !tbaa !24 ret i32 0 } @@ -614,7 +614,7 @@ define dso_local i64 @onig_get_retry_limit_in_match() local_unnamed_addr #2 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_set_retry_limit_in_match(i64 noundef %0) local_unnamed_addr #3 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_retry_limit_in_match(i64 noundef %0) local_unnamed_addr #3 { store i64 %0, ptr @RetryLimitInMatch, align 8, !tbaa !39 ret i32 0 } @@ -626,7 +626,7 @@ define dso_local i64 @onig_get_retry_limit_in_search() local_unnamed_addr #2 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_set_retry_limit_in_search(i64 noundef %0) local_unnamed_addr #3 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_retry_limit_in_search(i64 noundef %0) local_unnamed_addr #3 { store i64 %0, ptr @RetryLimitInSearch, align 8, !tbaa !39 ret i32 0 } @@ -638,7 +638,7 @@ define dso_local i64 @onig_get_subexp_call_limit_in_search() local_unnamed_addr } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_set_subexp_call_limit_in_search(i64 noundef %0) local_unnamed_addr #3 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_subexp_call_limit_in_search(i64 noundef %0) local_unnamed_addr #3 { store i64 %0, ptr @SubexpCallLimitInSearch, align 8, !tbaa !39 ret i32 0 } @@ -679,7 +679,7 @@ define dso_local noalias noundef ptr @onig_new_match_param() local_unnamed_addr } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_initialize_match_param(ptr noundef writeonly captures(none) initializes((0, 4), (8, 52), (56, 68)) %0) local_unnamed_addr #11 { +define dso_local noundef range(i32 0, 1) i32 @onig_initialize_match_param(ptr noundef writeonly captures(none) initializes((0, 4), (8, 52), (56, 68)) %0) local_unnamed_addr #11 { %2 = load i32, ptr @MatchStackLimit, align 4, !tbaa !24 store i32 %2, ptr %0, align 8, !tbaa !4 %3 = load i64, ptr @RetryLimitInMatch, align 8, !tbaa !39 @@ -9378,7 +9378,7 @@ define dso_local i32 @onig_get_subexp_call_max_nest_level() local_unnamed_addr # } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_set_subexp_call_max_nest_level(i32 noundef %0) local_unnamed_addr #3 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_subexp_call_max_nest_level(i32 noundef %0) local_unnamed_addr #3 { store i32 %0, ptr @SubexpCallMaxNestLevel, align 4, !tbaa !24 ret i32 0 } @@ -10098,7 +10098,7 @@ define dso_local ptr @onig_regset_get_region(ptr noundef readonly captures(none) } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_init_for_match_at(ptr noundef readonly captures(none) %0) local_unnamed_addr #20 { +define dso_local noundef range(i32 0, 1) i32 @onig_init_for_match_at(ptr noundef readonly captures(none) %0) local_unnamed_addr #20 { %2 = getelementptr inbounds nuw i8, ptr %0, i64 24 %3 = load i32, ptr %2, align 8, !tbaa !100 %.not2312.i = icmp eq i32 %3, 0 @@ -10136,7 +10136,7 @@ define dso_local ptr @onig_get_progress_callout() local_unnamed_addr #2 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_set_progress_callout(ptr noundef %0) local_unnamed_addr #3 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_progress_callout(ptr noundef %0) local_unnamed_addr #3 { store ptr %0, ptr @DefaultProgressCallout, align 8, !tbaa !20 ret i32 0 } @@ -10148,7 +10148,7 @@ define dso_local ptr @onig_get_retraction_callout() local_unnamed_addr #2 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_set_retraction_callout(ptr noundef %0) local_unnamed_addr #3 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_retraction_callout(ptr noundef %0) local_unnamed_addr #3 { store ptr %0, ptr @DefaultRetractionCallout, align 8, !tbaa !20 ret i32 0 } @@ -10453,7 +10453,7 @@ define dso_local range(i32 -30, 1) i32 @onig_get_capture_range_in_callout(ptr no } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define dso_local noundef i32 @onig_get_used_stack_size_in_callout(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(address_is_null) %1, ptr noundef writeonly captures(address_is_null) %2) local_unnamed_addr #18 { +define dso_local noundef range(i32 0, 1) i32 @onig_get_used_stack_size_in_callout(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(address_is_null) %1, ptr noundef writeonly captures(address_is_null) %2) local_unnamed_addr #18 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 88 %5 = load ptr, ptr %4, align 8, !tbaa !165 %6 = getelementptr inbounds nuw i8, ptr %0, i64 80 @@ -10485,12 +10485,12 @@ define dso_local noundef i32 @onig_get_used_stack_size_in_callout(ptr noundef re } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @onig_builtin_fail(ptr noundef readnone captures(none) %0, ptr noundef readnone captures(none) %1) local_unnamed_addr #22 { +define dso_local noundef range(i32 1, 2) i32 @onig_builtin_fail(ptr noundef readnone captures(none) %0, ptr noundef readnone captures(none) %1) local_unnamed_addr #22 { ret i32 1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @onig_builtin_mismatch(ptr noundef readnone captures(none) %0, ptr noundef readnone captures(none) %1) local_unnamed_addr #22 { +define dso_local noundef range(i32 -1, 0) i32 @onig_builtin_mismatch(ptr noundef readnone captures(none) %0, ptr noundef readnone captures(none) %1) local_unnamed_addr #22 { ret i32 -1 } @@ -10531,7 +10531,7 @@ onig_get_arg_by_callout_args.exit.thread: ; preds = %9, %2, %17, %13 declare i32 @onig_is_error_code_needs_param(i32 noundef) local_unnamed_addr #15 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_builtin_skip(ptr noundef readonly captures(none) %0, ptr noundef readnone captures(none) %1) local_unnamed_addr #12 { +define dso_local noundef range(i32 0, 1) i32 @onig_builtin_skip(ptr noundef readonly captures(none) %0, ptr noundef readnone captures(none) %1) local_unnamed_addr #12 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 56 %4 = load ptr, ptr %3, align 8, !tbaa !162 %5 = getelementptr inbounds nuw i8, ptr %0, i64 72 diff --git a/bench/oniguruma/optimized/regparse.ll b/bench/oniguruma/optimized/regparse.ll index 1f0b7ccc13c..3d31b15c43d 100644 --- a/bench/oniguruma/optimized/regparse.ll +++ b/bench/oniguruma/optimized/regparse.ll @@ -126,7 +126,7 @@ define dso_local range(i32 1, 0) i32 @onig_get_parse_depth_limit() local_unnamed } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable -define dso_local noundef i32 @onig_set_parse_depth_limit(i32 noundef %0) local_unnamed_addr #1 { +define dso_local noundef range(i32 0, 1) i32 @onig_set_parse_depth_limit(i32 noundef %0) local_unnamed_addr #1 { %2 = icmp eq i32 %0, 0 %. = select i1 %2, i32 4096, i32 %0 store i32 %., ptr @ParseDepthLimit, align 4, !tbaa !8 @@ -432,7 +432,7 @@ define dso_local i32 @onig_st_lookup_callout_name_table(ptr noundef %0, ptr noun } ; Function Attrs: nounwind uwtable -define dso_local noundef i32 @onig_names_free(ptr noundef captures(none) %0) local_unnamed_addr #2 { +define dso_local noundef range(i32 0, 1) i32 @onig_names_free(ptr noundef captures(none) %0) local_unnamed_addr #2 { %2 = getelementptr i8, ptr %0, i64 128 %.val = load ptr, ptr %2, align 8, !tbaa !27 %.not.i = icmp eq ptr %.val, null @@ -534,7 +534,7 @@ define internal range(i32 0, 2) i32 @i_names(i64 %0, i64 noundef %1, i64 noundef } ; Function Attrs: nounwind uwtable -define dso_local noundef i32 @onig_renumber_name_table(ptr noundef readonly captures(none) %0, ptr noundef %1) local_unnamed_addr #2 { +define dso_local noundef range(i32 0, 1) i32 @onig_renumber_name_table(ptr noundef readonly captures(none) %0, ptr noundef %1) local_unnamed_addr #2 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 128 %4 = load ptr, ptr %3, align 8, !tbaa !27 %.not = icmp eq ptr %4, null @@ -550,7 +550,7 @@ define dso_local noundef i32 @onig_renumber_name_table(ptr noundef readonly capt } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal noundef i32 @i_renumber_name(i64 %0, i64 noundef %1, i64 noundef %2) #11 { +define internal noundef range(i32 0, 1) i32 @i_renumber_name(i64 %0, i64 noundef %1, i64 noundef %2) #11 { %4 = inttoptr i64 %1 to ptr %5 = inttoptr i64 %2 to ptr %6 = getelementptr inbounds nuw i8, ptr %4, i64 12 @@ -1507,7 +1507,7 @@ define dso_local ptr @onig_get_callout_name_by_name_id(i32 noundef %0) local_unn } ; Function Attrs: nounwind uwtable -define dso_local noundef i32 @onig_global_callout_names_free() local_unnamed_addr #2 { +define dso_local noundef range(i32 0, 1) i32 @onig_global_callout_names_free() local_unnamed_addr #2 { %1 = load ptr, ptr @GlobalCalloutNameList, align 8, !tbaa !4 %.not.i = icmp eq ptr %1, null br i1 %.not.i, label %free_callout_func_list.exit, label %2 @@ -1642,7 +1642,7 @@ define dso_local range(i32 0, 2) i32 @onig_callout_tag_is_exist_at_callout_num(p } ; Function Attrs: nounwind uwtable -define dso_local noundef i32 @onig_callout_tag_table_free(ptr noundef %0) local_unnamed_addr #2 { +define dso_local noundef range(i32 0, 1) i32 @onig_callout_tag_table_free(ptr noundef %0) local_unnamed_addr #2 { %.not = icmp eq ptr %0, null br i1 %.not, label %4, label %2 @@ -2087,7 +2087,7 @@ node_new_bag.exit: ; preds = %1, %8 } ; Function Attrs: nounwind uwtable -define dso_local noundef i32 @onig_node_reset_fail(ptr noundef captures(address) %0) local_unnamed_addr #2 { +define dso_local noundef range(i32 0, 1) i32 @onig_node_reset_fail(ptr noundef captures(address) %0) local_unnamed_addr #2 { tail call fastcc void @node_free_body(ptr noundef %0) store i32 10, ptr %0, align 8, !tbaa !10 %2 = getelementptr inbounds nuw i8, ptr %0, i64 16 @@ -2334,7 +2334,7 @@ define dso_local void @onig_node_str_clear(ptr noundef %0, i32 noundef %1) local } ; Function Attrs: nounwind uwtable -define dso_local noundef range(i32 -5, 1) i32 @onig_node_reset_empty(ptr noundef %0) local_unnamed_addr #2 { +define dso_local noundef range(i32 0, 1) i32 @onig_node_reset_empty(ptr noundef %0) local_unnamed_addr #2 { tail call fastcc void @node_free_body(ptr noundef %0) store i32 0, ptr %0, align 8, !tbaa !10 %2 = getelementptr inbounds nuw i8, ptr %0, i64 32 @@ -3254,7 +3254,7 @@ define dso_local void @onig_scan_env_set_error_string(ptr noundef writeonly capt } ; Function Attrs: mustprogress nounwind willreturn uwtable -define internal noundef i32 @i_free_name_entry(i64 noundef %0, i64 noundef %1, i64 %2) #14 { +define internal noundef range(i32 2, 3) i32 @i_free_name_entry(i64 noundef %0, i64 noundef %1, i64 %2) #14 { %4 = inttoptr i64 %1 to ptr %5 = load ptr, ptr %4, align 8, !tbaa !37 tail call void @free(ptr noundef %5) #25 @@ -3281,7 +3281,7 @@ declare noalias noundef ptr @realloc(ptr allocptr noundef captures(none), i64 no declare void @llvm.memset.p0.i64(ptr writeonly captures(none), i8, i64, i1 immarg) #18 ; Function Attrs: mustprogress nounwind willreturn uwtable -define internal noundef i32 @i_free_callout_name_entry(i64 noundef %0, i64 noundef %1, i64 %2) #14 { +define internal noundef range(i32 2, 3) i32 @i_free_callout_name_entry(i64 noundef %0, i64 noundef %1, i64 %2) #14 { %4 = inttoptr i64 %1 to ptr %.not = icmp eq i64 %1, 0 br i1 %.not, label %7, label %5 @@ -3299,7 +3299,7 @@ define internal noundef i32 @i_free_callout_name_entry(i64 noundef %0, i64 nound } ; Function Attrs: mustprogress nounwind willreturn uwtable -define internal noundef i32 @i_free_callout_tag_entry(i64 noundef %0, i64 %1, i64 %2) #14 { +define internal noundef range(i32 2, 3) i32 @i_free_callout_tag_entry(i64 noundef %0, i64 %1, i64 %2) #14 { %4 = inttoptr i64 %0 to ptr tail call void @free(ptr noundef %4) #25 ret i32 2 @@ -18169,7 +18169,7 @@ declare i32 @onig_is_code_in_cc(ptr noundef, i32 noundef, ptr noundef) local_unn declare i32 @onigenc_unicode_fold1_key(ptr noundef) local_unnamed_addr #8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define internal noundef i32 @i_callout_callout_list_set(i64 %0, i64 noundef %1, i64 noundef %2) #20 { +define internal noundef range(i32 0, 1) i32 @i_callout_callout_list_set(i64 %0, i64 noundef %1, i64 noundef %2) #20 { %4 = inttoptr i64 %2 to ptr %5 = getelementptr inbounds nuw i8, ptr %4, i64 32 %6 = load ptr, ptr %5, align 8, !tbaa !92 diff --git a/bench/openssl/optimized/quic_demux.ll b/bench/openssl/optimized/quic_demux.ll index 9bb03579b03..082442750c5 100644 --- a/bench/openssl/optimized/quic_demux.ll +++ b/bench/openssl/optimized/quic_demux.ll @@ -518,18 +518,16 @@ demux_recv.exit: ; preds = %ossl_list_urxe_inse br label %117 117: ; preds = %demux_recv.exit, %1 - %118 = call fastcc i32 @demux_process_pending_urxl(ptr noundef nonnull %0) - %119 = icmp slt i32 %118, 1 - %. = select i1 %119, i32 -2, i32 1 + call fastcc void @demux_process_pending_urxl(ptr noundef nonnull %0) br label %demux_ensure_free_urxe.exit.thread demux_ensure_free_urxe.exit.thread: ; preds = %12, %15, %demux_recv.exit.thread, %117 - %.0 = phi i32 [ %., %117 ], [ %.0.i11.ph, %demux_recv.exit.thread ], [ -2, %15 ], [ -2, %12 ] + %.0 = phi i32 [ 1, %117 ], [ %.0.i11.ph, %demux_recv.exit.thread ], [ -2, %15 ], [ -2, %12 ] ret i32 %.0 } ; Function Attrs: nounwind uwtable -define internal fastcc noundef range(i32 -2147483648, 2) i32 @demux_process_pending_urxl(ptr noundef captures(none) %0) unnamed_addr #0 { +define internal fastcc void @demux_process_pending_urxl(ptr noundef captures(none) %0) unnamed_addr #0 { %2 = alloca %struct.quic_conn_id_st, align 1 %3 = getelementptr inbounds nuw i8, ptr %0, i64 88 %.val7 = load ptr, ptr %3, align 8, !tbaa !17 @@ -647,7 +645,7 @@ demux_process_pending_urxe.exit: ; preds = %34, %ossl_list_urxe br i1 %.not, label %._crit_edge, label %12, !llvm.loop !46 ._crit_edge: ; preds = %demux_process_pending_urxe.exit, %1 - ret i32 1 + ret void } ; Function Attrs: nounwind uwtable @@ -845,13 +843,11 @@ ossl_list_urxe_insert_tail.exit: ; preds = %78, %81 store i64 %84, ptr %82, align 8, !tbaa !24 %85 = getelementptr inbounds nuw i8, ptr %32, i64 289 store i8 1, ptr %85, align 1, !tbaa !31 - %86 = tail call fastcc i32 @demux_process_pending_urxl(ptr noundef nonnull %0) - %87 = icmp sgt i32 %86, 0 - %88 = zext i1 %87 to i32 + tail call fastcc void @demux_process_pending_urxl(ptr noundef nonnull %0) br label %demux_ensure_free_urxe.exit.thread demux_ensure_free_urxe.exit.thread: ; preds = %11, %14, %demux_ensure_free_urxe.exit, %ossl_list_urxe_insert_tail.exit - %.0 = phi i32 [ %88, %ossl_list_urxe_insert_tail.exit ], [ 0, %demux_ensure_free_urxe.exit ], [ 0, %14 ], [ 0, %11 ] + %.0 = phi i32 [ 1, %ossl_list_urxe_insert_tail.exit ], [ 0, %demux_ensure_free_urxe.exit ], [ 0, %14 ], [ 0, %11 ] ret i32 %.0 } diff --git a/bench/ozz-animation/optimized/jsoncpp.ll b/bench/ozz-animation/optimized/jsoncpp.ll index 2608bdad9de..8ad30568761 100644 --- a/bench/ozz-animation/optimized/jsoncpp.ll +++ b/bench/ozz-animation/optimized/jsoncpp.ll @@ -456,12 +456,12 @@ define dso_local void @_ZN4Json8FeaturesC2Ev(ptr noundef nonnull writeonly align } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i16 @_ZN4Json8Features3allEv() local_unnamed_addr #1 align 2 { +define dso_local noundef range(i16 1, 2) i16 @_ZN4Json8Features3allEv() local_unnamed_addr #1 align 2 { ret i16 1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i16 @_ZN4Json8Features10strictModeEv() local_unnamed_addr #1 align 2 { +define dso_local noundef range(i16 256, 257) i16 @_ZN4Json8Features10strictModeEv() local_unnamed_addr #1 align 2 { ret i16 256 } @@ -1468,7 +1468,7 @@ define dso_local noundef zeroext i1 @_ZNK4Json5Value8isObjectEv(ptr noundef nonn } ; Function Attrs: mustprogress uwtable -define dso_local noundef zeroext i1 @_ZN4Json6Reader8addErrorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_5TokenEPKc(ptr noundef nonnull align 8 dereferenceable(267) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(24) %2, ptr noundef %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZN4Json6Reader8addErrorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_5TokenEPKc(ptr noundef nonnull align 8 dereferenceable(267) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(24) %2, ptr noundef %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 { %5 = alloca i64, align 8 %6 = alloca %"class.Json::Reader::ErrorInfo", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %6) @@ -3152,7 +3152,7 @@ define dso_local void @_ZN4Json5Value11swapPayloadERS0_(ptr noundef nonnull alig } ; Function Attrs: mustprogress uwtable -define dso_local noundef zeroext i1 @_ZN4Json6Reader9readTokenERNS0_5TokenE(ptr noundef nonnull align 8 dereferenceable(267) %0, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(24) %1) local_unnamed_addr #2 align 2 { +define dso_local noundef zeroext range(i1 -1, 0) i1 @_ZN4Json6Reader9readTokenERNS0_5TokenE(ptr noundef nonnull align 8 dereferenceable(267) %0, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(24) %1) local_unnamed_addr #2 align 2 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 208 %4 = getelementptr inbounds nuw i8, ptr %0, i64 200 %5 = load ptr, ptr %4, align 8, !tbaa !50 @@ -3899,7 +3899,7 @@ _ZN4Json6Reader11getNextCharEv.exit3: ; preds = %.thread, %15 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN4Json6Reader19readCppStyleCommentEv(ptr noundef nonnull align 8 captures(none) dereferenceable(267) %0) local_unnamed_addr #11 align 2 { +define dso_local noundef zeroext range(i1 -1, 0) i1 @_ZN4Json6Reader19readCppStyleCommentEv(ptr noundef nonnull align 8 captures(none) dereferenceable(267) %0) local_unnamed_addr #11 align 2 { %2 = getelementptr inbounds nuw i8, ptr %0, i64 208 %3 = getelementptr inbounds nuw i8, ptr %0, i64 200 %4 = load ptr, ptr %3, align 8, !tbaa !50 @@ -4757,7 +4757,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc.exit98: ; preds = %_ZN } ; Function Attrs: mustprogress uwtable -define dso_local noundef zeroext i1 @_ZN4Json6Reader16recoverFromErrorENS0_9TokenTypeE(ptr noundef nonnull align 8 dereferenceable(267) %0, i32 noundef %1) local_unnamed_addr #2 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZN4Json6Reader16recoverFromErrorENS0_9TokenTypeE(ptr noundef nonnull align 8 dereferenceable(267) %0, i32 noundef %1) local_unnamed_addr #2 align 2 { %3 = alloca %"class.Json::Reader::Token", align 8 %4 = getelementptr inbounds nuw i8, ptr %0, i64 128 %5 = getelementptr inbounds nuw i8, ptr %0, i64 96 @@ -4810,7 +4810,7 @@ define dso_local noundef zeroext i1 @_ZN4Json6Reader16recoverFromErrorENS0_9Toke } ; Function Attrs: mustprogress uwtable -define dso_local noundef zeroext i1 @_ZN4Json6Reader18addErrorAndRecoverERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_5TokenENS0_9TokenTypeE(ptr noundef nonnull align 8 dereferenceable(267) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(24) %2, i32 noundef %3) local_unnamed_addr #2 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZN4Json6Reader18addErrorAndRecoverERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_5TokenENS0_9TokenTypeE(ptr noundef nonnull align 8 dereferenceable(267) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(24) %2, i32 noundef %3) local_unnamed_addr #2 align 2 { %5 = alloca %"class.Json::Reader::Token", align 8 %6 = tail call noundef zeroext i1 @_ZN4Json6Reader8addErrorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_5TokenEPKc(ptr noundef nonnull align 8 dereferenceable(267) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef null) %7 = getelementptr inbounds nuw i8, ptr %0, i64 128 @@ -8497,7 +8497,7 @@ define dso_local void @_ZN4Json9OurReader17skipCommentTokensERNS0_5TokenE(ptr no } ; Function Attrs: mustprogress uwtable -define dso_local noundef zeroext i1 @_ZN4Json9OurReader8addErrorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_5TokenEPKc(ptr noundef nonnull align 8 dereferenceable(281) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(24) %2, ptr noundef %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZN4Json9OurReader8addErrorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_5TokenEPKc(ptr noundef nonnull align 8 dereferenceable(281) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(24) %2, ptr noundef %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 { %5 = alloca i64, align 8 %6 = alloca %"class.Json::OurReader::ErrorInfo", align 8 call void @llvm.lifetime.start.p0(ptr nonnull %6) @@ -10553,7 +10553,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit11: ; preds = %47, } ; Function Attrs: mustprogress uwtable -define dso_local noundef zeroext i1 @_ZN4Json9OurReader9readTokenERNS0_5TokenE(ptr noundef nonnull align 8 dereferenceable(281) %0, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(24) %1) local_unnamed_addr #2 align 2 { +define dso_local noundef zeroext range(i1 -1, 0) i1 @_ZN4Json9OurReader9readTokenERNS0_5TokenE(ptr noundef nonnull align 8 dereferenceable(281) %0, ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(24) %1) local_unnamed_addr #2 align 2 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 208 %4 = getelementptr inbounds nuw i8, ptr %0, i64 200 %5 = load ptr, ptr %4, align 8, !tbaa !237 @@ -11581,7 +11581,7 @@ _ZN4Json9OurReader11getNextCharEv.exit3: ; preds = %.thread, %15 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN4Json9OurReader19readCppStyleCommentEv(ptr noundef nonnull align 8 captures(none) dereferenceable(281) %0) local_unnamed_addr #11 align 2 { +define dso_local noundef zeroext range(i1 -1, 0) i1 @_ZN4Json9OurReader19readCppStyleCommentEv(ptr noundef nonnull align 8 captures(none) dereferenceable(281) %0) local_unnamed_addr #11 align 2 { %2 = getelementptr inbounds nuw i8, ptr %0, i64 208 %3 = getelementptr inbounds nuw i8, ptr %0, i64 200 %4 = load ptr, ptr %3, align 8, !tbaa !237 @@ -12300,7 +12300,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc.exit98: ; preds = %_ZN } ; Function Attrs: mustprogress uwtable -define dso_local noundef zeroext i1 @_ZN4Json9OurReader16recoverFromErrorENS0_9TokenTypeE(ptr noundef nonnull align 8 dereferenceable(281) %0, i32 noundef %1) local_unnamed_addr #2 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZN4Json9OurReader16recoverFromErrorENS0_9TokenTypeE(ptr noundef nonnull align 8 dereferenceable(281) %0, i32 noundef %1) local_unnamed_addr #2 align 2 { %3 = alloca %"class.Json::OurReader::Token", align 8 %4 = getelementptr inbounds nuw i8, ptr %0, i64 128 %5 = getelementptr inbounds nuw i8, ptr %0, i64 96 @@ -12824,7 +12824,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit: ; preds = %82, % } ; Function Attrs: mustprogress uwtable -define dso_local noundef zeroext i1 @_ZN4Json9OurReader18addErrorAndRecoverERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_5TokenENS0_9TokenTypeE(ptr noundef nonnull align 8 dereferenceable(281) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(24) %2, i32 noundef %3) local_unnamed_addr #2 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZN4Json9OurReader18addErrorAndRecoverERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_5TokenENS0_9TokenTypeE(ptr noundef nonnull align 8 dereferenceable(281) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(24) %2, i32 noundef %3) local_unnamed_addr #2 align 2 { %5 = alloca %"class.Json::OurReader::Token", align 8 %6 = tail call noundef zeroext i1 @_ZN4Json9OurReader8addErrorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_5TokenEPKc(ptr noundef nonnull align 8 dereferenceable(281) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef null) %7 = getelementptr inbounds nuw i8, ptr %0, i64 128 @@ -34722,7 +34722,7 @@ define dso_local void @_ZN4Json12StreamWriterD2Ev(ptr nonnull readnone align 8 c } ; Function Attrs: mustprogress uwtable -define dso_local noundef i32 @_ZN4Json23BuiltStyledStreamWriter5writeERKNS_5ValueEPSo(ptr noundef nonnull align 8 dereferenceable(224) initializes((8, 16)) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef %2) unnamed_addr #2 align 2 { +define dso_local noundef range(i32 0, 1) i32 @_ZN4Json23BuiltStyledStreamWriter5writeERKNS_5ValueEPSo(ptr noundef nonnull align 8 dereferenceable(224) initializes((8, 16)) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef %2) unnamed_addr #2 align 2 { %4 = alloca i8, align 1 %5 = getelementptr inbounds nuw i8, ptr %0, i64 8 store ptr %2, ptr %5, align 8, !tbaa !615 diff --git a/bench/php/optimized/softmagic.ll b/bench/php/optimized/softmagic.ll index 75c3a5263fe..cff9e66b5ad 100644 --- a/bench/php/optimized/softmagic.ll +++ b/bench/php/optimized/softmagic.ll @@ -2077,7 +2077,7 @@ cvt_flip.exit589.thread: ; preds = %307, %cvt_flip.exit ] cvt_flip.exit.i: ; preds = %724, %721 - switch i8 %575, label %1207 [ + switch i8 %575, label %1195 [ i8 1, label %725 i8 2, label %728 i8 53, label %728 @@ -2947,9 +2947,8 @@ cvt_flip.exit.thread179.i: ; preds = %cvt_flip.exit.i, %c br label %.critedge574 1139: ; preds = %cvt_flip.exit.i - %1140 = tail call fastcc i32 @cvt_float(ptr noundef nonnull %24, ptr noundef nonnull %1) - %1141 = icmp eq i32 %1140, -1 - br i1 %1141, label %cvt_16.exit.thread.i, label %.critedge574 + tail call fastcc void @cvt_float(ptr noundef nonnull %24, ptr noundef nonnull %1) + br label %.critedge574 cvt_flip.exit.thread196.i: ; preds = %cvt_flip.exit.i, %724 %1142 = load i8, ptr %24, align 8, !tbaa !28 @@ -2970,19 +2969,16 @@ cvt_flip.exit.thread196.i: ; preds = %cvt_flip.exit.i, %7 %1157 = zext i8 %1156 to i32 %1158 = or disjoint i32 %1154, %1157 store i32 %1158, ptr %24, align 8, !tbaa !28 - %1159 = tail call fastcc i32 @cvt_float(ptr noundef nonnull %24, ptr noundef nonnull %1) - %1160 = icmp eq i32 %1159, -1 - br i1 %1160, label %cvt_16.exit.thread.i, label %.critedge574 + tail call fastcc void @cvt_float(ptr noundef nonnull %24, ptr noundef nonnull %1) + br label %.critedge574 cvt_flip.exit.thread199.i: ; preds = %cvt_flip.exit.i, %724 - %1161 = tail call fastcc i32 @cvt_float(ptr noundef nonnull %24, ptr noundef nonnull %1) - %1162 = icmp eq i32 %1161, -1 - br i1 %1162, label %cvt_16.exit.thread.i, label %.critedge574 + tail call fastcc void @cvt_float(ptr noundef nonnull %24, ptr noundef nonnull %1) + br label %.critedge574 1163: ; preds = %cvt_flip.exit.i - %1164 = tail call fastcc i32 @cvt_double(ptr noundef nonnull %24, ptr noundef nonnull %1) - %1165 = icmp eq i32 %1164, -1 - br i1 %1165, label %cvt_16.exit.thread.i, label %.critedge574 + tail call fastcc void @cvt_double(ptr noundef nonnull %24, ptr noundef nonnull %1) + br label %.critedge574 cvt_flip.exit.thread202.i: ; preds = %cvt_flip.exit.i, %724 %1166 = load i8, ptr %24, align 8, !tbaa !28 @@ -3023,25 +3019,23 @@ cvt_flip.exit.thread202.i: ; preds = %cvt_flip.exit.i, %7 %1201 = zext i8 %1200 to i64 %1202 = or i64 %1198, %1201 store i64 %1202, ptr %24, align 8, !tbaa !28 - %1203 = tail call fastcc i32 @cvt_double(ptr noundef nonnull %24, ptr noundef nonnull %1) - %1204 = icmp eq i32 %1203, -1 - br i1 %1204, label %cvt_16.exit.thread.i, label %.critedge574 + tail call fastcc void @cvt_double(ptr noundef nonnull %24, ptr noundef nonnull %1) + br label %.critedge574 cvt_flip.exit.thread205.i: ; preds = %cvt_flip.exit.i, %724 - %1205 = tail call fastcc i32 @cvt_double(ptr noundef nonnull %24, ptr noundef nonnull %1) - %1206 = icmp eq i32 %1205, -1 - br i1 %1206, label %cvt_16.exit.thread.i, label %.critedge574 + tail call fastcc void @cvt_double(ptr noundef nonnull %24, ptr noundef nonnull %1) + br label %.critedge574 1207: ; preds = %cvt_flip.exit.i tail call void (ptr, ptr, ...) @file_magerror(ptr noundef nonnull %0, ptr noundef nonnull @.str.21, i32 noundef %722) #21 br label %.critedge574 -cvt_16.exit.thread.i: ; preds = %cvt_flip.exit.thread205.i, %cvt_flip.exit.thread202.i, %1163, %cvt_flip.exit.thread199.i, %cvt_flip.exit.thread196.i, %1139, %1128, %1124, %1030, %1026, %cvt_flip.exit.thread193.i, %916, %912, %cvt_flip.exit.thread190.i, %809, %804, %765, %759, %725 +cvt_16.exit.thread.i: ; preds = %1128, %1124, %1030, %1026, %cvt_flip.exit.thread193.i, %916, %912, %cvt_flip.exit.thread190.i, %809, %804, %765, %759, %725 tail call void (ptr, ptr, ...) @file_magerror(ptr noundef nonnull %0, ptr noundef nonnull @.str.22) #21 br label %.critedge574 .critedge574: ; preds = %1137, %1132, %1090, %1085, %1039, %1034, %991, %986, %925, %920, %849, %845, %818, %814, %775, %771, %cvt_flip.exit.i, %cvt_flip.exit.i, %cvt_flip.exit.i, %cvt_flip.exit.i, %cvt_flip.exit.i, %cvt_flip.exit.i, %cvt_flip.exit.i, %cvt_flip.exit.i, %cvt_flip.exit.thread205.i, %cvt_flip.exit.thread202.i, %1163, %cvt_flip.exit.thread199.i, %cvt_flip.exit.thread196.i, %1139, %cvt_flip.exit.thread193.i, %cvt_flip.exit.thread190.i, %._crit_edge.i, %725, %852, %cvt_16.exit.thread.i, %1207, %857, %854, %.thread, %321, %323, %cvt_flip.exit589.thread621, %348, %cvt_flip.exit589.thread624, %355, %361, %366, %cvt_flip.exit589.thread627, %397, %cvt_flip.exit589.thread631, %422, %427, %455, %458, %463, %cvt_flip.exit589.thread635, %473, %cvt_flip.exit589.thread638, %480, %522, %519, %528, %533, %cvt_flip.exit589.thread, %544, %541, %560, %559, %cvt_flip.exit.thread, %293, %281, %283, %cvt_flip.exit.thread615, %cvt_flip.exit.thread612, %202, %cvt_flip.exit.thread609, %cvt_flip.exit.thread606, %145, %cvt_flip.exit.thread603, %cvt_flip.exit.thread600, %104, %93, %717, %714, %709, %710, %667, %665, %666, %663, %664, %658, %659, %644, %618, %610, %607, %598, %601, %593, %588, %583, %578, %576, %684, %678, %34, %28 - %.0 = phi i32 [ -1, %28 ], [ -1, %34 ], [ -1, %678 ], [ -1, %684 ], [ 0, %576 ], [ 0, %578 ], [ 0, %583 ], [ 0, %588 ], [ 0, %593 ], [ 0, %601 ], [ 0, %598 ], [ 0, %607 ], [ 0, %610 ], [ -1, %618 ], [ -1, %644 ], [ -1, %659 ], [ -1, %658 ], [ -1, %664 ], [ -1, %663 ], [ %.1438, %666 ], [ %.1438, %665 ], [ 0, %667 ], [ 1, %709 ], [ %713, %710 ], [ 1, %714 ], [ %., %717 ], [ 0, %93 ], [ 0, %104 ], [ 0, %cvt_flip.exit.thread600 ], [ 0, %cvt_flip.exit.thread603 ], [ 0, %145 ], [ 0, %cvt_flip.exit.thread606 ], [ 0, %cvt_flip.exit.thread609 ], [ 0, %202 ], [ 0, %cvt_flip.exit.thread612 ], [ 0, %cvt_flip.exit.thread615 ], [ 0, %283 ], [ 0, %281 ], [ 0, %293 ], [ 0, %cvt_flip.exit.thread ], [ 0, %559 ], [ 0, %560 ], [ 0, %541 ], [ 0, %544 ], [ 0, %cvt_flip.exit589.thread ], [ 0, %533 ], [ 0, %528 ], [ 0, %519 ], [ 0, %522 ], [ 0, %480 ], [ 0, %cvt_flip.exit589.thread638 ], [ 0, %473 ], [ 0, %cvt_flip.exit589.thread635 ], [ 0, %463 ], [ 0, %458 ], [ 0, %455 ], [ 0, %427 ], [ 0, %422 ], [ 0, %cvt_flip.exit589.thread631 ], [ 0, %397 ], [ 0, %cvt_flip.exit589.thread627 ], [ 0, %366 ], [ 0, %361 ], [ 0, %355 ], [ 0, %cvt_flip.exit589.thread624 ], [ 0, %348 ], [ 0, %cvt_flip.exit589.thread621 ], [ 0, %323 ], [ 0, %321 ], [ 1, %.thread ], [ 0, %cvt_16.exit.thread.i ], [ 0, %1207 ], [ 0, %857 ], [ 0, %854 ], [ 1, %852 ], [ 1, %725 ], [ 1, %._crit_edge.i ], [ 1, %cvt_flip.exit.thread190.i ], [ 1, %cvt_flip.exit.thread193.i ], [ 1, %1139 ], [ 1, %cvt_flip.exit.thread196.i ], [ 1, %cvt_flip.exit.thread199.i ], [ 1, %1163 ], [ 1, %cvt_flip.exit.thread202.i ], [ 1, %cvt_flip.exit.thread205.i ], [ 1, %cvt_flip.exit.i ], [ 1, %cvt_flip.exit.i ], [ 1, %cvt_flip.exit.i ], [ 1, %cvt_flip.exit.i ], [ 1, %cvt_flip.exit.i ], [ 1, %cvt_flip.exit.i ], [ 1, %cvt_flip.exit.i ], [ 1, %cvt_flip.exit.i ], [ 1, %771 ], [ 1, %775 ], [ 1, %814 ], [ 1, %818 ], [ 1, %845 ], [ 1, %849 ], [ 1, %920 ], [ 1, %925 ], [ 1, %986 ], [ 1, %991 ], [ 1, %1034 ], [ 1, %1039 ], [ 1, %1085 ], [ 1, %1090 ], [ 1, %1132 ], [ 1, %1137 ] + %.0 = phi i32 [ -1, %28 ], [ -1, %34 ], [ -1, %678 ], [ -1, %684 ], [ 0, %576 ], [ 0, %578 ], [ 0, %583 ], [ 0, %588 ], [ 0, %593 ], [ 0, %601 ], [ 0, %598 ], [ 0, %607 ], [ 0, %610 ], [ -1, %618 ], [ -1, %644 ], [ -1, %659 ], [ -1, %658 ], [ -1, %664 ], [ -1, %663 ], [ %.1438, %666 ], [ %.1438, %665 ], [ 0, %667 ], [ 1, %709 ], [ %713, %710 ], [ 1, %714 ], [ %., %717 ], [ 0, %93 ], [ 0, %104 ], [ 0, %cvt_flip.exit.thread600 ], [ 0, %cvt_flip.exit.thread603 ], [ 0, %145 ], [ 0, %cvt_flip.exit.thread606 ], [ 0, %cvt_flip.exit.thread609 ], [ 0, %202 ], [ 0, %cvt_flip.exit.thread612 ], [ 0, %cvt_flip.exit.thread615 ], [ 0, %283 ], [ 0, %281 ], [ 0, %293 ], [ 0, %cvt_flip.exit.thread ], [ 0, %559 ], [ 0, %560 ], [ 0, %541 ], [ 0, %544 ], [ 0, %cvt_flip.exit589.thread ], [ 0, %533 ], [ 0, %528 ], [ 0, %519 ], [ 0, %522 ], [ 0, %480 ], [ 0, %cvt_flip.exit589.thread638 ], [ 0, %473 ], [ 0, %cvt_flip.exit589.thread635 ], [ 0, %463 ], [ 0, %458 ], [ 0, %455 ], [ 0, %427 ], [ 0, %422 ], [ 0, %cvt_flip.exit589.thread631 ], [ 0, %397 ], [ 0, %cvt_flip.exit589.thread627 ], [ 0, %366 ], [ 0, %361 ], [ 0, %355 ], [ 0, %cvt_flip.exit589.thread624 ], [ 0, %348 ], [ 0, %cvt_flip.exit589.thread621 ], [ 0, %323 ], [ 0, %321 ], [ 1, %.thread ], [ 0, %cvt_16.exit.thread.i ], [ 0, %1195 ], [ 0, %857 ], [ 0, %854 ], [ 1, %852 ], [ 1, %725 ], [ 1, %._crit_edge.i ], [ 1, %cvt_flip.exit.thread190.i ], [ 1, %cvt_flip.exit.thread193.i ], [ 1, %1139 ], [ 1, %cvt_flip.exit.thread196.i ], [ 1, %cvt_flip.exit.thread199.i ], [ 1, %1157 ], [ 1, %cvt_flip.exit.thread202.i ], [ 1, %cvt_flip.exit.thread205.i ], [ 1, %cvt_flip.exit.i ], [ 1, %cvt_flip.exit.i ], [ 1, %cvt_flip.exit.i ], [ 1, %cvt_flip.exit.i ], [ 1, %cvt_flip.exit.i ], [ 1, %cvt_flip.exit.i ], [ 1, %cvt_flip.exit.i ], [ 1, %cvt_flip.exit.i ], [ 1, %771 ], [ 1, %775 ], [ 1, %814 ], [ 1, %818 ], [ 1, %845 ], [ 1, %849 ], [ 1, %920 ], [ 1, %925 ], [ 1, %986 ], [ 1, %991 ], [ 1, %1034 ], [ 1, %1039 ], [ 1, %1085 ], [ 1, %1090 ], [ 1, %1132 ], [ 1, %1137 ] call void @llvm.lifetime.end.p0(ptr nonnull %21) call void @llvm.lifetime.end.p0(ptr nonnull %20) call void @llvm.lifetime.end.p0(ptr nonnull %19) @@ -5432,7 +5426,7 @@ declare hidden i64 @file_pstring_length_size(ptr noundef, ptr noundef) local_unn declare hidden i64 @file_pstring_get_length(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal fastcc noundef range(i32 -1, 1) i32 @cvt_float(ptr noundef captures(none) %0, ptr noundef readonly captures(none) %1) unnamed_addr #12 { +define internal fastcc void @cvt_float(ptr noundef captures(none) %0, ptr noundef readonly captures(none) %1) unnamed_addr #12 { %3 = getelementptr inbounds nuw i8, ptr %1, i64 24 %4 = load i64, ptr %3, align 8, !tbaa !28 %.not = icmp eq i64 %4, 0 @@ -5479,11 +5473,11 @@ define internal fastcc noundef range(i32 -1, 1) i32 @cvt_float(ptr noundef captu br label %25 25: ; preds = %.sink.split, %2, %5 - ret i32 0 + ret void } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal fastcc noundef range(i32 -1, 1) i32 @cvt_double(ptr noundef captures(none) %0, ptr noundef readonly captures(none) %1) unnamed_addr #12 { +define internal fastcc void @cvt_double(ptr noundef captures(none) %0, ptr noundef readonly captures(none) %1) unnamed_addr #12 { %3 = getelementptr inbounds nuw i8, ptr %1, i64 24 %4 = load i64, ptr %3, align 8, !tbaa !28 %.not = icmp eq i64 %4, 0 @@ -5530,7 +5524,7 @@ define internal fastcc noundef range(i32 -1, 1) i32 @cvt_double(ptr noundef capt br label %25 25: ; preds = %.sink.split, %2, %5 - ret i32 0 + ret void } ; Function Attrs: nofree nosync nounwind memory(read, inaccessiblemem: none) uwtable diff --git a/bench/pocketpy/optimized/expr.ll b/bench/pocketpy/optimized/expr.ll index 3b670bc6683..c07edc66af1 100644 --- a/bench/pocketpy/optimized/expr.ll +++ b/bench/pocketpy/optimized/expr.ll @@ -2871,7 +2871,7 @@ _ZNK4pkpy12NameDictImplIiE7try_getENS_7StrNameE.exit: ; preds = %16, %.lr.ph.i._ } ; Function Attrs: mustprogress uwtable -define noundef zeroext i1 @_ZN4pkpy8NameExpr8emit_delEPNS_15CodeEmitContextE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(20) %0, ptr noundef readonly captures(none) %1) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 { +define noundef zeroext range(i1 -1, 0) i1 @_ZN4pkpy8NameExpr8emit_delEPNS_15CodeEmitContextE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(20) %0, ptr noundef readonly captures(none) %1) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 { %3 = alloca %"class.std::__cxx11::basic_string", align 8 %4 = alloca %"class.std::__cxx11::basic_string", align 8 %5 = alloca %"class.std::__cxx11::basic_string", align 8 @@ -3006,7 +3006,7 @@ define noundef zeroext i1 @_ZN4pkpy8NameExpr8emit_delEPNS_15CodeEmitContextE(ptr } ; Function Attrs: mustprogress uwtable -define noundef zeroext i1 @_ZN4pkpy8NameExpr10emit_storeEPNS_15CodeEmitContextE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(20) %0, ptr noundef readonly captures(none) %1) unnamed_addr #5 align 2 { +define noundef zeroext range(i1 -1, 0) i1 @_ZN4pkpy8NameExpr10emit_storeEPNS_15CodeEmitContextE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(20) %0, ptr noundef readonly captures(none) %1) unnamed_addr #5 align 2 { %3 = getelementptr inbounds nuw i8, ptr %1, i64 124 %4 = load i8, ptr %3, align 4 %5 = trunc i8 %4 to i1 @@ -5235,7 +5235,7 @@ define void @_ZN4pkpy10SubscrExpr5emit_EPNS_15CodeEmitContextE(ptr noundef nonnu } ; Function Attrs: mustprogress uwtable -define noundef zeroext i1 @_ZN4pkpy10SubscrExpr10emit_storeEPNS_15CodeEmitContextE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(32) %0, ptr noundef %1) unnamed_addr #5 align 2 { +define noundef zeroext range(i1 -1, 0) i1 @_ZN4pkpy10SubscrExpr10emit_storeEPNS_15CodeEmitContextE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(32) %0, ptr noundef %1) unnamed_addr #5 align 2 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8 %5 = load ptr, ptr %4, align 8 @@ -5297,7 +5297,7 @@ define noundef zeroext i1 @_ZN4pkpy10SubscrExpr10emit_storeEPNS_15CodeEmitContex } ; Function Attrs: mustprogress uwtable -define noundef zeroext i1 @_ZN4pkpy10SubscrExpr8emit_delEPNS_15CodeEmitContextE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(32) %0, ptr noundef %1) unnamed_addr #5 align 2 { +define noundef zeroext range(i1 -1, 0) i1 @_ZN4pkpy10SubscrExpr8emit_delEPNS_15CodeEmitContextE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(32) %0, ptr noundef %1) unnamed_addr #5 align 2 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8 %5 = load ptr, ptr %4, align 8 @@ -5333,7 +5333,7 @@ define void @_ZN4pkpy10AttribExpr5emit_EPNS_15CodeEmitContextE(ptr noundef nonnu } ; Function Attrs: mustprogress uwtable -define noundef zeroext i1 @_ZN4pkpy10AttribExpr8emit_delEPNS_15CodeEmitContextE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(26) %0, ptr noundef %1) unnamed_addr #5 align 2 { +define noundef zeroext range(i1 -1, 0) i1 @_ZN4pkpy10AttribExpr8emit_delEPNS_15CodeEmitContextE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(26) %0, ptr noundef %1) unnamed_addr #5 align 2 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8 %5 = load ptr, ptr %4, align 8 @@ -5349,7 +5349,7 @@ define noundef zeroext i1 @_ZN4pkpy10AttribExpr8emit_delEPNS_15CodeEmitContextE( } ; Function Attrs: mustprogress uwtable -define noundef zeroext i1 @_ZN4pkpy10AttribExpr10emit_storeEPNS_15CodeEmitContextE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(26) %0, ptr noundef %1) unnamed_addr #5 align 2 { +define noundef zeroext range(i1 -1, 0) i1 @_ZN4pkpy10AttribExpr10emit_storeEPNS_15CodeEmitContextE(ptr noundef nonnull readonly align 8 captures(none) dereferenceable(26) %0, ptr noundef %1) unnamed_addr #5 align 2 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8 %5 = load ptr, ptr %4, align 8 diff --git a/bench/protobuf/optimized/helpers.ll b/bench/protobuf/optimized/helpers.ll index 4f375ddbf18..38f6de1dc78 100644 --- a/bench/protobuf/optimized/helpers.ll +++ b/bench/protobuf/optimized/helpers.ll @@ -924,19 +924,19 @@ declare void @_ZNSt8ios_base4InitD1Ev(ptr noundef nonnull align 1 dereferenceabl declare i32 @__cxa_atexit(ptr, ptr, ptr) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN6google8protobuf8compiler3cpp6IsLazyEPKNS0_15FieldDescriptorERKNS2_7OptionsEPNS2_18MessageSCCAnalyzerE(ptr noundef readnone captures(none) %field, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options, ptr noundef readnone captures(none) %scc_analyzer) local_unnamed_addr #3 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN6google8protobuf8compiler3cpp6IsLazyEPKNS0_15FieldDescriptorERKNS2_7OptionsEPNS2_18MessageSCCAnalyzerE(ptr noundef readnone captures(none) %field, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options, ptr noundef readnone captures(none) %scc_analyzer) local_unnamed_addr #3 { entry: ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN6google8protobuf8compiler3cpp20IsLazilyVerifiedLazyEPKNS0_15FieldDescriptorERKNS2_7OptionsE(ptr noundef readnone captures(none) %field, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options) local_unnamed_addr #3 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN6google8protobuf8compiler3cpp20IsLazilyVerifiedLazyEPKNS0_15FieldDescriptorERKNS2_7OptionsE(ptr noundef readnone captures(none) %field, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options) local_unnamed_addr #3 { entry: ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN6google8protobuf8compiler3cpp21IsEagerlyVerifiedLazyEPKNS0_15FieldDescriptorERKNS2_7OptionsEPNS2_18MessageSCCAnalyzerE(ptr noundef readnone captures(none) %field, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options, ptr noundef readnone captures(none) %scc_analyzer) local_unnamed_addr #3 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN6google8protobuf8compiler3cpp21IsEagerlyVerifiedLazyEPKNS0_15FieldDescriptorERKNS2_7OptionsEPNS2_18MessageSCCAnalyzerE(ptr noundef readnone captures(none) %field, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options, ptr noundef readnone captures(none) %scc_analyzer) local_unnamed_addr #3 { entry: ret i1 false } @@ -6859,13 +6859,13 @@ land.end: ; preds = %land.rhs, %entry } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN6google8protobuf8compiler3cpp15IsRarelyPresentEPKNS0_15FieldDescriptorERKNS2_7OptionsE(ptr noundef readnone captures(none) %field, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options) local_unnamed_addr #3 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN6google8protobuf8compiler3cpp15IsRarelyPresentEPKNS0_15FieldDescriptorERKNS2_7OptionsE(ptr noundef readnone captures(none) %field, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options) local_unnamed_addr #3 { entry: ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN6google8protobuf8compiler3cpp15IsLikelyPresentEPKNS0_15FieldDescriptorERKNS2_7OptionsE(ptr noundef readnone captures(none) %field, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options) local_unnamed_addr #3 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN6google8protobuf8compiler3cpp15IsLikelyPresentEPKNS0_15FieldDescriptorERKNS2_7OptionsE(ptr noundef readnone captures(none) %field, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options) local_unnamed_addr #3 { entry: ret i1 false } @@ -7116,61 +7116,61 @@ land.end: ; preds = %if.end.i, %land.lhs } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN6google8protobuf8compiler3cpp15IsStringInlinedEPKNS0_15FieldDescriptorERKNS2_7OptionsE(ptr noundef readnone captures(none) %field, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options) local_unnamed_addr #3 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN6google8protobuf8compiler3cpp15IsStringInlinedEPKNS0_15FieldDescriptorERKNS2_7OptionsE(ptr noundef readnone captures(none) %field, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options) local_unnamed_addr #3 { entry: ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN6google8protobuf8compiler3cpp13HasLazyFieldsEPKNS0_14FileDescriptorERKNS2_7OptionsEPNS2_18MessageSCCAnalyzerE(ptr noundef readonly captures(none) %file, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options, ptr noundef readnone captures(none) %scc_analyzer) local_unnamed_addr #3 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN6google8protobuf8compiler3cpp13HasLazyFieldsEPKNS0_14FileDescriptorERKNS2_7OptionsEPNS2_18MessageSCCAnalyzerE(ptr noundef readonly captures(none) %file, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options, ptr noundef readnone captures(none) %scc_analyzer) local_unnamed_addr #3 { entry: ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN6google8protobuf8compiler3cpp12ShouldVerifyEPKNS0_10DescriptorERKNS2_7OptionsEPNS2_18MessageSCCAnalyzerE(ptr noundef readnone captures(none) %descriptor, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options, ptr noundef readnone captures(none) %scc_analyzer) local_unnamed_addr #3 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN6google8protobuf8compiler3cpp12ShouldVerifyEPKNS0_10DescriptorERKNS2_7OptionsEPNS2_18MessageSCCAnalyzerE(ptr noundef readnone captures(none) %descriptor, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options, ptr noundef readnone captures(none) %scc_analyzer) local_unnamed_addr #3 { entry: ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN6google8protobuf8compiler3cpp12ShouldVerifyEPKNS0_14FileDescriptorERKNS2_7OptionsEPNS2_18MessageSCCAnalyzerE(ptr noundef readnone captures(none) %file, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options, ptr noundef readnone captures(none) %scc_analyzer) local_unnamed_addr #3 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN6google8protobuf8compiler3cpp12ShouldVerifyEPKNS0_14FileDescriptorERKNS2_7OptionsEPNS2_18MessageSCCAnalyzerE(ptr noundef readnone captures(none) %file, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options, ptr noundef readnone captures(none) %scc_analyzer) local_unnamed_addr #3 { entry: ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN6google8protobuf8compiler3cpp23ShouldVerifyRecursivelyEPKNS0_15FieldDescriptorE(ptr noundef readnone captures(none) %field) local_unnamed_addr #3 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN6google8protobuf8compiler3cpp23ShouldVerifyRecursivelyEPKNS0_15FieldDescriptorE(ptr noundef readnone captures(none) %field) local_unnamed_addr #3 { entry: ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef i32 @_ZN6google8protobuf8compiler3cpp18ShouldVerifySimpleEPKNS0_10DescriptorE(ptr noundef readnone captures(none) %descriptor) local_unnamed_addr #3 { +define hidden noundef range(i32 2, 3) i32 @_ZN6google8protobuf8compiler3cpp18ShouldVerifySimpleEPKNS0_10DescriptorE(ptr noundef readnone captures(none) %descriptor) local_unnamed_addr #3 { entry: ret i32 2 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN6google8protobuf8compiler3cpp11ShouldSplitEPKNS0_10DescriptorERKNS2_7OptionsE(ptr noundef readnone captures(none) %0, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %1) local_unnamed_addr #3 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN6google8protobuf8compiler3cpp11ShouldSplitEPKNS0_10DescriptorERKNS2_7OptionsE(ptr noundef readnone captures(none) %0, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %1) local_unnamed_addr #3 { entry: ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN6google8protobuf8compiler3cpp11ShouldSplitEPKNS0_15FieldDescriptorERKNS2_7OptionsE(ptr noundef readnone captures(none) %0, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %1) local_unnamed_addr #3 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN6google8protobuf8compiler3cpp11ShouldSplitEPKNS0_15FieldDescriptorERKNS2_7OptionsE(ptr noundef readnone captures(none) %0, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %1) local_unnamed_addr #3 { entry: ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN6google8protobuf8compiler3cpp35ShouldForceAllocationOnConstructionEPKNS0_10DescriptorERKNS2_7OptionsE(ptr noundef readnone captures(none) %desc, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options) local_unnamed_addr #3 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN6google8protobuf8compiler3cpp35ShouldForceAllocationOnConstructionEPKNS0_10DescriptorERKNS2_7OptionsE(ptr noundef readnone captures(none) %desc, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options) local_unnamed_addr #3 { entry: ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN6google8protobuf8compiler3cpp16IsPresentMessageEPKNS0_10DescriptorERKNS2_7OptionsE(ptr noundef readnone captures(none) %descriptor, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options) local_unnamed_addr #3 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN6google8protobuf8compiler3cpp16IsPresentMessageEPKNS0_10DescriptorERKNS2_7OptionsE(ptr noundef readnone captures(none) %descriptor, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options) local_unnamed_addr #3 { entry: ret i1 true } @@ -7264,7 +7264,7 @@ return: ; preds = %for.body, %for.body } ; Function Attrs: mustprogress uwtable -define hidden noundef zeroext i1 @_ZN6google8protobuf8compiler3cpp20HasStringPieceFieldsEPKNS0_14FileDescriptorERKNS2_7OptionsE(ptr noundef readonly captures(none) %file, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options) local_unnamed_addr #4 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN6google8protobuf8compiler3cpp20HasStringPieceFieldsEPKNS0_14FileDescriptorERKNS2_7OptionsE(ptr noundef readonly captures(none) %file, ptr noundef nonnull readnone align 8 captures(none) dereferenceable(206) %options) local_unnamed_addr #4 { entry: %message_type_count_.i = getelementptr inbounds nuw i8, ptr %file, i64 60 %0 = load i32, ptr %message_type_count_.i, align 4 @@ -7273,29 +7273,25 @@ entry: for.body.lr.ph: ; preds = %entry %message_types_.i = getelementptr inbounds nuw i8, ptr %file, i64 96 - br label %for.body + br label %for.cond -for.cond: ; preds = %for.body +for.cond: ; preds = %for.body.lr.ph, %for.inc + %indvars.iv = phi i64 [ 0, %for.inc.lr.ph ], [ %indvars.iv.next, %for.inc ] + %1 = load ptr, ptr %message_types_.i, align 8 + %add.ptr.i = getelementptr inbounds nuw %"class.google::protobuf::Descriptor", ptr %1, i64 %indvars.iv + tail call fastcc void @_ZN6google8protobuf8compiler3cppL20HasStringPieceFieldsEPKNS0_10DescriptorERKNS2_7OptionsE(ptr noundef %add.ptr.i) %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1 %1 = load i32, ptr %message_type_count_.i, align 4 %2 = sext i32 %1 to i64 %cmp = icmp slt i64 %indvars.iv.next, %2 - br i1 %cmp, label %for.body, label %return, !llvm.loop !186 + br i1 %cmp, label %for.cond, label %return, !llvm.loop !186 -for.body: ; preds = %for.body.lr.ph, %for.cond - %indvars.iv = phi i64 [ 0, %for.body.lr.ph ], [ %indvars.iv.next, %for.cond ] - %3 = load ptr, ptr %message_types_.i, align 8 - %add.ptr.i = getelementptr inbounds nuw %"class.google::protobuf::Descriptor", ptr %3, i64 %indvars.iv - %call2 = tail call fastcc noundef zeroext i1 @_ZN6google8protobuf8compiler3cppL20HasStringPieceFieldsEPKNS0_10DescriptorERKNS2_7OptionsE(ptr noundef %add.ptr.i) - br i1 %call2, label %return, label %for.cond - -return: ; preds = %for.body, %for.cond, %entry - %cmp.lcssa = phi i1 [ false, %entry ], [ %call2, %for.cond ], [ %call2, %for.body ] - ret i1 %cmp.lcssa +return: ; preds = %for.cond, %entry + ret i1 false } ; Function Attrs: mustprogress uwtable -define internal fastcc noundef zeroext i1 @_ZN6google8protobuf8compiler3cppL20HasStringPieceFieldsEPKNS0_10DescriptorERKNS2_7OptionsE(ptr noundef readonly captures(none) %descriptor) unnamed_addr #4 personality ptr @__gxx_personality_v0 { +define internal fastcc void @_ZN6google8protobuf8compiler3cppL20HasStringPieceFieldsEPKNS0_10DescriptorERKNS2_7OptionsE(ptr noundef readonly captures(none) %descriptor) unnamed_addr #4 personality ptr @__gxx_personality_v0 { entry: %field_count_.i = getelementptr inbounds nuw i8, ptr %descriptor, i64 4 %0 = load i32, ptr %field_count_.i, align 4 @@ -7400,7 +7396,7 @@ for.cond4: ; preds = %for.cond4, %for.bod %indvars.iv8 = phi i64 [ 0, %for.body7.lr.ph ], [ %indvars.iv.next9, %for.cond4 ] %17 = load ptr, ptr %nested_types_.i, align 8 %add.ptr.i10 = getelementptr inbounds nuw %"class.google::protobuf::Descriptor", ptr %17, i64 %indvars.iv8 - %call9 = tail call fastcc noundef zeroext i1 @_ZN6google8protobuf8compiler3cppL20HasStringPieceFieldsEPKNS0_10DescriptorERKNS2_7OptionsE(ptr noundef %add.ptr.i10) + tail call fastcc void @_ZN6google8protobuf8compiler3cppL20HasStringPieceFieldsEPKNS0_10DescriptorERKNS2_7OptionsE(ptr noundef %add.ptr.i10) %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8, 1 %18 = load i32, ptr %nested_type_count_.i, align 8 %19 = sext i32 %18 to i64 @@ -7408,7 +7404,7 @@ for.cond4: ; preds = %for.cond4, %for.bod br i1 %cmp6, label %for.cond4, label %return, !llvm.loop !188 return: ; preds = %for.cond4, %for.cond4.preheader - ret i1 false + ret void } ; Function Attrs: mustprogress uwtable @@ -26289,7 +26285,7 @@ if.end.i.i.i.i: ; preds = %if.end.i.i.i } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFbvEZN6google8protobuf2io7Printer9ValueImplILb1EE18ToStringOrCallbackIZNS2_8compiler3cpp14MaybeBootstrapERKNS9_7OptionsEPNS8_16GeneratorContextEbPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE3$_0vEESt7variantIJSK_St8functionIS0_EEEOT_NS6_5Rank2EEUlvE_E10_M_managerERSt9_Any_dataRKSW_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %__dest, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %__source, i32 noundef %__op) #4 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFbvEZN6google8protobuf2io7Printer9ValueImplILb1EE18ToStringOrCallbackIZNS2_8compiler3cpp14MaybeBootstrapERKNS9_7OptionsEPNS8_16GeneratorContextEbPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE3$_0vEESt7variantIJSK_St8functionIS0_EEEOT_NS6_5Rank2EEUlvE_E10_M_managerERSt9_Any_dataRKSW_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %__dest, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %__source, i32 noundef %__op) #4 align 2 { entry: switch i32 %__op, label %sw.epilog [ i32 0, label %sw.bb diff --git a/bench/qemu/optimized/job.ll b/bench/qemu/optimized/job.ll index 2782ac17fcd..a3cea726af7 100644 --- a/bench/qemu/optimized/job.ll +++ b/bench/qemu/optimized/job.ll @@ -1978,21 +1978,18 @@ job_prepare_locked.exit.thread: ; preds = %15, %job_prepare_lo store i32 %47, ptr %6, align 8 %48 = getelementptr inbounds nuw i8, ptr %45, i64 8 %49 = load ptr, ptr %48, align 8 - br label %50 - -50: ; preds = %51, %._crit_edge - %.010.i6 = phi ptr [ %49, %._crit_edge ], [ %53, %51 ] - %.not.i7 = icmp eq ptr %.010.i6, null - br i1 %.not.i7, label %job_txn_apply_locked.exit10, label %51 - -51: ; preds = %50 - %52 = getelementptr inbounds nuw i8, ptr %.010.i6, i64 264 - %53 = load ptr, ptr %52, align 8 - %54 = tail call fastcc i32 @job_finalize_single_locked(ptr noundef nonnull %.010.i6) #15, !callees !12 - %.not13.i8 = icmp eq i32 %54, 0 - br i1 %.not13.i8, label %50, label %job_txn_apply_locked.exit10, !llvm.loop !11 - -job_txn_apply_locked.exit10: ; preds = %50, %51 + %.not.i717 = icmp eq ptr %49, null + br i1 %.not.i717, label %job_txn_apply_locked.exit10, label %.lr.ph20 + +.lr.ph20:; preds = %._crit_edge, %.lr.ph20 + %.010.i618 = phi ptr [ %51, %.lr.ph20 ], [ %49, %._crit_edge ] + %50 = getelementptr inbounds nuw i8, ptr %.010.i618, i64 264 + %51 = load ptr, ptr %50, align 8 + tail call fastcc void @job_finalize_single_locked(ptr noundef nonnull %.010.i618) #15 + %.not.i7 = icmp eq ptr %51, null + br i1 %.not.i7, label %job_txn_apply_locked.exit10, label %.lr.ph20, !llvm.loop !11 + +job_txn_apply_locked.exit10:; preds = %.lr.ph20, %._crit_edge tail call void @job_unref_locked(ptr noundef nonnull %0) br label %55 @@ -2507,7 +2504,7 @@ trace_job_completed.exit: ; preds = %trace_job_completed %49 = getelementptr inbounds nuw i8, ptr %.019.i, i64 264 %.0.i12 = load ptr, ptr %49, align 8 %.not.i13 = icmp eq ptr %.0.i12, null - br i1 %.not.i13, label %._crit_edge.i, label %.lr.ph.i, !llvm.loop !13 + br i1 %.not.i13, label %._crit_edge.i, label %.lr.ph.i, !llvm.loop !12 .lr.ph.i: ; preds = %45, %48 %.019.i = phi ptr [ %.0.i12, %48 ], [ %.017.i, %45 ] @@ -2647,7 +2644,7 @@ define internal fastcc void @job_completed_txn_abort_locked(ptr noundef %0) unna %16 = getelementptr inbounds nuw i8, ptr %.024, i64 264 %.0 = load ptr, ptr %16, align 8 %.not = icmp eq ptr %.0, null - br i1 %.not, label %.preheader, label %.lr.ph, !llvm.loop !14 + br i1 %.not, label %.preheader, label %.lr.ph, !llvm.loop !13 .lr.ph26: ; preds = %.preheader, %job_is_completed_locked.exit.thread %17 = phi ptr [ %27, %job_is_completed_locked.exit.thread ], [ %.pre, %.preheader ] @@ -2686,10 +2683,10 @@ job_is_completed_locked.exit: ; preds = %.lr.ph26, %.lr.ph26 br label %job_is_completed_locked.exit.thread job_is_completed_locked.exit.thread: ; preds = %.lr.ph26, %.lr.ph26, %.lr.ph26, %.lr.ph26, %.lr.ph26, %24 - %26 = tail call fastcc i32 @job_finalize_single_locked(ptr noundef nonnull %17) + tail call fastcc void @job_finalize_single_locked(ptr noundef nonnull %17) %27 = load ptr, ptr %13, align 8 %.not19 = icmp eq ptr %27, null - br i1 %.not19, label %._crit_edge, label %.lr.ph26, !llvm.loop !15 + br i1 %.not19, label %._crit_edge, label %.lr.ph26, !llvm.loop !14 ._crit_edge: ; preds = %job_is_completed_locked.exit.thread, %6, %.preheader tail call void @job_unref_locked(ptr noundef %0) @@ -2845,7 +2842,7 @@ job_enter.exit: ; preds = %in_aio_context_home 45: ; preds = %job_enter.exit, %job_enter.exit, %job_enter.exit, %job_enter.exit, %job_enter.exit, %job_enter.exit call void @qemu_mutex_unlock_impl(ptr noundef nonnull @job_mutex, ptr noundef nonnull @.str.29, i32 noundef 56) #15 %46 = call zeroext i1 @aio_poll(ptr noundef nonnull %14, i1 noundef zeroext true) #15 - br label %in_aio_context_home_thread.exit, !llvm.loop !16 + br label %in_aio_context_home_thread.exit, !llvm.loop !15 in_aio_context_home_thread.exit.thread: ; preds = %19, %22, %.thread %47 = call ptr @qemu_get_current_aio_context() #15 @@ -2922,7 +2919,7 @@ job_enter.exit32: ; preds = %56, %59, %62, %65 call void @qemu_mutex_unlock_impl(ptr noundef nonnull @job_mutex, ptr noundef nonnull @.str.29, i32 noundef 56) #15 %74 = call ptr @qemu_get_aio_context() #15 %75 = call zeroext i1 @aio_poll(ptr noundef %74, i1 noundef zeroext true) #15 - br label %56, !llvm.loop !17 + br label %56, !llvm.loop !16 job_is_completed.exit.thread: ; preds = %job_enter.exit, %job_enter.exit, %job_enter.exit, %job_enter.exit, %job_enter.exit, %job_enter.exit32, %job_enter.exit32, %job_enter.exit32, %job_enter.exit32, %job_enter.exit32 call void @qemu_mutex_unlock_impl(ptr noundef nonnull @job_mutex, ptr noundef nonnull @.str.29, i32 noundef 56) #15 @@ -2998,7 +2995,7 @@ define dso_local void @job_cancel_sync_all() local_unnamed_addr #0 { %3 = tail call i32 @job_finish_sync_locked(ptr noundef nonnull %.0.i3, ptr noundef nonnull @job_force_cancel_err_locked, ptr noundef null) %.0.i = load ptr, ptr @jobs, align 8 %.not = icmp eq ptr %.0.i, null - br i1 %.not, label %glib_autoptr_cleanup_QemuLockable.exit, label %.lr.ph, !llvm.loop !18 + br i1 %.not, label %glib_autoptr_cleanup_QemuLockable.exit, label %.lr.ph, !llvm.loop !17 glib_autoptr_cleanup_QemuLockable.exit: ; preds = %.lr.ph, %0 tail call void @qemu_mutex_unlock_impl(ptr noundef nonnull @job_mutex, ptr noundef nonnull @.str.29, i32 noundef 56) #15 @@ -3097,7 +3094,7 @@ declare void @aio_co_reschedule_self(ptr noundef) #1 declare void @notifier_list_notify(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nounwind sspstrong uwtable -define internal fastcc noundef i32 @job_finalize_single_locked(ptr noundef %0) unnamed_addr #0 { +define internal fastcc void @job_finalize_single_locked(ptr noundef %0) unnamed_addr #0 { %2 = getelementptr inbounds nuw i8, ptr %0, i64 124 %3 = load i32, ptr %2, align 4 switch i32 %3, label %4 [ @@ -3406,7 +3403,7 @@ job_do_dismiss_locked.exit: ; preds = %88, %job_txn_unref_ br label %job_conclude_locked.exit job_conclude_locked.exit: ; preds = %87, %job_do_dismiss_locked.exit - ret i32 0 + ret void } ; Function Attrs: nounwind @@ -3476,10 +3473,9 @@ attributes #18 = { nounwind willreturn memory(read) } !9 = !{!"llvm.loop.mustprogress"} !10 = distinct !{!10, !9} !11 = distinct !{!11, !9} -!12 = distinct !{ptr @job_finalize_single_locked, null, null, null} +!12 = distinct !{!12, !9} !13 = distinct !{!13, !9} !14 = distinct !{!14, !9} !15 = distinct !{!15, !9} !16 = distinct !{!16, !9} !17 = distinct !{!17, !9} -!18 = distinct !{!18, !9} diff --git a/bench/raylib/optimized/raudio.ll b/bench/raylib/optimized/raudio.ll index 693d523c421..8125ebba73c 100644 --- a/bench/raylib/optimized/raudio.ll +++ b/bench/raylib/optimized/raudio.ll @@ -8221,7 +8221,7 @@ ma_mutex_init.exit.thread: ; preds = %ma_dlsym.exit425, % } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define internal noundef i32 @ma_context_init__null(ptr readnone captures(none) %0, ptr readnone captures(none) %1, ptr noundef writeonly captures(none) initializes((0, 88)) %2) #0 { +define internal noundef range(i32 0, 1) i32 @ma_context_init__null(ptr readnone captures(none) %0, ptr readnone captures(none) %1, ptr noundef writeonly captures(none) initializes((0, 88)) %2) #0 { store ptr @ma_context_init__null, ptr %2, align 8 %4 = getelementptr inbounds nuw i8, ptr %2, i64 8 store ptr @ma_context_uninit__null, ptr %4, align 8 @@ -8316,7 +8316,7 @@ ma_free.exit: ; preds = %8, %17, %20 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef i64 @ma_context_sizeof() local_unnamed_addr #1 { +define hidden noundef range(i64 1016, 1017) i64 @ma_context_sizeof() local_unnamed_addr #1 { ret i64 1016 } @@ -11851,7 +11851,7 @@ ma_channel_map_get_channel.exit: ; preds = %.lr.ph.split, %52 } ; Function Attrs: nounwind uwtable -define hidden noundef i32 @ma_duplex_rb_uninit(ptr noundef readonly captures(address_is_null) %0) local_unnamed_addr #6 { +define hidden noundef range(i32 0, 1) i32 @ma_duplex_rb_uninit(ptr noundef readonly captures(address_is_null) %0) local_unnamed_addr #6 { %2 = icmp eq ptr %0, null br i1 %2, label %ma_pcm_rb_uninit.exit, label %3 @@ -30413,7 +30413,7 @@ ma_free.exit: ; preds = %30, %28, %25, %20, } ; Function Attrs: nounwind uwtable -define hidden noundef range(i32 -2, 1) i32 @ma_spatializer_process_pcm_frames(ptr noundef %0, ptr noundef %1, ptr noundef captures(address) %2, ptr noundef readonly captures(address) %3, i64 noundef %4) local_unnamed_addr #40 { +define hidden noundef range(i32 0, 1) i32 @ma_spatializer_process_pcm_frames(ptr noundef %0, ptr noundef %1, ptr noundef captures(address) %2, ptr noundef readonly captures(address) %3, i64 noundef %4) local_unnamed_addr #40 { %6 = alloca %struct.ma_vec3f, align 8 %7 = alloca %struct.ma_vec3f, align 8 %8 = getelementptr inbounds nuw i8, ptr %0, i64 8 @@ -80955,7 +80955,7 @@ define internal i64 @drmp3__on_read_memory(ptr noundef captures(none) %0, ptr no } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef i32 @drmp3__on_seek_memory(ptr noundef captures(none) %0, i32 noundef %1, i32 noundef %2) #17 { +define internal noundef range(i32 1, 2) i32 @drmp3__on_seek_memory(ptr noundef captures(none) %0, i32 noundef %1, i32 noundef %2) #17 { %4 = icmp eq i32 %2, 1 br i1 %4, label %5, label %29 @@ -83520,7 +83520,7 @@ define internal void @drmp3__free_default(ptr noundef captures(none) %0, ptr rea } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define hidden noundef i32 @qoa_encode_header(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) local_unnamed_addr #17 { +define hidden noundef range(i32 8, 9) i32 @qoa_encode_header(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) local_unnamed_addr #17 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 8 %4 = load i32, ptr %3, align 4 store i8 113, ptr %1, align 1 @@ -98935,7 +98935,7 @@ declare i32 @pthread_cond_wait(ptr noundef, ptr noundef) local_unnamed_addr #60 declare i32 @pthread_cond_signal(ptr noundef) local_unnamed_addr #11 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @ma_job_process__quit(ptr readnone captures(none) %0) #1 { +define internal noundef range(i32 0, 1) i32 @ma_job_process__quit(ptr readnone captures(none) %0) #1 { ret i32 0 } @@ -98956,52 +98956,52 @@ define internal i32 @ma_job_process__custom(ptr noundef %0) #6 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @ma_job_process__resource_manager__load_data_buffer_node(ptr readnone captures(none) %0) #1 { +define internal noundef range(i32 0, 1) i32 @ma_job_process__resource_manager__load_data_buffer_node(ptr readnone captures(none) %0) #1 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @ma_job_process__resource_manager__free_data_buffer_node(ptr readnone captures(none) %0) #1 { +define internal noundef range(i32 0, 1) i32 @ma_job_process__resource_manager__free_data_buffer_node(ptr readnone captures(none) %0) #1 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @ma_job_process__resource_manager__page_data_buffer_node(ptr readnone captures(none) %0) #1 { +define internal noundef range(i32 0, 1) i32 @ma_job_process__resource_manager__page_data_buffer_node(ptr readnone captures(none) %0) #1 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @ma_job_process__resource_manager__load_data_buffer(ptr readnone captures(none) %0) #1 { +define internal noundef range(i32 0, 1) i32 @ma_job_process__resource_manager__load_data_buffer(ptr readnone captures(none) %0) #1 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @ma_job_process__resource_manager__free_data_buffer(ptr readnone captures(none) %0) #1 { +define internal noundef range(i32 0, 1) i32 @ma_job_process__resource_manager__free_data_buffer(ptr readnone captures(none) %0) #1 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @ma_job_process__resource_manager__load_data_stream(ptr readnone captures(none) %0) #1 { +define internal noundef range(i32 0, 1) i32 @ma_job_process__resource_manager__load_data_stream(ptr readnone captures(none) %0) #1 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @ma_job_process__resource_manager__free_data_stream(ptr readnone captures(none) %0) #1 { +define internal noundef range(i32 0, 1) i32 @ma_job_process__resource_manager__free_data_stream(ptr readnone captures(none) %0) #1 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @ma_job_process__resource_manager__page_data_stream(ptr readnone captures(none) %0) #1 { +define internal noundef range(i32 0, 1) i32 @ma_job_process__resource_manager__page_data_stream(ptr readnone captures(none) %0) #1 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @ma_job_process__resource_manager__seek_data_stream(ptr readnone captures(none) %0) #1 { +define internal noundef range(i32 0, 1) i32 @ma_job_process__resource_manager__seek_data_stream(ptr readnone captures(none) %0) #1 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @ma_job_process__device__aaudio_reroute(ptr readnone captures(none) %0) #1 { +define internal noundef range(i32 0, 1) i32 @ma_job_process__device__aaudio_reroute(ptr readnone captures(none) %0) #1 { ret i32 0 } @@ -99175,7 +99175,7 @@ ma_wait_for_pa_context_to_connect__pulse.exit: ; preds = %44 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_context_uninit__pulse(ptr noundef readonly captures(none) %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_context_uninit__pulse(ptr noundef readonly captures(none) %0) #6 { %2 = getelementptr inbounds nuw i8, ptr %0, i64 608 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds nuw i8, ptr %0, i64 928 @@ -100843,7 +100843,7 @@ ma_log_post.exit: ; preds = %354, %613, %93, %ma } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_uninit__pulse(ptr noundef readonly captures(none) %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_uninit__pulse(ptr noundef readonly captures(none) %0) #6 { %2 = load ptr, ptr %0, align 8 %3 = getelementptr inbounds nuw i8, ptr %0, i64 8 %4 = load i32, ptr %3, align 8 @@ -101007,7 +101007,7 @@ thread-pre-split: ; preds = %5 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_data_loop__pulse(ptr noundef readonly captures(address_is_null) %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_data_loop__pulse(ptr noundef readonly captures(address_is_null) %0) #6 { %.old = icmp eq ptr %0, null br i1 %.old, label %ma_device_get_state.exit.thread, label %ma_device_get_state.exit.preheader @@ -101035,7 +101035,7 @@ ma_device_get_state.exit.thread: ; preds = %6, %ma_device_get_s } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_data_loop_wakeup__pulse(ptr noundef readonly captures(none) %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_data_loop_wakeup__pulse(ptr noundef readonly captures(none) %0) #6 { %2 = load ptr, ptr %0, align 8 %3 = getelementptr inbounds nuw i8, ptr %2, i64 472 %4 = load ptr, ptr %3, align 8 @@ -102305,7 +102305,7 @@ define internal void @ma_pulse_operation_complete_callback(ptr readnone captures } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_context_uninit__alsa(ptr noundef %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_context_uninit__alsa(ptr noundef %0) #6 { ma_context_get_log.exit: %1 = getelementptr inbounds nuw i8, ptr %0, i64 424 %2 = getelementptr inbounds nuw i8, ptr %0, i64 952 @@ -103036,7 +103036,7 @@ thread-pre-split: ; preds = %7 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_uninit__alsa(ptr noundef readonly captures(none) %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_uninit__alsa(ptr noundef readonly captures(none) %0) #6 { %2 = getelementptr inbounds nuw i8, ptr %0, i64 3424 %3 = getelementptr inbounds nuw i8, ptr %0, i64 3432 %4 = load ptr, ptr %3, align 8 @@ -103178,7 +103178,7 @@ ma_log_post.exit: ; preds = %ma_device_get_conte } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_stop__alsa(ptr noundef readonly captures(none) %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_stop__alsa(ptr noundef readonly captures(none) %0) #6 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = getelementptr inbounds nuw i8, ptr %0, i64 8 @@ -106060,12 +106060,12 @@ ma_device_get_log.exit59: ; preds = %ma_device_get_conte declare noundef i64 @write(i32 noundef, ptr noundef readonly captures(none), i64 noundef) local_unnamed_addr #67 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @ma_context_uninit__null(ptr readnone captures(none) %0) #1 { +define internal noundef range(i32 0, 1) i32 @ma_context_uninit__null(ptr readnone captures(none) %0) #1 { ret i32 0 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_context_enumerate_devices__null(ptr noundef %0, ptr noundef readonly captures(none) %1, ptr noundef %2) #6 { +define internal noundef range(i32 0, 1) i32 @ma_context_enumerate_devices__null(ptr noundef %0, ptr noundef readonly captures(none) %1, ptr noundef %2) #6 { %4 = alloca %struct.ma_device_info, align 8 %5 = alloca %struct.ma_device_info, align 8 call void @llvm.lifetime.start.p0(ptr nonnull %4) @@ -106393,7 +106393,7 @@ ma_semaphore_init.exit.thread: ; preds = %113, %ma_semaphore_ } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_uninit__null(ptr noundef %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_uninit__null(ptr noundef %0) #6 { tail call fastcc void @ma_device_do_operation__null(ptr noundef %0, i32 noundef 3) %2 = getelementptr inbounds nuw i8, ptr %0, i64 3424 %.val.i = load i64, ptr %2, align 8 @@ -106414,7 +106414,7 @@ define internal noundef i32 @ma_device_uninit__null(ptr noundef %0) #6 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_start__null(ptr noundef %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_start__null(ptr noundef %0) #6 { tail call fastcc void @ma_device_do_operation__null(ptr noundef %0, i32 noundef 1) %2 = getelementptr inbounds nuw i8, ptr %0, i64 3768 store atomic i32 1, ptr %2 seq_cst, align 4 @@ -106422,7 +106422,7 @@ define internal noundef i32 @ma_device_start__null(ptr noundef %0) #6 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_stop__null(ptr noundef %0) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_stop__null(ptr noundef %0) #6 { tail call fastcc void @ma_device_do_operation__null(ptr noundef %0, i32 noundef 2) %2 = getelementptr inbounds nuw i8, ptr %0, i64 3768 store atomic i32 0, ptr %2 seq_cst, align 4 @@ -106430,7 +106430,7 @@ define internal noundef i32 @ma_device_stop__null(ptr noundef %0) #6 { } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_read__null(ptr noundef captures(none) %0, ptr noundef writeonly captures(address_is_null) %1, i32 noundef %2, ptr noundef writeonly captures(address_is_null) %3) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_read__null(ptr noundef captures(none) %0, ptr noundef writeonly captures(address_is_null) %1, i32 noundef %2, ptr noundef writeonly captures(address_is_null) %3) #6 { %5 = alloca %struct.timespec, align 8 %6 = alloca %struct.timespec, align 8 %.not = icmp eq ptr %3, null @@ -106570,7 +106570,7 @@ define internal noundef i32 @ma_device_read__null(ptr noundef captures(none) %0, } ; Function Attrs: nounwind uwtable -define internal noundef i32 @ma_device_write__null(ptr noundef %0, ptr readnone captures(none) %1, i32 noundef %2, ptr noundef writeonly captures(address_is_null) %3) #6 { +define internal noundef range(i32 0, 1) i32 @ma_device_write__null(ptr noundef %0, ptr readnone captures(none) %1, i32 noundef %2, ptr noundef writeonly captures(address_is_null) %3) #6 { %5 = alloca %struct.timespec, align 8 %6 = alloca %struct.timespec, align 8 %.not = icmp eq ptr %3, null @@ -107900,7 +107900,7 @@ ma_channel_map_is_passthrough.exit.thread: ; preds = %22, %21, %16, %ma_c } ; Function Attrs: nofree norecurse nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal noundef i32 @ma_pcm_rb_data_source__on_read(ptr noundef captures(address_is_null) %0, ptr noundef writeonly captures(address) %1, i64 noundef %2, ptr noundef writeonly captures(none) %3) #24 { +define internal noundef range(i32 0, 1) i32 @ma_pcm_rb_data_source__on_read(ptr noundef captures(address_is_null) %0, ptr noundef writeonly captures(address) %1, i64 noundef %2, ptr noundef writeonly captures(none) %3) #24 { %5 = icmp eq ptr %0, null %6 = icmp eq i64 %2, 0 %or.cond44 = or i1 %5, %6 @@ -108047,7 +108047,7 @@ ma_rb_pointer_distance.exit.i.i: ; preds = %82, %80 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal noundef i32 @ma_pcm_rb_data_source__on_get_data_format(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(address_is_null) %1, ptr noundef writeonly captures(address_is_null) %2, ptr noundef writeonly captures(address_is_null) %3, ptr noundef writeonly captures(address_is_null) %4, i64 noundef %5) #22 { +define internal noundef range(i32 0, 1) i32 @ma_pcm_rb_data_source__on_get_data_format(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(address_is_null) %1, ptr noundef writeonly captures(address_is_null) %2, ptr noundef writeonly captures(address_is_null) %3, ptr noundef writeonly captures(address_is_null) %4, i64 noundef %5) #22 { %.not = icmp eq ptr %1, null br i1 %.not, label %10, label %7 @@ -108234,7 +108234,7 @@ ma_audio_buffer_ref_seek_to_pcm_frame.exit: ; preds = %2, %4, %8 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal noundef i32 @ma_audio_buffer_ref__data_source_on_get_data_format(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 4)) %1, ptr noundef writeonly captures(none) initializes((0, 4)) %2, ptr noundef writeonly captures(none) initializes((0, 4)) %3, ptr noundef writeonly captures(address_is_null) %4, i64 noundef %5) #22 { +define internal noundef range(i32 0, 1) i32 @ma_audio_buffer_ref__data_source_on_get_data_format(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 4)) %1, ptr noundef writeonly captures(none) initializes((0, 4)) %2, ptr noundef writeonly captures(none) initializes((0, 4)) %3, ptr noundef writeonly captures(address_is_null) %4, i64 noundef %5) #22 { %7 = getelementptr inbounds nuw i8, ptr %0, i64 72 %8 = load i32, ptr %7, align 8 store i32 %8, ptr %1, align 4 @@ -108271,7 +108271,7 @@ ma_channel_map_init_standard.exit: ; preds = %.preheader.i, %6 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef i32 @ma_audio_buffer_ref__data_source_on_get_cursor(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #17 { +define internal noundef range(i32 0, 1) i32 @ma_audio_buffer_ref__data_source_on_get_cursor(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #17 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 88 %4 = load i64, ptr %3, align 8 store i64 %4, ptr %1, align 8 @@ -108279,7 +108279,7 @@ define internal noundef i32 @ma_audio_buffer_ref__data_source_on_get_cursor(ptr } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef i32 @ma_audio_buffer_ref__data_source_on_get_length(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #17 { +define internal noundef range(i32 0, 1) i32 @ma_audio_buffer_ref__data_source_on_get_length(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #17 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 96 %4 = load i64, ptr %3, align 8 store i64 %4, ptr %1, align 8 @@ -108492,7 +108492,7 @@ ma_paged_audio_buffer_seek_to_pcm_frame.exit: ; preds = %44, %2, %4, %17, %2 } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal noundef i32 @ma_paged_audio_buffer__data_source_on_get_data_format(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 4)) %1, ptr noundef writeonly captures(none) initializes((0, 4)) %2, ptr noundef writeonly captures(none) initializes((0, 4)) %3, ptr noundef writeonly captures(address_is_null) %4, i64 noundef %5) #19 { +define internal noundef range(i32 0, 1) i32 @ma_paged_audio_buffer__data_source_on_get_data_format(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 4)) %1, ptr noundef writeonly captures(none) initializes((0, 4)) %2, ptr noundef writeonly captures(none) initializes((0, 4)) %3, ptr noundef writeonly captures(address_is_null) %4, i64 noundef %5) #19 { %7 = getelementptr inbounds nuw i8, ptr %0, i64 72 %8 = load ptr, ptr %7, align 8 %9 = load i32, ptr %8, align 8 @@ -108644,7 +108644,7 @@ define internal i32 @ma_decoder__data_source_on_get_length(ptr noundef readonly } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef i32 @ma_decoder__on_tell_memory(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #17 { +define internal noundef range(i32 0, 1) i32 @ma_decoder__on_tell_memory(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #17 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 544 %4 = load i64, ptr %3, align 8 store i64 %4, ptr %1, align 8 @@ -112620,7 +112620,7 @@ drwav__realloc_from_callbacks.exit.thread44: ; preds = %32, %33, %drwav__re } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef i32 @drwav__on_seek_memory_write(ptr noundef captures(none) %0, i32 noundef %1, i32 noundef %2) #17 { +define internal noundef range(i32 1, 2) i32 @drwav__on_seek_memory_write(ptr noundef captures(none) %0, i32 noundef %1, i32 noundef %2) #17 { %4 = icmp eq i32 %2, 1 br i1 %4, label %5, label %29 diff --git a/bench/raylib/optimized/rcore.ll b/bench/raylib/optimized/rcore.ll index f27f5b97dc1..9fee4a27719 100644 --- a/bench/raylib/optimized/rcore.ll +++ b/bench/raylib/optimized/rcore.ll @@ -22164,7 +22164,7 @@ define void @rlLoadExtensions(ptr noundef %0) local_unnamed_addr #0 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define noundef i32 @rlGetVersion() local_unnamed_addr #12 { +define noundef range(i32 3, 4) i32 @rlGetVersion() local_unnamed_addr #12 { ret i32 3 } @@ -24054,7 +24054,7 @@ define void @rlSetShader(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { } ; Function Attrs: nounwind uwtable -define noundef i32 @rlLoadComputeShaderProgram(i32 noundef %0) local_unnamed_addr #0 { +define noundef range(i32 0, 1) i32 @rlLoadComputeShaderProgram(i32 noundef %0) local_unnamed_addr #0 { tail call void (i32, ptr, ...) @TraceLog(i32 noundef 4, ptr noundef nonnull @.str.68) #62 ret i32 0 } @@ -24065,7 +24065,7 @@ define void @rlComputeShaderDispatch(i32 noundef %0, i32 noundef %1, i32 noundef } ; Function Attrs: nounwind uwtable -define noundef i32 @rlLoadShaderBuffer(i32 noundef %0, ptr noundef readnone captures(none) %1, i32 noundef %2) local_unnamed_addr #0 { +define noundef range(i32 0, 1) i32 @rlLoadShaderBuffer(i32 noundef %0, ptr noundef readnone captures(none) %1, i32 noundef %2) local_unnamed_addr #0 { tail call void (i32, ptr, ...) @TraceLog(i32 noundef 4, ptr noundef nonnull @.str.87) #62 ret i32 0 } @@ -24082,7 +24082,7 @@ define void @rlUpdateShaderBuffer(i32 noundef %0, ptr noundef readnone captures( } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define noundef i32 @rlGetShaderBufferSize(i32 noundef %0) local_unnamed_addr #12 { +define noundef range(i32 0, 1) i32 @rlGetShaderBufferSize(i32 noundef %0) local_unnamed_addr #12 { ret i32 0 } diff --git a/bench/raylib/optimized/rtextures.ll b/bench/raylib/optimized/rtextures.ll index bc7d7b4c9a7..add73d1b3bb 100644 --- a/bench/raylib/optimized/rtextures.ll +++ b/bench/raylib/optimized/rtextures.ll @@ -1796,12 +1796,12 @@ stbi__start_file.exit: ; preds = %26, %28 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef i32 @stbi_is_hdr_from_memory(ptr noundef readnone captures(none) %0, i32 noundef %1) local_unnamed_addr #6 { +define hidden noundef range(i32 0, 1) i32 @stbi_is_hdr_from_memory(ptr noundef readnone captures(none) %0, i32 noundef %1) local_unnamed_addr #6 { ret i32 0 } ; Function Attrs: nofree nounwind uwtable -define hidden noundef i32 @stbi_is_hdr(ptr noundef readonly captures(none) %0) local_unnamed_addr #7 { +define hidden noundef range(i32 0, 1) i32 @stbi_is_hdr(ptr noundef readonly captures(none) %0) local_unnamed_addr #7 { %2 = tail call noalias noundef ptr @fopen(ptr noundef readonly %0, ptr noundef nonnull @.str) %.not = icmp eq ptr %2, null br i1 %.not, label %5, label %3 @@ -1815,12 +1815,12 @@ define hidden noundef i32 @stbi_is_hdr(ptr noundef readonly captures(none) %0) l } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef i32 @stbi_is_hdr_from_file(ptr noundef readnone captures(none) %0) local_unnamed_addr #6 { +define hidden noundef range(i32 0, 1) i32 @stbi_is_hdr_from_file(ptr noundef readnone captures(none) %0) local_unnamed_addr #6 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef i32 @stbi_is_hdr_from_callbacks(ptr noundef readnone captures(none) %0, ptr noundef readnone captures(none) %1) local_unnamed_addr #6 { +define hidden noundef range(i32 0, 1) i32 @stbi_is_hdr_from_callbacks(ptr noundef readnone captures(none) %0, ptr noundef readnone captures(none) %1) local_unnamed_addr #6 { ret i32 0 } @@ -9961,7 +9961,7 @@ define hidden void @stbir_set_buffer_ptrs(ptr noundef captures(none) initializes } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define hidden noundef i32 @stbir_set_edgemodes(ptr noundef writeonly captures(none) initializes((120, 124), (152, 160)) %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #17 { +define hidden noundef range(i32 1, 2) i32 @stbir_set_edgemodes(ptr noundef writeonly captures(none) initializes((120, 124), (152, 160)) %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #17 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 152 store i32 %1, ptr %4, align 8 %5 = getelementptr inbounds nuw i8, ptr %0, i64 156 @@ -9972,7 +9972,7 @@ define hidden noundef i32 @stbir_set_edgemodes(ptr noundef writeonly captures(no } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define hidden noundef i32 @stbir_set_filters(ptr noundef writeonly captures(none) initializes((120, 124), (144, 152)) %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #17 { +define hidden noundef range(i32 1, 2) i32 @stbir_set_filters(ptr noundef writeonly captures(none) initializes((120, 124), (144, 152)) %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #17 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 144 store i32 %1, ptr %4, align 8 %5 = getelementptr inbounds nuw i8, ptr %0, i64 148 @@ -9983,7 +9983,7 @@ define hidden noundef i32 @stbir_set_filters(ptr noundef writeonly captures(none } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define hidden noundef i32 @stbir_set_filter_callbacks(ptr noundef writeonly captures(none) initializes((120, 124), (160, 192)) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #17 { +define hidden noundef range(i32 1, 2) i32 @stbir_set_filter_callbacks(ptr noundef writeonly captures(none) initializes((120, 124), (160, 192)) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #17 { %6 = getelementptr inbounds nuw i8, ptr %0, i64 160 store ptr %1, ptr %6, align 8 %7 = getelementptr inbounds nuw i8, ptr %0, i64 168 @@ -9998,7 +9998,7 @@ define hidden noundef i32 @stbir_set_filter_callbacks(ptr noundef writeonly capt } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define hidden noundef i32 @stbir_set_pixel_layouts(ptr noundef writeonly captures(none) initializes((120, 124), (128, 136)) %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #17 { +define hidden noundef range(i32 1, 2) i32 @stbir_set_pixel_layouts(ptr noundef writeonly captures(none) initializes((120, 124), (128, 136)) %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #17 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 128 store i32 %1, ptr %4, align 8 %5 = getelementptr inbounds nuw i8, ptr %0, i64 132 @@ -10009,7 +10009,7 @@ define hidden noundef i32 @stbir_set_pixel_layouts(ptr noundef writeonly capture } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define hidden noundef i32 @stbir_set_non_pm_alpha_speed_over_quality(ptr noundef writeonly captures(none) initializes((116, 124)) %0, i32 noundef %1) local_unnamed_addr #17 { +define hidden noundef range(i32 1, 2) i32 @stbir_set_non_pm_alpha_speed_over_quality(ptr noundef writeonly captures(none) initializes((116, 124)) %0, i32 noundef %1) local_unnamed_addr #17 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 116 store i32 %1, ptr %3, align 4 %4 = getelementptr inbounds nuw i8, ptr %0, i64 120 @@ -42915,7 +42915,7 @@ stbi__zhuffman_decode_slowpath.exit: ; preds = %72, %66, %52, %49, } ; Function Attrs: nounwind uwtable -define internal range(i32 0, 2) i32 @stbiw__outfile(ptr noundef nonnull %0, i32 %1, i32 %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef range(i32 0, 2) %6, ptr noundef readonly captures(none) %7, i32 noundef range(i32 0, 2) %8, i32 noundef range(i32 0, 4) %9, ptr noundef readonly captures(none) %10, ...) unnamed_addr #4 { +define internal range(i32 0, 2) i32 @stbiw__outfile(ptr noundef nonnull %0, i32 range(i32 -1, 0) %1, i32 range(i32 -1, 0) %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef range(i32 0, 2) %6, ptr noundef readonly captures(none) %7, i32 noundef range(i32 0, 2) %8, i32 noundef range(i32 0, 4) %9, ptr noundef readonly captures(none) %10, ...) unnamed_addr #4 { %12 = alloca [3 x i8], align 1 %13 = alloca i32, align 4 %14 = alloca [1 x %struct.__va_list_tag], align 16 @@ -59080,7 +59080,7 @@ define internal i32 @stbir__edge_wrap_full(i32 noundef %0, i32 noundef %1) #6 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @stbir__edge_zero_full(i32 %0, i32 %1) #6 { +define internal noundef range(i32 0, 1) i32 @stbir__edge_zero_full(i32 %0, i32 %1) #6 { ret i32 0 } diff --git a/bench/recastnavigation/optimized/catch_amalgamated.ll b/bench/recastnavigation/optimized/catch_amalgamated.ll index 6fa3df8fb70..215391c2003 100644 --- a/bench/recastnavigation/optimized/catch_amalgamated.ll +++ b/bench/recastnavigation/optimized/catch_amalgamated.ll @@ -29833,7 +29833,7 @@ define linkonce_odr dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx111 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i64 @_ZNK5Catch5Clara6Detail10ParserBase11cardinalityEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { +define dso_local noundef range(i64 1, 2) i64 @_ZNK5Catch5Clara6Detail10ParserBase11cardinalityEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { ret i64 1 } @@ -29910,17 +29910,17 @@ define dso_local void @_ZN5Catch5Clara6Detail10ResultBaseD0Ev(ptr nonnull readno } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNK5Catch5Clara6Detail8BoundRef11isContainerEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNK5Catch5Clara6Detail8BoundRef11isContainerEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNK5Catch5Clara6Detail8BoundRef6isFlagEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNK5Catch5Clara6Detail8BoundRef6isFlagEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNK5Catch5Clara6Detail16BoundFlagRefBase6isFlagEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { +define dso_local noundef zeroext range(i1 -1, 0) i1 @_ZNK5Catch5Clara6Detail16BoundFlagRefBase6isFlagEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { ret i1 true } @@ -48260,12 +48260,12 @@ _ZNK5Catch9StringRefeqES0_.exit.i.i.i72.i.i.i: ; preds = %152 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNK5Catch16TestCaseTracking8ITracker16isSectionTrackerEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNK5Catch16TestCaseTracking8ITracker16isSectionTrackerEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNK5Catch16TestCaseTracking8ITracker18isGeneratorTrackerEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { +define dso_local noundef zeroext range(i1 0, -1) i1 @_ZNK5Catch16TestCaseTracking8ITracker18isGeneratorTrackerEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { ret i1 false } @@ -48884,7 +48884,7 @@ define dso_local noundef zeroext i1 @_ZNK5Catch16TestCaseTracking14SectionTracke } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNK5Catch16TestCaseTracking14SectionTracker16isSectionTrackerEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { +define dso_local noundef zeroext range(i1 -1, 0) i1 @_ZNK5Catch16TestCaseTracking14SectionTracker16isSectionTrackerEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { ret i1 true } @@ -95393,7 +95393,7 @@ define internal void @"_ZN5Catch5Clara6Detail15BoundManyLambdaIZNS_21makeCommand } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef zeroext i1 @"_ZNK5Catch5Clara6Detail15BoundManyLambdaIZNS_21makeCommandLineParserERNS_10ConfigDataEE3$_0E11isContainerEv"(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZNK5Catch5Clara6Detail15BoundManyLambdaIZNS_21makeCommandLineParserERNS_10ConfigDataEE3$_0E11isContainerEv"(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { ret i1 true } @@ -96157,7 +96157,7 @@ define internal void @"_ZN5Catch5Clara6Detail15BoundManyLambdaIZNS_21makeCommand } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef zeroext i1 @"_ZNK5Catch5Clara6Detail15BoundManyLambdaIZNS_21makeCommandLineParserERNS_10ConfigDataEE3$_3E11isContainerEv"(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { +define internal noundef zeroext range(i1 -1, 0) i1 @"_ZNK5Catch5Clara6Detail15BoundManyLambdaIZNS_21makeCommandLineParserERNS_10ConfigDataEE3$_3E11isContainerEv"(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { ret i1 true } @@ -99983,7 +99983,7 @@ define internal noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Catch6Detail } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZNK5Catch6Detail12_GLOBAL__N_110CoutStream9isConsoleEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZNK5Catch6Detail12_GLOBAL__N_110CoutStream9isConsoleEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { ret i1 true } @@ -100131,7 +100131,7 @@ declare { i64, i64 } @_ZNSt15basic_streambufIcSt11char_traitsIcEE7seekoffElSt12_ declare { i64, i64 } @_ZNSt15basic_streambufIcSt11char_traitsIcEE7seekposESt4fposI11__mbstate_tESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(64), i64, i64, i32 noundef) unnamed_addr #18 ; Function Attrs: mustprogress uwtable -define internal noundef i32 @_ZN5Catch6Detail12_GLOBAL__N_113StreamBufImplINS1_17OutputDebugWriterELm256EE4syncEv(ptr noundef nonnull align 8 dereferenceable(328) %0) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 { +define internal noundef range(i32 0, 1) i32 @_ZN5Catch6Detail12_GLOBAL__N_113StreamBufImplINS1_17OutputDebugWriterELm256EE4syncEv(ptr noundef nonnull align 8 dereferenceable(328) %0) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 { %2 = alloca %"class.std::__cxx11::basic_string", align 8 %3 = alloca %"class.std::allocator.1", align 1 %4 = tail call noundef ptr @_ZNKSt15basic_streambufIcSt11char_traitsIcEE5pbaseEv(ptr noundef nonnull align 8 dereferenceable(64) %0) @@ -100199,7 +100199,7 @@ declare noundef i32 @_ZNSt15basic_streambufIcSt11char_traitsIcEE9pbackfailEi(ptr declare noundef i64 @_ZNSt15basic_streambufIcSt11char_traitsIcEE6xsputnEPKcl(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef, i64 noundef) unnamed_addr #18 ; Function Attrs: mustprogress uwtable -define internal noundef i32 @_ZN5Catch6Detail12_GLOBAL__N_113StreamBufImplINS1_17OutputDebugWriterELm256EE8overflowEi(ptr noundef nonnull align 8 dereferenceable(328) %0, i32 noundef %1) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 { +define internal noundef range(i32 0, 1) i32 @_ZN5Catch6Detail12_GLOBAL__N_113StreamBufImplINS1_17OutputDebugWriterELm256EE8overflowEi(ptr noundef nonnull align 8 dereferenceable(328) %0, i32 noundef %1) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 { %3 = alloca %"class.std::__cxx11::basic_string", align 8 %4 = alloca %"class.std::allocator.1", align 1 %5 = tail call noundef i32 @_ZN5Catch6Detail12_GLOBAL__N_113StreamBufImplINS1_17OutputDebugWriterELm256EE4syncEv(ptr noundef nonnull align 8 dereferenceable(328) %0) @@ -100301,7 +100301,7 @@ define internal noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Catch6Detail } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZNK5Catch6Detail12_GLOBAL__N_110CerrStream9isConsoleEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZNK5Catch6Detail12_GLOBAL__N_110CerrStream9isConsoleEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { ret i1 true } @@ -103168,7 +103168,7 @@ _ZN5Catch10Generators20GeneratorUntypedBase11countedNextEv.exit: ; preds = %74, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZNK5Catch10Generators12_GLOBAL__N_116GeneratorTracker18isGeneratorTrackerEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { +define internal noundef zeroext range(i1 -1, 0) i1 @_ZNK5Catch10Generators12_GLOBAL__N_116GeneratorTracker18isGeneratorTrackerEv(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #0 align 2 { ret i1 true } diff --git a/bench/rust-analyzer-rs/optimized/hajha7nvyoiczny.ll b/bench/rust-analyzer-rs/optimized/hajha7nvyoiczny.ll index b077434d769..bef7aa43208 100644 --- a/bench/rust-analyzer-rs/optimized/hajha7nvyoiczny.ll +++ b/bench/rust-analyzer-rs/optimized/hajha7nvyoiczny.ll @@ -2104,7 +2104,7 @@ _ZN4core3ops8function6FnOnce9call_once17h167a1c1bdefa33d1E.exit.i9.i: ; preds = } ; Function Attrs: nonlazybind uwtable -define hidden noundef zeroext i1 @"_ZN118_$LT$chalk_solve..clauses..env_elaborator..EnvElaborator$LT$I$GT$$u20$as$u20$chalk_ir..visit..TypeVisitor$LT$I$GT$$GT$17visit_domain_goal17h8d28d31bfee662a3E.llvm.15095859440380444305"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(32) %0, ptr noalias noundef readonly align 8 dereferenceable(40) %1, i32 noundef %2) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 0, -1) i1 @"_ZN118_$LT$chalk_solve..clauses..env_elaborator..EnvElaborator$LT$I$GT$$u20$as$u20$chalk_ir..visit..TypeVisitor$LT$I$GT$$GT$17visit_domain_goal17h8d28d31bfee662a3E.llvm.15095859440380444305"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(32) %0, ptr noalias noundef readonly align 8 dereferenceable(40) %1, i32 noundef %2) unnamed_addr #3 personality ptr @rust_eh_personality { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 @@ -2472,7 +2472,7 @@ define hidden void @"_ZN118_$LT$chalk_solve..clauses..env_elaborator..EnvElabora } ; Function Attrs: nonlazybind uwtable -define hidden noundef zeroext i1 @"_ZN118_$LT$chalk_solve..clauses..env_elaborator..EnvElaborator$LT$I$GT$$u20$as$u20$chalk_ir..visit..TypeVisitor$LT$I$GT$$GT$8visit_ty17hdf567930292527e5E.llvm.15095859440380444305"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(32) %0, ptr noalias noundef readonly align 8 dereferenceable(8) %1, i32 %2) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 0, -1) i1 @"_ZN118_$LT$chalk_solve..clauses..env_elaborator..EnvElaborator$LT$I$GT$$u20$as$u20$chalk_ir..visit..TypeVisitor$LT$I$GT$$GT$8visit_ty17hdf567930292527e5E.llvm.15095859440380444305"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(32) %0, ptr noalias noundef readonly align 8 dereferenceable(8) %1, i32 %2) unnamed_addr #3 personality ptr @rust_eh_personality { %4 = alloca {}, align 1 %5 = alloca ptr, align 8 %6 = alloca { { i64, [3 x i64] }, ptr }, align 8 @@ -4576,7 +4576,7 @@ define hidden void @"_ZN129_$LT$chalk_solve..rust_ir..OpaqueTyDatum$LT$I$GT$$u20 } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef i128 @_ZN12tracing_core8callsite8Callsite15private_type_id17h183c88c01ea0c0f0E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 { +define internal noundef range(i128 3426443349915538793607707548065177458, 3426443349915538793607707548065177459) i128 @_ZN12tracing_core8callsite8Callsite15private_type_id17h183c88c01ea0c0f0E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #7 { ret i128 3426443349915538793607707548065177458 } @@ -6873,7 +6873,7 @@ define internal noundef zeroext i1 @"_ZN4core3cmp5impls57_$LT$impl$u20$core..cmp } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @"_ZN4core3cmp5impls59_$LT$impl$u20$core..cmp..PartialEq$u20$for$u20$$LP$$RP$$GT$2eq17h4dc364d0a0121893E.llvm.15095859440380444305"(ptr noalias noundef nonnull readonly align 1 captures(none) %0, ptr noalias noundef nonnull readonly align 1 captures(none) %1) unnamed_addr #7 { +define hidden noundef zeroext range(i1 -1, 0) i1 @"_ZN4core3cmp5impls59_$LT$impl$u20$core..cmp..PartialEq$u20$for$u20$$LP$$RP$$GT$2eq17h4dc364d0a0121893E.llvm.15095859440380444305"(ptr noalias noundef nonnull readonly align 1 captures(none) %0, ptr noalias noundef nonnull readonly align 1 captures(none) %1) unnamed_addr #7 { ret i1 true } @@ -18119,12 +18119,12 @@ define hidden void @"_ZN55_$LT$hir_def..VariantId$u20$as$u20$core..hash..Hash$GT } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @"_ZN58_$LT$$u5b$T$u3b$$u20$N$u5d$$u20$as$u20$smallvec..Array$GT$4size17h07218c061ece22b7E.llvm.15095859440380444305"() unnamed_addr #7 { +define hidden noundef range(i64 1, 2) i64 @"_ZN58_$LT$$u5b$T$u3b$$u20$N$u5d$$u20$as$u20$smallvec..Array$GT$4size17h07218c061ece22b7E.llvm.15095859440380444305"() unnamed_addr #7 { ret i64 1 } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @"_ZN58_$LT$$u5b$T$u3b$$u20$N$u5d$$u20$as$u20$smallvec..Array$GT$4size17h7e5e8742a15d9ed9E.llvm.15095859440380444305"() unnamed_addr #7 { +define hidden noundef range(i64 2, 3) i64 @"_ZN58_$LT$$u5b$T$u3b$$u20$N$u5d$$u20$as$u20$smallvec..Array$GT$4size17h7e5e8742a15d9ed9E.llvm.15095859440380444305"() unnamed_addr #7 { ret i64 2 } @@ -22125,7 +22125,7 @@ define internal void @_ZN8chalk_ir4fold18FallibleTypeFolder13try_fold_goal17haa3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN8chalk_ir4fold18FallibleTypeFolder16forbid_free_vars17hfc4e4123a01be70aE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir4fold18FallibleTypeFolder16forbid_free_vars17hfc4e4123a01be70aE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { ret i1 false } @@ -22179,7 +22179,7 @@ define internal void @_ZN8chalk_ir4fold18FallibleTypeFolder20try_fold_free_var_t } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN8chalk_ir4fold18FallibleTypeFolder21forbid_inference_vars17h0606eec480a6ade2E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir4fold18FallibleTypeFolder21forbid_inference_vars17h0606eec480a6ade2E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { ret i1 false } @@ -22287,7 +22287,7 @@ define internal void @_ZN8chalk_ir4fold18FallibleTypeFolder23try_fold_program_cl } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN8chalk_ir4fold18FallibleTypeFolder24forbid_free_placeholders17h3b0f0d7b078b9475E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir4fold18FallibleTypeFolder24forbid_free_placeholders17h3b0f0d7b078b9475E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { ret i1 false } @@ -22415,7 +22415,7 @@ define hidden noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor10visit_goal17h } ; Function Attrs: nonlazybind uwtable -define internal noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor11visit_const17h942c7c7cbb37666eE(ptr noalias readnone align 8 captures(none) %0, ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %1, i32 noundef %2) unnamed_addr #3 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir5visit11TypeVisitor11visit_const17h942c7c7cbb37666eE(ptr noalias readnone align 8 captures(none) %0, ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %1, i32 noundef %2) unnamed_addr #3 { %4 = alloca { i64, [2 x i64] }, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !5831) %5 = load ptr, ptr %1, align 8, !alias.scope !5834, !noalias !5837, !nonnull !9, !noundef !9 @@ -22439,7 +22439,7 @@ define internal noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor11visit_const } ; Function Attrs: nonlazybind uwtable -define hidden noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor11visit_const17hfbd2b8afd568c0fcE.llvm.15095859440380444305(ptr noalias noundef readonly align 8 captures(none) dereferenceable(32) %0, ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %1, i32 noundef %2) unnamed_addr #3 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir5visit11TypeVisitor11visit_const17hfbd2b8afd568c0fcE.llvm.15095859440380444305(ptr noalias noundef readonly align 8 captures(none) dereferenceable(32) %0, ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %1, i32 noundef %2) unnamed_addr #3 { %4 = alloca { i64, [2 x i64] }, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !5840) tail call void @llvm.experimental.noalias.scope.decl(metadata !5843) @@ -22470,17 +22470,17 @@ define hidden noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor11visit_const17 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor14visit_free_var17hf5236b941e3d35c1E(ptr noalias readnone align 8 captures(none) %0, i64 %1, i32 %2, i32 %3) unnamed_addr #4 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir5visit11TypeVisitor14visit_free_var17hf5236b941e3d35c1E(ptr noalias readnone align 8 captures(none) %0, i64 %1, i32 %2, i32 %3) unnamed_addr #4 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor14visit_free_var17hf8b8acda7157559fE.llvm.15095859440380444305(ptr noalias readnone align 8 captures(none) %0, i64 %1, i32 %2, i32 %3) unnamed_addr #4 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir5visit11TypeVisitor14visit_free_var17hf8b8acda7157559fE.llvm.15095859440380444305(ptr noalias readnone align 8 captures(none) %0, i64 %1, i32 %2, i32 %3) unnamed_addr #4 { ret i1 false } ; Function Attrs: nonlazybind uwtable -define internal noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor14visit_lifetime17h37af3a9c0b2b2f8aE(ptr noalias readnone align 8 captures(none) %0, ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %1, i32 noundef %2) unnamed_addr #3 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir5visit11TypeVisitor14visit_lifetime17h37af3a9c0b2b2f8aE(ptr noalias readnone align 8 captures(none) %0, ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %1, i32 noundef %2) unnamed_addr #3 { %4 = alloca { i64, [2 x i64] }, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !5853) %5 = load ptr, ptr %1, align 8, !alias.scope !5856, !noalias !5859, !nonnull !9, !noundef !9 @@ -22504,7 +22504,7 @@ define internal noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor14visit_lifet } ; Function Attrs: nonlazybind uwtable -define hidden noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor14visit_lifetime17h3d178f35b9aca5faE.llvm.15095859440380444305(ptr noalias noundef readonly align 8 captures(none) dereferenceable(32) %0, ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %1, i32 noundef %2) unnamed_addr #3 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir5visit11TypeVisitor14visit_lifetime17h3d178f35b9aca5faE.llvm.15095859440380444305(ptr noalias noundef readonly align 8 captures(none) dereferenceable(32) %0, ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %1, i32 noundef %2) unnamed_addr #3 { %4 = alloca { i64, [2 x i64] }, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !5863) tail call void @llvm.experimental.noalias.scope.decl(metadata !5866) @@ -22535,17 +22535,17 @@ define hidden noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor14visit_lifetim } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor16forbid_free_vars17h80661ff225b78d56E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir5visit11TypeVisitor16forbid_free_vars17h80661ff225b78d56E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor16forbid_free_vars17h9295ad43463ad2edE.llvm.15095859440380444305(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir5visit11TypeVisitor16forbid_free_vars17h9295ad43463ad2edE.llvm.15095859440380444305(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor16forbid_free_vars17hd45a6d03e3e72555E.llvm.15095859440380444305(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir5visit11TypeVisitor16forbid_free_vars17hd45a6d03e3e72555E.llvm.15095859440380444305(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { ret i1 false } @@ -22568,12 +22568,12 @@ define hidden noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor18visit_where_c } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor19visit_inference_var17h22cc7ea0b3a5dbdaE(ptr noalias readnone align 8 captures(none) %0, i32 %1, i32 %2) unnamed_addr #4 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir5visit11TypeVisitor19visit_inference_var17h22cc7ea0b3a5dbdaE(ptr noalias readnone align 8 captures(none) %0, i32 %1, i32 %2) unnamed_addr #4 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor19visit_inference_var17h6665168376ec1508E.llvm.15095859440380444305(ptr noalias readnone align 8 captures(none) %0, i32 %1, i32 %2) unnamed_addr #4 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir5visit11TypeVisitor19visit_inference_var17h6665168376ec1508E.llvm.15095859440380444305(ptr noalias readnone align 8 captures(none) %0, i32 %1, i32 %2) unnamed_addr #4 { ret i1 false } @@ -22622,9 +22622,6 @@ define hidden noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor20visit_program %9 = add i32 %2, 1 %10 = getelementptr inbounds nuw i8, ptr %1, i64 48 %11 = tail call noundef zeroext i1 @"_ZN118_$LT$chalk_solve..clauses..env_elaborator..EnvElaborator$LT$I$GT$$u20$as$u20$chalk_ir..visit..TypeVisitor$LT$I$GT$$GT$17visit_domain_goal17h8d28d31bfee662a3E.llvm.15095859440380444305"(ptr noundef nonnull align 1 %0, ptr noalias noundef nonnull readonly align 8 dereferenceable(40) %10, i32 noundef %9), !noalias !5895 - br i1 %11, label %"_ZN8chalk_ir5visit12boring_impls107_$LT$impl$u20$chalk_ir..visit..TypeSuperVisitable$LT$I$GT$$u20$for$u20$chalk_ir..ProgramClause$LT$I$GT$$GT$16super_visit_with17h7b89c25e0d584a87E.exit", label %12 - -12: ; preds = %3 tail call void %8(ptr noundef nonnull align 1 %4), !noalias !5898 %13 = tail call { ptr, i64 } @"_ZN75_$LT$hir_ty..interner..Interner$u20$as$u20$chalk_ir..interner..Interner$GT$10goals_data17ha93cba72b34a8460E"(ptr noalias noundef nonnull readonly align 8 dereferenceable(104) %1), !noalias !5904 %14 = extractvalue { ptr, i64 } %13, 0 @@ -22635,14 +22632,14 @@ define hidden noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor20visit_program %18 = tail call noundef zeroext i1 @_ZN8chalk_ir5visit12boring_impls10visit_iter17h683c0bda8badd470E.llvm.6150282900714191917(ptr noundef nonnull %14, ptr noundef nonnull %16, ptr noundef nonnull align 1 %0, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.4c1c81faaf4119674ab18ffb6752df2c.9.llvm.15095859440380444305, i32 noundef %9) br i1 %18, label %"_ZN8chalk_ir5visit12boring_impls107_$LT$impl$u20$chalk_ir..visit..TypeSuperVisitable$LT$I$GT$$u20$for$u20$chalk_ir..ProgramClause$LT$I$GT$$GT$16super_visit_with17h7b89c25e0d584a87E.exit", label %19 -19: ; preds = %12 +19: ; preds = %3 %20 = getelementptr inbounds nuw i8, ptr %1, i64 24 tail call void @llvm.experimental.noalias.scope.decl(metadata !5905) %21 = load ptr, ptr %0, align 8, !alias.scope !5905, !noalias !5908, !nonnull !9, !align !748, !noundef !9 %22 = load ptr, ptr %5, align 8, !alias.scope !5905, !noalias !5908, !nonnull !9, !align !30, !noundef !9 %23 = getelementptr inbounds nuw i8, ptr %22, i64 176 %24 = load ptr, ptr %23, align 8, !invariant.load !9, !noalias !5912, !nonnull !9 - tail call void %24(ptr noundef nonnull align 1 %21), !noalias !5912 + tail call void %23(ptr noundef nonnull align 1 %21), !noalias !5912 %25 = tail call { ptr, i64 } @"_ZN75_$LT$hir_ty..interner..Interner$u20$as$u20$chalk_ir..interner..Interner$GT$16constraints_data17h0931322a62f4ad89E"(ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %20), !noalias !5913 %26 = extractvalue { ptr, i64 } %25, 0 %27 = extractvalue { ptr, i64 } %25, 1 @@ -22652,48 +22649,48 @@ define hidden noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor20visit_program %30 = tail call noundef zeroext i1 @_ZN8chalk_ir5visit12boring_impls10visit_iter17ha7a59ed1f89cf770E.llvm.6150282900714191917(ptr noundef nonnull %26, ptr noundef nonnull %28, ptr noundef nonnull align 1 %0, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.4c1c81faaf4119674ab18ffb6752df2c.9.llvm.15095859440380444305, i32 noundef %9) br label %"_ZN8chalk_ir5visit12boring_impls107_$LT$impl$u20$chalk_ir..visit..TypeSuperVisitable$LT$I$GT$$u20$for$u20$chalk_ir..ProgramClause$LT$I$GT$$GT$16super_visit_with17h7b89c25e0d584a87E.exit" -"_ZN8chalk_ir5visit12boring_impls107_$LT$impl$u20$chalk_ir..visit..TypeSuperVisitable$LT$I$GT$$u20$for$u20$chalk_ir..ProgramClause$LT$I$GT$$GT$16super_visit_with17h7b89c25e0d584a87E.exit": ; preds = %3, %12, %19 - %.0.i.i = phi i1 [ true, %3 ], [ %30, %19 ], [ true, %12 ] +"_ZN8chalk_ir5visit12boring_impls107_$LT$impl$u20$chalk_ir..visit..TypeSuperVisitable$LT$I$GT$$u20$for$u20$chalk_ir..ProgramClause$LT$I$GT$$GT$16super_visit_with17h7b89c25e0d584a87E.exit": ; preds = %3, %19 + %.0.i.i = phi i1 [ %30, %18 ], [ true, %3 ] ret i1 %.0.i.i } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor21forbid_inference_vars17h268b0a3dcad392eeE.llvm.15095859440380444305(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir5visit11TypeVisitor21forbid_inference_vars17h268b0a3dcad392eeE.llvm.15095859440380444305(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor21forbid_inference_vars17h8bb2d0583ad41f98E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir5visit11TypeVisitor21forbid_inference_vars17h8bb2d0583ad41f98E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor21forbid_inference_vars17hf5d46db7d20f1d37E.llvm.15095859440380444305(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir5visit11TypeVisitor21forbid_inference_vars17hf5d46db7d20f1d37E.llvm.15095859440380444305(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor22visit_free_placeholder17h4e3dd544bea102e0E.llvm.15095859440380444305(ptr noalias readnone align 8 captures(none) %0, i64 %1, i64 %2, i32 %3) unnamed_addr #4 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir5visit11TypeVisitor22visit_free_placeholder17h4e3dd544bea102e0E.llvm.15095859440380444305(ptr noalias readnone align 8 captures(none) %0, i64 %1, i64 %2, i32 %3) unnamed_addr #4 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor22visit_free_placeholder17hcb8e087dc404180aE(ptr noalias readnone align 8 captures(none) %0, i64 %1, i64 %2, i32 %3) unnamed_addr #4 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir5visit11TypeVisitor22visit_free_placeholder17hcb8e087dc404180aE(ptr noalias readnone align 8 captures(none) %0, i64 %1, i64 %2, i32 %3) unnamed_addr #4 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor24forbid_free_placeholders17h2b0393d480eb7bf5E.llvm.15095859440380444305(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir5visit11TypeVisitor24forbid_free_placeholders17h2b0393d480eb7bf5E.llvm.15095859440380444305(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor24forbid_free_placeholders17h767e8ef7c8264c98E.llvm.15095859440380444305(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { +define hidden noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir5visit11TypeVisitor24forbid_free_placeholders17h767e8ef7c8264c98E.llvm.15095859440380444305(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef zeroext i1 @_ZN8chalk_ir5visit11TypeVisitor24forbid_free_placeholders17hedf37546662d0401E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { +define internal noundef zeroext range(i1 0, -1) i1 @_ZN8chalk_ir5visit11TypeVisitor24forbid_free_placeholders17hedf37546662d0401E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #4 { ret i1 false } @@ -97081,12 +97078,12 @@ _ZN8chalk_ir3zip6Zipper10zip_substs17hf0bbe86a042c5e7eE.exit: ; preds = %"_ZN4co } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef zeroext i1 @"_ZN106_$LT$hir_ty..infer..UnknownMismatch$u20$as$u20$chalk_ir..zip..Zipper$LT$hir_ty..interner..Interner$GT$$GT$13zip_lifetimes17h6b5d4c6ab8a289fdE"(ptr noalias noundef readnone align 8 captures(none) dereferenceable(16) %0, i8 noundef %1, ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %2, ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %3) unnamed_addr #4 { +define noundef zeroext range(i1 0, -1) i1 @"_ZN106_$LT$hir_ty..infer..UnknownMismatch$u20$as$u20$chalk_ir..zip..Zipper$LT$hir_ty..interner..Interner$GT$$GT$13zip_lifetimes17h6b5d4c6ab8a289fdE"(ptr noalias noundef readnone align 8 captures(none) dereferenceable(16) %0, i8 noundef %1, ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %2, ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %3) unnamed_addr #4 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef zeroext i1 @"_ZN106_$LT$hir_ty..infer..UnknownMismatch$u20$as$u20$chalk_ir..zip..Zipper$LT$hir_ty..interner..Interner$GT$$GT$10zip_consts17h539f6f40ca70acb0E"(ptr noalias noundef readnone align 8 captures(none) dereferenceable(16) %0, i8 noundef %1, ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %2, ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %3) unnamed_addr #4 { +define noundef zeroext range(i1 0, -1) i1 @"_ZN106_$LT$hir_ty..infer..UnknownMismatch$u20$as$u20$chalk_ir..zip..Zipper$LT$hir_ty..interner..Interner$GT$$GT$10zip_consts17h539f6f40ca70acb0E"(ptr noalias noundef readnone align 8 captures(none) dereferenceable(16) %0, i8 noundef %1, ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %2, ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %3) unnamed_addr #4 { ret i1 false } @@ -123171,7 +123168,7 @@ define void @"_ZN6hir_ty3mir6pretty38_$LT$impl$u20$hir_ty..mir..MirBody$GT$3dbg1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i32 @_ZN6hir_ty3mir11return_slot17h782db574e5417c7bE() unnamed_addr #4 { +define hidden noundef range(i32 0, 1) i32 @_ZN6hir_ty3mir11return_slot17h782db574e5417c7bE() unnamed_addr #4 { ret i32 0 } diff --git a/bench/rustfmt-rs/optimized/3sx1t619hmuq0zz7.ll b/bench/rustfmt-rs/optimized/3sx1t619hmuq0zz7.ll index 91473367ce1..a824a268852 100644 --- a/bench/rustfmt-rs/optimized/3sx1t619hmuq0zz7.ll +++ b/bench/rustfmt-rs/optimized/3sx1t619hmuq0zz7.ll @@ -7586,7 +7586,7 @@ define hidden void @"_ZN111_$LT$core..iter..adapters..zip..Zip$LT$A$C$B$GT$$u20$ } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef i128 @_ZN12tracing_core8callsite8Callsite15private_type_id17hfb7e722a243a34f3E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #6 { +define internal noundef range(i128 -106355411369418660168064328943368459870, -106355411369418660168064328943368459869) i128 @_ZN12tracing_core8callsite8Callsite15private_type_id17hfb7e722a243a34f3E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #6 { ret i128 -106355411369418660168064328943368459870 } @@ -7602,7 +7602,7 @@ define internal { ptr, i64 } @"_ZN223_$LT$$LT$alloc..boxed..Box$LT$dyn$u20$core. } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i128 @"_ZN36_$LT$T$u20$as$u20$core..any..Any$GT$7type_id17he696bfb04ee80346E"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #8 { +define hidden noundef range(i128 -3011075744290844973410273712836543551, -3011075744290844973410273712836543550) i128 @"_ZN36_$LT$T$u20$as$u20$core..any..Any$GT$7type_id17he696bfb04ee80346E"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #8 { ret i128 -3011075744290844973410273712836543551 } @@ -9370,7 +9370,7 @@ define hidden noundef range(i8 -1, 2) i8 @"_ZN4core3cmp5impls50_$LT$impl$u20$cor } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @"_ZN4core3cmp5impls59_$LT$impl$u20$core..cmp..PartialEq$u20$for$u20$$LP$$RP$$GT$2eq17h69f185b7d7f36108E.llvm.9097680112167513710"(ptr noalias noundef nonnull readonly align 1 captures(none) %0, ptr noalias noundef nonnull readonly align 1 captures(none) %1) unnamed_addr #6 { +define hidden noundef zeroext range(i1 -1, 0) i1 @"_ZN4core3cmp5impls59_$LT$impl$u20$core..cmp..PartialEq$u20$for$u20$$LP$$RP$$GT$2eq17h69f185b7d7f36108E.llvm.9097680112167513710"(ptr noalias noundef nonnull readonly align 1 captures(none) %0, ptr noalias noundef nonnull readonly align 1 captures(none) %1) unnamed_addr #6 { ret i1 true } @@ -14612,22 +14612,22 @@ define internal void @_ZN4core5error5Error7provide17ha681f76d74a66d79E(ptr noali } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef i128 @_ZN4core5error5Error7type_id17h12e13aa68c32275aE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #8 { +define internal noundef range(i128 -160801153614971999520238044150150024292, -160801153614971999520238044150150024291) i128 @_ZN4core5error5Error7type_id17h12e13aa68c32275aE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #8 { ret i128 -160801153614971999520238044150150024292 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef i128 @_ZN4core5error5Error7type_id17h3a837f5942766d31E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #8 { +define internal noundef range(i128 -75830239777244272428078731102167420456, -75830239777244272428078731102167420455) i128 @_ZN4core5error5Error7type_id17h3a837f5942766d31E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #8 { ret i128 -75830239777244272428078731102167420456 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef i128 @_ZN4core5error5Error7type_id17h73c9dc803536f25cE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #8 { +define internal noundef range(i128 162891727346842291855137646579817399037, 162891727346842291855137646579817399038) i128 @_ZN4core5error5Error7type_id17h73c9dc803536f25cE(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #8 { ret i128 162891727346842291855137646579817399037 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef i128 @_ZN4core5error5Error7type_id17hee1851edba76d695E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #8 { +define internal noundef range(i128 -49484255590571497175163467436125946506, -49484255590571497175163467436125946505) i128 @_ZN4core5error5Error7type_id17hee1851edba76d695E(ptr noalias readonly align 8 captures(none) %0) unnamed_addr #8 { ret i128 -49484255590571497175163467436125946506 } @@ -41124,7 +41124,7 @@ define void @"_ZN154_$LT$rustfmt_nightly..config..options..__define_config_type_ } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef zeroext i1 @"_ZN154_$LT$rustfmt_nightly..config..options..__define_config_type_on_enum_BraceStyle..BraceStyle$u20$as$u20$rustfmt_nightly..config..config_type..ConfigType$GT$14stable_variant17h75ffd15f579737f7E"(ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %0) unnamed_addr #8 { +define noundef zeroext range(i1 -1, 0) i1 @"_ZN154_$LT$rustfmt_nightly..config..options..__define_config_type_on_enum_BraceStyle..BraceStyle$u20$as$u20$rustfmt_nightly..config..config_type..ConfigType$GT$14stable_variant17h75ffd15f579737f7E"(ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %0) unnamed_addr #8 { ret i1 true } @@ -41301,7 +41301,7 @@ define void @"_ZN156_$LT$rustfmt_nightly..config..options..__define_config_type_ } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef zeroext i1 @"_ZN156_$LT$rustfmt_nightly..config..options..__define_config_type_on_enum_IndentStyle..IndentStyle$u20$as$u20$rustfmt_nightly..config..config_type..ConfigType$GT$14stable_variant17heccdf059f9c7d9feE"(ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %0) unnamed_addr #8 { +define noundef zeroext range(i1 -1, 0) i1 @"_ZN156_$LT$rustfmt_nightly..config..options..__define_config_type_on_enum_IndentStyle..IndentStyle$u20$as$u20$rustfmt_nightly..config..config_type..ConfigType$GT$14stable_variant17heccdf059f9c7d9feE"(ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %0) unnamed_addr #8 { ret i1 true } diff --git a/bench/rustfmt-rs/optimized/4ext43viwbyeinhu.ll b/bench/rustfmt-rs/optimized/4ext43viwbyeinhu.ll index d854ddee3f5..66353430f7f 100644 --- a/bench/rustfmt-rs/optimized/4ext43viwbyeinhu.ll +++ b/bench/rustfmt-rs/optimized/4ext43viwbyeinhu.ll @@ -8807,7 +8807,7 @@ _ZN5alloc3fmt6format17h35125637d547cb53E.exit108: ; preds = %switch.lookup143 } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define internal noundef i128 @_ZN12tracing_core8callsite8Callsite15private_type_id17hfb7e722a243a34f3E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #4 { +define internal noundef range(i128 -106355411369418660168064328943368459870, -106355411369418660168064328943368459869) i128 @_ZN12tracing_core8callsite8Callsite15private_type_id17hfb7e722a243a34f3E(ptr nonnull readnone align 8 captures(none) %0) unnamed_addr #4 { ret i128 -106355411369418660168064328943368459870 } @@ -8893,7 +8893,7 @@ _ZN4core3fmt8builders9DebugList7entries17h551b0af4821bc87aE.exit: ; preds = %.lr } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @"_ZN4core3cmp5impls59_$LT$impl$u20$core..cmp..PartialEq$u20$for$u20$$LP$$RP$$GT$2eq17h69f185b7d7f36108E.llvm.3200710723383270248"(ptr noalias noundef nonnull readonly align 1 captures(none) %0, ptr noalias noundef nonnull readonly align 1 captures(none) %1) unnamed_addr #4 { +define hidden noundef zeroext range(i1 -1, 0) i1 @"_ZN4core3cmp5impls59_$LT$impl$u20$core..cmp..PartialEq$u20$for$u20$$LP$$RP$$GT$2eq17h69f185b7d7f36108E.llvm.3200710723383270248"(ptr noalias noundef nonnull readonly align 1 captures(none) %0, ptr noalias noundef nonnull readonly align 1 captures(none) %1) unnamed_addr #4 { ret i1 true } @@ -14592,132 +14592,132 @@ define void @"_ZN121_$LT$rustfmt_nightly..config..macro_names..MacroSelectors$u2 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h00b7b4974a6e7947E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h00b7b4974a6e7947E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h0b389320d3d91044E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h0b389320d3d91044E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h10d3ef035176681dE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 8 captures(none) dereferenceable(48) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h10d3ef035176681dE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 8 captures(none) dereferenceable(48) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h14455e090de83addE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h14455e090de83addE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h2265c5a415630121E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 8 captures(none) dereferenceable(64) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h2265c5a415630121E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 8 captures(none) dereferenceable(64) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h2fe3410a20d56e58E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h2fe3410a20d56e58E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h52b82206ac507fccE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h52b82206ac507fccE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h5f718c7f933c93f2E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h5f718c7f933c93f2E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h6246322b12cccfb7E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h6246322b12cccfb7E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h6aa5d1293def2bdeE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h6aa5d1293def2bdeE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h7179ab370d92309aE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h7179ab370d92309aE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h756be38ea6338779E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h756be38ea6338779E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h757df5fcacacee35E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h757df5fcacacee35E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h823611530876d198E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h823611530876d198E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 8 captures(none) dereferenceable(8) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h832a08f35c9a5c1bE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h832a08f35c9a5c1bE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h894c9410eb3f0255E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h894c9410eb3f0255E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h8b71f17edcac7a90E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h8b71f17edcac7a90E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h940541d636e252ceE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17h940541d636e252ceE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17ha24dce843d16f34cE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17ha24dce843d16f34cE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17hac2a6c5ec18f7f39E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17hac2a6c5ec18f7f39E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17hc619ffc51dc9f058E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17hc619ffc51dc9f058E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17hd545342d9aa20c1eE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17hd545342d9aa20c1eE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17hd8a4198e17c6fc82E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17hd8a4198e17c6fc82E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17hdb6254689927d751E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17hdb6254689927d751E(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17hde5e03e4ba5a7c0dE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17hde5e03e4ba5a7c0dE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17hfc9e3b8132e538aaE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 8 captures(none) dereferenceable(72) %3) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN15rustfmt_nightly6config11config_type26is_stable_option_and_value17hfc9e3b8132e538aaE(ptr noalias noundef nonnull readonly align 1 captures(none) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noalias noundef readonly align 8 captures(none) dereferenceable(72) %3) unnamed_addr #3 personality ptr @rust_eh_personality { ret i1 true } @@ -32782,7 +32782,7 @@ define void @"_ZN156_$LT$rustfmt_nightly..config..options..__define_config_type_ } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef zeroext i1 @"_ZN156_$LT$rustfmt_nightly..config..options..__define_config_type_on_enum_TypeDensity..TypeDensity$u20$as$u20$rustfmt_nightly..config..config_type..ConfigType$GT$14stable_variant17hcb32e3c45278fe99E"(ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %0) unnamed_addr #3 { +define noundef zeroext range(i1 -1, 0) i1 @"_ZN156_$LT$rustfmt_nightly..config..options..__define_config_type_on_enum_TypeDensity..TypeDensity$u20$as$u20$rustfmt_nightly..config..config_type..ConfigType$GT$14stable_variant17hcb32e3c45278fe99E"(ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %0) unnamed_addr #3 { ret i1 true } @@ -33443,7 +33443,7 @@ define void @"_ZN148_$LT$rustfmt_nightly..config..options..__define_config_type_ } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef zeroext i1 @"_ZN148_$LT$rustfmt_nightly..config..options..__define_config_type_on_enum_Version..Version$u20$as$u20$rustfmt_nightly..config..config_type..ConfigType$GT$14stable_variant17h0e40af8e32141353E"(ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %0) unnamed_addr #3 { +define noundef zeroext range(i1 -1, 0) i1 @"_ZN148_$LT$rustfmt_nightly..config..options..__define_config_type_on_enum_Version..Version$u20$as$u20$rustfmt_nightly..config..config_type..ConfigType$GT$14stable_variant17h0e40af8e32141353E"(ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %0) unnamed_addr #3 { ret i1 true } @@ -33608,7 +33608,7 @@ define void @"_ZN152_$LT$rustfmt_nightly..config..options..__define_config_type_ } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef zeroext i1 @"_ZN152_$LT$rustfmt_nightly..config..options..__define_config_type_on_enum_Verbosity..Verbosity$u20$as$u20$rustfmt_nightly..config..config_type..ConfigType$GT$14stable_variant17h5d5787b7c12b5421E"(ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %0) unnamed_addr #3 { +define noundef zeroext range(i1 -1, 0) i1 @"_ZN152_$LT$rustfmt_nightly..config..options..__define_config_type_on_enum_Verbosity..Verbosity$u20$as$u20$rustfmt_nightly..config..config_type..ConfigType$GT$14stable_variant17h5d5787b7c12b5421E"(ptr noalias noundef readonly align 1 captures(none) dereferenceable(1) %0) unnamed_addr #3 { ret i1 true } diff --git a/bench/slurm/optimized/data.ll b/bench/slurm/optimized/data.ll index 08c26b6df38..e15010baa36 100644 --- a/bench/slurm/optimized/data.ll +++ b/bench/slurm/optimized/data.ll @@ -1203,7 +1203,7 @@ data_new.exit: ; preds = %2, %7, %10 br i1 %30, label %33, label %31 31: ; preds = %26 - %32 = tail call fastcc i32 @_data_list_join(ptr noundef nonnull %27, ptr noundef nonnull %3) + tail call fastcc void @_data_list_join(ptr noundef nonnull %27, ptr noundef nonnull %3) br label %data_list_for_each_const.exit.us 33: ; preds = %26 @@ -1214,25 +1214,17 @@ data_new.exit: ; preds = %2, %7, %10 %.not2331.i.us = icmp eq ptr %37, null br i1 %.not2331.i.us, label %data_list_for_each_const.exit.us, label %.lr.ph.i.us -.lr.ph.i.us: ; preds = %33, %.thread.i.us - %.01733.i.us = phi ptr [ %42, %.thread.i.us ], [ %37, %33 ] +.lr.ph.i.us: ; preds = %33, %.lr.ph.i.us + %.01733.i.us = phi ptr [ %40, %.lr.ph.i.us ], [ %37, %32 ] %38 = getelementptr inbounds nuw i8, ptr %.01733.i.us, i64 16 %39 = load ptr, ptr %38, align 8 - %40 = tail call fastcc i32 @_data_list_join(ptr noundef %39, ptr noundef nonnull %3) #15 - switch i32 %40, label %.split.us [ - i32 1, label %.thread.i.us - i32 2, label %.split22.us - i32 4, label %data_list_for_each_const.exit.us - i32 3, label %data_list_for_each_const.exit.us - ] - -.thread.i.us: ; preds = %.lr.ph.i.us - %41 = getelementptr inbounds nuw i8, ptr %.01733.i.us, i64 8 - %42 = load ptr, ptr %41, align 8 - %.not23.i.us = icmp eq ptr %42, null + tail call fastcc void @_data_list_join(ptr noundef %39, ptr noundef nonnull %3) #15 + %39 = getelementptr inbounds nuw i8, ptr %.01733.i.us, i64 8 + %40 = load ptr, ptr %39, align 8 + %.not23.i.us = icmp eq ptr %40, null br i1 %.not23.i.us, label %data_list_for_each_const.exit.us, label %.lr.ph.i.us, !llvm.loop !13 -data_list_for_each_const.exit.us: ; preds = %.lr.ph.i.us, %.lr.ph.i.us, %.thread.i.us, %33, %31 +data_list_for_each_const.exit.us: ; preds = %.lr.ph.i.us, %33, %31 %43 = add i64 %.020.us, 1 %44 = getelementptr inbounds nuw ptr, ptr %0, i64 %43 %45 = load ptr, ptr %44, align 8 @@ -1266,21 +1258,13 @@ data_list_for_each_const.exit.us: ; preds = %.lr.ph.i.us, %.lr.p br label %data_list_for_each_const.exit data_list_for_each_const.exit: ; preds = %50, %53, %.lr.ph.split - %57 = phi ptr [ %.pre24, %50 ], [ %.pre, %53 ], [ %46, %.lr.ph.split ] - %58 = tail call fastcc i32 @_data_list_join(ptr noundef %57, ptr noundef nonnull %3) + %57 = phi ptr [ %.pre24, %48 ], [ %.pre, %51 ], [ %46, %.lr.ph.split ] + tail call fastcc void @_data_list_join(ptr noundef %57, ptr noundef nonnull %3) %59 = add i64 %.020, 1 %60 = getelementptr inbounds nuw ptr, ptr %0, i64 %59 %61 = load ptr, ptr %60, align 8 %.not = icmp eq ptr %61, null br i1 %.not, label %._crit_edge, label %.lr.ph.split, !llvm.loop !14 - -.split22.us: ; preds = %.lr.ph.i.us - tail call void (ptr, ...) @fatal_abort(ptr noundef nonnull @.str.33, ptr noundef nonnull @__func__.data_list_for_each_const) #17 - unreachable - -.split.us: ; preds = %.lr.ph.i.us - tail call void (ptr, ...) @fatal_abort(ptr noundef nonnull @.str.34, ptr noundef nonnull @__func__.data_list_for_each_const) #17 - unreachable } ; Function Attrs: nounwind uwtable @@ -1345,7 +1329,7 @@ define dso_local i32 @data_list_for_each_const(ptr noundef %0, ptr noundef reado } ; Function Attrs: nounwind uwtable -define internal fastcc noundef i32 @_data_list_join(ptr noundef %0, ptr noundef %1) unnamed_addr #0 { +define internal fastcc void @_data_list_join(ptr noundef %0, ptr noundef %1) unnamed_addr #0 { %3 = load i64, ptr getelementptr inbounds nuw (i8, ptr @slurm_conf, i64 320), align 8 %4 = and i64 %3, 256 %.not = icmp eq i64 %4, 0 @@ -1382,7 +1366,7 @@ define internal fastcc noundef i32 @_data_list_join(ptr noundef %0, ptr noundef br label %22 22: ; preds = %14, %17, %9 - ret i32 1 + ret void } ; Function Attrs: nounwind uwtable diff --git a/bench/softposit-rs/optimized/1jooigl29qhneyer.ll b/bench/softposit-rs/optimized/1jooigl29qhneyer.ll index e233cb43bc8..b8cf5c3fe58 100644 --- a/bench/softposit-rs/optimized/1jooigl29qhneyer.ll +++ b/bench/softposit-rs/optimized/1jooigl29qhneyer.ll @@ -2224,7 +2224,7 @@ define noundef i32 @"_ZN9softposit5p32e23ops75_$LT$impl$u20$core..ops..arith..Re } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN72_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..identities..Zero$GT$4zero17hae5c2f5686b18518E"() unnamed_addr #0 { +define noundef range(i32 0, 1) i32 @"_ZN72_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..identities..Zero$GT$4zero17hae5c2f5686b18518E"() unnamed_addr #0 { ret i32 0 } @@ -2718,37 +2718,37 @@ define noundef zeroext i1 @"_ZN68_$LT$softposit..p32e2..P32E2$u20$as$u20$num_tra } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN68_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..Float$GT$3nan17h6584ba84eb7c3bdeE"() unnamed_addr #0 { +define noundef range(i32 -2147483648, -2147483647) i32 @"_ZN68_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..Float$GT$3nan17h6584ba84eb7c3bdeE"() unnamed_addr #0 { ret i32 -2147483648 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN68_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..Float$GT$8infinity17h333ea2d215a281acE"() unnamed_addr #0 { +define noundef range(i32 -2147483648, -2147483647) i32 @"_ZN68_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..Float$GT$8infinity17h333ea2d215a281acE"() unnamed_addr #0 { ret i32 -2147483648 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN68_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..Float$GT$12neg_infinity17h4baff7a39d11a33fE"() unnamed_addr #0 { +define noundef range(i32 -2147483648, -2147483647) i32 @"_ZN68_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..Float$GT$12neg_infinity17h4baff7a39d11a33fE"() unnamed_addr #0 { ret i32 -2147483648 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN68_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..Float$GT$8neg_zero17h62bd7f912bbc9572E"() unnamed_addr #0 { +define noundef range(i32 0, 1) i32 @"_ZN68_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..Float$GT$8neg_zero17h62bd7f912bbc9572E"() unnamed_addr #0 { ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN68_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..Float$GT$9min_value17h21e32060858f41fcE"() unnamed_addr #0 { +define noundef range(i32 -2147483647, -2147483646) i32 @"_ZN68_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..Float$GT$9min_value17h21e32060858f41fcE"() unnamed_addr #0 { ret i32 -2147483647 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN68_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..Float$GT$18min_positive_value17hbe8747f4ea360091E"() unnamed_addr #0 { +define noundef range(i32 1, 2) i32 @"_ZN68_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..Float$GT$18min_positive_value17hbe8747f4ea360091E"() unnamed_addr #0 { ret i32 1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN68_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..Float$GT$9max_value17hdfdf98abb3306b12E"() unnamed_addr #0 { +define noundef range(i32 2147483647, -2147483648) i32 @"_ZN68_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..Float$GT$9max_value17hdfdf98abb3306b12E"() unnamed_addr #0 { ret i32 2147483647 } @@ -3576,92 +3576,92 @@ define void @"_ZN68_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..Fl } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$1E17h6343a6ea3039cb19E"() unnamed_addr #0 { +define noundef range(i32 1256162630, 1256162631) i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$1E17h6343a6ea3039cb19E"() unnamed_addr #0 { ret i32 1256162630 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$9FRAC_1_PI17h60c6f378ce97fd11E"() unnamed_addr #0 { +define noundef range(i32 841979959, 841979960) i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$9FRAC_1_PI17h60c6f378ce97fd11E"() unnamed_addr #0 { ret i32 841979959 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$13FRAC_1_SQRT_217hb4765e414f66ddedE"() unnamed_addr #0 { +define noundef range(i32 995118899, 995118900) i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$13FRAC_1_SQRT_217hb4765e414f66ddedE"() unnamed_addr #0 { ret i32 995118899 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$9FRAC_2_PI17h14bbdeadd8855d1aE"() unnamed_addr #0 { +define noundef range(i32 976197687, 976197688) i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$9FRAC_2_PI17h14bbdeadd8855d1aE"() unnamed_addr #0 { ret i32 976197687 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$14FRAC_2_SQRT_PI17h09dfc08ce70bbb89E"() unnamed_addr #0 { +define noundef range(i32 1090972584, 1090972585) i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$14FRAC_2_SQRT_PI17h09dfc08ce70bbb89E"() unnamed_addr #0 { ret i32 1090972584 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$9FRAC_PI_217h4dce6f640d874b6eE"() unnamed_addr #0 { +define noundef range(i32 1150352810, 1150352811) i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$9FRAC_PI_217h4dce6f640d874b6eE"() unnamed_addr #0 { ret i32 1150352810 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$9FRAC_PI_317h2502a2ce93ef8daaE"() unnamed_addr #0 { +define noundef range(i32 1080076572, 1080076573) i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$9FRAC_PI_317h2502a2ce93ef8daaE"() unnamed_addr #0 { ret i32 1080076572 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$9FRAC_PI_417hd19c403a8990543cE"() unnamed_addr #0 { +define noundef range(i32 1016135082, 1016135083) i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$9FRAC_PI_417hd19c403a8990543cE"() unnamed_addr #0 { ret i32 1016135082 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$9FRAC_PI_617h2fba28a7b62495adE"() unnamed_addr #0 { +define noundef range(i32 945858844, 945858845) i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$9FRAC_PI_617h2fba28a7b62495adE"() unnamed_addr #0 { ret i32 945858844 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$9FRAC_PI_817h048060b9cd8d8822E"() unnamed_addr #0 { +define noundef range(i32 881917354, 881917355) i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$9FRAC_PI_817h048060b9cd8d8822E"() unnamed_addr #0 { ret i32 881917354 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$5LN_1017ha9f9bc012abcab90E"() unnamed_addr #0 { +define noundef range(i32 1228265694, 1228265695) i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$5LN_1017ha9f9bc012abcab90E"() unnamed_addr #0 { ret i32 1228265694 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$4LN_217h3b75a7dc8d4fd497E"() unnamed_addr #0 { +define noundef range(i32 991371647, 991371648) i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$4LN_217h3b75a7dc8d4fd497E"() unnamed_addr #0 { ret i32 991371647 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$7LOG10_E17h8e1ea0d85c84bc91E"() unnamed_addr #0 { +define noundef range(i32 904248715, 904248716) i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$7LOG10_E17h8e1ea0d85c84bc91E"() unnamed_addr #0 { ret i32 904248715 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$6LOG2_E17h79f0a0c1f7d2326eE"() unnamed_addr #0 { +define noundef range(i32 1133159347, 1133159348) i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$6LOG2_E17h79f0a0c1f7d2326eE"() unnamed_addr #0 { ret i32 1133159347 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$2PI17hc26a9b39da121b02E"() unnamed_addr #0 { +define noundef range(i32 1284570538, 1284570539) i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$2PI17hc26a9b39da121b02E"() unnamed_addr #0 { ret i32 1284570538 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$6SQRT_217h85523bee8e7f7385E"() unnamed_addr #0 { +define noundef range(i32 1129336627, 1129336628) i32 @"_ZN73_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..float..FloatConst$GT$6SQRT_217h85523bee8e7f7385E"() unnamed_addr #0 { ret i32 1129336627 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN71_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..bounds..Bounded$GT$9min_value17h33a35e3ac2f0a8e8E"() unnamed_addr #0 { +define noundef range(i32 -2147483647, -2147483646) i32 @"_ZN71_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..bounds..Bounded$GT$9min_value17h33a35e3ac2f0a8e8E"() unnamed_addr #0 { ret i32 -2147483647 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i32 @"_ZN71_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..bounds..Bounded$GT$9max_value17hef41cbd44b14ffbdE"() unnamed_addr #0 { +define noundef range(i32 2147483647, -2147483648) i32 @"_ZN71_$LT$softposit..p32e2..P32E2$u20$as$u20$num_traits..bounds..Bounded$GT$9max_value17hef41cbd44b14ffbdE"() unnamed_addr #0 { ret i32 2147483647 } diff --git a/bench/sqlite/optimized/shell.ll b/bench/sqlite/optimized/shell.ll index 4be329262f1..00ccf07d93e 100644 --- a/bench/sqlite/optimized/shell.ll +++ b/bench/sqlite/optimized/shell.ll @@ -7393,7 +7393,7 @@ define internal void @sqlarUncompressFunc(ptr noundef %0, i32 %1, ptr noundef re } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define noundef i32 @dummyCompare(ptr readnone captures(none) %0, i32 %1, ptr readnone captures(none) %2, i32 %3, ptr readnone captures(none) %4) #5 { +define noundef range(i32 0, 1) i32 @dummyCompare(ptr readnone captures(none) %0, i32 %1, ptr readnone captures(none) %2, i32 %3, ptr readnone captures(none) %4) #5 { ret i32 0 } @@ -18223,7 +18223,7 @@ declare noalias ptr @strdup(ptr noundef readonly captures(none)) local_unnamed_a declare i32 @sqlite3_initialize() local_unnamed_addr #2 ; Function Attrs: nofree nounwind uwtable -define internal noundef i32 @vfstraceOut(ptr noundef readonly captures(none) %0, ptr noundef readonly captures(none) %1) #16 { +define internal noundef range(i32 1, 2) i32 @vfstraceOut(ptr noundef readonly captures(none) %0, ptr noundef readonly captures(none) %1) #16 { %3 = getelementptr inbounds nuw i8, ptr %1, i64 72 %4 = load ptr, ptr %3, align 8, !tbaa !461 %5 = tail call i32 @fputs(ptr noundef %0, ptr noundef %4) @@ -35044,7 +35044,7 @@ define internal range(i32 0, 20) i32 @seriesBestIndex(ptr noundef captures(none) } ; Function Attrs: nounwind uwtable -define internal noundef i32 @seriesDisconnect(ptr noundef %0) #1 { +define internal noundef range(i32 0, 1) i32 @seriesDisconnect(ptr noundef %0) #1 { tail call void @sqlite3_free(ptr noundef %0) #44 ret i32 0 } @@ -35066,13 +35066,13 @@ define internal range(i32 0, 8) i32 @seriesOpen(ptr readnone captures(none) %0, } ; Function Attrs: nounwind uwtable -define internal noundef i32 @seriesClose(ptr noundef %0) #1 { +define internal noundef range(i32 0, 1) i32 @seriesClose(ptr noundef %0) #1 { tail call void @sqlite3_free(ptr noundef %0) #44 ret i32 0 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @seriesFilter(ptr noundef captures(none) initializes((8, 48)) %0, i32 noundef %1, ptr readnone captures(none) %2, i32 noundef %3, ptr noundef readonly captures(none) %4) #1 { +define internal noundef range(i32 0, 1) i32 @seriesFilter(ptr noundef captures(none) initializes((8, 48)) %0, i32 noundef %1, ptr readnone captures(none) %2, i32 noundef %3, ptr noundef readonly captures(none) %4) #1 { %6 = and i32 %1, 1 %.not = icmp eq i32 %6, 0 br i1 %.not, label %10, label %7 @@ -35543,7 +35543,7 @@ setupSequence.exit: ; preds = %genSeqMember.exit.i } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef i32 @seriesNext(ptr noundef captures(none) %0) #12 { +define internal noundef range(i32 0, 1) i32 @seriesNext(ptr noundef captures(none) %0) #12 { %2 = getelementptr inbounds nuw i8, ptr %0, i64 72 %3 = load i8, ptr %2, align 8, !tbaa !757 %.not.i = icmp eq i8 %3, 0 @@ -35611,7 +35611,7 @@ define internal range(i32 0, 2) i32 @seriesEof(ptr noundef readonly captures(non } ; Function Attrs: nounwind uwtable -define internal noundef i32 @seriesColumn(ptr noundef readonly captures(none) %0, ptr noundef %1, i32 noundef %2) #1 { +define internal noundef range(i32 0, 1) i32 @seriesColumn(ptr noundef readonly captures(none) %0, ptr noundef %1, i32 noundef %2) #1 { %switch.tableidx = add i32 %2, -1 %4 = icmp ult i32 %switch.tableidx, 3 br i1 %4, label %switch.lookup, label %6 @@ -35631,7 +35631,7 @@ switch.lookup: ; preds = %3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef i32 @seriesRowid(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #12 { +define internal noundef range(i32 0, 1) i32 @seriesRowid(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #12 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 56 %4 = load i64, ptr %3, align 8, !tbaa !765 %5 = add i64 %4, 1 @@ -38547,7 +38547,7 @@ define internal range(i32 0, 20) i32 @fsdirBestIndex(ptr readnone captures(none) } ; Function Attrs: nounwind uwtable -define internal noundef i32 @fsdirDisconnect(ptr noundef %0) #1 { +define internal noundef range(i32 0, 1) i32 @fsdirDisconnect(ptr noundef %0) #1 { tail call void @sqlite3_free(ptr noundef %0) #44 ret i32 0 } @@ -38571,7 +38571,7 @@ define internal range(i32 0, 8) i32 @fsdirOpen(ptr readnone captures(none) %0, p } ; Function Attrs: nounwind uwtable -define internal noundef i32 @fsdirClose(ptr noundef %0) #1 { +define internal noundef range(i32 0, 1) i32 @fsdirClose(ptr noundef %0) #1 { %2 = getelementptr inbounds nuw i8, ptr %0, i64 12 %3 = load i32, ptr %2, align 4, !tbaa !778 %.not18.i = icmp slt i32 %3, 0 @@ -39022,7 +39022,7 @@ define internal range(i32 0, 8) i32 @fsdirColumn(ptr noundef readonly captures(n } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef i32 @fsdirRowid(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #12 { +define internal noundef range(i32 0, 1) i32 @fsdirRowid(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #12 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 192 %4 = load i64, ptr %3, align 8, !tbaa !789 store i64 %4, ptr %1, align 8, !tbaa !23 @@ -39082,7 +39082,7 @@ define internal i32 @completionConnect(ptr noundef %0, ptr readnone captures(non } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal noundef i32 @completionBestIndex(ptr readnone captures(none) %0, ptr noundef captures(none) %1) #31 { +define internal noundef range(i32 0, 1) i32 @completionBestIndex(ptr readnone captures(none) %0, ptr noundef captures(none) %1) #31 { %3 = load i32, ptr %1, align 8, !tbaa !715 %4 = icmp sgt i32 %3, 0 br i1 %4, label %.lr.ph.preheader, label %.thread @@ -39182,7 +39182,7 @@ define internal noundef i32 @completionBestIndex(ptr readnone captures(none) %0, } ; Function Attrs: nounwind uwtable -define internal noundef i32 @completionDisconnect(ptr noundef %0) #1 { +define internal noundef range(i32 0, 1) i32 @completionDisconnect(ptr noundef %0) #1 { tail call void @sqlite3_free(ptr noundef %0) #44 ret i32 0 } @@ -39208,7 +39208,7 @@ define internal range(i32 0, 8) i32 @completionOpen(ptr noundef readonly capture } ; Function Attrs: nounwind uwtable -define internal noundef i32 @completionClose(ptr noundef initializes((16, 24), (76, 80)) %0) #1 { +define internal noundef range(i32 0, 1) i32 @completionClose(ptr noundef initializes((16, 24), (76, 80)) %0) #1 { %2 = getelementptr inbounds nuw i8, ptr %0, i64 24 %3 = load ptr, ptr %2, align 8, !tbaa !801 tail call void @sqlite3_free(ptr noundef %3) #44 @@ -39573,7 +39573,7 @@ define internal range(i32 0, 2) i32 @completionEof(ptr noundef readonly captures } ; Function Attrs: nounwind uwtable -define internal noundef i32 @completionColumn(ptr noundef readonly captures(none) %0, ptr noundef %1, i32 noundef %2) #1 { +define internal noundef range(i32 0, 1) i32 @completionColumn(ptr noundef readonly captures(none) %0, ptr noundef %1, i32 noundef %2) #1 { switch i32 %2, label %18 [ i32 0, label %4 i32 1, label %9 @@ -39612,7 +39612,7 @@ define internal noundef i32 @completionColumn(ptr noundef readonly captures(none } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef i32 @completionRowid(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #12 { +define internal noundef range(i32 0, 1) i32 @completionRowid(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #12 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 64 %4 = load i64, ptr %3, align 8, !tbaa !808 store i64 %4, ptr %1, align 8, !tbaa !23 @@ -40188,7 +40188,7 @@ define internal i32 @apndSync(ptr noundef %0, i32 noundef %1) #1 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef i32 @apndFileSize(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #12 { +define internal noundef range(i32 0, 1) i32 @apndFileSize(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #12 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 16 %4 = load i64, ptr %3, align 8, !tbaa !815 %5 = icmp sgt i64 %4, -1 @@ -40583,7 +40583,7 @@ define internal range(i32 0, 20) i32 @zipfileBestIndex(ptr readnone captures(non } ; Function Attrs: nounwind uwtable -define internal noundef i32 @zipfileDisconnect(ptr noundef %0) #1 { +define internal noundef range(i32 0, 1) i32 @zipfileDisconnect(ptr noundef %0) #1 { %2 = getelementptr inbounds nuw i8, ptr %0, i64 80 %3 = load ptr, ptr %2, align 8, !tbaa !827 %.not.i = icmp eq ptr %3, null @@ -40647,7 +40647,7 @@ define internal range(i32 0, 8) i32 @zipfileOpen(ptr noundef captures(none) %0, } ; Function Attrs: nounwind uwtable -define internal noundef i32 @zipfileClose(ptr noundef initializes((16, 17)) %0) #1 { +define internal noundef range(i32 0, 1) i32 @zipfileClose(ptr noundef initializes((16, 17)) %0) #1 { %2 = load ptr, ptr %0, align 8, !tbaa !840 %3 = getelementptr inbounds nuw i8, ptr %0, i64 16 store i8 0, ptr %3, align 8, !tbaa !841 @@ -44489,7 +44489,7 @@ idxMalloc.exit.thread: ; preds = %2, %._crit_edge94 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @expertDisconnect(ptr noundef %0) #1 { +define internal noundef range(i32 0, 1) i32 @expertDisconnect(ptr noundef %0) #1 { tail call void @sqlite3_free(ptr noundef %0) #44 ret i32 0 } @@ -44511,7 +44511,7 @@ idxMalloc.exit: ; preds = %2, %4 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @expertClose(ptr noundef %0) #1 { +define internal noundef range(i32 0, 1) i32 @expertClose(ptr noundef %0) #1 { %2 = getelementptr inbounds nuw i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !937 %4 = tail call i32 @sqlite3_finalize(ptr noundef %3) #44 @@ -44589,7 +44589,7 @@ define internal range(i32 0, 2) i32 @expertEof(ptr noundef readonly captures(non } ; Function Attrs: nounwind uwtable -define internal noundef i32 @expertColumn(ptr noundef readonly captures(none) %0, ptr noundef %1, i32 noundef %2) #1 { +define internal noundef range(i32 0, 1) i32 @expertColumn(ptr noundef readonly captures(none) %0, ptr noundef %1, i32 noundef %2) #1 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !937 %6 = tail call ptr @sqlite3_column_value(ptr noundef %5, i32 noundef %2) #44 @@ -44605,13 +44605,13 @@ define internal noundef i32 @expertColumn(ptr noundef readonly captures(none) %0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define internal noundef i32 @expertRowid(ptr readnone captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #33 { +define internal noundef range(i32 0, 1) i32 @expertRowid(ptr readnone captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #33 { store i64 0, ptr %1, align 8, !tbaa !23 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @expertUpdate(ptr readnone captures(none) %0, i32 %1, ptr readnone captures(none) %2, ptr readnone captures(none) %3) #5 { +define internal noundef range(i32 0, 1) i32 @expertUpdate(ptr readnone captures(none) %0, i32 %1, ptr readnone captures(none) %2, ptr readnone captures(none) %3) #5 { ret i32 0 } @@ -45106,7 +45106,7 @@ define internal fastcc ptr @idxAppendColDefn(ptr noundef nonnull captures(none) } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal noundef i32 @countNonzeros(ptr noundef captures(none) %0, i32 noundef %1, ptr noundef readonly captures(none) %2, ptr readnone captures(none) %3) #29 { +define internal noundef range(i32 0, 1) i32 @countNonzeros(ptr noundef captures(none) %0, i32 noundef %1, ptr noundef readonly captures(none) %2, ptr readnone captures(none) %3) #29 { %5 = icmp sgt i32 %1, 0 br i1 %5, label %6, label %15 @@ -47404,7 +47404,7 @@ define internal range(i32 0, 20) i32 @dbdataBestIndex(ptr noundef readonly captu } ; Function Attrs: nounwind uwtable -define internal noundef i32 @dbdataDisconnect(ptr noundef %0) #1 { +define internal noundef range(i32 0, 1) i32 @dbdataDisconnect(ptr noundef %0) #1 { %.not = icmp eq ptr %0, null br i1 %.not, label %6, label %2 @@ -47438,7 +47438,7 @@ define internal range(i32 0, 8) i32 @dbdataOpen(ptr noundef %0, ptr noundef writ } ; Function Attrs: nounwind uwtable -define internal noundef i32 @dbdataClose(ptr noundef initializes((16, 20), (40, 48), (72, 88), (96, 100)) %0) #1 { +define internal noundef range(i32 0, 1) i32 @dbdataClose(ptr noundef initializes((16, 20), (40, 48), (72, 88), (96, 100)) %0) #1 { %2 = load ptr, ptr %0, align 8, !tbaa !969 %3 = getelementptr inbounds nuw i8, ptr %2, i64 32 %4 = load ptr, ptr %3, align 8, !tbaa !968 @@ -48455,7 +48455,7 @@ define internal range(i32 0, 2) i32 @dbdataEof(ptr noundef readonly captures(non } ; Function Attrs: nounwind uwtable -define internal noundef i32 @dbdataColumn(ptr noundef readonly captures(none) %0, ptr noundef %1, i32 noundef %2) #1 { +define internal noundef range(i32 0, 1) i32 @dbdataColumn(ptr noundef readonly captures(none) %0, ptr noundef %1, i32 noundef %2) #1 { %4 = load ptr, ptr %0, align 8, !tbaa !848 %5 = getelementptr inbounds nuw i8, ptr %4, i64 40 %6 = load i32, ptr %5, align 8, !tbaa !966 @@ -48833,7 +48833,7 @@ dbdataValueBytes.exit.i: ; preds = %switch.lookup, %117 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef i32 @dbdataRowid(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #12 { +define internal noundef range(i32 0, 1) i32 @dbdataRowid(ptr noundef readonly captures(none) %0, ptr noundef writeonly captures(none) initializes((0, 8)) %1) #12 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 56 %4 = load i64, ptr %3, align 8, !tbaa !982 store i64 %4, ptr %1, align 8, !tbaa !23 @@ -49711,13 +49711,13 @@ define internal i32 @recoverVfsShmUnmap(ptr noundef %0, i32 noundef %1) #1 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define internal noundef i32 @recoverVfsFetch(ptr readnone captures(none) %0, i64 %1, i32 %2, ptr noundef writeonly captures(none) initializes((0, 8)) %3) #33 { +define internal noundef range(i32 0, 1) i32 @recoverVfsFetch(ptr readnone captures(none) %0, i64 %1, i32 %2, ptr noundef writeonly captures(none) initializes((0, 8)) %3) #33 { store ptr null, ptr %3, align 8, !tbaa !387 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal noundef i32 @recoverVfsUnfetch(ptr readnone captures(none) %0, i64 %1, ptr readnone captures(none) %2) #5 { +define internal noundef range(i32 0, 1) i32 @recoverVfsUnfetch(ptr readnone captures(none) %0, i64 %1, ptr readnone captures(none) %2) #5 { ret i32 0 } @@ -51319,7 +51319,7 @@ define internal fastcc ptr @readFile(ptr noundef %0, ptr noundef writeonly captu declare i32 @sqlite3_deserialize(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nounwind uwtable -define internal noundef i32 @safeModeAuth(ptr noundef readonly captures(none) %0, i32 noundef %1, ptr readnone captures(none) %2, ptr noundef %3, ptr readnone captures(none) %4, ptr readnone captures(none) %5) #1 { +define internal noundef range(i32 0, 1) i32 @safeModeAuth(ptr noundef readonly captures(none) %0, i32 noundef %1, ptr readnone captures(none) %2, ptr noundef %3, ptr readnone captures(none) %4, ptr readnone captures(none) %5) #1 { switch i32 %1, label %.loopexit [ i32 24, label %7 i32 31, label %.preheader @@ -52213,7 +52213,7 @@ hexDigitValue.exit.thread: ; preds = %switch.early.test, } ; Function Attrs: nounwind uwtable -define internal noundef i32 @shellAuth(ptr noundef readonly captures(none) %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #1 { +define internal noundef range(i32 0, 1) i32 @shellAuth(ptr noundef readonly captures(none) %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #1 { %7 = alloca [4 x ptr], align 16 call void @llvm.lifetime.start.p0(ptr nonnull %7) store ptr %2, ptr %7, align 16, !tbaa !29 @@ -53739,7 +53739,7 @@ define internal fastcc void @expertDotCommand(ptr noundef nonnull captures(none) } ; Function Attrs: nounwind uwtable -define internal noundef i32 @callback(ptr noundef %0, i32 noundef %1, ptr noundef readonly captures(address_is_null) %2, ptr noundef readonly captures(none) %3) #1 { +define internal noundef range(i32 0, 1) i32 @callback(ptr noundef %0, i32 noundef %1, ptr noundef readonly captures(address_is_null) %2, ptr noundef readonly captures(none) %3) #1 { tail call fastcc void @shell_callback(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef null) ret i32 0 } @@ -55763,7 +55763,7 @@ define internal fastcc void @createSelftestTable(ptr noundef nonnull readonly ca } ; Function Attrs: nounwind uwtable -define internal noundef i32 @captureOutputCallback(ptr noundef captures(none) %0, i32 noundef %1, ptr noundef readonly captures(address_is_null) %2, ptr readnone captures(none) %3) #1 { +define internal noundef range(i32 0, 1) i32 @captureOutputCallback(ptr noundef captures(none) %0, i32 noundef %1, ptr noundef readonly captures(address_is_null) %2, ptr readnone captures(none) %3) #1 { %5 = icmp eq ptr %2, null br i1 %5, label %.loopexit, label %6 @@ -56612,7 +56612,7 @@ declare i32 @sqlite3_busy_timeout(ptr noundef, i32 noundef) local_unnamed_addr # declare i32 @sqlite3_trace_v2(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nounwind uwtable -define internal noundef i32 @sql_trace_callback(i32 noundef %0, ptr noundef readonly captures(none) %1, ptr noundef %2, ptr noundef %3) #1 { +define internal noundef range(i32 0, 1) i32 @sql_trace_callback(i32 noundef %0, ptr noundef readonly captures(none) %1, ptr noundef %2, ptr noundef %3) #1 { %5 = getelementptr inbounds nuw i8, ptr %1, i64 80 %6 = load ptr, ptr %5, align 8, !tbaa !604 %7 = icmp eq ptr %6, null @@ -57218,7 +57218,7 @@ declare i32 @sqlite3_bind_double(ptr noundef, i32 noundef, double noundef) local declare i32 @sqlite3_bind_blob(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind uwtable -define internal noundef i32 @recoverSqlCb(ptr noundef readonly captures(none) %0, ptr noundef %1) #16 { +define internal noundef range(i32 0, 1) i32 @recoverSqlCb(ptr noundef readonly captures(none) %0, ptr noundef %1) #16 { %3 = getelementptr inbounds nuw i8, ptr %0, i64 72 %4 = load ptr, ptr %3, align 8, !tbaa !461 %5 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %4, ptr noundef nonnull @.str.311, ptr noundef %1) #44 @@ -57277,7 +57277,7 @@ shellPrepare.exit: ; preds = %12, %15, %17 } ; Function Attrs: nounwind uwtable -define internal noundef i32 @dump_callback(ptr noundef %0, i32 noundef %1, ptr noundef readonly captures(address_is_null) %2, ptr readnone captures(none) %3) #1 { +define internal noundef range(i32 0, 1) i32 @dump_callback(ptr noundef %0, i32 noundef %1, ptr noundef readonly captures(address_is_null) %2, ptr readnone captures(none) %3) #1 { %5 = alloca ptr, align 8 %6 = alloca %struct.ShellText, align 8 %7 = alloca %struct.ShellText, align 8 diff --git a/bench/tokenizers-rs/optimized/2mot01sr7ebui81b.ll b/bench/tokenizers-rs/optimized/2mot01sr7ebui81b.ll index 3eea09a2bec..9bd379a6501 100644 --- a/bench/tokenizers-rs/optimized/2mot01sr7ebui81b.ll +++ b/bench/tokenizers-rs/optimized/2mot01sr7ebui81b.ll @@ -1692,7 +1692,7 @@ define hidden void @"_ZN116_$LT$core..iter..adapters..flatten..FlattenCompat$LT$ } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @"_ZN117_$LT$rayon..iter..collect..consumer..CollectConsumer$LT$T$GT$$u20$as$u20$rayon..iter..plumbing..Consumer$LT$T$GT$$GT$4full17hfe83a840c9ad97aaE.llvm.15403311311865522351"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #4 { +define hidden noundef zeroext range(i1 0, -1) i1 @"_ZN117_$LT$rayon..iter..collect..consumer..CollectConsumer$LT$T$GT$$u20$as$u20$rayon..iter..plumbing..Consumer$LT$T$GT$$GT$4full17hfe83a840c9ad97aaE.llvm.15403311311865522351"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #4 { ret i1 false } @@ -3251,12 +3251,12 @@ _ZN4core4iter6traits8iterator8Iterator8for_each17h7ee9ba73abe56f0dE.llvm.1540331 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @"_ZN239_$LT$rayon..iter..flat_map..FlatMapFolder$LT$C$C$F$C$$LT$C$u20$as$u20$rayon..iter..plumbing..Consumer$LT$$LT$U$u20$as$u20$rayon..iter..IntoParallelIterator$GT$..Item$GT$$GT$..Result$GT$$u20$as$u20$rayon..iter..plumbing..Folder$LT$T$GT$$GT$4full17heedd9424acf89848E.llvm.15403311311865522351"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(40) %0) unnamed_addr #4 { +define hidden noundef zeroext range(i1 0, -1) i1 @"_ZN239_$LT$rayon..iter..flat_map..FlatMapFolder$LT$C$C$F$C$$LT$C$u20$as$u20$rayon..iter..plumbing..Consumer$LT$$LT$U$u20$as$u20$rayon..iter..IntoParallelIterator$GT$..Item$GT$$GT$..Result$GT$$u20$as$u20$rayon..iter..plumbing..Folder$LT$T$GT$$GT$4full17heedd9424acf89848E.llvm.15403311311865522351"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(40) %0) unnamed_addr #4 { ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @"_ZN239_$LT$rayon..iter..flat_map..FlatMapFolder$LT$C$C$F$C$$LT$C$u20$as$u20$rayon..iter..plumbing..Consumer$LT$$LT$U$u20$as$u20$rayon..iter..IntoParallelIterator$GT$..Item$GT$$GT$..Result$GT$$u20$as$u20$rayon..iter..plumbing..Folder$LT$T$GT$$GT$4full17hefd0f20996552ebeE.llvm.15403311311865522351"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(56) %0) unnamed_addr #4 { +define hidden noundef zeroext range(i1 0, -1) i1 @"_ZN239_$LT$rayon..iter..flat_map..FlatMapFolder$LT$C$C$F$C$$LT$C$u20$as$u20$rayon..iter..plumbing..Consumer$LT$$LT$U$u20$as$u20$rayon..iter..IntoParallelIterator$GT$..Item$GT$$GT$..Result$GT$$u20$as$u20$rayon..iter..plumbing..Folder$LT$T$GT$$GT$4full17hefd0f20996552ebeE.llvm.15403311311865522351"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(56) %0) unnamed_addr #4 { ret i1 false } @@ -5869,7 +5869,7 @@ define internal noundef zeroext i1 @"_ZN4core3fmt3num52_$LT$impl$u20$core..fmt.. } ; Function Attrs: alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN4core3mem7size_of17h8059501a07a0de4aE.llvm.15403311311865522351() unnamed_addr #11 { +define hidden noundef range(i64 16, 17) i64 @_ZN4core3mem7size_of17h8059501a07a0de4aE.llvm.15403311311865522351() unnamed_addr #11 { ret i64 16 } @@ -11251,62 +11251,62 @@ define hidden void @_ZN5rayon4iter8plumbing6bridge17hf76bafc95d1cc402E(ptr noali } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5rayon4iter8plumbing8Producer7max_len17h04acc75c7f5bdd55E.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #4 { +define hidden noundef range(i64 -1, 0) i64 @_ZN5rayon4iter8plumbing8Producer7max_len17h04acc75c7f5bdd55E.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #4 { ret i64 -1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5rayon4iter8plumbing8Producer7max_len17h2340fdeeb02c0872E.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #4 { +define hidden noundef range(i64 -1, 0) i64 @_ZN5rayon4iter8plumbing8Producer7max_len17h2340fdeeb02c0872E.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #4 { ret i64 -1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5rayon4iter8plumbing8Producer7max_len17h79e810edb4391f33E.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #4 { +define hidden noundef range(i64 -1, 0) i64 @_ZN5rayon4iter8plumbing8Producer7max_len17h79e810edb4391f33E.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #4 { ret i64 -1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5rayon4iter8plumbing8Producer7max_len17ha4cbf82cbaf6302fE.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #4 { +define hidden noundef range(i64 -1, 0) i64 @_ZN5rayon4iter8plumbing8Producer7max_len17ha4cbf82cbaf6302fE.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #4 { ret i64 -1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5rayon4iter8plumbing8Producer7max_len17hd494b2b3b565b010E.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #4 { +define hidden noundef range(i64 -1, 0) i64 @_ZN5rayon4iter8plumbing8Producer7max_len17hd494b2b3b565b010E.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #4 { ret i64 -1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5rayon4iter8plumbing8Producer7max_len17hf4b8dd49dc580cd4E.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #4 { +define hidden noundef range(i64 -1, 0) i64 @_ZN5rayon4iter8plumbing8Producer7max_len17hf4b8dd49dc580cd4E.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #4 { ret i64 -1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5rayon4iter8plumbing8Producer7min_len17h082a06bbe6f037dfE.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #4 { +define hidden noundef range(i64 1, 2) i64 @_ZN5rayon4iter8plumbing8Producer7min_len17h082a06bbe6f037dfE.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #4 { ret i64 1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5rayon4iter8plumbing8Producer7min_len17h091f72969a0db09fE.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #4 { +define hidden noundef range(i64 1, 2) i64 @_ZN5rayon4iter8plumbing8Producer7min_len17h091f72969a0db09fE.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #4 { ret i64 1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5rayon4iter8plumbing8Producer7min_len17h38eabb9fb9ea7d77E.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #4 { +define hidden noundef range(i64 1, 2) i64 @_ZN5rayon4iter8plumbing8Producer7min_len17h38eabb9fb9ea7d77E.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #4 { ret i64 1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5rayon4iter8plumbing8Producer7min_len17h51c677ba1ad65857E.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #4 { +define hidden noundef range(i64 1, 2) i64 @_ZN5rayon4iter8plumbing8Producer7min_len17h51c677ba1ad65857E.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #4 { ret i64 1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5rayon4iter8plumbing8Producer7min_len17h92101622e8628a88E.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #4 { +define hidden noundef range(i64 1, 2) i64 @_ZN5rayon4iter8plumbing8Producer7min_len17h92101622e8628a88E.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %0) unnamed_addr #4 { ret i64 1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @_ZN5rayon4iter8plumbing8Producer7min_len17hb0434f67375a0dbbE.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #4 { +define hidden noundef range(i64 1, 2) i64 @_ZN5rayon4iter8plumbing8Producer7min_len17hb0434f67375a0dbbE.llvm.15403311311865522351(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #4 { ret i64 1 } @@ -13820,7 +13820,7 @@ define hidden { i64, i64 } @"_ZN95_$LT$hashbrown..raw..bitmask..BitMaskIter$u20$ } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @"_ZN97_$LT$rayon..iter..extend..ListVecConsumer$u20$as$u20$rayon..iter..plumbing..Consumer$LT$T$GT$$GT$4full17h4a500924cc84b1a0E.llvm.15403311311865522351"(ptr noalias noundef nonnull readonly align 1 captures(none) %0) unnamed_addr #4 { +define hidden noundef zeroext range(i1 0, -1) i1 @"_ZN97_$LT$rayon..iter..extend..ListVecConsumer$u20$as$u20$rayon..iter..plumbing..Consumer$LT$T$GT$$GT$4full17h4a500924cc84b1a0E.llvm.15403311311865522351"(ptr noalias noundef nonnull readonly align 1 captures(none) %0) unnamed_addr #4 { ret i1 false } @@ -24379,7 +24379,7 @@ define void @"_ZN90_$LT$tokenizers..utils..truncation..TruncationParams$u20$as$u } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef i8 @"_ZN92_$LT$tokenizers..utils..truncation..TruncationStrategy$u20$as$u20$core..default..Default$GT$7default17h37b082691e2d7b4bE"() unnamed_addr #4 { +define noundef range(i8 0, 1) i8 @"_ZN92_$LT$tokenizers..utils..truncation..TruncationStrategy$u20$as$u20$core..default..Default$GT$7default17h37b082691e2d7b4bE"() unnamed_addr #4 { ret i8 0 } diff --git a/bench/tokenizers-rs/optimized/40hmx6rev8evi2bx.ll b/bench/tokenizers-rs/optimized/40hmx6rev8evi2bx.ll index 32f1cc9917d..b95145e3071 100644 --- a/bench/tokenizers-rs/optimized/40hmx6rev8evi2bx.ll +++ b/bench/tokenizers-rs/optimized/40hmx6rev8evi2bx.ll @@ -1234,7 +1234,7 @@ define hidden noundef align 4 dereferenceable_or_null(4) ptr @"_ZN107_$LT$std..c } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @"_ZN113_$LT$rayon..iter..collect..consumer..CollectResult$LT$T$GT$$u20$as$u20$rayon..iter..plumbing..Folder$LT$T$GT$$GT$4full17h751cd95f1f3a85beE.llvm.13080012565599917794"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #10 { +define hidden noundef zeroext range(i1 0, -1) i1 @"_ZN113_$LT$rayon..iter..collect..consumer..CollectResult$LT$T$GT$$u20$as$u20$rayon..iter..plumbing..Folder$LT$T$GT$$GT$4full17h751cd95f1f3a85beE.llvm.13080012565599917794"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(24) %0) unnamed_addr #10 { ret i1 false } @@ -3574,12 +3574,12 @@ define hidden void @_ZN4core3ops8function5FnMut8call_mut17h06d5ed3fe8bb4955E.llv } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core3ops8function6FnOnce9call_once17h030261aee282fc87E.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core3ops8function6FnOnce9call_once17h030261aee282fc87E.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core3ops8function6FnOnce9call_once17h03f36c04b9dcfff5E.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core3ops8function6FnOnce9call_once17h03f36c04b9dcfff5E.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } @@ -3596,7 +3596,7 @@ define hidden void @_ZN4core3ops8function6FnOnce9call_once17h10ea92706dd9020eE.l } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core3ops8function6FnOnce9call_once17h150229b00099e6d9E.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core3ops8function6FnOnce9call_once17h150229b00099e6d9E.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } @@ -3611,7 +3611,7 @@ define hidden noundef i8 @_ZN4core3ops8function6FnOnce9call_once17h1b00117189915 } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core3ops8function6FnOnce9call_once17h2cc29045c121a38bE.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core3ops8function6FnOnce9call_once17h2cc29045c121a38bE.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } @@ -3628,7 +3628,7 @@ define hidden void @_ZN4core3ops8function6FnOnce9call_once17h3be7de127e5b1176E.l } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core3ops8function6FnOnce9call_once17h407dce9e4f8680a6E.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core3ops8function6FnOnce9call_once17h407dce9e4f8680a6E.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } @@ -3639,12 +3639,12 @@ define hidden void @_ZN4core3ops8function6FnOnce9call_once17h4ba2c37f6d96a36eE.l } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core3ops8function6FnOnce9call_once17h4def80f6fb863fcaE.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core3ops8function6FnOnce9call_once17h4def80f6fb863fcaE.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core3ops8function6FnOnce9call_once17h501742fcd4d9320cE.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core3ops8function6FnOnce9call_once17h501742fcd4d9320cE.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } @@ -3666,7 +3666,7 @@ define hidden void @_ZN4core3ops8function6FnOnce9call_once17h579fe65a28df0785E.l } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core3ops8function6FnOnce9call_once17h6eed13258877abebE.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core3ops8function6FnOnce9call_once17h6eed13258877abebE.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } @@ -3711,7 +3711,7 @@ define hidden noundef range(i32 0, 1114112) i32 @_ZN4core3ops8function6FnOnce9ca } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core3ops8function6FnOnce9call_once17h863e33bac8b6eee4E.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core3ops8function6FnOnce9call_once17h863e33bac8b6eee4E.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } @@ -3722,12 +3722,12 @@ define hidden void @_ZN4core3ops8function6FnOnce9call_once17h92b5f36046723d0fE.l } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core3ops8function6FnOnce9call_once17h9b1f466431fe3fbdE.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core3ops8function6FnOnce9call_once17h9b1f466431fe3fbdE.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core3ops8function6FnOnce9call_once17hac92f46eaedb3ef6E.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core3ops8function6FnOnce9call_once17hac92f46eaedb3ef6E.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } @@ -3767,7 +3767,7 @@ define hidden void @_ZN4core3ops8function6FnOnce9call_once17hccbeca6752beb21eE.l } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core3ops8function6FnOnce9call_once17hec168320ce9be249E.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core3ops8function6FnOnce9call_once17hec168320ce9be249E.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } @@ -3778,12 +3778,12 @@ define hidden noundef nonnull align 8 ptr @_ZN4core3ops8function6FnOnce9call_onc } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core3ops8function6FnOnce9call_once17hf5f1d008da627596E.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core3ops8function6FnOnce9call_once17hf5f1d008da627596E.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core3ops8function6FnOnce9call_once17hf63f67671ffce6b7E.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core3ops8function6FnOnce9call_once17hf63f67671ffce6b7E.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } @@ -3800,7 +3800,7 @@ define hidden void @_ZN4core3ops8function6FnOnce9call_once17hfd9f5326827c9c99E.l } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core3ops8function6FnOnce9call_once17hfdbfa8fb4259f61dE.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core3ops8function6FnOnce9call_once17hfdbfa8fb4259f61dE.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } @@ -5398,27 +5398,27 @@ define hidden void @"_ZN4core6option19Option$LT$$RF$T$GT$6cloned17hae5b1eff44656 } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core6option6Option4Some17h178399c4d609a97cE.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core6option6Option4Some17h178399c4d609a97cE.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core6option6Option4Some17h184b372ba44fb9bbE.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core6option6Option4Some17h184b372ba44fb9bbE.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core6option6Option4Some17h1eb2dafe96709f3eE.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core6option6Option4Some17h1eb2dafe96709f3eE.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core6option6Option4Some17h1f5d0c447f4dfe6cE.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core6option6Option4Some17h1f5d0c447f4dfe6cE.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core6option6Option4Some17h32f92cd1877394e7E.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core6option6Option4Some17h32f92cd1877394e7E.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } @@ -5429,12 +5429,12 @@ define hidden void @_ZN4core6option6Option4Some17h492d8d5597918b2aE.llvm.1308001 } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core6option6Option4Some17h58f97a99fddee30bE.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core6option6Option4Some17h58f97a99fddee30bE.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core6option6Option4Some17h5cd14b8f7928c61cE.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core6option6Option4Some17h5cd14b8f7928c61cE.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } @@ -5451,12 +5451,12 @@ define hidden void @_ZN4core6option6Option4Some17h676adb900ddfff95E.llvm.1308001 } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core6option6Option4Some17h6a4e32dba326561eE.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core6option6Option4Some17h6a4e32dba326561eE.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core6option6Option4Some17h6d703b799a205e05E.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core6option6Option4Some17h6d703b799a205e05E.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } @@ -5466,7 +5466,7 @@ define hidden noundef i8 @_ZN4core6option6Option4Some17h7bcd91a1ce631ca5E.llvm.1 } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core6option6Option4Some17h8153ff24d548793fE.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core6option6Option4Some17h8153ff24d548793fE.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } @@ -5481,7 +5481,7 @@ define hidden noundef i32 @_ZN4core6option6Option4Some17h8b561882c7aff5c2E.llvm. } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core6option6Option4Some17h8c15a97dcc6bcaeaE.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core6option6Option4Some17h8c15a97dcc6bcaeaE.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } @@ -5528,7 +5528,7 @@ define hidden void @_ZN4core6option6Option4Some17hbfe969667e9330d1E.llvm.1308001 } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core6option6Option4Some17hc6c9a0ec1601342fE.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core6option6Option4Some17hc6c9a0ec1601342fE.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } @@ -5551,17 +5551,17 @@ define hidden void @_ZN4core6option6Option4Some17hcbf39c7c5c7cf1e4E.llvm.1308001 } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core6option6Option4Some17hd13d9dad8cad57d1E.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core6option6Option4Some17hd13d9dad8cad57d1E.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core6option6Option4Some17hd4b59d500867c6beE.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core6option6Option4Some17hd4b59d500867c6beE.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN4core6option6Option4Some17hd7e5b9dbff13701fE.llvm.13080012565599917794() unnamed_addr #16 { +define hidden noundef zeroext range(i1 -1, 0) i1 @_ZN4core6option6Option4Some17hd7e5b9dbff13701fE.llvm.13080012565599917794() unnamed_addr #16 { ret i1 true } @@ -5871,13 +5871,13 @@ define hidden { ptr, i64 } @"_ZN55_$LT$$RF$T$u20$as$u20$core..borrow..Borrow$LT$ } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN58_$LT$alloc..string..String$u20$as$u20$core..fmt..Write$GT$10write_char17had516be32923aa30E"(ptr noalias noundef align 8 dereferenceable(24) %0, i32 noundef %1) unnamed_addr #9 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZN58_$LT$alloc..string..String$u20$as$u20$core..fmt..Write$GT$10write_char17had516be32923aa30E"(ptr noalias noundef align 8 dereferenceable(24) %0, i32 noundef %1) unnamed_addr #9 { tail call fastcc void @_ZN5alloc6string6String4push17h552cb35310221f05E(ptr noalias noundef align 8 dereferenceable(24) %0, i32 noundef %1) ret i1 false } ; Function Attrs: inlinehint nonlazybind uwtable -define internal noundef zeroext i1 @"_ZN58_$LT$alloc..string..String$u20$as$u20$core..fmt..Write$GT$9write_str17h7eba1e183ff7be93E"(ptr noalias noundef align 8 dereferenceable(24) %0, ptr noalias noundef nonnull readonly align 1 captures(none) %1, i64 noundef %2) unnamed_addr #9 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZN58_$LT$alloc..string..String$u20$as$u20$core..fmt..Write$GT$9write_str17h7eba1e183ff7be93E"(ptr noalias noundef align 8 dereferenceable(24) %0, ptr noalias noundef nonnull readonly align 1 captures(none) %1, i64 noundef %2) unnamed_addr #9 { %4 = getelementptr inbounds nuw i8, ptr %0, i64 16 %5 = load i64, ptr %4, align 8, !alias.scope !1344, !noalias !1353, !noundef !7 %6 = load i64, ptr %0, align 8, !alias.scope !1344, !noalias !1353, !noundef !7 diff --git a/bench/tokio-rs/optimized/1k577qo9p6sw2dlc.ll b/bench/tokio-rs/optimized/1k577qo9p6sw2dlc.ll index 95a1297c3d3..f01cbbb5473 100644 --- a/bench/tokio-rs/optimized/1k577qo9p6sw2dlc.ll +++ b/bench/tokio-rs/optimized/1k577qo9p6sw2dlc.ll @@ -4335,7 +4335,7 @@ define void @"_ZN85_$LT$tokio..net..unix..pipe..Sender$u20$as$u20$tokio..io..asy } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define noundef zeroext i1 @"_ZN85_$LT$tokio..net..unix..pipe..Sender$u20$as$u20$tokio..io..async_write..AsyncWrite$GT$17is_write_vectored17h617e09b8e7788c56E"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(32) %0) unnamed_addr #7 { +define noundef zeroext range(i1 -1, 0) i1 @"_ZN85_$LT$tokio..net..unix..pipe..Sender$u20$as$u20$tokio..io..async_write..AsyncWrite$GT$17is_write_vectored17h617e09b8e7788c56E"(ptr noalias noundef readonly align 8 captures(none) dereferenceable(32) %0) unnamed_addr #7 { ret i1 true } @@ -6258,21 +6258,15 @@ common.resume: ; preds = %38, %33 } ; Function Attrs: nonlazybind uwtable -define hidden noundef zeroext i1 @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$4poll17hb4a3580faa1e57a2E"(ptr noundef nonnull align 8 %0, ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %1) unnamed_addr #0 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 0, -1) i1 @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$4poll17hb4a3580faa1e57a2E"(ptr noundef nonnull align 8 %0, ptr noalias noundef readonly align 8 captures(none) dereferenceable(16) %1) unnamed_addr #0 personality ptr @rust_eh_personality { %3 = alloca { i64, [3 x i64] }, align 8 %4 = getelementptr inbounds nuw i8, ptr %0, i64 24 %5 = tail call noundef zeroext i1 @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$4poll28_$u7b$$u7b$closure$u7d$$u7d$17h32426ce9b6876882E.llvm.7584301903634598921"(ptr noundef nonnull align 8 %0, ptr noalias nonnull align 8 poison, ptr noundef nonnull %4) - br i1 %5, label %7, label %6 - -6: ; preds = %2 call void @llvm.lifetime.start.p0(ptr nonnull %3) store i64 4, ptr %3, align 8 call void @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$9set_stage17h927a968696d1da75E"(ptr noundef nonnull align 8 %0, ptr noalias noundef nonnull align 8 captures(none) dereferenceable(32) %3) call void @llvm.lifetime.end.p0(ptr nonnull %3) - br label %7 - -7: ; preds = %2, %6 - ret i1 %5 + ret i1 false } ; Function Attrs: nonlazybind uwtable @@ -6909,7 +6903,7 @@ define hidden void @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$4poll28_$u7b$ } ; Function Attrs: inlinehint nonlazybind uwtable -define hidden noundef zeroext i1 @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$4poll28_$u7b$$u7b$closure$u7d$$u7d$17h32426ce9b6876882E.llvm.7584301903634598921"(ptr noundef nonnull readonly align 8 captures(none) %0, ptr noalias readnone align 8 captures(none) %1, ptr noundef captures(none) %2) unnamed_addr #1 personality ptr @rust_eh_personality { +define hidden noundef zeroext range(i1 0, -1) i1 @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$4poll28_$u7b$$u7b$closure$u7d$$u7d$17h32426ce9b6876882E.llvm.7584301903634598921"(ptr noundef nonnull readonly align 8 captures(none) %0, ptr noalias readnone align 8 captures(none) %1, ptr noundef captures(none) %2) unnamed_addr #1 personality ptr @rust_eh_personality { %4 = alloca [0 x { ptr, ptr }], align 8 %5 = alloca { i64, i64 }, align 8 %6 = alloca { i64, i64 }, align 8 diff --git a/bench/wasmedge/optimized/vm.ll b/bench/wasmedge/optimized/vm.ll index de66ad95b65..a4678d10d3a 100644 --- a/bench/wasmedge/optimized/vm.ll +++ b/bench/wasmedge/optimized/vm.ll @@ -140871,7 +140871,7 @@ _ZNKSt14default_deleteIN8WasmEdge3AST6ModuleEEclEPS2_.exit.i.i.i.i.i.i.i: ; pred } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFN5cxx208expectedISt6vectorISt4pairIN8WasmEdge7VariantIJjimlfdonDv2_mDv2_lDv4_jDv4_iDv8_tDv8_sDv16_hDv16_aDv4_fDv2_dNS4_10RefVariantENS4_10StrVariantEEEENS4_7ValTypeEESaISK_EENS4_7ErrCodeEEERSt10unique_ptrINS4_3AST6ModuleESt14default_deleteISR_EEEZNS4_2VM2VM17unsafeRunWasmFileERKNSt10filesystem7__cxx114pathESt17basic_string_viewIcSt11char_traitsIcEENS0_4spanIKSI_Lm18446744073709551615EEENS18_IKSJ_Lm18446744073709551615EEEE3$_0E10_M_managerERSt9_Any_dataRKS1F_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #0 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFN5cxx208expectedISt6vectorISt4pairIN8WasmEdge7VariantIJjimlfdonDv2_mDv2_lDv4_jDv4_iDv8_tDv8_sDv16_hDv16_aDv4_fDv2_dNS4_10RefVariantENS4_10StrVariantEEEENS4_7ValTypeEESaISK_EENS4_7ErrCodeEEERSt10unique_ptrINS4_3AST6ModuleESt14default_deleteISR_EEEZNS4_2VM2VM17unsafeRunWasmFileERKNSt10filesystem7__cxx114pathESt17basic_string_viewIcSt11char_traitsIcEENS0_4spanIKSI_Lm18446744073709551615EEENS18_IKSJ_Lm18446744073709551615EEEE3$_0E10_M_managerERSt9_Any_dataRKS1F_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #0 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN8WasmEdge2VM2VM17unsafeRunWasmFileERKNSt10filesystem7__cxx114pathESt17basic_string_viewIcSt11char_traitsIcEEN5cxx204spanIKNS1_7VariantIJjimlfdonDv2_mDv2_lDv4_jDv4_iDv8_tDv8_sDv16_hDv16_aDv4_fDv2_dNS1_10RefVariantENS1_10StrVariantEEEELm18446744073709551615EEENSE_IKNS1_7ValTypeELm18446744073709551615EEEE3$_0E10_M_managerERSt9_Any_dataRKS10_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -140970,7 +140970,7 @@ _ZNSt10unique_ptrIN8WasmEdge3AST9Component9ComponentESt14default_deleteIS3_EEaSE } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFN5cxx208expectedISt6vectorISt4pairIN8WasmEdge7VariantIJjimlfdonDv2_mDv2_lDv4_jDv4_iDv8_tDv8_sDv16_hDv16_aDv4_fDv2_dNS4_10RefVariantENS4_10StrVariantEEEENS4_7ValTypeEESaISK_EENS4_7ErrCodeEEERSt10unique_ptrINS4_3AST9Component9ComponentESt14default_deleteISS_EEEZNS4_2VM2VM17unsafeRunWasmFileERKNSt10filesystem7__cxx114pathESt17basic_string_viewIcSt11char_traitsIcEENS0_4spanIKSI_Lm18446744073709551615EEENS19_IKSJ_Lm18446744073709551615EEEE3$_1E10_M_managerERSt9_Any_dataRKS1G_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #0 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFN5cxx208expectedISt6vectorISt4pairIN8WasmEdge7VariantIJjimlfdonDv2_mDv2_lDv4_jDv4_iDv8_tDv8_sDv16_hDv16_aDv4_fDv2_dNS4_10RefVariantENS4_10StrVariantEEEENS4_7ValTypeEESaISK_EENS4_7ErrCodeEEERSt10unique_ptrINS4_3AST9Component9ComponentESt14default_deleteISS_EEEZNS4_2VM2VM17unsafeRunWasmFileERKNSt10filesystem7__cxx114pathESt17basic_string_viewIcSt11char_traitsIcEENS0_4spanIKSI_Lm18446744073709551615EEENS19_IKSJ_Lm18446744073709551615EEEE3$_1E10_M_managerERSt9_Any_dataRKS1G_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #0 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN8WasmEdge2VM2VM17unsafeRunWasmFileERKNSt10filesystem7__cxx114pathESt17basic_string_viewIcSt11char_traitsIcEEN5cxx204spanIKNS1_7VariantIJjimlfdonDv2_mDv2_lDv4_jDv4_iDv8_tDv8_sDv16_hDv16_aDv4_fDv2_dNS1_10RefVariantENS1_10StrVariantEEEELm18446744073709551615EEENSE_IKNS1_7ValTypeELm18446744073709551615EEEE3$_1E10_M_managerERSt9_Any_dataRKS10_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -141059,7 +141059,7 @@ _ZNKSt14default_deleteIN8WasmEdge3AST6ModuleEEclEPS2_.exit.i.i.i.i.i.i.i: ; pred } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFN5cxx208expectedISt6vectorISt4pairIN8WasmEdge7VariantIJjimlfdonDv2_mDv2_lDv4_jDv4_iDv8_tDv8_sDv16_hDv16_aDv4_fDv2_dNS4_10RefVariantENS4_10StrVariantEEEENS4_7ValTypeEESaISK_EENS4_7ErrCodeEEERSt10unique_ptrINS4_3AST6ModuleESt14default_deleteISR_EEEZNS4_2VM2VM17unsafeRunWasmFileENS0_4spanIKhLm18446744073709551615EEESt17basic_string_viewIcSt11char_traitsIcEENSZ_IKSI_Lm18446744073709551615EEENSZ_IKSJ_Lm18446744073709551615EEEE3$_0E10_M_managerERSt9_Any_dataRKS1C_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #0 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFN5cxx208expectedISt6vectorISt4pairIN8WasmEdge7VariantIJjimlfdonDv2_mDv2_lDv4_jDv4_iDv8_tDv8_sDv16_hDv16_aDv4_fDv2_dNS4_10RefVariantENS4_10StrVariantEEEENS4_7ValTypeEESaISK_EENS4_7ErrCodeEEERSt10unique_ptrINS4_3AST6ModuleESt14default_deleteISR_EEEZNS4_2VM2VM17unsafeRunWasmFileENS0_4spanIKhLm18446744073709551615EEESt17basic_string_viewIcSt11char_traitsIcEENSZ_IKSI_Lm18446744073709551615EEENSZ_IKSJ_Lm18446744073709551615EEEE3$_0E10_M_managerERSt9_Any_dataRKS1C_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #0 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN8WasmEdge2VM2VM17unsafeRunWasmFileEN5cxx204spanIKhLm18446744073709551615EEESt17basic_string_viewIcSt11char_traitsIcEENS5_IKNS1_7VariantIJjimlfdonDv2_mDv2_lDv4_jDv4_iDv8_tDv8_sDv16_hDv16_aDv4_fDv2_dNS1_10RefVariantENS1_10StrVariantEEEELm18446744073709551615EEENS5_IKNS1_7ValTypeELm18446744073709551615EEEE3$_0E10_M_managerERSt9_Any_dataRKSX_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -141158,7 +141158,7 @@ _ZNSt10unique_ptrIN8WasmEdge3AST9Component9ComponentESt14default_deleteIS3_EEaSE } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFN5cxx208expectedISt6vectorISt4pairIN8WasmEdge7VariantIJjimlfdonDv2_mDv2_lDv4_jDv4_iDv8_tDv8_sDv16_hDv16_aDv4_fDv2_dNS4_10RefVariantENS4_10StrVariantEEEENS4_7ValTypeEESaISK_EENS4_7ErrCodeEEERSt10unique_ptrINS4_3AST9Component9ComponentESt14default_deleteISS_EEEZNS4_2VM2VM17unsafeRunWasmFileENS0_4spanIKhLm18446744073709551615EEESt17basic_string_viewIcSt11char_traitsIcEENS10_IKSI_Lm18446744073709551615EEENS10_IKSJ_Lm18446744073709551615EEEE3$_1E10_M_managerERSt9_Any_dataRKS1D_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #0 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFN5cxx208expectedISt6vectorISt4pairIN8WasmEdge7VariantIJjimlfdonDv2_mDv2_lDv4_jDv4_iDv8_tDv8_sDv16_hDv16_aDv4_fDv2_dNS4_10RefVariantENS4_10StrVariantEEEENS4_7ValTypeEESaISK_EENS4_7ErrCodeEEERSt10unique_ptrINS4_3AST9Component9ComponentESt14default_deleteISS_EEEZNS4_2VM2VM17unsafeRunWasmFileENS0_4spanIKhLm18446744073709551615EEESt17basic_string_viewIcSt11char_traitsIcEENS10_IKSI_Lm18446744073709551615EEENS10_IKSJ_Lm18446744073709551615EEEE3$_1E10_M_managerERSt9_Any_dataRKS1D_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #0 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN8WasmEdge2VM2VM17unsafeRunWasmFileEN5cxx204spanIKhLm18446744073709551615EEESt17basic_string_viewIcSt11char_traitsIcEENS5_IKNS1_7VariantIJjimlfdonDv2_mDv2_lDv4_jDv4_iDv8_tDv8_sDv16_hDv16_aDv4_fDv2_dNS1_10RefVariantENS1_10StrVariantEEEELm18446744073709551615EEENS5_IKNS1_7ValTypeELm18446744073709551615EEEE3$_1E10_M_managerERSt9_Any_dataRKSX_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -147199,7 +147199,7 @@ _ZNKSt14default_deleteIN8WasmEdge3AST6ModuleEEclEPS2_.exit.i.i.i.i.i.i.i: ; pred } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFvRSt10unique_ptrIN8WasmEdge3AST6ModuleESt14default_deleteIS3_EEEZNS1_2VM2VM14unsafeLoadWasmERKNSt10filesystem7__cxx114pathEE3$_0E10_M_managerERSt9_Any_dataRKSI_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #19 align 2 personality ptr @__gxx_personality_v0 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFvRSt10unique_ptrIN8WasmEdge3AST6ModuleESt14default_deleteIS3_EEEZNS1_2VM2VM14unsafeLoadWasmERKNSt10filesystem7__cxx114pathEE3$_0E10_M_managerERSt9_Any_dataRKSI_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #19 align 2 personality ptr @__gxx_personality_v0 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN8WasmEdge2VM2VM14unsafeLoadWasmERKNSt10filesystem7__cxx114pathEE3$_0E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -147244,7 +147244,7 @@ _ZNKSt14default_deleteIN8WasmEdge3AST9Component9ComponentEEclEPS3_.exit.i.i.i.i. } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFvRSt10unique_ptrIN8WasmEdge3AST9Component9ComponentESt14default_deleteIS4_EEEZNS1_2VM2VM14unsafeLoadWasmERKNSt10filesystem7__cxx114pathEE3$_1E10_M_managerERSt9_Any_dataRKSJ_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #19 align 2 personality ptr @__gxx_personality_v0 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFvRSt10unique_ptrIN8WasmEdge3AST9Component9ComponentESt14default_deleteIS4_EEEZNS1_2VM2VM14unsafeLoadWasmERKNSt10filesystem7__cxx114pathEE3$_1E10_M_managerERSt9_Any_dataRKSJ_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #19 align 2 personality ptr @__gxx_personality_v0 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN8WasmEdge2VM2VM14unsafeLoadWasmERKNSt10filesystem7__cxx114pathEE3$_1E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -147289,7 +147289,7 @@ _ZNKSt14default_deleteIN8WasmEdge3AST6ModuleEEclEPS2_.exit.i.i.i.i.i.i.i: ; pred } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFvRSt10unique_ptrIN8WasmEdge3AST6ModuleESt14default_deleteIS3_EEEZNS1_2VM2VM14unsafeLoadWasmEN5cxx204spanIKhLm18446744073709551615EEEE3$_0E10_M_managerERSt9_Any_dataRKSH_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #19 align 2 personality ptr @__gxx_personality_v0 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFvRSt10unique_ptrIN8WasmEdge3AST6ModuleESt14default_deleteIS3_EEEZNS1_2VM2VM14unsafeLoadWasmEN5cxx204spanIKhLm18446744073709551615EEEE3$_0E10_M_managerERSt9_Any_dataRKSH_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #19 align 2 personality ptr @__gxx_personality_v0 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN8WasmEdge2VM2VM14unsafeLoadWasmEN5cxx204spanIKhLm18446744073709551615EEEE3$_0E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -147334,7 +147334,7 @@ _ZNKSt14default_deleteIN8WasmEdge3AST9Component9ComponentEEclEPS3_.exit.i.i.i.i. } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFvRSt10unique_ptrIN8WasmEdge3AST9Component9ComponentESt14default_deleteIS4_EEEZNS1_2VM2VM14unsafeLoadWasmEN5cxx204spanIKhLm18446744073709551615EEEE3$_1E10_M_managerERSt9_Any_dataRKSI_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #19 align 2 personality ptr @__gxx_personality_v0 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFvRSt10unique_ptrIN8WasmEdge3AST9Component9ComponentESt14default_deleteIS4_EEEZNS1_2VM2VM14unsafeLoadWasmEN5cxx204spanIKhLm18446744073709551615EEEE3$_1E10_M_managerERSt9_Any_dataRKSI_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #19 align 2 personality ptr @__gxx_personality_v0 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN8WasmEdge2VM2VM14unsafeLoadWasmEN5cxx204spanIKhLm18446744073709551615EEEE3$_1E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 diff --git a/bench/wireshark/optimized/packet-mikey.ll b/bench/wireshark/optimized/packet-mikey.ll index 958de22a512..0c31c39dbab 100644 --- a/bench/wireshark/optimized/packet-mikey.ll +++ b/bench/wireshark/optimized/packet-mikey.ll @@ -622,7 +622,7 @@ declare void @col_append_str(ptr noundef, i32 noundef, ptr noundef) local_unname declare void @col_append_fstr(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1 ; Function Attrs: null_pointer_is_valid sspstrong uwtable -define internal noundef i32 @dissect_payload_hdr(ptr noundef captures(none) initializes((0, 1)) %0, ptr noundef %1, ptr noundef readnone captures(none) %2, ptr noundef %3) #0 { +define internal range(i32 9, 0) i32 @dissect_payload_hdr(ptr noundef captures(none) initializes((0, 1)) %0, ptr noundef %1, ptr noundef readnone captures(none) %2, ptr noundef %3) #0 { tail call void @tvb_ensure_bytes_exist(ptr noundef %1, i32 noundef 0, i32 noundef 10) %5 = tail call zeroext i8 @tvb_get_uint8(ptr noundef %1, i32 noundef 1) store i8 %5, ptr %0, align 1 @@ -663,32 +663,28 @@ define internal noundef i32 @dissect_payload_hdr(ptr noundef captures(none) init .lr.ph: ; preds = %29 %.fr67 = freeze i8 %7 %31 = icmp eq i8 %.fr67, 0 - br i1 %31, label %dissect_payload_cs_id.exit.us, label %dissect_payload_cs_id.exit.thread + br i1 %31, label %dissect_payload_cs_id.exit.us, label %.lr.ph.split -dissect_payload_cs_id.exit.us: ; preds = %.lr.ph, %dissect_payload_cs_id.exit.thread.us - %.05463.us = phi i32 [ %35, %dissect_payload_cs_id.exit.thread.us ], [ 10, %.lr.ph ] - %.05662.us = phi i32 [ %36, %dissect_payload_cs_id.exit.thread.us ], [ 0, %.lr.ph ] +dissect_payload_cs_id.exit.us: ; preds = %.lr.ph, %dissect_payload_cs_id.exit.us + %.05463.us = phi i32 [ %34, %mikey_dissector_lookup.exit.i.us ], [ 10, %.lr.ph ] + %.05662.us = phi i32 [ %35, %mikey_dissector_lookup.exit.i.us ], [ 0, %.lr.ph ] %32 = tail call ptr @tvb_new_subset_remaining(ptr noundef %1, i32 noundef %.05463.us) %33 = tail call fastcc i32 @dissect_payload_cs_id_srtp(ptr readnone poison, ptr noundef %32, ptr readnone poison, ptr noundef %3) - %34 = icmp sgt i32 %33, -1 - br i1 %34, label %dissect_payload_cs_id.exit.thread.us, label %._crit_edge - -dissect_payload_cs_id.exit.thread.us: ; preds = %dissect_payload_cs_id.exit.us - %35 = add i32 %33, %.05463.us - %36 = add nuw nsw i32 %.05662.us, 1 - %exitcond69.not = icmp eq i32 %36, %30 - br i1 %exitcond69.not, label %._crit_edge, label %dissect_payload_cs_id.exit.us, !llvm.loop !8 - -dissect_payload_cs_id.exit.thread: ; preds = %.lr.ph, %dissect_payload_cs_id.exit.thread - %.05662 = phi i32 [ %38, %dissect_payload_cs_id.exit.thread ], [ 0, %.lr.ph ] - %37 = tail call ptr @tvb_new_subset_remaining(ptr noundef %1, i32 noundef 10) - %38 = add nuw nsw i32 %.05662, 1 - %exitcond.not = icmp eq i32 %38, %30 - br i1 %exitcond.not, label %._crit_edge, label %dissect_payload_cs_id.exit.thread, !llvm.loop !8 - -._crit_edge: ; preds = %dissect_payload_cs_id.exit.thread, %dissect_payload_cs_id.exit.us, %dissect_payload_cs_id.exit.thread.us, %29 - %.2 = phi i32 [ 10, %29 ], [ %35, %dissect_payload_cs_id.exit.thread.us ], [ 0, %dissect_payload_cs_id.exit.us ], [ 10, %dissect_payload_cs_id.exit.thread ] - ret i32 %.2 + %34 = add nuw nsw i32 %.05463.us, 9 + %35 = add nuw nsw i32 %.05659.us, 1 + %exitcond64.not = icmp eq i32 %35, %30 + br i1 %exitcond64.not, label %._crit_edge, label %dissect_payload_cs_id.exit.us, !llvm.loop !8 + +.lr.ph.split:; preds = %.lr.ph, %.lr.ph.split + %.05659 = phi i32 [ %37, %.lr.ph.split ], [ 0, %.lr.ph ] + %36 = tail call ptr @tvb_new_subset_remaining(ptr noundef %1, i32 noundef 10) + %37 = add nuw nsw i32 %.05659, 1 + %exitcond.not = icmp eq i32 %37, %30 + br i1 %exitcond.not, label %._crit_edge, label %.lr.ph.split, !llvm.loop !8 + +._crit_edge:; preds = %.lr.ph.split, %dissect_payload_cs_id.exit.us, %29 + %.054.lcssa = phi i32 [ 10, %29 ], [ %34, %mikey_dissector_lookup.exit.i.us ], [ 10, %.lr.ph.split ] + ret i32 %.054.lcssa } ; Function Attrs: null_pointer_is_valid sspstrong uwtable @@ -1071,7 +1067,7 @@ define internal range(i32 2, 258) i32 @dissect_payload_rand(ptr readnone capture } ; Function Attrs: null_pointer_is_valid sspstrong uwtable -define internal noundef i32 @dissect_payload_err(ptr readnone captures(none) %0, ptr noundef %1, ptr readnone captures(none) %2, ptr noundef %3) #0 { +define internal noundef range(i32 4, 5) i32 @dissect_payload_err(ptr readnone captures(none) %0, ptr noundef %1, ptr readnone captures(none) %2, ptr noundef %3) #0 { %.not = icmp eq ptr %3, null br i1 %.not, label %14, label %5 @@ -1312,7 +1308,7 @@ define internal range(i32 5, 65541) i32 @dissect_payload_sakke(ptr readnone capt declare ptr @proto_tree_get_parent(ptr noundef) local_unnamed_addr #1 ; Function Attrs: null_pointer_is_valid sspstrong uwtable -define internal fastcc noundef i32 @dissect_payload_cs_id_srtp(ptr readnone captures(none) %0, ptr noundef %1, ptr readnone captures(none) %2, ptr noundef %3) unnamed_addr #0 { +define internal fastcc noundef range(i32 9, 10) i32 @dissect_payload_cs_id_srtp(ptr readnone captures(none) %0, ptr noundef %1, ptr readnone captures(none) %2, ptr noundef %3) unnamed_addr #0 { %.not = icmp eq ptr %3, null br i1 %.not, label %20, label %5 diff --git a/bench/wireshark/optimized/tap-diameter-avp.ll b/bench/wireshark/optimized/tap-diameter-avp.ll index a5171c2dc0e..60e830be52c 100644 --- a/bench/wireshark/optimized/tap-diameter-avp.ll +++ b/bench/wireshark/optimized/tap-diameter-avp.ll @@ -152,7 +152,7 @@ declare ptr @g_string_free(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @register_tap_listener(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: null_pointer_is_valid sspstrong uwtable -define internal noundef i32 @diameteravp_packet(ptr noundef %0, ptr noundef %1, ptr noundef readonly captures(address_is_null) %2, ptr noundef %3, i32 %4) #0 { +define internal noundef range(i32 0, 1) i32 @diameteravp_packet(ptr noundef %0, ptr noundef %1, ptr noundef readonly captures(address_is_null) %2, ptr noundef %3, i32 %4) #0 { %6 = alloca ptr, align 8 %7 = alloca %struct.nstime_t, align 8 call void @llvm.lifetime.start.p0(ptr nonnull %6) @@ -287,7 +287,7 @@ define internal noundef i32 @diameteravp_packet(ptr noundef %0, ptr noundef %1, %83 = getelementptr inbounds nuw i8, ptr %82, i64 4 %84 = load i32, ptr %83, align 4 %85 = call i32 (i32, ptr, ...) @__printf_chk(i32 noundef 2, ptr noundef nonnull @.str.8, i32 noundef %74, double noundef %75, ptr noundef %77, i32 noundef %78, ptr noundef %80, i32 noundef %81, i32 noundef %84, i32 noundef %52, i32 noundef %29, i32 noundef %31, i32 noundef %33, double noundef %.051) - %86 = call fastcc zeroext i1 @tree_traverse_pre_order(ptr noundef %.04969.us, ptr noundef nonnull %6) + call fastcc void @tree_traverse_pre_order(ptr noundef %.04969.us, ptr noundef nonnull %6) %87 = call i32 (i32, ptr, ...) @__printf_chk(i32 noundef 2, ptr noundef nonnull @.str.9) br label %88 @@ -296,7 +296,7 @@ define internal noundef i32 @diameteravp_packet(ptr noundef %0, ptr noundef %1, br label %.thread.us .thread.us: ; preds = %88, %62, %59, %57, %.lr.ph.split.us - %.1.us = phi i32 [ %89, %88 ], [ %.05068.us, %62 ], [ %.05068.us, %59 ], [ %.05068.us, %57 ], [ %.05068.us, %.lr.ph.split.us ] + %.1.us = phi i32 [ %89, %87 ], [ %.05068.us, %62 ], [ %.05068.us, %59 ], [ %.05068.us, %57 ], [ %.05068.us, %.lr.ph.split.us ] %.not60.us = icmp eq ptr %54, null br i1 %.not60.us, label %.loopexit, label %.lr.ph.split.us, !llvm.loop !12 @@ -360,7 +360,7 @@ define internal noundef i32 @diameteravp_packet(ptr noundef %0, ptr noundef %1, %125 = getelementptr inbounds nuw i8, ptr %124, i64 4 %126 = load i32, ptr %125, align 4 %127 = call i32 (i32, ptr, ...) @__printf_chk(i32 noundef 2, ptr noundef nonnull @.str.8, i32 noundef %116, double noundef %117, ptr noundef %119, i32 noundef %120, ptr noundef %122, i32 noundef %123, i32 noundef %126, i32 noundef %52, i32 noundef %29, i32 noundef %31, i32 noundef %33, double noundef %.051) - %128 = call fastcc zeroext i1 @tree_traverse_pre_order(ptr noundef %.04969, ptr noundef nonnull %6) + call fastcc void @tree_traverse_pre_order(ptr noundef %.04969, ptr noundef nonnull %6) %129 = call i32 (i32, ptr, ...) @__printf_chk(i32 noundef 2, ptr noundef nonnull @.str.9) br label %130 @@ -369,7 +369,7 @@ define internal noundef i32 @diameteravp_packet(ptr noundef %0, ptr noundef %1, br label %.thread .thread: ; preds = %.lr.ph.split, %130, %99, %96, %94 - %.1 = phi i32 [ %131, %130 ], [ %.05068, %99 ], [ %.05068, %96 ], [ %.05068, %94 ], [ %.05068, %.lr.ph.split ] + %.1 = phi i32 [ %131, %128 ], [ %.05068, %98 ], [ %.05068, %95 ], [ %.05068, %93 ], [ %.05068, %.lr.ph.split ] %.not60 = icmp eq ptr %91, null br i1 %.not60, label %.loopexit, label %.lr.ph.split, !llvm.loop !12 @@ -412,32 +412,26 @@ declare i32 @__printf_chk(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare ptr @address_to_str(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: null_pointer_is_valid sspstrong uwtable -define internal fastcc noundef zeroext i1 @tree_traverse_pre_order(ptr noundef nonnull %0, ptr noundef %1) unnamed_addr #0 { - %3 = tail call fastcc zeroext i1 @diam_tree_to_csv(ptr noundef nonnull %0, ptr noundef %1) - br i1 %3, label %.loopexit, label %4 - -4: ; preds = %2 - %5 = load ptr, ptr %0, align 8 - br label %6 - -6: ; preds = %7, %4 - %.012 = phi ptr [ %5, %4 ], [ %9, %7 ] - %.not.not.not = icmp ne ptr %.012, null - br i1 %.not.not.not, label %7, label %.loopexit - -7: ; preds = %6 - %8 = getelementptr inbounds nuw i8, ptr %.012, i64 16 - %9 = load ptr, ptr %8, align 8 - %10 = tail call fastcc zeroext i1 @tree_traverse_pre_order(ptr noundef %.012, ptr noundef %1) - br i1 %10, label %.loopexit, label %6, !llvm.loop !13 - -.loopexit: ; preds = %6, %7, %2 - %.0 = phi i1 [ true, %2 ], [ %.not.not.not, %7 ], [ %.not.not.not, %6 ] - ret i1 %.0 +define internal fastcc void @tree_traverse_pre_order(ptr noundef nonnull %0, ptr noundef %1) unnamed_addr #0 { + tail call fastcc void @diam_tree_to_csv(ptr noundef nonnull %0, ptr noundef %1) + %3 = load ptr, ptr %0, align 8 + %.not1 = icmp eq ptr %3, null + br i1 %.not1, label %.loopexit, label %.lr.ph + +.lr.ph:; preds = %2, %.lr.ph + %.0122 = phi ptr [ %5, %.lr.ph ], [ %3, %2 ] + %4 = getelementptr inbounds nuw i8, ptr %.0122, i64 16 + %5 = load ptr, ptr %4, align 8 + tail call fastcc void @tree_traverse_pre_order(ptr noundef %.0122, ptr noundef %1) + %.not = icmp eq ptr %5, null + br i1 %.not, label %.loopexit, label %.lr.ph + +.loopexit:; preds = %.lr.ph, %2 + ret void } ; Function Attrs: null_pointer_is_valid sspstrong uwtable -define internal fastcc noundef zeroext i1 @diam_tree_to_csv(ptr noundef %0, ptr noundef %1) unnamed_addr #0 { +define internal fastcc void @diam_tree_to_csv(ptr noundef %0, ptr noundef %1) unnamed_addr #0 { %.not = icmp eq ptr %0, null br i1 %.not, label %3, label %6 @@ -495,7 +489,7 @@ define internal fastcc noundef zeroext i1 @diam_tree_to_csv(ptr noundef %0, ptr br label %30 30: ; preds = %13, %27, %.thread, %3 - ret i1 false + ret void } ; Function Attrs: null_pointer_is_valid @@ -551,4 +545,3 @@ attributes #9 = { nounwind willreturn memory(read) } !10 = !{i8 0, i8 2} !11 = !{} !12 = distinct !{!12, !8} -!13 = distinct !{!13, !8} diff --git a/bench/z3/optimized/qe_mbi.ll b/bench/z3/optimized/qe_mbi.ll index b297b4e16b5..22299aabca8 100644 --- a/bench/z3/optimized/qe_mbi.ll +++ b/bench/z3/optimized/qe_mbi.ll @@ -5406,19 +5406,22 @@ define hidden void @_ZN2qe9uflia_mbi11order_avarsER10ref_vectorI3app11ast_manage %15 = getelementptr inbounds nuw i8, ptr %4, i64 16 %16 = getelementptr inbounds nuw i8, ptr %4, i64 24 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 0, i64 16, i1 false) - store ptr @"_ZNSt17_Function_handlerIFbP3appS1_EZN2qe9uflia_mbi11order_avarsER10ref_vectorIS0_11ast_managerEE3$_0E9_M_invokeERKSt9_Any_dataOS1_SE_", ptr %16, align 8, !tbaa !246 - store ptr @"_ZNSt17_Function_handlerIFbP3appS1_EZN2qe9uflia_mbi11order_avarsER10ref_vectorIS0_11ast_managerEE3$_0E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation", ptr %15, align 8, !tbaa !84 - %17 = getelementptr inbounds nuw ptr, ptr %8, i64 %.0.i.i - invoke void @_ZSt4sortIPP3appSt8functionIFbS1_S1_EEEvT_S6_T0_(ptr noundef %8, ptr noundef %17, ptr noundef nonnull %4) - to label %18 unwind label %30 - -18: ; preds = %14 - %19 = load ptr, ptr %15, align 8, !tbaa !84 - %.not.i = icmp eq ptr %19, null - br i1 %.not.i, label %_ZNSt14_Function_baseD2Ev.exit.thread, label %20 + %17 = call noundef zeroext i1 @"_ZNSt17_Function_handlerIFbP3appS1_EZN2qe9uflia_mbi11order_avarsER10ref_vectorIS0_11ast_managerEE3$_0E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef 2) + %18 = load ptr, ptr %6, align 8, !tbaa !246 + store ptr %18, ptr %16, align 8, !tbaa !246 + %19 = load ptr, ptr %5, align 8, !tbaa !84 + store ptr %19, ptr %15, align 8, !tbaa !84 + %20 = getelementptr inbounds nuw ptr, ptr %8, i64 %.0.i.i + invoke void @_ZSt4sortIPP3appSt8functionIFbS1_S1_EEEvT_S6_T0_(ptr noundef %8, ptr noundef %20, ptr noundef nonnull %4) + to label %21 unwind label %34 + +21:; preds = %14 + %22 = load ptr, ptr %15, align 8, !tbaa !84 + %.not.i = icmp eq ptr %22, null + br i1 %.not.i, label %_ZNSt14_Function_baseD2Ev.exit, label %23 -20: ; preds = %18 - %21 = invoke noundef zeroext i1 %19(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef 3) +20: ; preds = %21 + %21 = invoke noundef zeroext i1 %22(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef 3) to label %_ZNSt14_Function_baseD2Ev.exit unwind label %22 22: ; preds = %20 @@ -5428,15 +5431,14 @@ define hidden void @_ZN2qe9uflia_mbi11order_avarsER10ref_vectorI3app11ast_manage call void @__clang_call_terminate(ptr %24) #25 unreachable -_ZNSt14_Function_baseD2Ev.exit: ; preds = %20 +_ZNSt14_Function_baseD2Ev.exit: ; preds = %21, %20 %.pre16 = load ptr, ptr %5, align 8, !tbaa !84 %.not.i6 = icmp eq ptr %.pre16, null br i1 %.not.i6, label %_ZNSt14_Function_baseD2Ev.exit7, label %_ZNSt14_Function_baseD2Ev.exit.thread -_ZNSt14_Function_baseD2Ev.exit.thread: ; preds = %18, %_ZNSt14_Function_baseD2Ev.exit - %25 = phi ptr [ %.pre16, %_ZNSt14_Function_baseD2Ev.exit ], [ @"_ZNSt17_Function_handlerIFbP3appS1_EZN2qe9uflia_mbi11order_avarsER10ref_vectorIS0_11ast_managerEE3$_0E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation", %18 ] - %26 = invoke noundef zeroext i1 %25(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef 3) - to label %_ZNSt14_Function_baseD2Ev.exit7 unwind label %27 +_ZNSt14_Function_baseD2Ev.exit.thread: ; preds = %_ZNSt14_Function_baseD2Ev.exit + %30 = invoke noundef zeroext i1 %28(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef 3) + to label %_ZNSt14_Function_baseD2Ev.exit7 unwind label %31 27: ; preds = %_ZNSt14_Function_baseD2Ev.exit.thread %28 = landingpad { ptr, i32 } @@ -5454,10 +5456,10 @@ _ZNSt14_Function_baseD2Ev.exit7: ; preds = %_ZNSt14_Function_ba cleanup %32 = load ptr, ptr %15, align 8, !tbaa !84 %.not.i8 = icmp eq ptr %32, null - br i1 %.not.i8, label %.body.thread, label %33 + br i1 %.not.i8, label %.body, label %33 33: ; preds = %30 - %34 = invoke noundef zeroext i1 %32(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef 3) + %34 = invoke noundef zeroext i1 %36(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef 3) to label %.body unwind label %35 35: ; preds = %33 @@ -5467,15 +5469,14 @@ _ZNSt14_Function_baseD2Ev.exit7: ; preds = %_ZNSt14_Function_ba call void @__clang_call_terminate(ptr %37) #25 unreachable -.body: ; preds = %33 +.body: ; preds = %37, %34 %.pre = load ptr, ptr %5, align 8, !tbaa !84 %.not.i10 = icmp eq ptr %.pre, null br i1 %.not.i10, label %_ZNSt14_Function_baseD2Ev.exit11, label %.body.thread -.body.thread: ; preds = %30, %.body - %38 = phi ptr [ %.pre, %.body ], [ @"_ZNSt17_Function_handlerIFbP3appS1_EZN2qe9uflia_mbi11order_avarsER10ref_vectorIS0_11ast_managerEE3$_0E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation", %30 ] - %39 = invoke noundef zeroext i1 %38(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef 3) - to label %_ZNSt14_Function_baseD2Ev.exit11 unwind label %40 +.body.thread: ; preds = %.body + %44 = invoke noundef zeroext i1 %42(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef 3) + to label %_ZNSt14_Function_baseD2Ev.exit11 unwind label %45 40: ; preds = %.body.thread %41 = landingpad { ptr, i32 } @@ -17583,7 +17584,7 @@ define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFbP3appS1_EZN2qe9u } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFbP3appS1_EZN2qe9uflia_mbi11order_avarsER10ref_vectorIS0_11ast_managerEE3$_0E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #19 align 2 personality ptr @__gxx_personality_v0 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFbP3appS1_EZN2qe9uflia_mbi11order_avarsER10ref_vectorIS0_11ast_managerEE3$_0E10_M_managerERSt9_Any_dataRKSB_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #19 align 2 personality ptr @__gxx_personality_v0 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN2qe9uflia_mbi11order_avarsER10ref_vectorI3app11ast_managerEE3$_0E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation.exit" [ i32 0, label %"_ZNSt14_Function_base13_Base_managerIZN2qe9uflia_mbi11order_avarsER10ref_vectorI3app11ast_managerEE3$_0E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation.exit.sink.split" i32 1, label %4 diff --git a/bench/z3/optimized/sat_anf_simplifier.ll b/bench/z3/optimized/sat_anf_simplifier.ll index f0ea43fbf7d..d17f74ab93e 100644 --- a/bench/z3/optimized/sat_anf_simplifier.ll +++ b/bench/z3/optimized/sat_anf_simplifier.ll @@ -4053,6 +4053,7 @@ _ZN6vectorIPN3sat6clauseELb0EjED2Ev.exit: ; preds = %_ZN6vectorISt4pairI ; Function Attrs: mustprogress uwtable define hidden void @_ZN3sat14anf_simplifier12compile_xorsER10ptr_vectorINS_6clauseEERN2dd6solverE(ptr noundef nonnull align 8 dereferenceable(96) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(208) %2) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 { + %.sroa.0.i.i.i.i = alloca { i64, i64 }, align 8 %4 = alloca %"class.std::function.78", align 8 %5 = alloca %"class.std::function.78", align 8 %6 = alloca %"class.sat::xor_finder", align 8 @@ -4080,34 +4081,41 @@ _ZNSt8functionIFvRK7svectorIN3sat7literalEjEEEC2ERKS7_.exit.i.i: ; preds = %10 call void @llvm.lifetime.start.p0(ptr nonnull %4) %15 = getelementptr inbounds nuw i8, ptr %4, i64 16 %16 = getelementptr inbounds nuw i8, ptr %4, i64 24 + call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 0, i64 32, i1 false) + %17 = call noundef zeroext i1 @"_ZNSt17_Function_handlerIFvRK7svectorIN3sat7literalEjEEZNS1_14anf_simplifier12compile_xorsER10ptr_vectorINS1_6clauseEERN2dd6solverEE3$_0E10_M_managerERSt9_Any_dataRKSH_St18_Manager_operation"(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef 2) + %18 = load ptr, ptr %11, align 8, !tbaa !318 + %19 = load ptr, ptr %12, align 8, !tbaa !316 + call void @llvm.lifetime.start.p0(ptr nonnull %.sroa.0.i.i.i.i) + call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %.sroa.0.i.i.i.i, ptr noundef nonnull align 8 dereferenceable(32) %4, i64 16, i1 false), !tbaa.struct !319 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %14, i64 16, i1 false), !tbaa.struct !319 - call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %5, i64 16, i1 false) - %17 = getelementptr inbounds nuw i8, ptr %6, i64 96 - %18 = load ptr, ptr %17, align 8, !tbaa !320 - store ptr %18, ptr %15, align 8, !tbaa !320 - store ptr @"_ZNSt17_Function_handlerIFvRK7svectorIN3sat7literalEjEEZNS1_14anf_simplifier12compile_xorsER10ptr_vectorINS1_6clauseEERN2dd6solverEE3$_0E10_M_managerERSt9_Any_dataRKSH_St18_Manager_operation", ptr %17, align 8, !tbaa !320 - %19 = getelementptr inbounds nuw i8, ptr %6, i64 104 - %20 = load ptr, ptr %19, align 8, !tbaa !320 - store ptr %20, ptr %16, align 8, !tbaa !320 - store ptr @"_ZNSt17_Function_handlerIFvRK7svectorIN3sat7literalEjEEZNS1_14anf_simplifier12compile_xorsER10ptr_vectorINS1_6clauseEERN2dd6solverEE3$_0E9_M_invokeERKSt9_Any_dataS5_", ptr %19, align 8, !tbaa !320 - %.not.i.i.i = icmp eq ptr %18, null - br i1 %.not.i.i.i, label %26, label %21 - -21: ; preds = %_ZNSt8functionIFvRK7svectorIN3sat7literalEjEEEC2ERKS7_.exit.i.i - %22 = invoke noundef zeroext i1 %18(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef 3) - to label %26 unwind label %23 - -23: ; preds = %21 - %24 = landingpad { ptr, i32 } + call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(16) %.sroa.0.i.i.i.i, i64 16, i1 false), !tbaa.struct !319 + call void @llvm.lifetime.end.p0(ptr nonnull %.sroa.0.i.i.i.i) + %20 = getelementptr inbounds nuw i8, ptr %6, i64 96 + %21 = load ptr, ptr %20, align 8, !tbaa !320 + store ptr %21, ptr %15, align 8, !tbaa !320 + store ptr %18, ptr %20, align 8, !tbaa !320 + %22 = getelementptr inbounds nuw i8, ptr %6, i64 104 + %23 = load ptr, ptr %22, align 8, !tbaa !320 + store ptr %23, ptr %16, align 8, !tbaa !320 + store ptr %19, ptr %22, align 8, !tbaa !320 + %.not.i.i.i = icmp eq ptr %21, null + br i1 %.not.i.i.i, label %29, label %24 + +24:; preds = %_ZNSt8functionIFvRK7svectorIN3sat7literalEjEEEC2ERKS7_.exit.i.i + %25 = invoke noundef zeroext i1 %21(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef 3) + to label %29 unwind label %26 + +26:; preds = %24 + %27 = landingpad { ptr, i32 } catch ptr null - %25 = extractvalue { ptr, i32 } %24, 0 + %25 = extractvalue { ptr, i32 } %27, 0 call void @__clang_call_terminate(ptr %25) #28 unreachable -26: ; preds = %21, %_ZNSt8functionIFvRK7svectorIN3sat7literalEjEEEC2ERKS7_.exit.i.i +26: ; preds = %24, %_ZNSt8functionIFvRK7svectorIN3sat7literalEjEEEC2ERKS7_.exit.i.i call void @llvm.lifetime.end.p0(ptr nonnull %4) invoke void @_ZN3sat10xor_finderclER10ptr_vectorINS_6clauseEE(ptr noundef nonnull align 8 dereferenceable(112) %6, ptr noundef nonnull align 8 dereferenceable(8) %1) - to label %27 unwind label %36 + to label %30 unwind label %36 27: ; preds = %26 call void @_ZN3sat10xor_finderD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %6) #27 @@ -4117,7 +4125,7 @@ _ZNSt8functionIFvRK7svectorIN3sat7literalEjEEEC2ERKS7_.exit.i.i: ; preds = %10 br i1 %.not.i, label %_ZNSt14_Function_baseD2Ev.exit, label %29 29: ; preds = %27 - %30 = invoke noundef zeroext i1 %28(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef 3) + %30 = invoke noundef zeroext i1 %31(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef 3) to label %_ZNSt14_Function_baseD2Ev.exit unwind label %31 31: ; preds = %29 @@ -4150,9 +4158,9 @@ _ZNSt14_Function_baseD2Ev.exit: ; preds = %27, %29 br i1 %.not.i6, label %_ZNSt14_Function_baseD2Ev.exit7, label %38 38: ; preds = %.thread, %36 - %.pn13 = phi { ptr, i32 } [ %35, %.thread ], [ %37, %36 ] - %39 = phi ptr [ @"_ZNSt17_Function_handlerIFvRK7svectorIN3sat7literalEjEEZNS1_14anf_simplifier12compile_xorsER10ptr_vectorINS1_6clauseEERN2dd6solverEE3$_0E10_M_managerERSt9_Any_dataRKSH_St18_Manager_operation", %.thread ], [ %.pre, %36 ] - %40 = invoke noundef zeroext i1 %39(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef 3) + %.pn13 = phi { ptr, i32 } [ %35, %.thread ], [ %37, %39 ] + %39 = phi ptr [ @"_ZNSt17_Function_handlerIFvRK7svectorIN3sat7literalEjEEZNS1_14anf_simplifier12compile_xorsER10ptr_vectorINS1_6clauseEERN2dd6solverEE3$_0E10_M_managerERSt9_Any_dataRKSH_St18_Manager_operation", %.thread ], [ %.pre, %39 ] + %40 = invoke noundef zeroext i1 %42(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef 3) to label %_ZNSt14_Function_baseD2Ev.exit7 unwind label %41 41: ; preds = %38 @@ -4163,7 +4171,7 @@ _ZNSt14_Function_baseD2Ev.exit: ; preds = %27, %29 unreachable _ZNSt14_Function_baseD2Ev.exit7: ; preds = %36, %38 - %.pn14 = phi { ptr, i32 } [ %37, %36 ], [ %.pn13, %38 ] + %.pn14 = phi { ptr, i32 } [ %37, %39 ], [ %.pn13, %41 ] call void @llvm.lifetime.end.p0(ptr nonnull %5) resume { ptr, i32 } %.pn14 } @@ -9900,7 +9908,7 @@ define internal void @"_ZNSt17_Function_handlerIFvRK7svectorIN3sat7literalEjEEZN } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFvRK7svectorIN3sat7literalEjEEZNS1_14anf_simplifier12compile_xorsER10ptr_vectorINS1_6clauseEERN2dd6solverEE3$_0E10_M_managerERSt9_Any_dataRKSH_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #21 align 2 personality ptr @__gxx_personality_v0 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFvRK7svectorIN3sat7literalEjEEZNS1_14anf_simplifier12compile_xorsER10ptr_vectorINS1_6clauseEERN2dd6solverEE3$_0E10_M_managerERSt9_Any_dataRKSH_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #21 align 2 personality ptr @__gxx_personality_v0 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN3sat14anf_simplifier12compile_xorsER10ptr_vectorINS1_6clauseEERN2dd6solverEE3$_0E10_M_managerERSt9_Any_dataRKSC_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -9977,7 +9985,7 @@ _ZNK6vectorIN3sat7literalELb0EjE3endEv.exit.i.i.i: ; preds = %3 } ; Function Attrs: mustprogress uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFvN3sat7literalERK7svectorIS1_jEEZNS0_14anf_simplifier12compile_aigsER10ptr_vectorINS0_6clauseEERS2_ISt4pairIS1_S1_EjERN2dd6solverEE3$_0E10_M_managerERSt9_Any_dataRKSL_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #3 align 2 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFvN3sat7literalERK7svectorIS1_jEEZNS0_14anf_simplifier12compile_aigsER10ptr_vectorINS0_6clauseEERS2_ISt4pairIS1_S1_EjERN2dd6solverEE3$_0E10_M_managerERSt9_Any_dataRKSL_St18_Manager_operation"(ptr noundef nonnull align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull readonly align 8 captures(none) dereferenceable(16) %1, i32 noundef %2) #3 align 2 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN3sat14anf_simplifier12compile_aigsER10ptr_vectorINS1_6clauseEER7svectorISt4pairINS1_7literalES9_EjERN2dd6solverEE3$_0E10_M_managerERSt9_Any_dataRKSI_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -10357,7 +10365,7 @@ define internal void @"_ZNSt17_Function_handlerIFvN3sat7literalES1_S1_S1_EZNS0_1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFvN3sat7literalES1_S1_S1_EZNS0_14anf_simplifier12compile_aigsER10ptr_vectorINS0_6clauseEER7svectorISt4pairIS1_S1_EjERN2dd6solverEE3$_1E10_M_managerERSt9_Any_dataRKSI_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #21 align 2 personality ptr @__gxx_personality_v0 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFvN3sat7literalES1_S1_S1_EZNS0_14anf_simplifier12compile_aigsER10ptr_vectorINS0_6clauseEER7svectorISt4pairIS1_S1_EjERN2dd6solverEE3$_1E10_M_managerERSt9_Any_dataRKSI_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #21 align 2 personality ptr @__gxx_personality_v0 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN3sat14anf_simplifier12compile_aigsER10ptr_vectorINS1_6clauseEER7svectorISt4pairINS1_7literalES9_EjERN2dd6solverEE3$_1E10_M_managerERSt9_Any_dataRKSI_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 @@ -10474,7 +10482,7 @@ define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFbSt4pairIN3sat7li } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFbSt4pairIN3sat7literalES2_EEZNS1_14anf_simplifier12compile_aigsER10ptr_vectorINS1_6clauseEER7svectorIS3_jERN2dd6solverEE3$_2E10_M_managerERSt9_Any_dataRKSI_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #21 align 2 personality ptr @__gxx_personality_v0 { +define internal noundef zeroext range(i1 0, -1) i1 @"_ZNSt17_Function_handlerIFbSt4pairIN3sat7literalES2_EEZNS1_14anf_simplifier12compile_aigsER10ptr_vectorINS1_6clauseEER7svectorIS3_jERN2dd6solverEE3$_2E10_M_managerERSt9_Any_dataRKSI_St18_Manager_operation"(ptr noundef nonnull writeonly align 8 captures(none) dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) #21 align 2 personality ptr @__gxx_personality_v0 { switch i32 %2, label %"_ZNSt14_Function_base13_Base_managerIZN3sat14anf_simplifier12compile_aigsER10ptr_vectorINS1_6clauseEER7svectorISt4pairINS1_7literalES9_EjERN2dd6solverEE3$_2E10_M_managerERSt9_Any_dataRKSI_St18_Manager_operation.exit" [ i32 0, label %4 i32 1, label %5 diff --git a/scripts/setup_pre_commit_patch.sh b/scripts/setup_pre_commit_patch.sh index c8d0fce0bf7..70f85b8eb91 100755 --- a/scripts/setup_pre_commit_patch.sh +++ b/scripts/setup_pre_commit_patch.sh @@ -2,7 +2,7 @@ set -euo pipefail shopt -s inherit_errexit -export GITHUB_PATCH_ID="/llvm-project/commit/" +export GITHUB_PATCH_ID=llvm/llvm-project/pull/166800 export COMPTIME_MODE=0 export STAT_MODE=0 export STAT_NAME=""