#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);
int main() {
  int num;
  num = 736;
  float flnum = 2.5;
  char symbol1 = 70;
  char symbol2 = 75;
  char symbol3 = 65;
  printf("Number: %d\n", num);
  printf("Floating point number: %f\n", flnum);
  printf("Symbol 1: %c\n", symbol1);
  printf("Symbol 2: %c\n", symbol2);
  printf("Symbol 3: %c\n", symbol3);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x2e0,-0x8(%rbp)
movl   $0x40200000,-0xc(%rbp)
movb   $0x46,-0xd(%rbp)
movb   $0x4b,-0xe(%rbp)
movb   $0x41,-0xf(%rbp)
movsbl -0x8(%rbp),%esi
lea    0xebc(%rip),%rdi
call   1030 <printf@plt>
movss  -0xc(%rbp),%xmm0
cvttss2si %xmm0,%eax
lea    0xeb3(%rip),%rdi
movsbl %al,%esi
call   1030 <printf@plt>
lea    0xebf(%rip),%rdi
movsbl -0xd(%rbp),%esi
call   1030 <printf@plt>
lea    0xebd(%rip),%rdi
movsbl -0xe(%rbp),%esi
call   1030 <printf@plt>
lea    0xebb(%rip),%rdi
movsbl -0xf(%rbp),%esi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xee8(%rip),%rdi
mov    $0xffffffe0,%esi
call   1030 <printf@plt>
lea    0xee3(%rip),%rdi
mov    $0x2,%esi
call   1030 <printf@plt>
lea    0xeed(%rip),%rdi
mov    $0x46,%esi
call   1030 <printf@plt>
lea    0xeea(%rip),%rdi
mov    $0x4b,%esi
call   1030 <printf@plt>
lea    0xee7(%rip),%rdi
mov    $0x41,%esi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [12 x i8] c"Number: %d\0A\00"
@.str.1 = [27 x i8] c"Floating point number: %f\0A\00"
@.str.2 = [14 x i8] c"Symbol 1: %c\0A\00"
@.str.3 = [14 x i8] c"Symbol 2: %c\0A\00"
@.str.4 = [14 x i8] c"Symbol 3: %c\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca float
%4 = alloca i8
%5 = alloca i8
%6 = alloca i8
store i32 0, i32* %1
store i32 736, i32* %2
store float 2.500000e+00, float* %3
store i8 70, i8* %4
store i8 75, i8* %5
store i8 65, i8* %6
%7 = load i32, i32* %2
%8 = trunc i32 %7 to i8
%9 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8 signext %8)
%10 = load float, float* %3
%11 = fptosi float %10 to i8
%12 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i8 signext %11)
%13 = load i8, i8* %4
%14 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i8 signext %13)
%15 = load i8, i8* %5
%16 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i8 signext %15)
%17 = load i8, i8* %6
%18 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i8 signext %17)
ret i32 0
}

LLVM IR (-O2):
@.str = [12 x i8] c"Number: %d\0A\00"
@.str.1 = [27 x i8] c"Floating point number: %f\0A\00"
@.str.2 = [14 x i8] c"Symbol 1: %c\0A\00"
@.str.3 = [14 x i8] c"Symbol 2: %c\0A\00"
@.str.4 = [14 x i8] c"Symbol 3: %c\0A\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8 signext -32)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i8 signext 2)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i8 signext 70)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i8 signext 75)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i8 signext 65)
ret i32 0
}