#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*/ save_name(char *, char);
void manifest_constant() {
  save_name("__STDC__", 'D');
  save_name("__GNUC__", 'D');
  if (sizeof(int) < 4)
    save_name("__SMALL_INTS__", 'D');
  if (sizeof(char *) <= 2)
    save_name("__SMALL_MEMORY__", 'D');
  if (sizeof(long) == 4)
    save_name("__LONG_32_BIT__", 'D');
  if (sizeof(long) == 8)
    save_name("__LONG_64_BIT__", 'D');
  save_name("__linux__", 'D');
  save_name("__unix__", 'D');
  save_name("__GNUC__", 'D');
  save_name("__ELF__", 'D');
  save_name("linux", 'D');
  save_name("unix", 'D');
}


x86 assembly (clang, -O0):
<manifest_constant>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x44,%esi
call   1030 <save_name@plt>
lea    0xedd(%rip),%rdi
mov    $0x44,%esi
call   1030 <save_name@plt>
lea    0xed5(%rip),%rdi
mov    $0x44,%esi
call   1030 <save_name@plt>
lea    0xed4(%rip),%rdi
mov    $0x44,%esi
call   1030 <save_name@plt>
lea    0xecd(%rip),%rdi
mov    $0x44,%esi
call   1030 <save_name@plt>
lea    0xe99(%rip),%rdi
mov    $0x44,%esi
call   1030 <save_name@plt>
lea    0xeb4(%rip),%rdi
mov    $0x44,%esi
call   1030 <save_name@plt>
lea    0xeab(%rip),%rdi
mov    $0x44,%esi
call   1030 <save_name@plt>
lea    0xea0(%rip),%rdi
mov    $0x44,%esi
call   1030 <save_name@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<manifest_constant>:
push   %rbx
lea    0xee8(%rip),%rdi
mov    $0x44,%esi
call   1030 <save_name@plt>
lea    0xee0(%rip),%rbx
mov    %rbx,%rdi
mov    $0x44,%esi
call   1030 <save_name@plt>
lea    0xed5(%rip),%rdi
mov    $0x44,%esi
call   1030 <save_name@plt>
lea    0xed4(%rip),%rdi
mov    $0x44,%esi
call   1030 <save_name@plt>
lea    0xecd(%rip),%rdi
mov    $0x44,%esi
call   1030 <save_name@plt>
mov    %rbx,%rdi
mov    $0x44,%esi
call   1030 <save_name@plt>
lea    0xeb8(%rip),%rdi
mov    $0x44,%esi
call   1030 <save_name@plt>
lea    0xeaf(%rip),%rdi
mov    $0x44,%esi
call   1030 <save_name@plt>
lea    0xea4(%rip),%rdi
mov    $0x44,%esi
pop    %rbx
jmp    1030 <save_name@plt>

LLVM IR (-O0):
@.str = [9 x i8] c"__STDC__\00"
@.str.1 = [9 x i8] c"__GNUC__\00"
@.str.2 = [16 x i8] c"__LONG_64_BIT__\00"
@.str.3 = [10 x i8] c"__linux__\00"
@.str.4 = [9 x i8] c"__unix__\00"
@.str.5 = [8 x i8] c"__ELF__\00"
@.str.6 = [6 x i8] c"linux\00"
@.str.7 = [5 x i8] c"unix\00"
define void @manifest_constant() {
%1 = call i32 @save_name(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 68)
%2 = call i32 @save_name(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8 signext 68)
%3 = call i32 @save_name(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i8 signext 68)
%4 = call i32 @save_name(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i8 signext 68)
%5 = call i32 @save_name(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8 signext 68)
%6 = call i32 @save_name(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8 signext 68)
%7 = call i32 @save_name(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8 signext 68)
%8 = call i32 @save_name(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8 signext 68)
%9 = call i32 @save_name(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8 signext 68)
ret void
}

LLVM IR (-O2):
@.str = [9 x i8] c"__STDC__\00"
@.str.1 = [9 x i8] c"__GNUC__\00"
@.str.2 = [16 x i8] c"__LONG_64_BIT__\00"
@.str.3 = [10 x i8] c"__linux__\00"
@.str.4 = [9 x i8] c"__unix__\00"
@.str.5 = [8 x i8] c"__ELF__\00"
@.str.6 = [6 x i8] c"linux\00"
@.str.7 = [5 x i8] c"unix\00"
define void @manifest_constant() {
%1 = tail call i32 @save_name(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 signext 68)
%2 = tail call i32 @save_name(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8 signext 68)
%3 = tail call i32 @save_name(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i8 signext 68)
%4 = tail call i32 @save_name(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i8 signext 68)
%5 = tail call i32 @save_name(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8 signext 68)
%6 = tail call i32 @save_name(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8 signext 68)
%7 = tail call i32 @save_name(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8 signext 68)
%8 = tail call i32 @save_name(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8 signext 68)
%9 = tail call i32 @save_name(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8 signext 68)
ret void
}