#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 *, char, char);
int main() {
  char a, b, c;
  for (a = 65; a <= 90; a++) {
    printf("%c - %i\n", a, a);
  }
  for (b = 97; b <= 122; b++) {
    printf("%c - %i\n", b, b);
  }
  for (c = 49; c <= 57; c++) {
    printf("%c - %i\n", c, c);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
movb   $0x41,-0x5(%rbp)
movsbl -0x5(%rbp),%eax
cmp    $0x5a,%eax
jg     1153 <main+0x43>
mov    -0x5(%rbp),%al
lea    0xec6(%rip),%rdi
movsbl %al,%esi
movsbl -0x5(%rbp),%edx
call   1030 <printf@plt>
mov    -0x5(%rbp),%al
add    $0x1,%al
mov    %al,-0x5(%rbp)
jmp    1123 <main+0x13>
movb   $0x61,-0x6(%rbp)
movsbl -0x6(%rbp),%eax
cmp    $0x7a,%eax
jg     1187 <main+0x77>
mov    -0x6(%rbp),%al
lea    0xe92(%rip),%rdi
movsbl %al,%esi
movsbl -0x6(%rbp),%edx
call   1030 <printf@plt>
mov    -0x6(%rbp),%al
add    $0x1,%al
mov    %al,-0x6(%rbp)
jmp    1157 <main+0x47>
movb   $0x31,-0x7(%rbp)
movsbl -0x7(%rbp),%eax
cmp    $0x39,%eax
jg     11bb <main+0xab>
mov    -0x7(%rbp),%al
lea    0xe5e(%rip),%rdi
movsbl %al,%esi
movsbl -0x7(%rbp),%edx
call   1030 <printf@plt>
mov    -0x7(%rbp),%al
add    $0x1,%al
mov    %al,-0x7(%rbp)
jmp    118b <main+0x7b>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xee8(%rip),%rbx
mov    %rbx,%rdi
mov    $0x41,%esi
mov    $0x41,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x42,%esi
mov    $0x42,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x43,%esi
mov    $0x43,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x44,%esi
mov    $0x44,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x45,%esi
mov    $0x45,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x46,%esi
mov    $0x46,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x47,%esi
mov    $0x47,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x48,%esi
mov    $0x48,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x49,%esi
mov    $0x49,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x4a,%esi
mov    $0x4a,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x4b,%esi
mov    $0x4b,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x4c,%esi
mov    $0x4c,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x4d,%esi
mov    $0x4d,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x4e,%esi
mov    $0x4e,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x4f,%esi
mov    $0x4f,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x50,%esi
mov    $0x50,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x51,%esi
mov    $0x51,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x52,%esi
mov    $0x52,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x53,%esi
mov    $0x53,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x54,%esi
mov    $0x54,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x55,%esi
mov    $0x55,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x56,%esi
mov    $0x56,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x57,%esi
mov    $0x57,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x58,%esi
mov    $0x58,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x59,%esi
mov    $0x59,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x5a,%esi
mov    $0x5a,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x61,%esi
mov    $0x61,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x62,%esi
mov    $0x62,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x63,%esi
mov    $0x63,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x64,%esi
mov    $0x64,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x65,%esi
mov    $0x65,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x66,%esi
mov    $0x66,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x67,%esi
mov    $0x67,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x68,%esi
mov    $0x68,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x69,%esi
mov    $0x69,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x6a,%esi
mov    $0x6a,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x6b,%esi
mov    $0x6b,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x6c,%esi
mov    $0x6c,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x6d,%esi
mov    $0x6d,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x6e,%esi
mov    $0x6e,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x6f,%esi
mov    $0x6f,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x70,%esi
mov    $0x70,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x71,%esi
mov    $0x71,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x72,%esi
mov    $0x72,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x73,%esi
mov    $0x73,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x74,%esi
mov    $0x74,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x75,%esi
mov    $0x75,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x76,%esi
mov    $0x76,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x77,%esi
mov    $0x77,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x78,%esi
mov    $0x78,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x79,%esi
mov    $0x79,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x7a,%esi
mov    $0x7a,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x31,%esi
mov    $0x31,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x32,%esi
mov    $0x32,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x33,%esi
mov    $0x33,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x34,%esi
mov    $0x34,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x35,%esi
mov    $0x35,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x36,%esi
mov    $0x36,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x37,%esi
mov    $0x37,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x38,%esi
mov    $0x38,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x39,%esi
mov    $0x39,%edx
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [9 x i8] c"%c - %i\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8
%3 = alloca i8
%4 = alloca i8
store i32 0, i32* %1
store i8 65, i8* %2
br label %5
5: ; preds = %13, %0
%6 = load i8, i8* %2
%7 = sext i8 %6 to i32
%8 = icmp sle i32 %7, 90
br i1 %8, label %9, label %16
9: ; preds = %5
%10 = load i8, i8* %2
%11 = load i8, i8* %2
%12 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext %10, i8 signext %11)
br label %13
13: ; preds = %9
%14 = load i8, i8* %2
%15 = add i8 %14, 1
store i8 %15, i8* %2
br label %5
16: ; preds = %5
store i8 97, i8* %3
br label %17
17: ; preds = %25, %16
%18 = load i8, i8* %3
%19 = sext i8 %18 to i32
%20 = icmp sle i32 %19, 122
br i1 %20, label %21, label %28
21: ; preds = %17
%22 = load i8, i8* %3
%23 = load i8, i8* %3
%24 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext %22, i8 signext %23)
br label %25
25: ; preds = %21
%26 = load i8, i8* %3
%27 = add i8 %26, 1
store i8 %27, i8* %3
br label %17
28: ; preds = %17
store i8 49, i8* %4
br label %29
29: ; preds = %37, %28
%30 = load i8, i8* %4
%31 = sext i8 %30 to i32
%32 = icmp sle i32 %31, 57
br i1 %32, label %33, label %40
33: ; preds = %29
%34 = load i8, i8* %4
%35 = load i8, i8* %4
%36 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext %34, i8 signext %35)
br label %37
37: ; preds = %33
%38 = load i8, i8* %4
%39 = add i8 %38, 1
store i8 %39, i8* %4
br label %29
40: ; preds = %29
ret i32 0
}

