#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*/ printf(char *);
void pmembench_print_examples() {
  printf("\nExamples:\n");
  printf("$ pmembench <benchmark_name> <args>\n");
  printf(" # runs benchmark of name <benchmark> with arguments <args>\n");
  printf("or\n");
  printf("$ pmembench <config_file>\n");
  printf(" # runs all scenarios from config file\n");
  printf("or\n");
  printf("$ pmembench [<benchmark_name>] [-h|--help [-v|--version]\n");
  printf(" # prints help\n");
  printf("or\n");
  printf("$ pmembench <config_file> <name_of_scenario>\n");
  printf(" # runs the specified scenario from config file\n");
  printf("$ pmembench <config_file> <name_of_scenario_1> "
         "<name_of_scenario_2> <common_args>\n");
  printf(" # runs the specified scenarios from config file and overwrites"
         " the given common_args from the config file\n");
}


x86 assembly (clang, -O0):
<pmembench_print_examples>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xefe(%rip),%rdi
call   1030 <printf@plt>
lea    0xf2f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf27(%rip),%rdi
call   1030 <printf@plt>
lea    0xf36(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0b(%rip),%rdi
call   1030 <printf@plt>
lea    0xf46(%rip),%rdi
call   1030 <printf@plt>
lea    0xf74(%rip),%rdi
call   1030 <printf@plt>
lea    0xee7(%rip),%rdi
call   1030 <printf@plt>
lea    0xf6c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf8e(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb3(%rip),%rdi
call   1030 <printf@plt>
lea    0xffa(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<pmembench_print_examples>:
push   %rbx
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xee7(%rip),%rdi
call   1030 <puts@plt>
lea    0xeff(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb8(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xf20(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2e(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xf41(%rip),%rdi
call   1030 <puts@plt>
lea    0xf6e(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xf6c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf8d(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb1(%rip),%rdi
call   1030 <puts@plt>
lea    0xff7(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [12 x i8] c"\0AExamples:\0A\00"
@.str.1 = [37 x i8] c"$ pmembench <benchmark_name> <args>\0A\00"
@.str.2 = [61 x i8] c" # runs benchmark of name <benchmark> with arguments <args>\0A\00"
@.str.3 = [4 x i8] c"or\0A\00"
@.str.4 = [27 x i8] c"$ pmembench <config_file>\0A\00"
@.str.5 = [40 x i8] c" # runs all scenarios from config file\0A\00"
@.str.6 = [58 x i8] c"$ pmembench [<benchmark_name>] [-h|--help [-v|--version]\0A\00"
@.str.7 = [16 x i8] c" # prints help\0A\00"
@.str.8 = [46 x i8] c"$ pmembench <config_file> <name_of_scenario>\0A\00"
@.str.9 = [49 x i8] c" # runs the specified scenario from config file\0A\00"
@.str.10 = [83 x i8] c"$ pmembench <config_file> <name_of_scenario_1> <name_of_scenario_2> <common_args>\0A\00"
@.str.11 = [108 x i8] c" # runs the specified scenarios from config file and overwrites the given common_args from the config file\0A\00"
define void @pmembench_print_examples() {
%1 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.8, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.9, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.10, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([108 x i8], [108 x i8]* @.str.11, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [11 x i8] c"\0AExamples:\00"
@str.12 = [36 x i8] c"$ pmembench <benchmark_name> <args>\00"
@str.13 = [60 x i8] c" # runs benchmark of name <benchmark> with arguments <args>\00"
@str.15 = [26 x i8] c"$ pmembench <config_file>\00"
@str.16 = [39 x i8] c" # runs all scenarios from config file\00"
@str.18 = [57 x i8] c"$ pmembench [<benchmark_name>] [-h|--help [-v|--version]\00"
@str.19 = [15 x i8] c" # prints help\00"
@str.20 = [3 x i8] c"or\00"
@str.21 = [45 x i8] c"$ pmembench <config_file> <name_of_scenario>\00"
@str.22 = [48 x i8] c" # runs the specified scenario from config file\00"
@str.23 = [82 x i8] c"$ pmembench <config_file> <name_of_scenario_1> <name_of_scenario_2> <common_args>\00"
@str.24 = [107 x i8] c" # runs the specified scenarios from config file and overwrites the given common_args from the config file\00"
define void @pmembench_print_examples() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.12, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.13, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.20, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.15, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.16, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.20, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.18, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.19, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.20, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.21, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.22, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([82 x i8], [82 x i8]* @str.23, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([107 x i8], [107 x i8]* @str.24, i64 0, i64 0))
ret void
}