#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 *, float);
int /*<<< orphan*/ putchar(char);
void main() {
  float x = 5, x1 = 3, x2 = 8;
  printf("value=%format\t", (x));
  printf("value=%format\t", (x));
  putchar('\n');
  ;
  printf("value=%format\t", (x1));
  printf("value=%format\t", (x2));
  putchar('\n');
  ;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movss  0xed8(%rip),%xmm0
movss  %xmm0,-0x4(%rbp)
movss  0xec7(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
movss  0xeb6(%rip),%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0x4(%rbp),%xmm0
lea    0xeb1(%rip),%rdi
call   1040 <printf@plt>
movss  -0x4(%rbp),%xmm0
lea    0xea0(%rip),%rdi
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movss  -0x8(%rbp),%xmm0
lea    0xe85(%rip),%rdi
call   1040 <printf@plt>
movss  -0xc(%rbp),%xmm0
lea    0xe74(%rip),%rdi
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xee4(%rip),%rbx
movss  0xed0(%rip),%xmm0
mov    %rbx,%rdi
call   1040 <printf@plt>
mov    %rbx,%rdi
movss  0xebd(%rip),%xmm0
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movss  0xeaa(%rip),%xmm0
mov    %rbx,%rdi
call   1040 <printf@plt>
movss  0xe9e(%rip),%xmm0
mov    %rbx,%rdi
call   1040 <printf@plt>
mov    $0xa,%edi
pop    %rbx
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [15 x i8] c"value=%format\09\00"
define void @main() {
%1 = alloca float
%2 = alloca float
%3 = alloca float
store float 5.000000e+00, float* %1
store float 3.000000e+00, float* %2
store float 8.000000e+00, float* %3
%4 = load float, float* %1
%5 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), float %4)
%6 = load float, float* %1
%7 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), float %6)
%8 = call i32 @putchar(i8 signext 10)
%9 = load float, float* %2
%10 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), float %9)
%11 = load float, float* %3
%12 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), float %11)
%13 = call i32 @putchar(i8 signext 10)
ret void
}

LLVM IR (-O2):
@.str = [15 x i8] c"value=%format\09\00"
define void @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), float 5.000000e+00)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), float 5.000000e+00)
%3 = tail call i32 @putchar(i8 signext 10)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), float 3.000000e+00)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), float 8.000000e+00)
%6 = tail call i32 @putchar(i8 signext 10)
ret void
}