Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bench/abc/optimized/abcBarBuf.ll
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ Abc_NodeTravId.exit: ; preds = %1, %._crit_edge.i.i
}

; Function Attrs: nounwind uwtable
define i32 @Abc_NtkCollectPiPos_int(ptr noundef readonly %0, ptr noundef captures(none) %1, ptr noundef captures(none) %2, ptr noundef captures(none) %3) local_unnamed_addr #0 {
define i32 @Abc_NtkCollectPiPos_int(ptr noundef readonly captures(address_is_null) %0, ptr noundef captures(none) %1, ptr noundef captures(none) %2, ptr noundef captures(none) %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds nuw i8, ptr %1, i64 232
%6 = load ptr, ptr %5, align 8, !tbaa !57
%.not.i = icmp eq ptr %6, null
Expand Down
62 changes: 24 additions & 38 deletions bench/abseil-cpp/optimized/raw_hash_set_allocator_test.ll
Original file line number Diff line number Diff line change
Expand Up @@ -2806,7 +2806,7 @@ _ZNSt15__allocated_ptrISaISt23_Sp_counted_ptr_inplaceIN4absl18container_internal
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal noundef ptr @_ZNSt23_Sp_counted_ptr_inplaceIN4absl18container_internal12_GLOBAL__N_110AllocStateESaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info(ptr noundef nonnull readnone align 8 dereferenceable(72) %this, ptr noundef nonnull readonly align 8 dereferenceable(16) %__ti) unnamed_addr #12 align 2 {
define internal noundef ptr @_ZNSt23_Sp_counted_ptr_inplaceIN4absl18container_internal12_GLOBAL__N_110AllocStateESaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info(ptr noundef nonnull readnone align 8 captures(ret: address, provenance) dereferenceable(72) %this, ptr noundef nonnull readonly align 8 captures(address) dereferenceable(16) %__ti) unnamed_addr #12 align 2 {
entry:
%_M_impl.i = getelementptr inbounds nuw i8, ptr %this, i64 16
%cmp = icmp eq ptr %__ti, @_ZZNSt19_Sp_make_shared_tag5_S_tiEvE5__tag
Expand Down Expand Up @@ -23679,29 +23679,16 @@ if.else.i.i.i.i.i.i.i.i.i.i.i: ; preds = %if.then.i.i.i.i.i.i

_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEEC2EmRKSA_.exit: ; preds = %_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEE6insertIiTnNSt9enable_ifIXsr4absl11disjunctionISt14is_convertibleIT_S9_ENSB_22SameAsElementReferenceISF_EEEE5valueEiE4typeELi0EiTnNSD_IXsr14IsDecomposableIT1_EE5valueEiE4typeELi0ETnPSF_LPi0EEESt4pairINSB_8iteratorEbEOSF_.exit, %if.then.i.i.i.i.i.i.i.i.i.i.i, %if.else.i.i.i.i.i.i.i.i.i.i.i
call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %tmp.i)
%cmp.i = icmp eq ptr %u, %t1
br i1 %cmp.i, label %invoke.cont8, label %if.end.i

if.end.i: ; preds = %_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEEC2EmRKSA_.exit
%add.ptr.i.i.i = getelementptr inbounds nuw i8, ptr %this, i64 72
invoke fastcc void @_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEEC2ERKSB_RKSA_(ptr noundef nonnull align 8 dereferenceable(56) %tmp.i, ptr noundef nonnull readonly align 8 dereferenceable(56) %t1, ptr noundef nonnull readonly align 8 dereferenceable(24) %add.ptr.i.i.i)
to label %.noexc unwind label %lpad

.noexc: ; preds = %if.end.i
.noexc: ; preds = %_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEEC2EmRKSA_.exit
%call2.i = invoke fastcc noundef nonnull align 8 dereferenceable(56) ptr @_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEE11assign_implILb1EEERSB_OSB_(ptr noundef nonnull align 8 dereferenceable(56) %u, ptr noundef nonnull align 8 dereferenceable(56) %tmp.i)
to label %invoke.cont.i unwind label %lpad.i

invoke.cont.i: ; preds = %.noexc
call fastcc void @_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %tmp.i) #28
br label %invoke.cont8

lpad.i: ; preds = %.noexc
%12 = landingpad { ptr, i32 }
cleanup
call fastcc void @_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %tmp.i) #28
br label %ehcleanup78

invoke.cont8: ; preds = %invoke.cont.i, %_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEEC2EmRKSA_.exit
call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %tmp.i)
store i64 8589934595, ptr %ref.tmp4, align 8, !alias.scope !698
%a1.val = load ptr, ptr %state_3.i.i.i.i.i.i, align 8
Expand All @@ -23710,12 +23697,18 @@ invoke.cont8: ; preds = %invoke.cont.i, %_ZN
invoke void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS0_15VariadicMatcherINS0_16AnyOfMatcherImplEJiiEEEEclImEENS_15AssertionResultEPKcRKT_(ptr nonnull sret(%"class.testing::AssertionResult") align 8 %gtest_ar, ptr noundef nonnull align 4 dereferenceable(8) %ref.tmp4, ptr noundef nonnull @.str.68, ptr noundef nonnull align 8 dereferenceable(8) %ref.tmp9)
to label %invoke.cont12 unwind label %lpad