LLVM IR (-O2):
@.str = [9 x i8] c"%c - %i\0A\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 65, i8 signext 65)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 66, i8 signext 66)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 67, i8 signext 67)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 68, i8 signext 68)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 69, i8 signext 69)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 70, i8 signext 70)
%7 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 71, i8 signext 71)
%8 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 72, i8 signext 72)
%9 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 73, i8 signext 73)
%10 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 74, i8 signext 74)
%11 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 75, i8 signext 75)
%12 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 76, i8 signext 76)
%13 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 77, i8 signext 77)
%14 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 78, i8 signext 78)
%15 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 79, i8 signext 79)
%16 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 80, i8 signext 80)
%17 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 81, i8 signext 81)
%18 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 82, i8 signext 82)
%19 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 83, i8 signext 83)
%20 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 84, i8 signext 84)
%21 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 85, i8 signext 85)
%22 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 86, i8 signext 86)
%23 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 87, i8 signext 87)
%24 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 88, i8 signext 88)
%25 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 89, i8 signext 89)
%26 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 90, i8 signext 90)
%27 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 97, i8 signext 97)
%28 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 98, i8 signext 98)
%29 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 99, i8 signext 99)
%30 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 100, i8 signext 100)
%31 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 101, i8 signext 101)
%32 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 102, i8 signext 102)
%33 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 103, i8 signext 103)
%34 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 104, i8 signext 104)
%35 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 105, i8 signext 105)
%36 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 106, i8 signext 106)
%37 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 107, i8 signext 107)
%38 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 108, i8 signext 108)
%39 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 109, i8 signext 109)
%40 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 110, i8 signext 110)
%41 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 111, i8 signext 111)
%42 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 112, i8 signext 112)
%43 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 113, i8 signext 113)
%44 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 114, i8 signext 114)
%45 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 115, i8 signext 115)
%46 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 116, i8 signext 116)
%47 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 117, i8 signext 117)
%48 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 118, i8 signext 118)
%49 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 119, i8 signext 119)
%50 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 120, i8 signext 120)
%51 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 121, i8 signext 121)
%52 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 122, i8 signext 122)
%53 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 49, i8 signext 49)
%54 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 50, i8 signext 50)
%55 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 51, i8 signext 51)
%56 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 52, i8 signext 52)
%57 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 53, i8 signext 53)
%58 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 54, i8 signext 54)
%59 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 55, i8 signext 55)
%60 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 56, i8 signext 56)
%61 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 57, i8 signext 57)
ret i32 0
}