-
Notifications
You must be signed in to change notification settings - Fork 0
/
assembler.s
5577 lines (5567 loc) · 275 KB
/
assembler.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
.text
.file "task.c"
// Start of file scope inline assembly
.section .data.reset_barrier,"aw",@progbits
.type reset_barrier,@object
.globl reset_barrier
.p2align 2
reset_barrier:
.byte 255
.byte 11
.byte 11
.byte __atomic_bit_barrier_reset_barrier
.size reset_barrier, 4
.text
.section .data.initialization_barrier,"aw",@progbits
.type initialization_barrier,@object
.globl initialization_barrier
.p2align 2
initialization_barrier:
.byte 255
.byte 11
.byte 11
.byte __atomic_bit_barrier_initialization_barrier
.size initialization_barrier, 4
.text
// End of file scope inline assembly
.file 1 "/mnt/host_cwd/BIM" "dpu/task.c"
.file 2 "/upmem-sdk-2023.4.0/bin/../share/upmem/include/stdlib" "stdint.h"
.file 3 "/mnt/host_cwd/BIM" "dpu/../cbthowen/types.h"
.file 4 "/mnt/host_cwd/BIM" "dpu/../support/common.h"
.file 5 "/mnt/host_cwd/BIM" "dpu/tinytensor.h"
.section .text.counter_start,"ax",@progbits
.globl counter_start // -- Begin function counter_start
.type counter_start,@function
counter_start: // @counter_start
.Lfunc_begin0:
.file 6 "/mnt/host_cwd/BIM" "dpu/../support/cyclecount.h"
.loc 6 11 0 // dpu/../support/cyclecount.h:11:0
.cfi_sections .debug_frame
.cfi_startproc
// %bb.0:
//DEBUG_VALUE: counter_start:count <- $r0
.cfi_def_cfa_offset -16
.cfi_offset 23, -8
.cfi_offset 22, -4
sd r22, 8, d22
add r22, r22, 16
.cfi_offset 15, -16
.cfi_offset 14, -12
sd r22, -16, d14
move r14, r0
.Ltmp0:
//DEBUG_VALUE: counter_start:count <- $r14
.loc 6 12 20 prologue_end // dpu/../support/cyclecount.h:12:20
call r23, perfcounter_get
.Ltmp1:
.loc 6 12 18 is_stmt 0 // dpu/../support/cyclecount.h:12:18
sd r14, 0, d0
.loc 6 13 1 is_stmt 1 // dpu/../support/cyclecount.h:13:1
ld d14, r22, -16
.Ltmp2:
ld d22, r22, -8
jump r23
.Ltmp3:
.Lfunc_end0:
.size counter_start, .Lfunc_end0-counter_start
.cfi_endproc
.section .stack_sizes,"o",@progbits,.text.counter_start
.long .Lfunc_begin0
.byte 16
.section .text.counter_start,"ax",@progbits
// -- End function
.section .text.counter_stop,"ax",@progbits
.globl counter_stop // -- Begin function counter_stop
.type counter_stop,@function
counter_stop: // @counter_stop
.Lfunc_begin1:
.loc 6 15 0 // dpu/../support/cyclecount.h:15:0
.cfi_startproc
// %bb.0:
//DEBUG_VALUE: counter_stop:count <- $r0
.cfi_def_cfa_offset -16
.cfi_offset 23, -8
.cfi_offset 22, -4
sd r22, 8, d22
add r22, r22, 16
.cfi_offset 15, -16
.cfi_offset 14, -12
sd r22, -16, d14
move r14, r0
.Ltmp4:
//DEBUG_VALUE: counter_stop:count <- $r14
.loc 6 16 18 prologue_end // dpu/../support/cyclecount.h:16:18
call r23, perfcounter_get
.Ltmp5:
.loc 6 16 16 is_stmt 0 // dpu/../support/cyclecount.h:16:16
sd r14, 8, d0
.loc 6 17 19 is_stmt 1 // dpu/../support/cyclecount.h:17:19
call r23, perfcounter_get
.Ltmp6:
.loc 6 17 17 is_stmt 0 // dpu/../support/cyclecount.h:17:17
sd r14, 16, d0
.loc 6 18 64 is_stmt 1 // dpu/../support/cyclecount.h:18:64
ld d2, r14, 0
.loc 6 18 44 is_stmt 0 // dpu/../support/cyclecount.h:18:44
ld d4, r14, 8
.loc 6 18 70 // dpu/../support/cyclecount.h:18:70
lsrx r6, r2, 4
lsr_add r7, r6, r3, 4
lsr r6, r2, 4
.loc 6 18 93 // dpu/../support/cyclecount.h:18:93
lsrx r2, r0, 4
lsr_add r3, r2, r1, 4
lsr r2, r0, 4
lsrx r0, r4, 3
lsr_add r1, r0, r5, 3
lsr r0, r4, 3
and r1, r1, 4294967294
and r0, r0, 0
.loc 6 18 99 // dpu/../support/cyclecount.h:18:99
add r3, r7, r3
addc r2, r6, r2
.loc 6 18 77 // dpu/../support/cyclecount.h:18:77
sub r1, r1, r3
subc r0, r0, r2
.loc 6 18 123 // dpu/../support/cyclecount.h:18:123
lslx r2, r1, 4
lsl_add r2, r2, r0, 4
lsl r3, r1, 4
and r1, r3, 4294967280
and r0, r2, 15
.loc 6 18 5 // dpu/../support/cyclecount.h:18:5
ld d14, r22, -16
.Ltmp7:
ld d22, r22, -8
jump r23
.Ltmp8:
.Lfunc_end1:
.size counter_stop, .Lfunc_end1-counter_stop
.cfi_endproc
.section .stack_sizes,"o",@progbits,.text.counter_stop
.long .Lfunc_begin1
.byte 16
.section .text.counter_stop,"ax",@progbits
// -- End function
.section .text.fused_kernel,"ax",@progbits
.globl fused_kernel // -- Begin function fused_kernel
.type fused_kernel,@function
fused_kernel: // @fused_kernel
.Lfunc_begin2:
.loc 1 108 0 is_stmt 1 // dpu/task.c:108:0
.cfi_startproc
// %bb.0:
.cfi_def_cfa_offset -80
.cfi_offset 23, -8
.cfi_offset 22, -4
sd r22, 72, d22
add r22, r22, 80
.cfi_offset 15, -56
.cfi_offset 14, -52
.Ltmp9:
sd r22, -56, d14
.cfi_offset 17, -64
.cfi_offset 16, -60
sd r22, -64, d16
.cfi_offset 19, -72
.cfi_offset 18, -68
sd r22, -72, d18
.cfi_offset 21, -80
.cfi_offset 20, -76
sd r22, -80, d20
.Ltmp10:
//DEBUG_VALUE: fused_kernel:tasklet_id <- $r17
.file 7 "/upmem-sdk-2023.4.0/bin/../share/upmem/include/syslib" "defs.h"
.loc 7 35 12 prologue_end // /upmem-sdk-2023.4.0/bin/../share/upmem/include/syslib/defs.h:35:12
move r17, id, nz, .LBB2_2
.Ltmp11:
// %bb.1:
.loc 1 111 9 // dpu/task.c:111:9
call r23, mem_reset
.Ltmp12:
.LBB2_2:
.loc 1 120 5 // dpu/task.c:120:5
move r0, reset_barrier
call r23, barrier_wait
.Ltmp13:
.loc 1 131 48 // dpu/task.c:131:48
move r0, DPU_INPUT_ARGUMENTS
lw r15, r0, 24
.Ltmp14:
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 0 32] $r15
lw r14, r0, 28
.Ltmp15:
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 32 32] $r14
lw r5, r0, 32
.Ltmp16:
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 64 32] $r5
lw r1, r0, 36
.Ltmp17:
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 96 32] $r1
sw r22, -40, r1
.Ltmp18:
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 40, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
lw r18, r0, 40
.Ltmp19:
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 160 32] undef
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 128 32] $r18
lw r19, r0, 48
.Ltmp20:
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 192 32] $r19
.loc 1 133 51 // dpu/task.c:133:51
lw r1, zero, DPU_INPUT_ARGUMENTS
.Ltmp21:
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_LLVM_fragment 0 32] $r1
lw r2, r0, 4
.Ltmp22:
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_LLVM_fragment 32 32] $r2
lw r3, r0, 8
.Ltmp23:
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_LLVM_fragment 64 32] $r3
lw r4, r0, 12
.Ltmp24:
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_LLVM_fragment 96 32] $r4
sw r22, -28, r4
.Ltmp25:
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 28, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
lw r4, r0, 16
.Ltmp26:
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_LLVM_fragment 160 32] undef
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_LLVM_fragment 128 32] $r4
sw r22, -24, r4
.Ltmp27:
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 24, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
.loc 1 135 42 // dpu/task.c:135:42
lw r6, r0, 52
.Ltmp28:
//DEBUG_VALUE: fused_kernel:num_inputs <- $r6
.loc 1 139 51 // dpu/task.c:139:51
move r4, __sys_used_mram_end
.Ltmp29:
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 0 32] $r4
add r1, r1, r4
.Ltmp30:
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 64 32] $r1
.loc 1 140 51 // dpu/task.c:140:51
add r3, r1, r3
.Ltmp31:
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 32 32] $r3
.loc 1 141 52 // dpu/task.c:141:52
add r1, r3, r2
.Ltmp32:
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 160 32] undef
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 128 32] undef
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 96 32] $r1
sw r22, -32, r1
.Ltmp33:
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
sw r22, -48, r5
.Ltmp34:
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 48, DW_OP_minus, DW_OP_LLVM_fragment 64 32] [$r22+0]
sw r22, -44, r6
.loc 1 176 9 // dpu/task.c:176:9
jneq r17, 0, .LBB2_13
.Ltmp35:
// %bb.3:
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 48, DW_OP_minus, DW_OP_LLVM_fragment 64 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 24, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 28, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 40, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 192 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 128 32] $r18
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 0 32] $r15
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 32 32] $r14
//DEBUG_VALUE: fused_kernel:num_inputs <- $r6
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 0 32] $r4
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 32 32] $r3
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_LLVM_fragment 32 32] $r2
sw r22, -12, r3
sw r22, -20, r17
.loc 1 0 0 is_stmt 0 // dpu/task.c:0:0
lw r0, r0, 44
.Ltmp36:
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 160 32] $r0
sw r22, -16, r0
.Ltmp37:
//DEBUG_VALUE: wram_alloc_u8:len <- [DW_OP_constu 48, DW_OP_minus] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 16, DW_OP_minus, DW_OP_LLVM_fragment 160 32] [$r22+0]
.file 8 "/mnt/host_cwd/BIM" "dpu/tinylib.h"
.loc 8 76 1 is_stmt 1 // dpu/tinylib.h:76:1
move r0, r5
call r23, mem_alloc
.Ltmp38:
move r20, r0
.Ltmp39:
//DEBUG_VALUE: thresholds_chunk <- $r20
.loc 1 178 20 // dpu/task.c:178:20
sw zero, thresholds, r20
.loc 1 181 45 // dpu/task.c:181:45
add r1, r14, 1
move r0, 255
.loc 1 181 33 is_stmt 0 // dpu/task.c:181:33
call r23, __udiv32
.Ltmp40:
.loc 1 0 33 // dpu/task.c:0:33
lw r1, r22, -48
.loc 1 181 33 // dpu/task.c:181:33
move r21, r0
.Ltmp41:
//DEBUG_VALUE: thresh_per_skew <- [DW_OP_LLVM_convert 32 7, DW_OP_LLVM_convert 8 7, DW_OP_stack_value] $r21
//DEBUG_VALUE: i <- 0
.loc 1 182 9 is_stmt 1 // dpu/task.c:182:9
jeq r1, 0, .LBB2_9
.Ltmp42:
// %bb.4:
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 16, DW_OP_minus, DW_OP_LLVM_fragment 160 32] [$r22+0]
//DEBUG_VALUE: wram_alloc_u8:len <- [DW_OP_constu 48, DW_OP_minus] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 48, DW_OP_minus, DW_OP_LLVM_fragment 64 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 24, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 28, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 40, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: thresh_per_skew <- [DW_OP_LLVM_convert 32 7, DW_OP_LLVM_convert 8 7, DW_OP_stack_value] $r21
//DEBUG_VALUE: thresholds_chunk <- $r20
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 192 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 128 32] $r18
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 0 32] $r15
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 32 32] $r14
//DEBUG_VALUE: fused_kernel:num_inputs <- $r6
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 0 32] $r4
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 32 32] $r3
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_LLVM_fragment 32 32] $r2
//DEBUG_VALUE: i <- 0
.loc 1 0 9 is_stmt 0 // dpu/task.c:0:9
move r0, 0, true, .LBB2_5
.Ltmp43:
.LBB2_8: // in Loop: Header=BB2_5 Depth=1
//DEBUG_VALUE: i <- [DW_OP_constu 36, DW_OP_minus] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 16, DW_OP_minus, DW_OP_LLVM_fragment 160 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 48, DW_OP_minus, DW_OP_LLVM_fragment 64 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 24, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 28, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 40, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: thresh_per_skew <- [DW_OP_LLVM_convert 32 7, DW_OP_LLVM_convert 8 7, DW_OP_stack_value] $r21
//DEBUG_VALUE: thresholds_chunk <- $r20
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 192 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 128 32] $r18
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 0 32] $r15
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 32 32] $r14
//DEBUG_VALUE: fused_kernel:num_inputs <- $r6
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 0 32] $r4
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 32 32] $r3
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_LLVM_fragment 32 32] $r2
lw r0, r22, -36
.Ltmp44:
.loc 1 182 42 // dpu/task.c:182:42
add r0, r0, 1
.Ltmp45:
//DEBUG_VALUE: i <- $r0
.loc 1 186 30 is_stmt 1 // dpu/task.c:186:30
add r20, r20, r14
.Ltmp46:
//DEBUG_VALUE: thresholds_chunk <- $r20
.loc 1 0 30 is_stmt 0 // dpu/task.c:0:30
lw r1, r22, -48
.Ltmp47:
.loc 1 182 9 is_stmt 1 // dpu/task.c:182:9
jeq r0, r1, .LBB2_9
.Ltmp48:
.LBB2_5: // =>This Loop Header: Depth=1
// Child Loop BB2_7 Depth 2
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 16, DW_OP_minus, DW_OP_LLVM_fragment 160 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 48, DW_OP_minus, DW_OP_LLVM_fragment 64 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 24, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 28, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 40, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: thresh_per_skew <- [DW_OP_LLVM_convert 32 7, DW_OP_LLVM_convert 8 7, DW_OP_stack_value] $r21
//DEBUG_VALUE: thresholds_chunk <- $r20
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 192 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 128 32] $r18
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 0 32] $r15
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 32 32] $r14
//DEBUG_VALUE: fused_kernel:num_inputs <- $r6
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 0 32] $r4
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 32 32] $r3
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_LLVM_fragment 32 32] $r2
//DEBUG_VALUE: thresholds_chunk <- $r20
//DEBUG_VALUE: i <- $r0
//DEBUG_VALUE: j <- 0
sw r22, -36, r0
.Ltmp49:
//DEBUG_VALUE: i <- [DW_OP_constu 36, DW_OP_minus] [$r22+0]
.loc 1 183 13 // dpu/task.c:183:13
jeq r14, 0, .LBB2_8
.Ltmp50:
// %bb.6: // in Loop: Header=BB2_5 Depth=1
//DEBUG_VALUE: i <- [DW_OP_constu 36, DW_OP_minus] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 16, DW_OP_minus, DW_OP_LLVM_fragment 160 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 48, DW_OP_minus, DW_OP_LLVM_fragment 64 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 24, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 28, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 40, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: thresh_per_skew <- [DW_OP_LLVM_convert 32 7, DW_OP_LLVM_convert 8 7, DW_OP_stack_value] $r21
//DEBUG_VALUE: thresholds_chunk <- $r20
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 192 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 128 32] $r18
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 0 32] $r15
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 32 32] $r14
//DEBUG_VALUE: fused_kernel:num_inputs <- $r6
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 0 32] $r4
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 32 32] $r3
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_LLVM_fragment 32 32] $r2
//DEBUG_VALUE: j <- 0
.loc 1 0 13 is_stmt 0 // dpu/task.c:0:13
move r16, 0
.Ltmp51:
.LBB2_7: // Parent Loop BB2_5 Depth=1
// => This Inner Loop Header: Depth=2
//DEBUG_VALUE: i <- [DW_OP_constu 36, DW_OP_minus] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 16, DW_OP_minus, DW_OP_LLVM_fragment 160 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 48, DW_OP_minus, DW_OP_LLVM_fragment 64 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 24, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 28, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 40, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: thresh_per_skew <- [DW_OP_LLVM_convert 32 7, DW_OP_LLVM_convert 8 7, DW_OP_stack_value] $r21
//DEBUG_VALUE: thresholds_chunk <- $r20
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 192 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 128 32] $r18
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 0 32] $r15
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 32 32] $r14
//DEBUG_VALUE: fused_kernel:num_inputs <- $r6
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 0 32] $r4
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 32 32] $r3
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_LLVM_fragment 32 32] $r2
//DEBUG_VALUE: j <- $r16
.loc 1 184 42 is_stmt 1 // dpu/task.c:184:42
add r17, r16, 1
.loc 1 184 47 is_stmt 0 // dpu/task.c:184:47
move r0, r17
move r1, r21
call r23, __mulsi3
.Ltmp52:
.loc 1 184 37 // dpu/task.c:184:37
add r1, r20, r16
sb r1, 0, r0
.Ltmp53:
//DEBUG_VALUE: j <- $r17
.loc 1 0 37 // dpu/task.c:0:37
move r16, r17
.Ltmp54:
//DEBUG_VALUE: j <- $r16
jneq r14, r17, .LBB2_7
jump .LBB2_8
.Ltmp55:
.LBB2_9:
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 16, DW_OP_minus, DW_OP_LLVM_fragment 160 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 48, DW_OP_minus, DW_OP_LLVM_fragment 64 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 24, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 28, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 40, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: thresh_per_skew <- [DW_OP_LLVM_convert 32 7, DW_OP_LLVM_convert 8 7, DW_OP_stack_value] $r21
//DEBUG_VALUE: thresholds_chunk <- $r20
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 192 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 128 32] $r18
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 0 32] $r15
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 32 32] $r14
//DEBUG_VALUE: fused_kernel:num_inputs <- $r6
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 0 32] $r4
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 32 32] $r3
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_LLVM_fragment 32 32] $r2
//DEBUG_VALUE: wram_alloc_u16:len <- [DW_OP_constu 48, DW_OP_minus] [$r22+0]
.loc 8 78 1 is_stmt 1 // dpu/tinylib.h:78:1
lsl r20, r1, 1
.Ltmp56:
move r0, r20
call r23, mem_alloc
.Ltmp57:
.loc 8 0 1 is_stmt 0 // dpu/tinylib.h:0:1
lw r3, r22, -48
.Ltmp58:
.loc 1 190 15 is_stmt 1 // dpu/task.c:190:15
sw zero, order, r0
move r21, -1
.Ltmp59:
//DEBUG_VALUE: mram_read:nb_of_bytes <- $r20
//DEBUG_VALUE: mram_read:from <- [DW_OP_constu 12, DW_OP_minus] [$r22+0]
//DEBUG_VALUE: mram_read:to <- $r0
//DEBUG_VALUE: mram_read_u16:len <- [DW_OP_constu 48, DW_OP_minus] [$r22+0]
//DEBUG_VALUE: mram_read_u16:from <- [DW_OP_constu 12, DW_OP_minus] [$r22+0]
//DEBUG_VALUE: mram_read_u16:to <- $r0
.file 9 "/upmem-sdk-2023.4.0/bin/../share/upmem/include/syslib" "mram.h"
.loc 9 39 24 // /upmem-sdk-2023.4.0/bin/../share/upmem/include/syslib/mram.h:39:24
lsr_add r1, r21, r20, 3
lsl_add r0, r0, r1, 24
.Ltmp60:
lw r1, r22, -12
.Ltmp61:
//DEBUG_VALUE: mram_read:from <- $r1
//DEBUG_VALUE: mram_read_u16:from <- $r1
ldma r0, r1, 0
.Ltmp62:
//DEBUG_VALUE: i <- 0
.loc 1 194 9 // dpu/task.c:194:9
jeq r3, 0, .LBB2_12
.Ltmp63:
// %bb.10:
//DEBUG_VALUE: mram_read_u16:len <- [DW_OP_constu 48, DW_OP_minus] [$r22+0]
//DEBUG_VALUE: wram_alloc_u16:len <- [DW_OP_constu 48, DW_OP_minus] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 16, DW_OP_minus, DW_OP_LLVM_fragment 160 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 48, DW_OP_minus, DW_OP_LLVM_fragment 64 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 24, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 28, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 40, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: mram_read:nb_of_bytes <- $r20
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 192 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 128 32] $r18
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 0 32] $r15
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 32 32] $r14
//DEBUG_VALUE: fused_kernel:num_inputs <- $r6
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 0 32] $r4
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_LLVM_fragment 32 32] $r2
//DEBUG_VALUE: mram_read_u16:from <- $r1
//DEBUG_VALUE: mram_read:from <- $r1
//DEBUG_VALUE: i <- 0
.loc 1 0 9 is_stmt 0 // dpu/task.c:0:9
lw r0, zero, order
move r1, 0
.Ltmp64:
.LBB2_11: // =>This Inner Loop Header: Depth=1
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 16, DW_OP_minus, DW_OP_LLVM_fragment 160 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 48, DW_OP_minus, DW_OP_LLVM_fragment 64 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 24, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 28, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 40, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 192 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 128 32] $r18
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 0 32] $r15
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 32 32] $r14
//DEBUG_VALUE: fused_kernel:num_inputs <- $r6
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 0 32] $r4
//DEBUG_VALUE: i <- $r1
.loc 1 195 22 is_stmt 1 // dpu/task.c:195:22
lsl_add r2, r0, r1, 1
sh r2, 0, r1
.Ltmp65:
.loc 1 194 42 // dpu/task.c:194:42
add r1, r1, 1
.Ltmp66:
//DEBUG_VALUE: i <- $r1
.loc 1 194 9 is_stmt 0 // dpu/task.c:194:9
jneq r3, r1, .LBB2_11
.Ltmp67:
.LBB2_12:
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 16, DW_OP_minus, DW_OP_LLVM_fragment 160 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 48, DW_OP_minus, DW_OP_LLVM_fragment 64 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 24, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 28, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 40, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 192 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 128 32] $r18
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 0 32] $r15
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 32 32] $r14
//DEBUG_VALUE: fused_kernel:num_inputs <- $r6
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 0 32] $r4
//DEBUG_VALUE: mat_u16_init:rows <- $r19
//DEBUG_VALUE: mat_u16_init:cols <- $r18
.loc 5 57 1 is_stmt 1 // dpu/tinytensor.h:57:1
sw zero, hash_params, r18
move r17, hash_params
.Ltmp68:
//DEBUG_VALUE: mat_u16_init:mat <- $r17
.loc 1 200 80 // dpu/task.c:200:80
move r0, r19
move r1, r18
call r23, __mulsi3
.Ltmp69:
//DEBUG_VALUE: wram_alloc_u16:len <- undef
//DEBUG_VALUE: mram_read_u16:len <- $r0
.loc 8 48 1 // dpu/tinylib.h:48:1
lsl r16, r0, 1
.Ltmp70:
//DEBUG_VALUE: mram_read_u16:to <- undef
//DEBUG_VALUE: mat_u16_init:mat <- $r17
//DEBUG_VALUE: mat_u16_init:cols <- $r18
//DEBUG_VALUE: mat_u16_init:rows <- $r19
.loc 8 78 1 // dpu/tinylib.h:78:1
move r0, r16
.Ltmp71:
call r23, mem_alloc
.Ltmp72:
.loc 5 57 1 // dpu/tinytensor.h:57:1
sw r17, 4, r0
.Ltmp73:
//DEBUG_VALUE: mram_read:from <- [DW_OP_constu 32, DW_OP_minus] [$r22+0]
//DEBUG_VALUE: mram_read:to <- $r0
//DEBUG_VALUE: mram_read_u16:from <- [DW_OP_constu 32, DW_OP_minus] [$r22+0]
//DEBUG_VALUE: mram_read:nb_of_bytes <- $r16
.loc 9 39 24 // /upmem-sdk-2023.4.0/bin/../share/upmem/include/syslib/mram.h:39:24
lsr_add r1, r21, r16, 3
lsl_add r0, r0, r1, 24
.Ltmp74:
lw r1, r22, -32
.Ltmp75:
//DEBUG_VALUE: mram_read:from <- $r1
//DEBUG_VALUE: mram_read_u16:from <- $r1
ldma r0, r1, 0
.Ltmp76:
//DEBUG_VALUE: mram_read:from <- [DW_OP_constu 32, DW_OP_minus] [$r22+0]
//DEBUG_VALUE: mram_read_u16:from <- [DW_OP_constu 32, DW_OP_minus] [$r22+0]
.loc 1 203 64 // dpu/task.c:203:64
lw r0, r22, -16
lsr r0, r0, 3
.Ltmp77:
//DEBUG_VALUE: mat_u8_init:rows <- [DW_OP_constu 40, DW_OP_minus] [$r22+0]
//DEBUG_VALUE: mat_u8_init:cols <- $r0
.loc 5 58 1 // dpu/tinytensor.h:58:1
sw zero, filters, r0
move r17, filters
.Ltmp78:
//DEBUG_VALUE: mat_u8_init:mat <- $r17
lw r1, r22, -40
call r23, __mulsi3
.Ltmp79:
move r16, r0
.Ltmp80:
//DEBUG_VALUE: wram_alloc_u8:len <- $r16
.loc 8 76 1 // dpu/tinylib.h:76:1
call r23, mem_alloc
.Ltmp81:
.loc 8 0 1 is_stmt 0 // dpu/tinylib.h:0:1
lw r5, r22, -48
.Ltmp82:
.loc 5 58 1 is_stmt 1 // dpu/tinytensor.h:58:1
sw r17, 4, r0
.Ltmp83:
//DEBUG_VALUE: mram_read:to <- $r0
//DEBUG_VALUE: mram_read_u8:to <- $r0
//DEBUG_VALUE: mram_read:nb_of_bytes <- $r16
//DEBUG_VALUE: mram_read_u8:len <- $r16
.loc 9 39 24 // /upmem-sdk-2023.4.0/bin/../share/upmem/include/syslib/mram.h:39:24
lsr_add r1, r21, r16, 3
lsl_add r0, r0, r1, 24
.Ltmp84:
move r1, __sys_used_mram_end
.Ltmp85:
//DEBUG_VALUE: mram_read:from <- $r1
ldma r0, r1, 0
.Ltmp86:
//DEBUG_VALUE: mram_read_u8:from <- undef
.loc 9 0 24 is_stmt 0 // /upmem-sdk-2023.4.0/bin/../share/upmem/include/syslib/mram.h:0:24
lw r17, r22, -20
.Ltmp87:
lw r6, r22, -44
.Ltmp88:
.LBB2_13:
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 48, DW_OP_minus, DW_OP_LLVM_fragment 64 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 24, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 28, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 40, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 192 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 128 32] $r18
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 0 32] $r15
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 32 32] $r14
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 0 32] $r4
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 128 32] undef
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 160 32] undef
//DEBUG_VALUE: wram_alloc_u8:len <- [DW_OP_constu 48, DW_OP_minus] [$r22+0]
.loc 8 76 1 is_stmt 1 // dpu/tinylib.h:76:1
move r0, r5
move r16, r5
call r23, mem_alloc
.Ltmp89:
move r20, r0
.Ltmp90:
//DEBUG_VALUE: fused_kernel:hashes <- [DW_OP_LLVM_fragment 32 32] $r20
//DEBUG_VALUE: fused_kernel:encoded <- $r20
//DEBUG_VALUE: fused_kernel:pbuffer1 <- $r20
//DEBUG_VALUE: wram_alloc_u8:len <- [DW_OP_constu 48, DW_OP_minus] [$r22+0]
.loc 8 76 1 is_stmt 0 // dpu/tinylib.h:76:1
move r0, r16
call r23, mem_alloc
.Ltmp91:
move r21, r0
.Ltmp92:
//DEBUG_VALUE: fused_kernel:hashes <- [DW_OP_LLVM_fragment 0 32] $r19
//DEBUG_VALUE: fused_kernel:filter_reductions <- $r21
//DEBUG_VALUE: fused_kernel:reordered <- $r21
//DEBUG_VALUE: fused_kernel:input <- $r21
//DEBUG_VALUE: fused_kernel:pbuffer2 <- $r21
.loc 1 236 5 is_stmt 1 // dpu/task.c:236:5
move r0, initialization_barrier
call r23, barrier_wait
.Ltmp93:
.loc 1 0 5 is_stmt 0 // dpu/task.c:0:5
lw r0, r22, -44
.Ltmp94:
//DEBUG_VALUE: sample_it <- $r17
.loc 1 239 5 is_stmt 1 // dpu/task.c:239:5
jgeu r17, r0, .LBB2_39
.Ltmp95:
// %bb.14:
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 48, DW_OP_minus, DW_OP_LLVM_fragment 64 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 24, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 28, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 40, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:pbuffer2 <- $r21
//DEBUG_VALUE: fused_kernel:input <- $r21
//DEBUG_VALUE: fused_kernel:reordered <- $r21
//DEBUG_VALUE: fused_kernel:filter_reductions <- $r21
//DEBUG_VALUE: fused_kernel:pbuffer1 <- $r20
//DEBUG_VALUE: fused_kernel:encoded <- $r20
//DEBUG_VALUE: fused_kernel:hashes <- [DW_OP_LLVM_fragment 32 32] $r20
//DEBUG_VALUE: fused_kernel:hashes <- [DW_OP_LLVM_fragment 0 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 192 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 128 32] $r18
//DEBUG_VALUE: sample_it <- $r17
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 0 32] $r15
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 32 32] $r14
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 0 32] $r4
.loc 1 0 0 is_stmt 0 // dpu/task.c:0:0
lw r1, r22, -28
lw r2, r22, -32
add r1, r2, r1
.Ltmp96:
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 128 32] $r1
sw r22, -36, r1
.Ltmp97:
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 36, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
lw r2, r22, -24
add r1, r1, r2
.Ltmp98:
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_LLVM_fragment 160 32] $r1
sw r22, -32, r1
.Ltmp99:
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 160 32] [$r22+0]
.loc 1 239 5 // dpu/task.c:239:5
lsl r16, r19, 1, true, .LBB2_15
.Ltmp100:
.LBB2_38: // in Loop: Header=BB2_15 Depth=1
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 160 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 36, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 48, DW_OP_minus, DW_OP_LLVM_fragment 64 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 24, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 28, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 40, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:pbuffer2 <- $r21
//DEBUG_VALUE: fused_kernel:input <- $r21
//DEBUG_VALUE: fused_kernel:reordered <- $r21
//DEBUG_VALUE: fused_kernel:filter_reductions <- $r21
//DEBUG_VALUE: fused_kernel:pbuffer1 <- $r20
//DEBUG_VALUE: fused_kernel:encoded <- $r20
//DEBUG_VALUE: fused_kernel:hashes <- [DW_OP_LLVM_fragment 32 32] $r20
//DEBUG_VALUE: fused_kernel:hashes <- [DW_OP_LLVM_fragment 0 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 192 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 128 32] $r18
//DEBUG_VALUE: sample_it <- $r17
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 0 32] $r15
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 32 32] $r14
.loc 1 317 31 is_stmt 1 // dpu/task.c:317:31
lw r0, r22, -32
add r0, r0, r17
move r1, -1
.Ltmp101:
//DEBUG_VALUE: mram_write:nb_of_bytes <- [DW_OP_constu 40, DW_OP_minus] [$r22+0]
//DEBUG_VALUE: mram_write:to <- $r0
//DEBUG_VALUE: mram_write:from <- $r21
//DEBUG_VALUE: mram_write_u8:len <- [DW_OP_constu 40, DW_OP_minus] [$r22+0]
//DEBUG_VALUE: mram_write_u8:from <- $r21
//DEBUG_VALUE: mram_write_u8:to <- $r0
.loc 9 61 24 // /upmem-sdk-2023.4.0/bin/../share/upmem/include/syslib/mram.h:61:24
lsr_add r1, r1, r11, 3
lsl_add r1, r21, r1, 24
.Ltmp102:
.loc 1 239 71 // dpu/task.c:239:71
add r17, r17, 11
.Ltmp103:
//DEBUG_VALUE: sample_it <- $r17
.loc 9 61 24 // /upmem-sdk-2023.4.0/bin/../share/upmem/include/syslib/mram.h:61:24
sdma r1, r0, 0
//DEBUG_VALUE: mram_write:nb_of_bytes <- [DW_OP_constu 40, DW_OP_minus] [$r22+0]
//DEBUG_VALUE: mram_write:to <- $r0
//DEBUG_VALUE: mram_write:from <- $r21
//DEBUG_VALUE: mram_write_u8:len <- [DW_OP_constu 40, DW_OP_minus] [$r22+0]
//DEBUG_VALUE: mram_write_u8:from <- $r21
//DEBUG_VALUE: mram_write_u8:to <- $r0
lw r0, r22, -44
.Ltmp104:
.loc 1 239 5 // dpu/task.c:239:5
jgeu r17, r0, .LBB2_39
.Ltmp105:
.LBB2_15: // =>This Loop Header: Depth=1
// Child Loop BB2_16 Depth 2
// Child Loop BB2_18 Depth 3
// Child Loop BB2_22 Depth 2
// Child Loop BB2_25 Depth 2
// Child Loop BB2_27 Depth 3
// Child Loop BB2_29 Depth 4
// Child Loop BB2_34 Depth 2
// Child Loop BB2_36 Depth 3
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 160 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 36, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 48, DW_OP_minus, DW_OP_LLVM_fragment 64 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 24, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 28, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 40, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:pbuffer2 <- $r21
//DEBUG_VALUE: fused_kernel:input <- $r21
//DEBUG_VALUE: fused_kernel:reordered <- $r21
//DEBUG_VALUE: fused_kernel:filter_reductions <- $r21
//DEBUG_VALUE: fused_kernel:pbuffer1 <- $r20
//DEBUG_VALUE: fused_kernel:encoded <- $r20
//DEBUG_VALUE: fused_kernel:hashes <- [DW_OP_LLVM_fragment 32 32] $r20
//DEBUG_VALUE: fused_kernel:hashes <- [DW_OP_LLVM_fragment 0 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 192 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 128 32] $r18
//DEBUG_VALUE: sample_it <- $r17
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 0 32] $r15
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 32 32] $r14
//DEBUG_VALUE: sample_it <- $r17
.loc 1 244 55 // dpu/task.c:244:55
move r0, r17
move r1, r15
call r23, __mulsi3
.Ltmp106:
.loc 1 244 43 is_stmt 0 // dpu/task.c:244:43
lw r1, r22, -36
add r0, r0, r1
.Ltmp107:
//DEBUG_VALUE: input_addr <- $r0
.loc 1 0 43 // dpu/task.c:0:43
move r1, -1
.Ltmp108:
//DEBUG_VALUE: mram_read:nb_of_bytes <- $r15
//DEBUG_VALUE: mram_read:to <- $r21
//DEBUG_VALUE: mram_read:from <- $r0
//DEBUG_VALUE: mram_read_u8:len <- $r15
//DEBUG_VALUE: mram_read_u8:to <- $r21
//DEBUG_VALUE: mram_read_u8:from <- $r0
.loc 9 39 24 is_stmt 1 // /upmem-sdk-2023.4.0/bin/../share/upmem/include/syslib/mram.h:39:24
lsr_add r1, r1, r15, 3
lsl_add r1, r21, r1, 24
ldma r1, r0, 0
.Ltmp109:
.loc 1 250 13 // dpu/task.c:250:13
lw r0, zero, thresholds
.Ltmp110:
//DEBUG_VALUE: it <- 0
//DEBUG_VALUE: encode_buffer:len <- $r15
//DEBUG_VALUE: encode_buffer:num_bits <- $r14
//DEBUG_VALUE: encode_buffer:output <- $r20
//DEBUG_VALUE: encode_buffer:input <- $r21
//DEBUG_VALUE: encode_buffer:thresholds <- $r0
//DEBUG_VALUE: encode_buffer:thresholds_chunk <- $r0
.loc 1 0 13 is_stmt 0 // dpu/task.c:0:13
move r1, 0, true, .LBB2_16
.Ltmp111:
.LBB2_19: // in Loop: Header=BB2_16 Depth=2
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 160 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 36, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 48, DW_OP_minus, DW_OP_LLVM_fragment 64 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 24, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 28, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 40, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: encode_buffer:input <- $r21
//DEBUG_VALUE: fused_kernel:pbuffer2 <- $r21
//DEBUG_VALUE: fused_kernel:input <- $r21
//DEBUG_VALUE: fused_kernel:reordered <- $r21
//DEBUG_VALUE: fused_kernel:filter_reductions <- $r21
//DEBUG_VALUE: encode_buffer:output <- $r20
//DEBUG_VALUE: fused_kernel:pbuffer1 <- $r20
//DEBUG_VALUE: fused_kernel:encoded <- $r20
//DEBUG_VALUE: fused_kernel:hashes <- [DW_OP_LLVM_fragment 32 32] $r20
//DEBUG_VALUE: fused_kernel:hashes <- [DW_OP_LLVM_fragment 0 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 192 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 128 32] $r18
//DEBUG_VALUE: sample_it <- $r17
//DEBUG_VALUE: encode_buffer:len <- $r15
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 0 32] $r15
//DEBUG_VALUE: encode_buffer:num_bits <- $r14
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 32 32] $r14
//DEBUG_VALUE: it <- $r1
//DEBUG_VALUE: encode_buffer:thresholds_chunk <- $r0
.loc 1 58 31 is_stmt 1 // dpu/task.c:58:31
add r1, r1, 1
.Ltmp112:
//DEBUG_VALUE: it <- $r1
.loc 1 65 26 // dpu/task.c:65:26
add r0, r0, r14
.Ltmp113:
//DEBUG_VALUE: encode_buffer:thresholds_chunk <- $r0
.loc 1 58 5 // dpu/task.c:58:5
jeq r1, r15, .LBB2_20
.Ltmp114:
.LBB2_16: // Parent Loop BB2_15 Depth=1
// => This Loop Header: Depth=2
// Child Loop BB2_18 Depth 3
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 160 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 36, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 48, DW_OP_minus, DW_OP_LLVM_fragment 64 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 24, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 28, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 40, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: encode_buffer:input <- $r21
//DEBUG_VALUE: fused_kernel:pbuffer2 <- $r21
//DEBUG_VALUE: fused_kernel:input <- $r21
//DEBUG_VALUE: fused_kernel:reordered <- $r21
//DEBUG_VALUE: fused_kernel:filter_reductions <- $r21
//DEBUG_VALUE: encode_buffer:output <- $r20
//DEBUG_VALUE: fused_kernel:pbuffer1 <- $r20
//DEBUG_VALUE: fused_kernel:encoded <- $r20
//DEBUG_VALUE: fused_kernel:hashes <- [DW_OP_LLVM_fragment 32 32] $r20
//DEBUG_VALUE: fused_kernel:hashes <- [DW_OP_LLVM_fragment 0 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 192 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 128 32] $r18
//DEBUG_VALUE: sample_it <- $r17
//DEBUG_VALUE: encode_buffer:len <- $r15
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 0 32] $r15
//DEBUG_VALUE: encode_buffer:num_bits <- $r14
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 32 32] $r14
//DEBUG_VALUE: encode_buffer:thresholds_chunk <- $r0
//DEBUG_VALUE: encode_buffer:thresholds_chunk <- $r0
//DEBUG_VALUE: it <- $r1
//DEBUG_VALUE: input_el <- undef
//DEBUG_VALUE: output_ptr <- undef
//DEBUG_VALUE: bit_it <- 0
.loc 1 61 9 // dpu/task.c:61:9
jeq r14, 0, .LBB2_19
.Ltmp115:
// %bb.17: // in Loop: Header=BB2_16 Depth=2
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 160 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 36, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 48, DW_OP_minus, DW_OP_LLVM_fragment 64 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 24, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 28, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 40, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: encode_buffer:input <- $r21
//DEBUG_VALUE: fused_kernel:pbuffer2 <- $r21
//DEBUG_VALUE: fused_kernel:input <- $r21
//DEBUG_VALUE: fused_kernel:reordered <- $r21
//DEBUG_VALUE: fused_kernel:filter_reductions <- $r21
//DEBUG_VALUE: encode_buffer:output <- $r20
//DEBUG_VALUE: fused_kernel:pbuffer1 <- $r20
//DEBUG_VALUE: fused_kernel:encoded <- $r20
//DEBUG_VALUE: fused_kernel:hashes <- [DW_OP_LLVM_fragment 32 32] $r20
//DEBUG_VALUE: fused_kernel:hashes <- [DW_OP_LLVM_fragment 0 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 192 32] $r19
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 128 32] $r18
//DEBUG_VALUE: sample_it <- $r17
//DEBUG_VALUE: encode_buffer:len <- $r15
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 0 32] $r15
//DEBUG_VALUE: encode_buffer:num_bits <- $r14
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_LLVM_fragment 32 32] $r14
//DEBUG_VALUE: it <- $r1
//DEBUG_VALUE: encode_buffer:thresholds_chunk <- $r0
.loc 1 0 0 is_stmt 0 // dpu/task.c:0:0
add r2, r21, r1
lbs r2, r2, 0
.loc 1 60 33 is_stmt 1 // dpu/task.c:60:33
add r3, r20, r1
.Ltmp116:
//DEBUG_VALUE: output_ptr <- $r3
.loc 1 0 33 is_stmt 0 // dpu/task.c:0:33
move r4, 0
.Ltmp117:
.LBB2_18: // Parent Loop BB2_15 Depth=1
// Parent Loop BB2_16 Depth=2
// => This Inner Loop Header: Depth=3
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 160 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 36, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 48, DW_OP_minus, DW_OP_LLVM_fragment 64 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:addresses <- [DW_OP_constu 32, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 24, DW_OP_minus, DW_OP_LLVM_fragment 128 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:size_bytes <- [DW_OP_constu 28, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: fused_kernel:p <- [DW_OP_constu 40, DW_OP_minus, DW_OP_LLVM_fragment 96 32] [$r22+0]
//DEBUG_VALUE: encode_buffer:input <- $r21
//DEBUG_VALUE: fused_kernel:pbuffer2 <- $r21
//DEBUG_VALUE: fused_kernel:input <- $r21
//DEBUG_VALUE: fused_kernel:reordered <- $r21
//DEBUG_VALUE: fused_kernel:filter_reductions <- $r21
//DEBUG_VALUE: encode_buffer:output <- $r20
//DEBUG_VALUE: fused_kernel:pbuffer1 <- $r20
//DEBUG_VALUE: fused_kernel:encoded <- $r20
//DEBUG_VALUE: fused_kernel:hashes <- [DW_OP_LLVM_fragment 32 32] $r20
//DEBUG_VALUE: fused_kernel:hashes <- [DW_OP_LLVM_fragment 0 32] $r19