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/abcNpn.ll
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ Abc_Clock.exit: ; preds = %3, %13

switch.lookup: ; preds = %18
%switch.tableidx = add nsw i32 %1, -1
%20 = zext i32 %switch.tableidx to i64
%20 = zext nneg i32 %switch.tableidx to i64
%switch.gep = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.Abc_TruthNpnPerform, i64 0, i64 %20
%switch.load = load ptr, ptr %switch.gep, align 8
br label %21
Expand Down
4 changes: 2 additions & 2 deletions bench/actix-rs/optimized/19s5ghr2x6s6bmh4.ll
Original file line number Diff line number Diff line change
Expand Up @@ -5853,10 +5853,10 @@ define noundef range(i8 0, 6) i8 @"_ZN119_$LT$actix_http..header..shared..conten
; Function Attrs: nonlazybind uwtable
define void @"_ZN132_$LT$actix_http..header..shared..content_encoding..ContentEncoding$u20$as$u20$actix_http..header..into_value..TryIntoHeaderValue$GT$14try_into_value17h6e89acef04faf1a2E"(ptr noalias noundef writeonly sret({ [32 x i8], i8, [7 x i8] }) align 8 captures(none) dereferenceable(40) %0, i8 noundef %1) unnamed_addr #7 {
switch.lookup:
%2 = zext i8 %1 to i64
%2 = zext nneg i8 %1 to i64
%switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN132_$LT$actix_http..header..shared..content_encoding..ContentEncoding$u20$as$u20$actix_http..header..into_value..TryIntoHeaderValue$GT$14try_into_value17h6e89acef04faf1a2E", i64 0, i64 %2
%switch.load = load ptr, ptr %switch.gep, align 8
%3 = zext i8 %1 to i64
%3 = zext nneg i8 %1 to i64
%switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN132_$LT$actix_http..header..shared..content_encoding..ContentEncoding$u20$as$u20$actix_http..header..into_value..TryIntoHeaderValue$GT$14try_into_value17h6e89acef04faf1a2E.31", i64 0, i64 %3
%switch.load2 = load i64, ptr %switch.gep1, align 8
tail call void @llvm.experimental.noalias.scope.decl(metadata !846)
Expand Down
6 changes: 3 additions & 3 deletions bench/bullet3/optimized/btSoftBody.ll
Original file line number Diff line number Diff line change
Expand Up @@ -27101,7 +27101,7 @@ define dso_local void @_ZN10btSoftBody16solveConstraintsEv(ptr noundef nonnull a
%174 = load ptr, ptr %152, align 8, !tbaa !120
%175 = getelementptr inbounds nuw i32, ptr %174, i64 %indvars.iv187
%176 = load i32, ptr %175, align 4, !tbaa !325
%177 = zext i32 %176 to i64
%177 = zext nneg i32 %176 to i64
%switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN10btSoftBody11staticSolveEi, i64 0, i64 %177
%switch.load = load ptr, ptr %switch.gep, align 8
tail call void %switch.load(ptr noundef nonnull %0, float noundef 1.000000e+00, float noundef %168), !callees !822
Expand Down Expand Up @@ -27226,7 +27226,7 @@ define dso_local void @_ZN10btSoftBody16solveConstraintsEv(ptr noundef nonnull a
%239 = load ptr, ptr %220, align 8, !tbaa !120
%240 = getelementptr inbounds nuw i32, ptr %239, i64 %indvars.iv200
%241 = load i32, ptr %240, align 4, !tbaa !325
%242 = zext i32 %241 to i64
%242 = zext nneg i32 %241 to i64
%switch.gep217 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN10btSoftBody11staticSolveEi, i64 0, i64 %242
%switch.load218 = load ptr, ptr %switch.gep217, align 8
tail call void %switch.load218(ptr noundef nonnull %0, float noundef 1.000000e+00, float noundef 0.000000e+00), !callees !822
Expand Down Expand Up @@ -27827,7 +27827,7 @@ define dso_local void @_ZN10btSoftBody11staticSolveEi(ptr noundef nonnull align
%12 = load ptr, ptr %5, align 8, !tbaa !120
%13 = getelementptr inbounds nuw i32, ptr %12, i64 %indvars.iv
%14 = load i32, ptr %13, align 4, !tbaa !325
%15 = zext i32 %14 to i64
%15 = zext nneg i32 %14 to i64
%switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN10btSoftBody11staticSolveEi, i64 0, i64 %15
%switch.load = load ptr, ptr %switch.gep, align 8
tail call void %switch.load(ptr noundef nonnull %0, float noundef 1.000000e+00, float noundef 0.000000e+00), !callees !822
Expand Down
16 changes: 8 additions & 8 deletions bench/git/optimized/gc.ll
Original file line number Diff line number Diff line change
Expand Up @@ -5447,7 +5447,7 @@ switch.lookup:
call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %4) #21
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %4, ptr noundef nonnull align 8 dereferenceable(120) @__const.schtasks_remove_task.child, i64 120, i1 false)
%switch.tableidx = add nsw i32 %1, -1
%5 = zext i32 %switch.tableidx to i64
%5 = zext nneg i32 %switch.tableidx to i64
%switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table.schtasks_schedule_task, i64 0, i64 %5
%switch.load = load ptr, ptr %switch.gep, align 8
%6 = icmp ne i32 %0, 0
Expand All @@ -5460,7 +5460,7 @@ switch.lookup:

switch.lookup14: ; preds = %switch.lookup
%switch.tableidx15 = add nsw i32 %1, -1
%9 = zext i32 %switch.tableidx15 to i64
%9 = zext nneg i32 %switch.tableidx15 to i64
%switch.gep16 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table.schtasks_schedule_task, i64 0, i64 %9
%switch.load17 = load ptr, ptr %switch.gep16, align 8
%10 = tail call ptr (ptr, ...) @xstrfmt(ptr noundef nonnull @.str.209, ptr noundef nonnull %switch.load17, ptr noundef nonnull @.str.219) #21
Expand Down Expand Up @@ -5490,7 +5490,7 @@ _.exit.i: ; preds = %15, %13

switch.lookup18: ; preds = %18
%switch.tableidx19 = add nsw i32 %1, -1
%20 = zext i32 %switch.tableidx19 to i64
%20 = zext nneg i32 %switch.tableidx19 to i64
%switch.gep20 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table.systemd_timer_enable_unit.12, i64 0, i64 %20
%switch.load21 = load ptr, ptr %switch.gep20, align 8
%21 = tail call ptr (ptr, ...) @xstrfmt(ptr noundef nonnull %switch.load21, i32 noundef range(i32 0, 60) %2) #21
Expand Down Expand Up @@ -5647,7 +5647,7 @@ declare ptr @xdg_config_home_for(ptr noundef, ptr noundef) local_unnamed_addr #4
define internal fastcc range(i32 -1, 1) i32 @systemd_timer_delete_timer_file(i32 noundef range(i32 1, 4) %0) unnamed_addr #0 {
switch.lookup:
%switch.tableidx = add nsw i32 %0, -1
%1 = zext i32 %switch.tableidx to i64
%1 = zext nneg i32 %switch.tableidx to i64
%switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table.schtasks_schedule_task, i64 0, i64 %1
%switch.load = load ptr, ptr %switch.gep, align 8
%2 = tail call ptr (ptr, ...) @xstrfmt(ptr noundef nonnull @.str.209, ptr noundef nonnull %switch.load, ptr noundef nonnull @.str.219) #21
Expand Down Expand Up @@ -5698,7 +5698,7 @@ switch.lookup:
%9 = alloca %struct.stat, align 8
%10 = alloca ptr, align 8
%switch.tableidx = add nsw i32 %1, -1
%11 = zext i32 %switch.tableidx to i64
%11 = zext nneg i32 %switch.tableidx to i64
%switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table.schtasks_schedule_task, i64 0, i64 %11
%switch.load = load ptr, ptr %switch.gep, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #21
Expand Down Expand Up @@ -5985,7 +5985,7 @@ switch.lookup:
%1 = alloca %struct.strbuf, align 8
%2 = alloca %struct.strbuf, align 8
%switch.tableidx = add nsw i32 %0, -1
%3 = zext i32 %switch.tableidx to i64
%3 = zext nneg i32 %switch.tableidx to i64
%switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table.schtasks_schedule_task, i64 0, i64 %3
%switch.load = load ptr, ptr %switch.gep, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #21
Expand Down Expand Up @@ -6032,7 +6032,7 @@ switch.lookup:
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %5, ptr noundef nonnull align 8 dereferenceable(120) @__const.schtasks_remove_task.child, i64 120, i1 false)
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #21
%switch.tableidx = add nsw i32 %1, -1
%8 = zext i32 %switch.tableidx to i64
%8 = zext nneg i32 %switch.tableidx to i64
%switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table.schtasks_schedule_task, i64 0, i64 %8
%switch.load = load ptr, ptr %switch.gep, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #21
Expand Down Expand Up @@ -6076,7 +6076,7 @@ switch.lookup18: ; preds = %get_random_minute.e
%24 = load volatile ptr, ptr %23, align 8, !tbaa !176
%25 = call i64 @fwrite(ptr nonnull @.str.249, i64 135, i64 1, ptr %24)
%switch.tableidx19 = add nsw i32 %1, -1
%26 = zext i32 %switch.tableidx19 to i64
%26 = zext nneg i32 %switch.tableidx19 to i64
%switch.gep20 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table.schtasks_schedule_task.13, i64 0, i64 %26
%switch.load21 = load ptr, ptr %switch.gep20, align 8
%27 = load volatile ptr, ptr %23, align 8, !tbaa !176
Expand Down
10 changes: 5 additions & 5 deletions bench/glslang/optimized/hlslParseHelper.ll
Original file line number Diff line number Diff line change
Expand Up @@ -53610,7 +53610,7 @@ _ZSteqIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEbRKNSt7__cxx1112basic_st

