#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*/ wCreateNumConst(char *, int);
int /*<<< orphan*/ wCreateStrConst(char *, char *);
void wInitConsts() {
  wCreateNumConst("True", !0);
  wCreateNumConst("False", 0);
  wCreateNumConst("NULL", 0);
  wCreateStrConst("WXBASIC_VERSION", "alpha 0.51 (Waltzing Interia)");
  wCreateStrConst("WXBASIC_DATE", "January 31, 2002");
}


x86 assembly (clang, -O0):
<wInitConsts>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
mov    $0x1,%esi
call   1030 <wCreateNumConst@plt>
lea    0xec9(%rip),%rdi
xor    %esi,%esi
call   1030 <wCreateNumConst@plt>
lea    0xec1(%rip),%rdi
xor    %esi,%esi
call   1030 <wCreateNumConst@plt>
lea    0xeb8(%rip),%rdi
lea    0xec1(%rip),%rsi
call   1040 <wCreateStrConst@plt>
lea    0xed3(%rip),%rdi
lea    0xed9(%rip),%rsi
call   1040 <wCreateStrConst@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<wInitConsts>:
push   %rax
lea    0xed8(%rip),%rdi
mov    $0x1,%esi
call   1030 <wCreateNumConst@plt>
lea    0xecc(%rip),%rdi
xor    %esi,%esi
call   1030 <wCreateNumConst@plt>
lea    0xec4(%rip),%rdi
xor    %esi,%esi
call   1030 <wCreateNumConst@plt>
lea    0xebb(%rip),%rdi
lea    0xec4(%rip),%rsi
call   1040 <wCreateStrConst@plt>
lea    0xed6(%rip),%rdi
lea    0xedc(%rip),%rsi
pop    %rax
jmp    1040 <wCreateStrConst@plt>

LLVM IR (-O0):
@.str = [5 x i8] c"True\00"
@.str.1 = [6 x i8] c"False\00"
@.str.2 = [5 x i8] c"NULL\00"
@.str.3 = [16 x i8] c"WXBASIC_VERSION\00"
@.str.4 = [30 x i8] c"alpha 0.51 (Waltzing Interia)\00"
@.str.5 = [13 x i8] c"WXBASIC_DATE\00"
@.str.6 = [17 x i8] c"January 31, 2002\00"
define void @wInitConsts() {
%1 = call i32 @wCreateNumConst(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 1)
%2 = call i32 @wCreateNumConst(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 0)
%3 = call i32 @wCreateNumConst(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 0)
%4 = call i32 @wCreateStrConst(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0))
%5 = call i32 @wCreateStrConst(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [5 x i8] c"True\00"
@.str.1 = [6 x i8] c"False\00"
@.str.2 = [5 x i8] c"NULL\00"
@.str.3 = [16 x i8] c"WXBASIC_VERSION\00"
@.str.4 = [30 x i8] c"alpha 0.51 (Waltzing Interia)\00"
@.str.5 = [13 x i8] c"WXBASIC_DATE\00"
@.str.6 = [17 x i8] c"January 31, 2002\00"
define void @wInitConsts() {
%1 = tail call i32 @wCreateNumConst(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 1)
%2 = tail call i32 @wCreateNumConst(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 0)
%3 = tail call i32 @wCreateNumConst(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 0)
%4 = tail call i32 @wCreateStrConst(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0))
%5 = tail call i32 @wCreateStrConst(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0))
ret void
}