Skip to content

Commit e1d5477

Browse files
pre-commit: Update
1 parent 48fa83b commit e1d5477

File tree

188 files changed

+7458
-7521
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

188 files changed

+7458
-7521
lines changed

bench/abc/optimized/abcBlifMv.c.ll

+2-2
Original file line numberDiff line numberDiff line change
@@ -3579,7 +3579,7 @@ default.unreachable: ; preds = %52
35793579
ret ptr %.063
35803580
}
35813581

3582-
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
3582+
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
35833583
define i32 @Abc_NodeEvalMvCostInternal(i32 noundef %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readonly %2) local_unnamed_addr #7 {
35843584
%4 = load i8, ptr %2, align 1
35853585
%.not5 = icmp eq i8 %4, 0
@@ -3764,7 +3764,7 @@ attributes #3 = { mustprogress nounwind willreturn allockind("free") memory(argm
37643764
attributes #4 = { nofree nounwind "frame-pointer"="all" "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" }
37653765
attributes #5 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="all" "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" }
37663766
attributes #6 = { nofree nounwind uwtable "frame-pointer"="all" "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" }
3767-
attributes #7 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "frame-pointer"="all" "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" }
3767+
attributes #7 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "frame-pointer"="all" "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" }
37683768
attributes #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
37693769
attributes #9 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="all" "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" }
37703770
attributes #10 = { nofree nounwind }

bench/abc/optimized/abcSop.c.ll

+15-15
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ Abc_SopComplement.exit: ; preds = %.preheader, %Abc_So
843843

844844
declare i32 @Kit_TruthIsop(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
845845

846-
; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
846+
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable
847847
define void @Abc_SopComplement(ptr nocapture noundef %0) local_unnamed_addr #5 {
848848
br label %2
849849

@@ -1120,7 +1120,7 @@ Vec_IntPush.exit: ; preds = %.Vec_IntGrow.exit10
11201120
ret void
11211121
}
11221122

1123-
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
1123+
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
11241124
define noundef i32 @Abc_SopGetVarNum(ptr noundef %0) local_unnamed_addr #6 {
11251125
br label %2
11261126

@@ -1149,7 +1149,7 @@ define noundef i32 @Abc_SopGetVarNum(ptr noundef %0) local_unnamed_addr #6 {
11491149
ret i32 %.06
11501150
}
11511151

1152-
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
1152+
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
11531153
define i32 @Abc_SopGetCubeNum(ptr noundef readonly %0) local_unnamed_addr #6 {
11541154
%2 = icmp eq ptr %0, null
11551155
br i1 %2, label %.loopexit, label %.preheader
@@ -1176,7 +1176,7 @@ define i32 @Abc_SopGetCubeNum(ptr noundef readonly %0) local_unnamed_addr #6 {
11761176
ret i32 %.08
11771177
}
11781178

1179-
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
1179+
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
11801180
define i32 @Abc_SopGetLitNum(ptr noundef readonly %0) local_unnamed_addr #6 {
11811181
%2 = icmp eq ptr %0, null
11821182
br i1 %2, label %.loopexit, label %.preheader
@@ -1207,7 +1207,7 @@ define i32 @Abc_SopGetLitNum(ptr noundef readonly %0) local_unnamed_addr #6 {
12071207
ret i32 %.011
12081208
}
12091209

1210-
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
1210+
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
12111211
define range(i32 -1, 2) i32 @Abc_SopGetPhase(ptr noundef %0) local_unnamed_addr #6 {
12121212
br label %2
12131213

@@ -1255,7 +1255,7 @@ Abc_SopGetVarNum.exit: ; preds = %2, %6
12551255
ret i32 %.0
12561256
}
12571257

1258-
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
1258+
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
12591259
define range(i32 -176, 80) i32 @Abc_SopGetIthCareLit(ptr noundef %0, i32 noundef %1) local_unnamed_addr #6 {
12601260
br label %3
12611261

@@ -1313,7 +1313,7 @@ Abc_SopGetVarNum.exit: ; preds = %3, %7
13131313
ret i32 %.0
13141314
}
13151315

1316-
; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
1316+
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable
13171317
define void @Abc_SopComplementVar(ptr noundef %0, i32 noundef %1) local_unnamed_addr #5 {
13181318
br label %3
13191319

@@ -1375,7 +1375,7 @@ Abc_SopGetVarNum.exit: ; preds = %3, %7
13751375
ret void
13761376
}
13771377

1378-
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
1378+
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
13791379
define range(i32 0, 2) i32 @Abc_SopIsComplement(ptr nocapture noundef readonly %0) local_unnamed_addr #6 {
13801380
br label %2
13811381

@@ -1509,7 +1509,7 @@ define range(i32 0, 2) i32 @Abc_SopIsInv(ptr nocapture noundef readonly %0) loca
15091509
ret i32 %.0
15101510
}
15111511

1512-
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
1512+
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
15131513
define range(i32 0, 2) i32 @Abc_SopIsAndType(ptr noundef readonly %0) local_unnamed_addr #6 {
15141514
%2 = icmp eq ptr %0, null
15151515
br i1 %2, label %Abc_SopGetCubeNum.exit.thread, label %.preheader.i
@@ -1560,7 +1560,7 @@ Abc_SopGetCubeNum.exit.thread: ; preds = %.preheader, %.prehe
15601560
ret i32 %.06
15611561
}
15621562

