int main() {
  int a, b, c, d, e, f, g, h, i, j;
  a = 5;
  b = 6;
  c = 7;
  d = 8;
  e = 9;
  f = 10;
  g = 11;
  h = 12;
  i = 13;
  j = 14;
  printf("a = %d and the address of a is %d\n", a, &a);
  printf("b = %d and the address of b is %d\n", b, &b);
  printf("c = %d and the address of c is %d\n", c, &c);
  printf("d = %d and the address of d is %d\n", d, &d);
  printf("e = %d and the address of e is %d\n", e, &e);
  printf("f = %d and the address of f is %d\n", f, &f);
  printf("g = %d and the address of g is %d\n", g, &g);
  printf("h = %d and the address of h is %d\n", h, &h);
  printf("i = %d and the address of i is %d\n", i, &i);
  printf("j = %d and the address of j is %d\n", j, &j);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x5,-0x8(%rbp)
movl   $0x6,-0xc(%rbp)
movl   $0x7,-0x10(%rbp)
movl   $0x8,-0x14(%rbp)
movl   $0x9,-0x18(%rbp)
movl   $0xa,-0x1c(%rbp)
movl   $0xb,-0x20(%rbp)
movl   $0xc,-0x24(%rbp)
movl   $0xd,-0x28(%rbp)
movl   $0xe,-0x2c(%rbp)
mov    -0x8(%rbp),%esi
lea    0xe91(%rip),%rdi
lea    -0x8(%rbp),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xc(%rbp),%esi
lea    0xe9f(%rip),%rdi
lea    -0xc(%rbp),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%esi
lea    0xead(%rip),%rdi
lea    -0x10(%rbp),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%esi
lea    0xebb(%rip),%rdi
lea    -0x14(%rbp),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%esi
lea    0xec9(%rip),%rdi
lea    -0x18(%rbp),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%esi
lea    0xed7(%rip),%rdi
lea    -0x1c(%rbp),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%esi
lea    0xee5(%rip),%rdi
lea    -0x20(%rbp),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x24(%rbp),%esi
lea    0xef3(%rip),%rdi
lea    -0x24(%rbp),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%esi
lea    0xf01(%rip),%rdi
lea    -0x28(%rbp),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x2c(%rbp),%esi
lea    0xf0f(%rip),%rdi
lea    -0x2c(%rbp),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x28,%rsp
movl   $0x5,0x24(%rsp)
movl   $0x6,0x20(%rsp)
movl   $0x7,0x1c(%rsp)
movl   $0x8,0x18(%rsp)
movl   $0x9,0x14(%rsp)
movl   $0xa,0x10(%rsp)
movl   $0xb,0xc(%rsp)
movl   $0xc,0x8(%rsp)
movl   $0xd,0x4(%rsp)
movl   $0xe,(%rsp)
lea    0xe96(%rip),%rdi
lea    0x24(%rsp),%rdx
mov    $0x5,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xea1(%rip),%rdi
lea    0x20(%rsp),%rdx
mov    $0x6,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xeac(%rip),%rdi
lea    0x1c(%rsp),%rdx
mov    $0x7,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xeb7(%rip),%rdi
lea    0x18(%rsp),%rdx
mov    $0x8,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xec2(%rip),%rdi
lea    0x14(%rsp),%rdx
mov    $0x9,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xecd(%rip),%rdi
lea    0x10(%rsp),%rdx
mov    $0xa,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xed8(%rip),%rdi
lea    0xc(%rsp),%rdx
mov    $0xb,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xee3(%rip),%rdi
lea    0x8(%rsp),%rdx
mov    $0xc,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xeee(%rip),%rdi
lea    0x4(%rsp),%rdx
mov    $0xd,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xef9(%rip),%rdi
mov    %rsp,%rdx
mov    $0xe,%esi
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x28,%rsp
ret

LLVM IR (-O0):
@.str = [35 x i8] c"a = %d and the address of a is %d\0A\00"
@.str.1 = [35 x i8] c"b = %d and the address of b is %d\0A\00"
@.str.2 = [35 x i8] c"c = %d and the address of c is %d\0A\00"
@.str.3 = [35 x i8] c"d = %d and the address of d is %d\0A\00"
@.str.4 = [35 x i8] c"e = %d and the address of e is %d\0A\00"
@.str.5 = [35 x i8] c"f = %d and the address of f is %d\0A\00"
@.str.6 = [35 x i8] c"g = %d and the address of g is %d\0A\00"
@.str.7 = [35 x i8] c"h = %d and the address of h is %d\0A\00"
@.str.8 = [35 x i8] c"i = %d and the address of i is %d\0A\00"
@.str.9 = [35 x i8] c"j = %d and the address of j is %d\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
store i32 0, i32* %1
store i32 5, i32* %2
store i32 6, i32* %3
store i32 7, i32* %4
store i32 8, i32* %5
store i32 9, i32* %6
store i32 10, i32* %7
store i32 11, i32* %8
store i32 12, i32* %9
store i32 13, i32* %10
store i32 14, i32* %11
%12 = load i32, i32* %2
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0), i32 %12, i32* %2)
%14 = load i32, i32* %3
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0), i32 %14, i32* %3)
%16 = load i32, i32* %4
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.2, i64 0, i64 0), i32 %16, i32* %4)
%18 = load i32, i32* %5
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0), i32 %18, i32* %5)
%20 = load i32, i32* %6
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.4, i64 0, i64 0), i32 %20, i32* %6)
%22 = load i32, i32* %7
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.5, i64 0, i64 0), i32 %22, i32* %7)
%24 = load i32, i32* %8
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.6, i64 0, i64 0), i32 %24, i32* %8)
%26 = load i32, i32* %9
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.7, i64 0, i64 0), i32 %26, i32* %9)
%28 = load i32, i32* %10
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.8, i64 0, i64 0), i32 %28, i32* %10)
%30 = load i32, i32* %11
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.9, i64 0, i64 0), i32 %30, i32* %11)
ret i32 0
}