invoke.cont12: ; preds = %invoke.cont8
invoke.cont12: ; preds = %.noexc
%12 = landingpad { ptr, i32 }
cleanup
call fastcc void @_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %tmp.i) #28
br label %ehcleanup78

invoke.cont12: ; preds = %invoke.cont.i
%13 = load i8, ptr %gtest_ar, align 8
%tobool.i = trunc i8 %13 to i1
br i1 %tobool.i, label %if.end, label %if.else

lpad: ; preds = %if.end.i.i, %if.then.i.i, %if.end.i, %invoke.cont33, %invoke.cont8
lpad: ; preds = %if.end.i.i, %if.then.i.i, %_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEEC2EmRKSA_.exit, %invoke.cont33, %invoke.cont.i
%14 = landingpad { ptr, i32 }
cleanup
br label %ehcleanup78
Expand Down Expand Up @@ -24037,7 +24030,7 @@ ehcleanup78: ; preds = %lpad, %lpad.i, %ehc
}

; Function Attrs: mustprogress uwtable
define internal fastcc noundef nonnull align 8 dereferenceable(56) ptr @_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEE11assign_implILb1EEERSB_OSB_(ptr noundef nonnull returned align 8 dereferenceable(56) %this, ptr noundef nonnull align 8 captures(none) dereferenceable(56) %that) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
define internal fastcc noundef nonnull align 8 dereferenceable(56) ptr @_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEE11assign_implILb1EEERSB_OSB_(ptr noundef nonnull returned align 8 captures(ret: address, provenance) dereferenceable(56) %this, ptr noundef nonnull align 8 captures(none) dereferenceable(56) %that) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
entry:
%0 = getelementptr inbounds nuw i8, ptr %this, i64 16
%this.val.i = load i64, ptr %0, align 8
Expand Down Expand Up @@ -24652,7 +24645,7 @@ ehcleanup78: ; preds = %ehcleanup77, %ehcle
}

; Function Attrs: mustprogress uwtable
define internal fastcc noundef nonnull align 8 dereferenceable(56) ptr @_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi6EEEEaSERKSB_(ptr noundef nonnull returned align 8 dereferenceable(56) %this, ptr noundef nonnull readonly align 8 dereferenceable(56) %that) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
define internal fastcc noundef nonnull align 8 dereferenceable(56) ptr @_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi6EEEEaSERKSB_(ptr noundef nonnull returned align 8 captures(address, ret: address, provenance) dereferenceable(56) %this, ptr noundef nonnull readonly align 8 captures(address) dereferenceable(56) %that) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
entry:
%tmp = alloca %"class.absl::container_internal::raw_hash_set.90", align 8
%cmp = icmp eq ptr %this, %that
Expand Down Expand Up @@ -24897,29 +24890,16 @@ if.else.i.i.i.i.i.i.i.i.i.i.i: ; preds = %if.then.i.i.i.i.i.i

_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEEC2EmRKSA_.exit: ; preds = %_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEE6insertIiTnNSt9enable_ifIXsr4absl11disjunctionISt14is_convertibleIT_S9_ENSB_22SameAsElementReferenceISF_EEEE5valueEiE4typeELi0EiTnNSD_IXsr14IsDecomposableIT1_EE5valueEiE4typeELi0ETnPSF_LPi0EEESt4pairINSB_8iteratorEbEOSF_.exit, %if.then.i.i.i.i.i.i.i.i.i.i.i, %if.else.i.i.i.i.i.i.i.i.i.i.i
call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %tmp.i)
%cmp.i = icmp eq ptr %u, %t1
br i1 %cmp.i, label %invoke.cont, label %if.end.i

if.end.i: ; preds = %_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEEC2EmRKSA_.exit
%add.ptr.i.i.i = getelementptr inbounds nuw i8, ptr %this, i64 72
invoke fastcc void @_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEEC2ERKSB_RKSA_(ptr noundef nonnull align 8 dereferenceable(56) %tmp.i, ptr noundef nonnull readonly align 8 dereferenceable(56) %t1, ptr noundef nonnull readonly align 8 dereferenceable(24) %add.ptr.i.i.i)
to label %.noexc unwind label %lpad

.noexc: ; preds = %if.end.i
.noexc: ; preds = %_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEEC2EmRKSA_.exit
%call2.i = invoke fastcc noundef nonnull align 8 dereferenceable(56) ptr @_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEE11assign_implILb1EEERSB_OSB_(ptr noundef nonnull align 8 dereferenceable(56) %u, ptr noundef nonnull align 8 dereferenceable(56) %tmp.i)
to label %invoke.cont.i unwind label %lpad.i

invoke.cont.i: ; preds = %.noexc
call fastcc void @_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %tmp.i) #28
br label %invoke.cont

lpad.i: ; preds = %.noexc
%12 = landingpad { ptr, i32 }
cleanup
call fastcc void @_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %tmp.i) #28
br label %ehcleanup123

