#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*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
void PrintHelp() {
  fprintf(stderr,
          "Usage: vqmm -quiet y|n -data <data-filename> -codebook-size <n>\n"
          " -epsilon <small-value> -smoothing <value in [0.0, 1.0]> -random "
          "new-seed > <my-filename>\n");
  fprintf(stderr,
          "The program has 4 different modes:\n"
          "1. Codebook creation.\n"
          "2. Feature vector sequence encoding (according to a codebook).\n"
          "3. Markov Model estimation.\n"
          "4. Classification.\n");
  fprintf(stderr, "1. Codebook creation. The input parameters are : \n"
                  "a. the codebook size,\n"
                  "b. the data set to be used. (a single matrix nxd with d = "
                  "dimensionality of data)\n");
}


x86 assembly (clang, -O0):
<PrintHelp>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ec5(%rip),%rax
mov    (%rax),%edi
lea    0xedc(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2eb0(%rip),%rax
mov    (%rax),%edi
lea    0xf62(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e9b(%rip),%rax
mov    (%rax),%edi
lea    0xff5(%rip),%rsi
call   1030 <fprintf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<PrintHelp>:
push   %rbx
mov    0x2ec8(%rip),%rbx
mov    (%rbx),%edi
lea    0xedf(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf6c(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1006(%rip),%rsi
pop    %rbx
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [155 x i8] c"Usage: vqmm -quiet y|n -data <data-filename> -codebook-size <n>\0A -epsilon <small-value> -smoothing <value in [0.0, 1.0]> -random new-seed > <my-filename>\0A\00"
@.str.1 = [168 x i8] c"The program has 4 different modes:\0A1. Codebook creation.\0A2. Feature vector sequence encoding (according to a codebook).\0A3. Markov Model estimation.\0A4. Classification.\0A\00"
@.str.2 = [155 x i8] c"1. Codebook creation. The input parameters are : \0Aa. the codebook size,\0Ab. the data set to be used. (a single matrix nxd with d = dimensionality of data)\0A\00"
define void @PrintHelp() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([155 x i8], [155 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([155 x i8], [155 x i8]* @.str.2, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [155 x i8] c"Usage: vqmm -quiet y|n -data <data-filename> -codebook-size <n>\0A -epsilon <small-value> -smoothing <value in [0.0, 1.0]> -random new-seed > <my-filename>\0A\00"
@.str.1 = [168 x i8] c"The program has 4 different modes:\0A1. Codebook creation.\0A2. Feature vector sequence encoding (according to a codebook).\0A3. Markov Model estimation.\0A4. Classification.\0A\00"
@.str.2 = [155 x i8] c"1. Codebook creation. The input parameters are : \0Aa. the codebook size,\0Ab. the data set to be used. (a single matrix nxd with d = dimensionality of data)\0A\00"
define void @PrintHelp() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([155 x i8], [155 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = tail call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = tail call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([155 x i8], [155 x i8]* @.str.2, i64 0, i64 0))
ret void
}