switch.lookup: ; preds = %182
%switch.tableidx = add nsw i32 %.090146, -1
%184 = zext i32 %switch.tableidx to i64
%184 = zext nneg i32 %switch.tableidx to i64
%switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN7glslang16HlslParseContext18setLayoutQualifierERKNS_10TSourceLocERNS_10TQualifierERNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE, i64 0, i64 %184
%switch.load = load ptr, ptr %switch.gep, align 8
br label %_ZN7glslang10TQualifier20getLayoutDepthStringENS_12TLayoutDepthE.exit
Expand Down Expand Up @@ -60378,7 +60378,7 @@ _ZN7glslang13TIntermediate17setInputPrimitiveENS_15TLayoutGeometryE.exit: ; pred

switch.lookup: ; preds = %_ZN7glslang13TIntermediate17setInputPrimitiveENS_15TLayoutGeometryE.exit
%switch.tableidx = add nsw i32 %8, -1
%15 = zext i32 %switch.tableidx to i64
%15 = zext nneg i32 %switch.tableidx to i64
%switch.gep = getelementptr inbounds nuw [6 x ptr], ptr @switch.table._ZN7glslang16HlslParseContext19handleInputGeometryERKNS_10TSourceLocERKNS_15TLayoutGeometryE, i64 0, i64 %15
%switch.load = load ptr, ptr %switch.gep, align 8
%16 = load ptr, ptr %0, align 8
Expand Down Expand Up @@ -60455,7 +60455,7 @@ _ZN7glslang13TIntermediate18setOutputPrimitiveENS_15TLayoutGeometryE.exit: ; pre

