#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ puts(char *);
int /*<<< orphan*/ scanf(char *, int *);
int main(void) {
  int t[2][5] = {{0}};
  size_t x;
  size_t y;
  int piuPiccolo;
  int somma = 0;
  for (x = 0; x < 2; x++) {
    for (y = 0; y < 5; y++) {
      t[x][y] = 0;
    }
  }
  for (x = 0; x < 2; x++) {
    for (y = 0; y < 5; y++) {
      printf("Inserisci il valore in posizione t[%d][%d]", x + 1, y + 1);
      scanf("%d", &t[x][y]);
    }
  }
  piuPiccolo = t[0][0];
  for (x = 0; x < 2; x++) {
    for (y = 0; y < 5; y++) {
      if (piuPiccolo > t[x][y]) {
        piuPiccolo = t[x][y];
      }
    }
  }
  printf("Il valore Piu piccolo di t[2][5] e': %d", piuPiccolo);
  printf("%s", "\nStampa la prima colonna in modo sequenziale di t: ");
  x = 0;
  y = 0;
  while (x < 2) {
    printf("%d ", t[x][y]);
    x = x + 1;
  }
  x = 0;
  y = 3;
  do {
    somma += t[x][y];
    x++;
  } while (x < 2);
  printf("\nIl risultato della somma della quarta colonna di t e': %d\n",
         somma);
  puts("");
  printf("Colonna \t1\t2\t3\t4\t5\n\n");
  for (x = 0; x < 2; x++) {
    printf("Riga %d\t", x + 1);
    for (y = 0; y < 5; y++) {
      printf("\t%d", t[x][y]);
    }
    puts("");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x30(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1050 <memset@plt>
movl   $0x0,-0x48(%rbp)
movq   $0x0,-0x38(%rbp)
cmpq   $0x2,-0x38(%rbp)
jae    11ca <main+0x8a>
movq   $0x0,-0x40(%rbp)
cmpq   $0x5,-0x40(%rbp)
jae    11b4 <main+0x74>
lea    -0x30(%rbp),%rax
imul   $0x14,-0x38(%rbp),%rcx
add    %rcx,%rax
mov    -0x40(%rbp),%rcx
movl   $0x0,(%rax,%rcx,4)
mov    -0x40(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x40(%rbp)
jmp    1181 <main+0x41>
jmp    11b9 <main+0x79>
mov    -0x38(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x38(%rbp)
jmp    116e <main+0x2e>
movq   $0x0,-0x38(%rbp)
cmpq   $0x2,-0x38(%rbp)
jae    1258 <main+0x118>
movq   $0x0,-0x40(%rbp)
cmpq   $0x5,-0x40(%rbp)
jae    1242 <main+0x102>
mov    -0x38(%rbp),%rsi
add    $0x1,%rsi
mov    -0x40(%rbp),%rdx
add    $0x1,%rdx
lea    0xdf9(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x30(%rbp),%rsi
imul   $0x14,-0x38(%rbp),%rax
add    %rax,%rsi
mov    -0x40(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xebd(%rip),%rdi
call   1060 <scanf@plt>
mov    -0x40(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x40(%rbp)
jmp    11e5 <main+0xa5>
jmp    1247 <main+0x107>
mov    -0x38(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x38(%rbp)
jmp    11d2 <main+0x92>
mov    -0x30(%rbp),%eax
mov    %eax,-0x44(%rbp)
movq   $0x0,-0x38(%rbp)
cmpq   $0x2,-0x38(%rbp)
jae    12e2 <main+0x1a2>
movq   $0x0,-0x40(%rbp)
cmpq   $0x5,-0x40(%rbp)
jae    12cc <main+0x18c>
mov    -0x44(%rbp),%eax
lea    -0x30(%rbp),%rcx
imul   $0x14,-0x38(%rbp),%rdx
add    %rdx,%rcx
mov    -0x40(%rbp),%rdx
cmp    (%rcx,%rdx,4),%eax
jle    12b6 <main+0x176>
lea    -0x30(%rbp),%rax
imul   $0x14,-0x38(%rbp),%rcx
add    %rcx,%rax
mov    -0x40(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x44(%rbp)
jmp    12bb <main+0x17b>
mov    -0x40(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x40(%rbp)
jmp    1279 <main+0x139>
jmp    12d1 <main+0x191>
mov    -0x38(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x38(%rbp)
jmp    1266 <main+0x126>
mov    -0x44(%rbp),%esi
lea    0xd3f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xd59(%rip),%rdi
lea    0xd55(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
movq   $0x0,-0x38(%rbp)
movq   $0x0,-0x40(%rbp)
cmpq   $0x2,-0x38(%rbp)
jae    1355 <main+0x215>
lea    -0x30(%rbp),%rax
imul   $0x14,-0x38(%rbp),%rcx
add    %rcx,%rax
mov    -0x40(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xd4d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x38(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x38(%rbp)
jmp    1318 <main+0x1d8>
movq   $0x0,-0x38(%rbp)
movq   $0x3,-0x40(%rbp)
lea    -0x30(%rbp),%rax
imul   $0x14,-0x38(%rbp),%rcx
add    %rcx,%rax
mov    -0x40(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
add    -0x48(%rbp),%eax
mov    %eax,-0x48(%rbp)
mov    -0x38(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x38(%rbp)
cmpq   $0x2,-0x38(%rbp)
jb     1365 <main+0x225>
mov    -0x48(%rbp),%esi
lea    0xcef(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xd3a(%rip),%rdi
call   1030 <puts@plt>
lea    0xd11(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movq   $0x0,-0x38(%rbp)
cmpq   $0x2,-0x38(%rbp)
jae    144b <main+0x30b>
mov    -0x38(%rbp),%rsi
add    $0x1,%rsi
lea    0xcfd(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movq   $0x0,-0x40(%rbp)
cmpq   $0x5,-0x40(%rbp)
jae    142e <main+0x2ee>
lea    -0x30(%rbp),%rax
imul   $0x14,-0x38(%rbp),%rcx
add    %rcx,%rax
mov    -0x40(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xcd2(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x40(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x40(%rbp)
jmp    13f1 <main+0x2b1>
lea    0xcb2(%rip),%rdi
call   1030 <puts@plt>
mov    -0x38(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x38(%rbp)
jmp    13c8 <main+0x288>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x28,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x10(%rsp)
movaps %xmm0,(%rsp)
movq   $0x0,0x20(%rsp)
lea    0x20(%rsp),%r14
lea    0x10(%rsp),%r12
lea    0xe8f(%rip),%r15
mov    $0x1,%esi
mov    $0x1,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xf48(%rip),%rbx
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
mov    $0x1,%esi
mov    $0x2,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x4(%rsp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
mov    $0x1,%esi
mov    $0x3,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x8(%rsp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
mov    $0x1,%esi
mov    $0x4,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc(%rsp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
mov    $0x1,%esi
mov    $0x5,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1060 <scanf@plt>
mov    $0x2,%esi
mov    $0x1,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x14(%rsp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
mov    $0x2,%esi
mov    $0x2,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x18(%rsp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
mov    $0x2,%esi
mov    $0x3,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x1c(%rsp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
mov    $0x2,%esi
mov    $0x4,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1060 <scanf@plt>
mov    $0x2,%esi
mov    $0x5,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x24(%rsp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
mov    (%rsp),%esi
mov    0x4(%rsp),%eax
cmp    %eax,%esi
cmovg  %eax,%esi
mov    0x8(%rsp),%eax
cmp    %eax,%esi
cmovg  %eax,%esi
mov    0xc(%rsp),%eax
cmp    %eax,%esi
cmovg  %eax,%esi
mov    0x10(%rsp),%eax
cmp    %eax,%esi
cmovg  %eax,%esi
mov    0x14(%rsp),%eax
cmp    %eax,%esi
cmovg  %eax,%esi
mov    0x18(%rsp),%eax
cmp    %eax,%esi
cmovg  %eax,%esi
mov    0x1c(%rsp),%eax
cmp    %eax,%esi
cmovg  %eax,%esi
mov    0x20(%rsp),%eax
cmp    %eax,%esi
cmovg  %eax,%esi
mov    0x24(%rsp),%eax
cmp    %eax,%esi
cmovg  %eax,%esi
lea    0xd14(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xd2e(%rip),%rdi
lea    0xd2a(%rip),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%rsp),%esi
lea    0xd4d(%rip),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x14(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x20(%rsp),%esi
add    0xc(%rsp),%esi
lea    0xd2a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xd5b(%rip),%rdi
call   1040 <puts@plt>
lea    0xd42(%rip),%r14
mov    $0x1,%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%rsp),%esi
lea    0xd32(%rip),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x4(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x8(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xc(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x10(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x2,%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x14(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x18(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x1c(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x20(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x24(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [43 x i8] c"Inserisci il valore in posizione t[%d][%d]\00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [40 x i8] c"Il valore Piu piccolo di t[2][5] e': %d\00"
@.str.3 = [3 x i8] c"%s\00"
@.str.4 = [52 x i8] c"\0AStampa la prima colonna in modo sequenziale di t: \00"
@.str.5 = [4 x i8] c"%d \00"
@.str.6 = [60 x i8] c"\0AIl risultato della somma della quarta colonna di t e': %d\0A\00"
@.str.7 = [1 x i8] zeroinitializer
@.str.8 = [21 x i8] c"Colonna \091\092\093\094\095\0A\0A\00"
@.str.9 = [9 x i8] c"Riga %d\09\00"
@.str.10 = [4 x i8] c"\09%d\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [2 x [5 x i32]]
%3 = alloca i64
%4 = alloca i64
%5 = alloca i32
%6 = alloca i32
store i32 0, i32* %1
%7 = bitcast [2 x [5 x i32]]* %2 to i8*
store i32 0, i32* %6
store i64 0, i64* %3
br label %8
8: ; preds = %24, %0
%9 = load i64, i64* %3
%10 = icmp ult i64 %9, 2
br i1 %10, label %11, label %27
11: ; preds = %8
store i64 0, i64* %4
br label %12
12: ; preds = %20, %11
%13 = load i64, i64* %4
%14 = icmp ult i64 %13, 5
br i1 %14, label %15, label %23
15: ; preds = %12
%16 = load i64, i64* %3
%17 = getelementptr inbounds [2 x [5 x i32]], [2 x [5 x i32]]* %2, i64 0, i64 %16
%18 = load i64, i64* %4
%19 = getelementptr inbounds [5 x i32], [5 x i32]* %17, i64 0, i64 %18
store i32 0, i32* %19
br label %20
20: ; preds = %15
%21 = load i64, i64* %4
%22 = add i64 %21, 1
store i64 %22, i64* %4
br label %12
23: ; preds = %12
br label %24
24: ; preds = %23
%25 = load i64, i64* %3
%26 = add i64 %25, 1
store i64 %26, i64* %3
br label %8
27: ; preds = %8
store i64 0, i64* %3
br label %28
28: ; preds = %50, %27
%29 = load i64, i64* %3
%30 = icmp ult i64 %29, 2
br i1 %30, label %31, label %53
31: ; preds = %28
store i64 0, i64* %4
br label %32
32: ; preds = %46, %31
%33 = load i64, i64* %4
%34 = icmp ult i64 %33, 5
br i1 %34, label %35, label %49
35: ; preds = %32
%36 = load i64, i64* %3
%37 = add i64 %36, 1
%38 = load i64, i64* %4
%39 = add i64 %38, 1
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0), i64 %37, i64 %39)
%41 = load i64, i64* %3
%42 = getelementptr inbounds [2 x [5 x i32]], [2 x [5 x i32]]* %2, i64 0, i64 %41
%43 = load i64, i64* %4
%44 = getelementptr inbounds [5 x i32], [5 x i32]* %42, i64 0, i64 %43
%45 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %44)
br label %46
46: ; preds = %35
%47 = load i64, i64* %4
%48 = add i64 %47, 1
store i64 %48, i64* %4
br label %32
49: ; preds = %32
br label %50
50: ; preds = %49
%51 = load i64, i64* %3
%52 = add i64 %51, 1
store i64 %52, i64* %3
br label %28
53: ; preds = %28
%54 = getelementptr inbounds [2 x [5 x i32]], [2 x [5 x i32]]* %2, i64 0, i64 0
%55 = getelementptr inbounds [5 x i32], [5 x i32]* %54, i64 0, i64 0
%56 = load i32, i32* %55
store i32 %56, i32* %5
store i64 0, i64* %3
br label %57
57: ; preds = %83, %53
%58 = load i64, i64* %3
%59 = icmp ult i64 %58, 2
br i1 %59, label %60, label %86
60: ; preds = %57
store i64 0, i64* %4
br label %61
61: ; preds = %79, %60
%62 = load i64, i64* %4
%63 = icmp ult i64 %62, 5
br i1 %63, label %64, label %82
64: ; preds = %61
%65 = load i32, i32* %5
%66 = load i64, i64* %3
%67 = getelementptr inbounds [2 x [5 x i32]], [2 x [5 x i32]]* %2, i64 0, i64 %66
%68 = load i64, i64* %4
%69 = getelementptr inbounds [5 x i32], [5 x i32]* %67, i64 0, i64 %68
%70 = load i32, i32* %69
%71 = icmp sgt i32 %65, %70
br i1 %71, label %72, label %78
72: ; preds = %64
%73 = load i64, i64* %3
%74 = getelementptr inbounds [2 x [5 x i32]], [2 x [5 x i32]]* %2, i64 0, i64 %73
%75 = load i64, i64* %4
%76 = getelementptr inbounds [5 x i32], [5 x i32]* %74, i64 0, i64 %75
%77 = load i32, i32* %76
store i32 %77, i32* %5
br label %78
78: ; preds = %72, %64
br label %79
79: ; preds = %78
%80 = load i64, i64* %4
%81 = add i64 %80, 1
store i64 %81, i64* %4
br label %61
82: ; preds = %61
br label %83
83: ; preds = %82
%84 = load i64, i64* %3
%85 = add i64 %84, 1
store i64 %85, i64* %3
br label %57
86: ; preds = %57
%87 = load i32, i32* %5
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0), i32 %87)
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i64 0, i64 0))
store i64 0, i64* %3
store i64 0, i64* %4
br label %90
90: ; preds = %93, %86
%91 = load i64, i64* %3
%92 = icmp ult i64 %91, 2
br i1 %92, label %93, label %102
93: ; preds = %90
%94 = load i64, i64* %3
%95 = getelementptr inbounds [2 x [5 x i32]], [2 x [5 x i32]]* %2, i64 0, i64 %94
%96 = load i64, i64* %4
%97 = getelementptr inbounds [5 x i32], [5 x i32]* %95, i64 0, i64 %96
%98 = load i32, i32* %97
%99 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i32 %98)
%100 = load i64, i64* %3
%101 = add i64 %100, 1
store i64 %101, i64* %3
br label %90
102: ; preds = %90
store i64 0, i64* %3
store i64 3, i64* %4
br label %103
103: ; preds = %113, %102
%104 = load i64, i64* %3
%105 = getelementptr inbounds [2 x [5 x i32]], [2 x [5 x i32]]* %2, i64 0, i64 %104
%106 = load i64, i64* %4
%107 = getelementptr inbounds [5 x i32], [5 x i32]* %105, i64 0, i64 %106
%108 = load i32, i32* %107
%109 = load i32, i32* %6
%110 = add nsw i32 %109, %108
store i32 %110, i32* %6
%111 = load i64, i64* %3
%112 = add i64 %111, 1
store i64 %112, i64* %3
br label %113
113: ; preds = %103
%114 = load i64, i64* %3
%115 = icmp ult i64 %114, 2
br i1 %115, label %103, label %116
116: ; preds = %113
%117 = load i32, i32* %6
%118 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.6, i64 0, i64 0), i32 %117)
%119 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.7, i64 0, i64 0))
%120 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0))
store i64 0, i64* %3
br label %121
121: ; preds = %143, %116
%122 = load i64, i64* %3
%123 = icmp ult i64 %122, 2
br i1 %123, label %124, label %146
124: ; preds = %121
%125 = load i64, i64* %3
%126 = add i64 %125, 1
%127 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0), i64 %126)
store i64 0, i64* %4
br label %128
128: ; preds = %138, %124
%129 = load i64, i64* %4
%130 = icmp ult i64 %129, 5
br i1 %130, label %131, label %141
131: ; preds = %128
%132 = load i64, i64* %3
%133 = getelementptr inbounds [2 x [5 x i32]], [2 x [5 x i32]]* %2, i64 0, i64 %132
%134 = load i64, i64* %4
%135 = getelementptr inbounds [5 x i32], [5 x i32]* %133, i64 0, i64 %134
%136 = load i32, i32* %135
%137 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 %136)
br label %138
138: ; preds = %131
%139 = load i64, i64* %4
%140 = add i64 %139, 1
store i64 %140, i64* %4
br label %128
141: ; preds = %128
%142 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.7, i64 0, i64 0))
br label %143
143: ; preds = %141
%144 = load i64, i64* %3
%145 = add i64 %144, 1
store i64 %145, i64* %3
br label %121
146: ; preds = %121
ret i32 0
}

LLVM IR (-O2):
@.str = [43 x i8] c"Inserisci il valore in posizione t[%d][%d]\00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [40 x i8] c"Il valore Piu piccolo di t[2][5] e': %d\00"
@.str.3 = [3 x i8] c"%s\00"
@.str.4 = [52 x i8] c"\0AStampa la prima colonna in modo sequenziale di t: \00"
@.str.5 = [4 x i8] c"%d \00"
@.str.6 = [60 x i8] c"\0AIl risultato della somma della quarta colonna di t e': %d\0A\00"
@.str.9 = [9 x i8] c"Riga %d\09\00"
@.str.10 = [4 x i8] c"\09%d\00"
@str = [20 x i8] c"Colonna \091\092\093\094\095\0A\00"
define i32 @main() {
%1 = alloca [2 x [5 x i32]]
%2 = bitcast [2 x [5 x i32]]* %1 to i8*
%3 = bitcast [2 x [5 x i32]]* %1 to i8*
%4 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0), i64 1, i64 1)
%5 = getelementptr inbounds [2 x [5 x i32]], [2 x [5 x i32]]* %1, i64 0, i64 0, i64 0
%6 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %5)
%7 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0), i64 1, i64 2)
%8 = getelementptr inbounds [2 x [5 x i32]], [2 x [5 x i32]]* %1, i64 0, i64 0, i64 1
%9 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %8)
%10 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0), i64 1, i64 3)
%11 = getelementptr inbounds [2 x [5 x i32]], [2 x [5 x i32]]* %1, i64 0, i64 0, i64 2
%12 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %11)
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0), i64 1, i64 4)
%14 = getelementptr inbounds [2 x [5 x i32]], [2 x [5 x i32]]* %1, i64 0, i64 0, i64 3
%15 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %14)
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0), i64 1, i64 5)
%17 = getelementptr inbounds [2 x [5 x i32]], [2 x [5 x i32]]* %1, i64 0, i64 0, i64 4
%18 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %17)
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0), i64 2, i64 1)
%20 = getelementptr inbounds [2 x [5 x i32]], [2 x [5 x i32]]* %1, i64 0, i64 1, i64 0
%21 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %20)
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0), i64 2, i64 2)
%23 = getelementptr inbounds [2 x [5 x i32]], [2 x [5 x i32]]* %1, i64 0, i64 1, i64 1
%24 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %23)
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0), i64 2, i64 3)
%26 = getelementptr inbounds [2 x [5 x i32]], [2 x [5 x i32]]* %1, i64 0, i64 1, i64 2
%27 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %26)
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0), i64 2, i64 4)
%29 = getelementptr inbounds [2 x [5 x i32]], [2 x [5 x i32]]* %1, i64 0, i64 1, i64 3
%30 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %29)
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0), i64 2, i64 5)
%32 = getelementptr inbounds [2 x [5 x i32]], [2 x [5 x i32]]* %1, i64 0, i64 1, i64 4
%33 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %32)
%34 = load i32, i32* %5
%35 = load i32, i32* %8
%36 = icmp sgt i32 %34, %35
%37 = select i1 %36, i32 %35, i32 %34
%38 = load i32, i32* %11
%39 = icmp sgt i32 %37, %38
%40 = select i1 %39, i32 %38, i32 %37
%41 = load i32, i32* %14
%42 = icmp sgt i32 %40, %41
%43 = select i1 %42, i32 %41, i32 %40
%44 = load i32, i32* %17
%45 = icmp sgt i32 %43, %44
%46 = select i1 %45, i32 %44, i32 %43
%47 = load i32, i32* %20
%48 = icmp sgt i32 %46, %47
%49 = select i1 %48, i32 %47, i32 %46
%50 = load i32, i32* %23
%51 = icmp sgt i32 %49, %50
%52 = select i1 %51, i32 %50, i32 %49
%53 = load i32, i32* %26
%54 = icmp sgt i32 %52, %53
%55 = select i1 %54, i32 %53, i32 %52
%56 = load i32, i32* %29
%57 = icmp sgt i32 %55, %56
%58 = select i1 %57, i32 %56, i32 %55
%59 = load i32, i32* %32
%60 = icmp sgt i32 %58, %59
%61 = select i1 %60, i32 %59, i32 %58
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0), i32 %61)
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i64 0, i64 0))
%64 = load i32, i32* %5
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i32 %64)
%66 = load i32, i32* %20
%67 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i32 %66)
%68 = load i32, i32* %14
%69 = load i32, i32* %29
%70 = add nsw i32 %69, %68
%71 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @.str.6, i64 0, i64 0), i32 %70)
%72 = call i32 @putchar(i32 10)
%73 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str, i64 0, i64 0))
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0), i64 1)
%75 = load i32, i32* %5
%76 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 %75)
%77 = load i32, i32* %8
%78 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 %77)
%79 = load i32, i32* %11
%80 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 %79)
%81 = load i32, i32* %14
%82 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 %81)
%83 = load i32, i32* %17
%84 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 %83)
%85 = call i32 @putchar(i32 10)
%86 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0), i64 2)
%87 = load i32, i32* %20
%88 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 %87)
%89 = load i32, i32* %23
%90 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 %89)
%91 = load i32, i32* %26
%92 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 %91)
%93 = load i32, i32* %29
%94 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 %93)
%95 = load i32, i32* %32
%96 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 %95)
%97 = call i32 @putchar(i32 10)
ret i32 0
}