LLVM IR (-O2):
@.str = [35 x i8] c"a = %d and the address of a is %d\0A\00"
@.str.1 = [35 x i8] c"b = %d and the address of b is %d\0A\00"
@.str.2 = [35 x i8] c"c = %d and the address of c is %d\0A\00"
@.str.3 = [35 x i8] c"d = %d and the address of d is %d\0A\00"
@.str.4 = [35 x i8] c"e = %d and the address of e is %d\0A\00"
@.str.5 = [35 x i8] c"f = %d and the address of f is %d\0A\00"
@.str.6 = [35 x i8] c"g = %d and the address of g is %d\0A\00"
@.str.7 = [35 x i8] c"h = %d and the address of h is %d\0A\00"
@.str.8 = [35 x i8] c"i = %d and the address of i is %d\0A\00"
@.str.9 = [35 x i8] c"j = %d and the address of j is %d\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = bitcast i32* %1 to i8*
%12 = bitcast i32* %2 to i8*
%13 = bitcast i32* %3 to i8*
%14 = bitcast i32* %4 to i8*
%15 = bitcast i32* %5 to i8*
%16 = bitcast i32* %6 to i8*
%17 = bitcast i32* %7 to i8*
%18 = bitcast i32* %8 to i8*
%19 = bitcast i32* %9 to i8*
%20 = bitcast i32* %10 to i8*
store i32 5, i32* %1
store i32 6, i32* %2
store i32 7, i32* %3
store i32 8, i32* %4
store i32 9, i32* %5
store i32 10, i32* %6
store i32 11, i32* %7
store i32 12, i32* %8
store i32 13, i32* %9
store i32 14, i32* %10
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0), i32 5, i32* %1)
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0), i32 6, i32* %2)
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.2, i64 0, i64 0), i32 7, i32* %3)
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0), i32 8, i32* %4)
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.4, i64 0, i64 0), i32 9, i32* %5)
%26 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.5, i64 0, i64 0), i32 10, i32* %6)
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.6, i64 0, i64 0), i32 11, i32* %7)
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.7, i64 0, i64 0), i32 12, i32* %8)
%29 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.8, i64 0, i64 0), i32 13, i32* %9)
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.9, i64 0, i64 0), i32 14, i32* %10)
ret i32 0
}