#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 */
struct sqlConnection {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ sqlRemakeTable(struct sqlConnection *, char *, char *);
void snpFastaTableCreate(struct sqlConnection *conn) {
  char *createString = "NOSQLINJ "
                       "CREATE TABLE snpFasta (\n"
                       "    rsId varchar(255) not null,       \n"
                       "    chrom varchar(255) not null,       \n"
                       "    molType varchar(255) not null, \n"
                       "    class varchar(255) not null, \n"
                       "    observed longblob not null, \n"
                       "    leftFlank longblob not null, \n"
                       "    rightFlank longblob not null, \n"
                       "    INDEX rsId(rsId(12))\n"
                       ");\n";
  sqlRemakeTable(conn, "snpFasta", createString);
}


x86 assembly (clang, -O0):
<snpFastaTableCreate>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
lea    0xedd(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rdx
lea    0x1003(%rip),%rsi
call   1030 <sqlRemakeTable@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<snpFastaTableCreate>:
lea    0x1022(%rip),%rsi
lea    0xee2(%rip),%rdx
jmp    1030 <sqlRemakeTable@plt>

LLVM IR (-O0):
%struct.sqlConnection = type { i32 }
@.str = [313 x i8] c"NOSQLINJ CREATE TABLE snpFasta (\0A rsId varchar(255) not null, \0A chrom varchar(255) not null, \0A molType varchar(255) not null, \0A class varchar(255) not null, \0A observed longblob not null, \0A leftFlank longblob not null, \0A rightFlank longblob not null, \0A INDEX rsId(rsId(12))\0A);\0A\00"
@.str.1 = [9 x i8] c"snpFasta\00"
define void @snpFastaTableCreate(%struct.sqlConnection* %0) {
%2 = alloca %struct.sqlConnection*
%3 = alloca i8*
store %struct.sqlConnection* %0, %struct.sqlConnection** %2
store i8* getelementptr inbounds ([313 x i8], [313 x i8]* @.str, i64 0, i64 0), i8** %3
%4 = load %struct.sqlConnection*, %struct.sqlConnection** %2
%5 = load i8*, i8** %3
%6 = call i32 @sqlRemakeTable(%struct.sqlConnection* %4, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* %5)
ret void
}

LLVM IR (-O2):
%struct.sqlConnection = type { i32 }
@.str = [313 x i8] c"NOSQLINJ CREATE TABLE snpFasta (\0A rsId varchar(255) not null, \0A chrom varchar(255) not null, \0A molType varchar(255) not null, \0A class varchar(255) not null, \0A observed longblob not null, \0A leftFlank longblob not null, \0A rightFlank longblob not null, \0A INDEX rsId(rsId(12))\0A);\0A\00"
@.str.1 = [9 x i8] c"snpFasta\00"
define void @snpFastaTableCreate(%struct.sqlConnection* %0) {
%2 = tail call i32 @sqlRemakeTable(%struct.sqlConnection* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([313 x i8], [313 x i8]* @.str, i64 0, i64 0))
ret void
}