#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*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *);
void printUsage(void) {
  printf("Usage: LTGA [-?] [-P] [-s] [-w] [-v] [-l] [-r] pro dim pop eva vtr "
         "tol\n");
  printf(" -?: Prints out this usage information.\n");
  printf(" -P: Prints out a list of all installed optimization problems.\n");
  printf(
      " -s: Enables computing and writing of statistics every generation.\n");
  printf(" -w: Enables writing of solutions and their fitnesses every "
         "generation.\n");
  printf(" -v: Enables verbose mode. Prints the settings before starting the "
         "run.\n");
  printf(" -l: Enables printing the contents of the LT every generation.\n");
  printf(
      " -r: Enables use of vtr in termination condition (value-to-reach).\n");
  printf("\n");
  printf("  pro: Index of optimization problem to be solved (minimization).\n");
  printf("  dim: Number of parameters.\n");
  printf("  pop: Population size per normal.\n");
  printf("  eva: Maximum number of evaluations allowed.\n");
  printf("  vtr: The value to reach. If the objective value of the best "
         "feasible solution reaches\n");
  printf("       this value, termination is enforced (if -r is specified).\n");
  printf("  tol: The tolerance level for fitness variance (i.e. minimum "
         "fitness variance)\n");
  exit(0);
}


x86 assembly (clang, -O0):
<printUsage>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf11(%rip),%rdi
call   1030 <printf@plt>
lea    0xf2e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf62(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9a(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd7(%rip),%rdi
call   1030 <printf@plt>
lea    0x1014(%rip),%rdi
call   1030 <printf@plt>
lea    0x1048(%rip),%rdi
call   1030 <printf@plt>
lea    0x121e(%rip),%rdi
call   1030 <printf@plt>
lea    0x1074(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ab(%rip),%rdi
call   1030 <printf@plt>
lea    0x10bd(%rip),%rdi
call   1030 <printf@plt>
lea    0x10d5(%rip),%rdi
call   1030 <printf@plt>
lea    0x10f8(%rip),%rdi
call   1030 <printf@plt>
lea    0x1145(%rip),%rdi
call   1030 <printf@plt>
lea    0x117b(%rip),%rdi
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<printUsage>:
push   %rax
lea    0xec8(%rip),%rdi
call   1040 <puts@plt>
lea    0xf03(%rip),%rdi
call   1040 <puts@plt>
lea    0xf1f(%rip),%rdi
call   1040 <puts@plt>
lea    0xf52(%rip),%rdi
call   1040 <puts@plt>
lea    0xf89(%rip),%rdi
call   1040 <puts@plt>
lea    0xfc5(%rip),%rdi
call   1040 <puts@plt>
lea    0x1001(%rip),%rdi
call   1040 <puts@plt>
lea    0x1034(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x1061(%rip),%rdi
call   1040 <puts@plt>
lea    0x1097(%rip),%rdi
call   1040 <puts@plt>
lea    0x10a8(%rip),%rdi
call   1040 <puts@plt>
lea    0x10bf(%rip),%rdi
call   1040 <puts@plt>
lea    0x10e1(%rip),%rdi
call   1040 <puts@plt>
lea    0x112d(%rip),%rdi
call   1040 <puts@plt>
lea    0x1162(%rip),%rdi
call   1040 <puts@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [72 x i8] c"Usage: LTGA [-?] [-P] [-s] [-w] [-v] [-l] [-r] pro dim pop eva vtr tol\0A\00"
@.str.1 = [41 x i8] c" -?: Prints out this usage information.\0A\00"
@.str.2 = [64 x i8] c" -P: Prints out a list of all installed optimization problems.\0A\00"
@.str.3 = [68 x i8] c" -s: Enables computing and writing of statistics every generation.\0A\00"
@.str.4 = [73 x i8] c" -w: Enables writing of solutions and their fitnesses every generation.\0A\00"
@.str.5 = [73 x i8] c" -v: Enables verbose mode. Prints the settings before starting the run.\0A\00"
@.str.6 = [64 x i8] c" -l: Enables printing the contents of the LT every generation.\0A\00"
@.str.7 = [68 x i8] c" -r: Enables use of vtr in termination condition (value-to-reach).\0A\00"
@.str.8 = [2 x i8] c"\0A\00"
@.str.9 = [67 x i8] c" pro: Index of optimization problem to be solved (minimization).\0A\00"
@.str.10 = [30 x i8] c" dim: Number of parameters.\0A\00"
@.str.11 = [36 x i8] c" pop: Population size per normal.\0A\00"
@.str.12 = [47 x i8] c" eva: Maximum number of evaluations allowed.\0A\00"
@.str.13 = [89 x i8] c" vtr: The value to reach. If the objective value of the best feasible solution reaches\0A\00"
@.str.14 = [66 x i8] c" this value, termination is enforced (if -r is specified).\0A\00"
@.str.15 = [81 x i8] c" tol: The tolerance level for fitness variance (i.e. minimum fitness variance)\0A\00"
define void @printUsage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([89 x i8], [89 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@str = [71 x i8] c"Usage: LTGA [-?] [-P] [-s] [-w] [-v] [-l] [-r] pro dim pop eva vtr tol\00"
@str.16 = [40 x i8] c" -?: Prints out this usage information.\00"
@str.17 = [63 x i8] c" -P: Prints out a list of all installed optimization problems.\00"
@str.18 = [67 x i8] c" -s: Enables computing and writing of statistics every generation.\00"
@str.19 = [72 x i8] c" -w: Enables writing of solutions and their fitnesses every generation.\00"
@str.20 = [72 x i8] c" -v: Enables verbose mode. Prints the settings before starting the run.\00"
@str.21 = [63 x i8] c" -l: Enables printing the contents of the LT every generation.\00"
@str.22 = [67 x i8] c" -r: Enables use of vtr in termination condition (value-to-reach).\00"
@str.23 = [66 x i8] c" pro: Index of optimization problem to be solved (minimization).\00"
@str.24 = [29 x i8] c" dim: Number of parameters.\00"
@str.25 = [35 x i8] c" pop: Population size per normal.\00"
@str.26 = [46 x i8] c" eva: Maximum number of evaluations allowed.\00"
@str.27 = [88 x i8] c" vtr: The value to reach. If the objective value of the best feasible solution reaches\00"
@str.28 = [65 x i8] c" this value, termination is enforced (if -r is specified).\00"
@str.29 = [80 x i8] c" tol: The tolerance level for fitness variance (i.e. minimum fitness variance)\00"
define void @printUsage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.16, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.17, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.18, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.19, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.20, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.21, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.22, i64 0, i64 0))
%9 = tail call i32 @putchar(i32 10)
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.23, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.24, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.25, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.26, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([88 x i8], [88 x i8]* @str.27, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.28, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str.29, i64 0, i64 0))
%17 = tail call i32 @exit(i32 0)
unreachable
}