1563-
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
1563+
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
15641564
define range(i32 0, 2) i32 @Abc_SopIsOrType(ptr noundef %0) local_unnamed_addr #6 {
15651565
br label %2
15661566

@@ -1654,7 +1654,7 @@ Abc_SopGetCubeNum.exit: ; preds = %.lr.ph.i, %Abc_SopG
16541654
ret i32 %.013
16551655
}
16561656

1657-
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
1657+
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
16581658
define range(i32 0, 2) i32 @Abc_SopIsExorType(ptr nocapture noundef readonly %0) local_unnamed_addr #6 {
16591659
br label %2
16601660

@@ -3762,7 +3762,7 @@ Vec_StrFree.exit: ; preds = %Vec_StrPush.exit32,
37623762
ret ptr %.0.i34
37633763
}
37643764

3765-
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
3765+
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
37663766
define i64 @Abc_SopToTruth(ptr noundef %0, i32 noundef %1) local_unnamed_addr #6 {
37673767
br label %3
37683768

@@ -3873,7 +3873,7 @@ Abc_SopIsComplement.exit.thread: ; preds = %34, %Abc_SopIsCompl
38733873
ret i64 %44
38743874
}
38753875

3876-
; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
3876+
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable
38773877
define void @Abc_SopToTruth7(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #5 {
38783878
br label %4
38793879

@@ -4225,8 +4225,8 @@ attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protect
42254225
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="all" "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" }
42264226
attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "frame-pointer"="all" "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" }
42274227
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
4228-
attributes #5 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "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" }
4229-
attributes #6 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "frame-pointer"="all" "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" }
4228+
attributes #5 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "frame-pointer"="all" "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" }
4229+
attributes #6 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "frame-pointer"="all" "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" }
42304230
attributes #7 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "frame-pointer"="all" "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" }
42314231
attributes #8 = { nofree nounwind uwtable "frame-pointer"="all" "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" }
42324232
attributes #9 = { nofree nounwind "frame-pointer"="all" "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" }

bench/abc/optimized/amapLiberty.c.ll

+6-6
Original file line numberDiff line numberDiff line change
@@ -2207,7 +2207,7 @@ declare noundef i32 @fseek(ptr nocapture noundef, i64 noundef, i32 noundef) loca
22072207
; Function Attrs: nofree nounwind
22082208
declare noundef i64 @ftell(ptr nocapture noundef) local_unnamed_addr #1
22092209

2210-
; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
2210+
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable
22112211
define void @Amap_LibertyFixFileHead(ptr nocapture noundef %0) local_unnamed_addr #9 {
22122212
br label %2
22132213

@@ -2231,7 +2231,7 @@ define void @Amap_LibertyFixFileHead(ptr nocapture noundef %0) local_unnamed_add
22312231
ret void
22322232
}
22332233

2234-
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
2234+
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
22352235
define i32 @Amap_LibertyCountItems(ptr noundef readonly %0, ptr noundef readnone %1) local_unnamed_addr #10 {
22362236
%3 = icmp ult ptr %0, %1
22372237
br i1 %3, label %.lr.ph, label %._crit_edge
@@ -2254,7 +2254,7 @@ define i32 @Amap_LibertyCountItems(ptr noundef readonly %0, ptr noundef readnone
22542254
ret i32 %.0.lcssa
22552255
}
22562256

2257-
; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
2257+
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable
22582258
define void @Amap_LibertyWipeOutComments(ptr noundef %0, ptr noundef readnone %1) local_unnamed_addr #9 {
22592259
%3 = ptrtoint ptr %1 to i64
22602260
%4 = icmp ult ptr %0, %1
@@ -2973,7 +2973,7 @@ Amap_LibertyCharIsSpace.exit: ; preds = %17, %17, %17, %17,
29732973
ret i64 %.sroa.020.0.insert.insert
29742974
}
29752975

2976-
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
2976+
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
29772977
define internal fastcc noundef ptr @Amap_LibertyFindMatch(ptr noundef readonly %0, ptr noundef readnone %1) unnamed_addr #10 {
29782978
%3 = ptrtoint ptr %0 to i64
29792979
%4 = ptrtoint ptr %1 to i64
@@ -3775,8 +3775,8 @@ attributes #5 = { mustprogress nofree nounwind willreturn memory(argmem: readwri
37753775
attributes #6 = { nofree nounwind memory(read, inaccessiblemem: none) uwtable "frame-pointer"="all" "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" }
37763776
attributes #7 = { mustprogress nofree nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "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" }
37773777
attributes #8 = { mustprogress nofree nounwind willreturn memory(read) "frame-pointer"="all" "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" }
3778-
attributes #9 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "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" }
3779-
attributes #10 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "frame-pointer"="all" "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" }
3778+
attributes #9 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "frame-pointer"="all" "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" }
3779+
attributes #10 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "frame-pointer"="all" "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" }
37803780
attributes #11 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "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" }
37813781
attributes #12 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "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" }
37823782
attributes #13 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="all" "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" }

0 commit comments

Comments
 (0)