invoke.cont: ; preds = %invoke.cont.i, %_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEEC2EmRKSA_.exit
call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %tmp.i)
%a1 = getelementptr inbounds nuw i8, ptr %this, i64 16
call void @llvm.experimental.noalias.scope.decl(metadata !731)
Expand All @@ -24934,8 +24914,14 @@ invoke.cont: ; preds = %invoke.cont.i, %_ZN
%cmp.not.i.i.i.i.i = icmp eq ptr %15, null
br i1 %cmp.not.i.i.i.i.i, label %invoke.cont5, label %if.then.i.i.i.i.i21

if.then.i.i.i.i.i21: ; preds = %invoke.cont
%_M_use_count.i.i.i.i.i.i = getelementptr inbounds nuw i8, ptr %15, i64 8
if.then.i.i.i.i.i21: ; preds = %.noexc
%_M_use_count.i.i.i.i.i.i = landingpad { ptr, i32 }
cleanup
call fastcc void @_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %tmp.i) #28
br label %ehcleanup123

if.then.i.i.i.i.i21: ; preds = %invoke.cont.i
%_M_use_count.i.i.i.i.i.i = getelementptr inbounds nuw i8, ptr %14, i64 8
%16 = load i8, ptr @__libc_single_threaded, align 1, !noalias !731
%tobool.i.not.i.i.i.i.i.i = icmp eq i8 %16, 0
br i1 %tobool.i.not.i.i.i.i.i.i, label %if.else.i.i.i.i.i.i.i, label %if.then.i.i.i.i.i.i.i
Expand All @@ -24950,7 +24936,7 @@ if.else.i.i.i.i.i.i.i: ; preds = %if.then.i.i.i.i.i21
%18 = atomicrmw volatile add ptr %_M_use_count.i.i.i.i.i.i, i32 1 acq_rel, align 4, !noalias !731
br label %invoke.cont5

invoke.cont5: ; preds = %if.else.i.i.i.i.i.i.i, %if.then.i.i.i.i.i.i.i, %invoke.cont
invoke.cont5: ; preds = %if.else.i.i.i.i.i.i.i, %if.then.i.i.i.i.i.i.i, %invoke.cont.i
invoke fastcc void @_ZN7testing8internal8EqHelper7CompareIN4absl18container_internal12_GLOBAL__N_112CheckedAllocINS4_7TrackedIiEELi7EEES9_TnPNSt9enable_ifIXoontsr3std11is_integralIT_EE5valuentsr3std10is_pointerIT0_EE5valueEvE4typeELPv0EEENS_15AssertionResultEPKcSJ_RKSB_RKSC_(ptr noalias align 8 %gtest_ar, ptr noundef nonnull @.str.51, ptr noundef nonnull @.str.80, ptr noundef nonnull align 8 dereferenceable(24) %a1, ptr noundef nonnull align 8 dereferenceable(24) %ref.tmp4)
to label %invoke.cont7 unwind label %lpad6

Expand Down Expand Up @@ -25030,7 +25016,7 @@ _ZN4absl18container_internal12_GLOBAL__N_112CheckedAllocINS0_7TrackedIiEELi7EED2
%tobool.i = trunc i8 %29 to i1
br i1 %tobool.i, label %if.end, label %if.else

lpad: ; preds = %if.end.i.i98, %if.then.i.i99, %if.end.i.i, %if.then.i.i, %if.end.i, %invoke.cont78, %invoke.cont25
lpad: ; preds = %if.end.i.i98, %if.then.i.i99, %if.end.i.i, %if.then.i.i, %_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEEC2EmRKSA_.exit, %invoke.cont78, %invoke.cont25
%30 = landingpad { ptr, i32 }
cleanup
br label %ehcleanup123
Expand Down Expand Up @@ -25567,7 +25553,7 @@ ehcleanup122: ; preds = %_ZN7testing7Message
br label %ehcleanup123

ehcleanup123: ; preds = %lpad, %lpad.i, %ehcleanup122, %ehcleanup98, %ehcleanup69, %ehcleanup46, %ehcleanup19, %lpad6
%.pn12.pn.pn = phi { ptr, i32 } [ %.pn12.pn, %ehcleanup122 ], [ %.pn9.pn, %ehcleanup98 ], [ %.pn6.pn, %ehcleanup69 ], [ %.pn3.pn, %ehcleanup46 ], [ %.pn.pn, %ehcleanup19 ], [ %31, %lpad6 ], [ %30, %lpad ], [ %12, %lpad.i ]
%.pn12.pn.pn = phi { ptr, i32 } [ %.pn12.pn, %ehcleanup122 ], [ %.pn9.pn, %ehcleanup98 ], [ %.pn6.pn, %ehcleanup69 ], [ %.pn3.pn, %ehcleanup46 ], [ %.pn.pn, %ehcleanup19 ], [ %31, %lpad6 ], [ %30, %lpad ], [ %15, %lpad.i ]
call fastcc void @_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_16PolicyENS2_8IdentityESt8equal_toIiENS2_12CheckedAllocINS0_7TrackedIiEELi7EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %u) #28
br label %common.resume
}
Expand Down
Loading