switch.lookup: ; preds = %_ZN7glslang13TIntermediate18setOutputPrimitiveENS_15TLayoutGeometryE.exit
%switch.tableidx = add nsw i32 %10, -1
%17 = zext i32 %switch.tableidx to i64
%17 = zext nneg i32 %switch.tableidx to i64
%switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @switch.table._ZN7glslang16HlslParseContext33updateStandaloneQualifierDefaultsERKNS_10TSourceLocERKNS_11TPublicTypeE, i64 0, i64 %17
%switch.load = load ptr, ptr %switch.gep, align 8
%18 = load ptr, ptr %0, align 8
Expand Down Expand Up @@ -60760,7 +60760,7 @@ _ZN7glslang13TIntermediate18setOutputPrimitiveENS_15TLayoutGeometryE.exit.i: ; p

switch.lookup: ; preds = %_ZN7glslang13TIntermediate18setOutputPrimitiveENS_15TLayoutGeometryE.exit.i
%switch.tableidx = add nsw i32 %18, -1
%43 = zext i32 %switch.tableidx to i64
%43 = zext nneg i32 %switch.tableidx to i64
%switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @switch.table._ZN7glslang16HlslParseContext33updateStandaloneQualifierDefaultsERKNS_10TSourceLocERKNS_11TPublicTypeE, i64 0, i64 %43
%switch.load = load ptr, ptr %switch.gep, align 8
%44 = load ptr, ptr %0, align 8
Expand Down Expand Up @@ -60801,7 +60801,7 @@ _ZN7glslang10TQualifier17getGeometryStringENS_15TLayoutGeometryE.exit12.i: ; pre

switch.lookup94: ; preds = %56
%switch.tableidx95 = add i32 %18, -1
%58 = zext i32 %switch.tableidx95 to i64
%58 = zext nneg i32 %switch.tableidx95 to i64
%switch.gep96 = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZN7glslang16HlslParseContext33updateStandaloneQualifierDefaultsERKNS_10TSourceLocERKNS_11TPublicTypeE.98, i64 0, i64 %58
%switch.load97 = load ptr, ptr %switch.gep96, align 8
br label %_ZN7glslang10TQualifier17getGeometryStringENS_15TLayoutGeometryE.exit72
Expand Down
Loading