#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 option {
  char *member_0;
  int /*<<< orphan*/ member_3;
  int /*<<< orphan*/ member_2;
  int /*<<< orphan*/ const member_1;
};

/* Variables and functions */
int aes();
int avx();
int /*<<< orphan*/ exit(int);
int fma4();
int getopt_long(int, char **, char *, struct option *, int *);
#define no_argument 129
int /*<<< orphan*/ optarg;
int optind;
int /*<<< orphan*/ parse_Inst(int /*<<< orphan*/);
int /*<<< orphan*/ parse_mem(int /*<<< orphan*/, unsigned int *,
                             unsigned int *);
int pclmul();
int /*<<< orphan*/ print_help();
int /*<<< orphan*/ printf(char *, int);
int rdrand();
#define required_argument 128
int sse3();
int sse4();
int sse4a();
int ssse3();
int /*<<< orphan*/ stress(int /*<<< orphan*/);
int /*<<< orphan*/ stressmem(unsigned int, unsigned int);
int xop();
int main(int argc, char **argv) {
  int c;
  int digit_optind = 0;
  int opt_count = 0;
  int ret = 0;
  while (1) {
    int this_option_optind = optind ? optind : 1;
    int option_index = 0;
    static struct option long_options[] = {
        {"stress", required_argument, 0, 0},
        {"stressmem", required_argument, 0, 0},
        {"sse3", no_argument, 0, 0},
        {"ssse3", no_argument, 0, 0},
        {"sse4", no_argument, 0, 0},
        {"sse4a", no_argument, 0, 0},
        {"avx", no_argument, 0, 0},
        {"aes", no_argument, 0, 0},
        {"pclmul", no_argument, 0, 0},
        {"rdrand", no_argument, 0, 0},
        {"fma4", no_argument, 0, 0},
        {"xop", no_argument, 0, 0},
        {0, 0, 0, 0}};
    c = getopt_long(argc, argv, "", long_options, &option_index);
    if (c == -1) {
      if (!opt_count)
        print_help();
      break;
    }
    switch (c) {
    case 0:
      switch (option_index) {
      case 0:
        stress(parse_Inst(optarg));
        break;
      case 1: {
        unsigned int p_maxmem = 0;
        unsigned int p_stressmem = 0;
        parse_mem(optarg, &p_stressmem, &p_maxmem);
        stressmem(p_maxmem, p_stressmem);
        break;
      }
      case 2:
        ret += sse3();
        break;
      case 3:
        ret += ssse3();
        break;
      case 4:
        ret += sse4();
        break;
      case 5:
        ret += sse4a();
        break;
      case 6:
        ret += avx();
        break;
      case 7:
        ret += aes();
        break;
      case 8:
        ret += pclmul();
        break;
      case 9:
        ret += rdrand();
        break;
      case 10:
        ret += fma4();
        break;
      case 11:
        ret += xop();
        break;
      }
      break;
    case '?':
      print_help();
      break;
    default:
      printf("?? getopt returned character code 0%o ??\n", c);
      break;
    }
    opt_count += 1;
  }
  if (ret > 0) {
    printf("%d test fail.\n", ret);
    exit(-1);
  }
  exit(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
movl   $0x0,-0x20(%rbp)
mov    0x2d8e(%rip),%rax
cmpl   $0x0,(%rax)
je     126c <main+0x4c>
mov    0x2d7e(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x34(%rbp)
jmp    1279 <main+0x59>
mov    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1279 <main+0x59>
mov    -0x34(%rbp),%eax
mov    %eax,-0x24(%rbp)
movl   $0x0,-0x28(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xe15(%rip),%rdx
lea    0x2e25(%rip),%rcx
lea    -0x28(%rbp),%r8
call   1040 <getopt_long@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0xffffffff,-0x14(%rbp)
jne    12c7 <main+0xa7>
cmpl   $0x0,-0x1c(%rbp)
jne    12c2 <main+0xa2>
mov    $0x0,%al
call   1120 <print_help@plt>
jmp    143b <main+0x21b>
mov    -0x14(%rbp),%eax
mov    %eax,-0x38(%rbp)
test   %eax,%eax
je     12eb <main+0xcb>
jmp    12da <main+0xba>
mov    -0x38(%rbp),%eax
sub    $0x3f,%eax
je     1412 <main+0x1f2>
jmp    141e <main+0x1fe>
mov    -0x28(%rbp),%eax
mov    %rax,-0x40(%rbp)
sub    $0xb,%rax
ja     140d <main+0x1ed>
mov    -0x40(%rbp),%rax
lea    0xcf9(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    0x2ce1(%rip),%rax
mov    (%rax),%edi
call   10a0 <parse_Inst@plt>
mov    %eax,%edi
call   1060 <stress@plt>
jmp    140d <main+0x1ed>
movl   $0x0,-0x2c(%rbp)
movl   $0x0,-0x30(%rbp)
mov    0x2cb9(%rip),%rax
mov    (%rax),%edi
lea    -0x30(%rbp),%rsi
lea    -0x2c(%rbp),%rdx
call   1140 <parse_mem@plt>
mov    -0x2c(%rbp),%edi
mov    -0x30(%rbp),%esi
call   10c0 <stressmem@plt>
jmp    140d <main+0x1ed>
mov    $0x0,%al
call   1080 <sse3@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    140d <main+0x1ed>
mov    $0x0,%al
call   1030 <ssse3@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    140d <main+0x1ed>
mov    $0x0,%al
call   1110 <sse4@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    140d <main+0x1ed>
mov    $0x0,%al
call   1100 <sse4a@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    140d <main+0x1ed>
mov    $0x0,%al
call   1070 <avx@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    140d <main+0x1ed>
mov    $0x0,%al
call   1090 <aes@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    140d <main+0x1ed>
mov    $0x0,%al
call   10b0 <pclmul@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    140d <main+0x1ed>
mov    $0x0,%al
call   10f0 <rdrand@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    140d <main+0x1ed>
mov    $0x0,%al
call   10e0 <fma4@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    140d <main+0x1ed>
mov    $0x0,%al
call   10d0 <xop@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    142d <main+0x20d>
mov    $0x0,%al
call   1120 <print_help@plt>
jmp    142d <main+0x20d>
mov    -0x14(%rbp),%esi
lea    0xc49(%rip),%rdi
call   1050 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    124b <main+0x2b>
cmpl   $0x0,-0x20(%rbp)
jle    145e <main+0x23e>
mov    -0x20(%rbp),%esi
lea    0xc4c(%rip),%rdi
call   1050 <printf@plt>
mov    $0xffffffff,%edi
call   1130 <exit@plt>
xor    %edi,%edi
call   1130 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rsi,%rbx
mov    %edi,%ebp
lea    0x2e86(%rip),%r12
lea    0x14(%rsp),%r13
xor    %r14d,%r14d
xor    %r15d,%r15d
jmp    125b <main+0x3b>
nopw   0x0(%rax,%rax,1)
xor    %eax,%eax
call   1120 <print_help@plt>
add    $0xffffffff,%r14d
movl   $0x0,0x14(%rsp)
mov    %ebp,%edi
mov    %rbx,%rsi
lea    0xe3a(%rip),%rdx
mov    %r12,%rcx
mov    %r13,%r8
call   1040 <getopt_long@plt>
test   %eax,%eax
je     12a0 <main+0x80>
cmp    $0x3f,%eax
je     1250 <main+0x30>
cmp    $0xffffffff,%eax
je     13d1 <main+0x1b1>
lea    0xdde(%rip),%rdi
mov    %eax,%esi
call   1050 <printf@plt>
add    $0xffffffff,%r14d
jmp    125b <main+0x3b>
mov    0x14(%rsp),%eax
cmp    $0xb,%rax
ja     129a <main+0x7a>
lea    0xd4f(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    0x2d37(%rip),%rax
mov    (%rax),%edi
call   10a0 <parse_Inst@plt>
mov    %eax,%edi
call   1060 <stress@plt>
add    $0xffffffff,%r14d
jmp    125b <main+0x3b>
movl   $0x0,0x10(%rsp)
movl   $0x0,0xc(%rsp)
mov    0x2d0c(%rip),%rax
mov    (%rax),%edi
lea    0xc(%rsp),%rsi
lea    0x10(%rsp),%rdx
call   1140 <parse_mem@plt>
mov    0x10(%rsp),%edi
mov    0xc(%rsp),%esi
call   10c0 <stressmem@plt>
add    $0xffffffff,%r14d
jmp    125b <main+0x3b>
xor    %eax,%eax
call   1080 <sse3@plt>
add    %eax,%r15d
add    $0xffffffff,%r14d
jmp    125b <main+0x3b>
xor    %eax,%eax
call   1030 <ssse3@plt>
add    %eax,%r15d
add    $0xffffffff,%r14d
jmp    125b <main+0x3b>
xor    %eax,%eax
call   1110 <sse4@plt>
add    %eax,%r15d
add    $0xffffffff,%r14d
jmp    125b <main+0x3b>
xor    %eax,%eax
call   1100 <sse4a@plt>
add    %eax,%r15d
add    $0xffffffff,%r14d
jmp    125b <main+0x3b>
xor    %eax,%eax
call   1070 <avx@plt>
add    %eax,%r15d
add    $0xffffffff,%r14d
jmp    125b <main+0x3b>
xor    %eax,%eax
call   1090 <aes@plt>
add    %eax,%r15d
add    $0xffffffff,%r14d
jmp    125b <main+0x3b>
xor    %eax,%eax
call   10f0 <rdrand@plt>
add    %eax,%r15d
add    $0xffffffff,%r14d
jmp    125b <main+0x3b>
xor    %eax,%eax
call   10d0 <xop@plt>
add    %eax,%r15d
add    $0xffffffff,%r14d
jmp    125b <main+0x3b>
xor    %eax,%eax
call   10b0 <pclmul@plt>
add    %eax,%r15d
add    $0xffffffff,%r14d
jmp    125b <main+0x3b>
xor    %eax,%eax
call   10e0 <fma4@plt>
add    %eax,%r15d
add    $0xffffffff,%r14d
jmp    125b <main+0x3b>
test   %r14d,%r14d
jne    13dd <main+0x1bd>
xor    %eax,%eax
call   1120 <print_help@plt>
test   %r15d,%r15d
jle    13fb <main+0x1db>
lea    0xcb2(%rip),%rdi
mov    %r15d,%esi
call   1050 <printf@plt>
mov    $0xffffffff,%edi
call   1130 <exit@plt>
xor    %edi,%edi
call   1130 <exit@plt>

LLVM IR (-O0):
%struct.option = type { i8*, i32, i32, i32 }
@optind = global i32 0
@main.long_options = internal global [13 x %struct.option] [%struct.option { i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i32 0, i32 0), i32 128, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i32 0, i32 0), i32 128, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option zeroinitializer]
@.str = [7 x i8] c"stress\00"
@.str.1 = [10 x i8] c"stressmem\00"
@.str.2 = [5 x i8] c"sse3\00"
@.str.3 = [6 x i8] c"ssse3\00"
@.str.4 = [5 x i8] c"sse4\00"
@.str.5 = [6 x i8] c"sse4a\00"
@.str.6 = [4 x i8] c"avx\00"
@.str.7 = [4 x i8] c"aes\00"
@.str.8 = [7 x i8] c"pclmul\00"
@.str.9 = [7 x i8] c"rdrand\00"
@.str.10 = [5 x i8] c"fma4\00"
@.str.11 = [4 x i8] c"xop\00"
@.str.12 = [1 x i8] zeroinitializer
@optarg = global i32 0
@.str.13 = [42 x i8] c"?? getopt returned character code 0%o ??\0A\00"
@.str.14 = [15 x i8] c"%d test fail.\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %7
store i32 0, i32* %8
store i32 0, i32* %9
br label %14
14: ; preds = %2, %93
%15 = load i32, i32* @optind
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = load i32, i32* @optind
br label %20
19: ; preds = %14
br label %20
20: ; preds = %19, %17
%21 = phi i32 [ %18, %17 ], [ 1, %19 ]
store i32 %21, i32* %10
store i32 0, i32* %11
%22 = load i32, i32* %4
%23 = load i8**, i8*** %5
%24 = call i32 @getopt_long(i32 %22, i8** %23, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.12, i64 0, i64 0), %struct.option* getelementptr inbounds ([13 x %struct.option], [13 x %struct.option]* @main.long_options, i64 0, i64 0), i32* %11)
store i32 %24, i32* %6
%25 = load i32, i32* %6
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %33
27: ; preds = %20
%28 = load i32, i32* %8
%29 = icmp ne i32 %28, 0
br i1 %29, label %32, label %30
30: ; preds = %27
%31 = call i32 (...) @print_help()
br label %32
32: ; preds = %30, %27
br label %96
33: ; preds = %20
%34 = load i32, i32* %6
switch i32 %34, label %90 [
i32 0, label %35
i32 63, label %88
]
35: ; preds = %33
%36 = load i32, i32* %11
switch i32 %36, label %87 [
i32 0, label %37
i32 1, label %41
i32 2, label %47
i32 3, label %51
i32 4, label %55
i32 5, label %59
i32 6, label %63
i32 7, label %67
i32 8, label %71
i32 9, label %75
i32 10, label %79
i32 11, label %83
]
37: ; preds = %35
%38 = load i32, i32* @optarg
%39 = call i32 @parse_Inst(i32 %38)
%40 = call i32 @stress(i32 %39)
br label %87
41: ; preds = %35
store i32 0, i32* %12
store i32 0, i32* %13
%42 = load i32, i32* @optarg
%43 = call i32 @parse_mem(i32 %42, i32* %13, i32* %12)
%44 = load i32, i32* %12
%45 = load i32, i32* %13
%46 = call i32 @stressmem(i32 %44, i32 %45)
br label %87
47: ; preds = %35
%48 = call i32 (...) @sse3()
%49 = load i32, i32* %9
%50 = add nsw i32 %49, %48
store i32 %50, i32* %9
br label %87
51: ; preds = %35
%52 = call i32 (...) @ssse3()
%53 = load i32, i32* %9
%54 = add nsw i32 %53, %52
store i32 %54, i32* %9
br label %87
55: ; preds = %35
%56 = call i32 (...) @sse4()
%57 = load i32, i32* %9
%58 = add nsw i32 %57, %56
store i32 %58, i32* %9
br label %87
59: ; preds = %35
%60 = call i32 (...) @sse4a()
%61 = load i32, i32* %9
%62 = add nsw i32 %61, %60
store i32 %62, i32* %9
br label %87
63: ; preds = %35
%64 = call i32 (...) @avx()
%65 = load i32, i32* %9
%66 = add nsw i32 %65, %64
store i32 %66, i32* %9
br label %87
67: ; preds = %35
%68 = call i32 (...) @aes()
%69 = load i32, i32* %9
%70 = add nsw i32 %69, %68
store i32 %70, i32* %9
br label %87
71: ; preds = %35
%72 = call i32 (...) @pclmul()
%73 = load i32, i32* %9
%74 = add nsw i32 %73, %72
store i32 %74, i32* %9
br label %87
75: ; preds = %35
%76 = call i32 (...) @rdrand()
%77 = load i32, i32* %9
%78 = add nsw i32 %77, %76
store i32 %78, i32* %9
br label %87
79: ; preds = %35
%80 = call i32 (...) @fma4()
%81 = load i32, i32* %9
%82 = add nsw i32 %81, %80
store i32 %82, i32* %9
br label %87
83: ; preds = %35
%84 = call i32 (...) @xop()
%85 = load i32, i32* %9
%86 = add nsw i32 %85, %84
store i32 %86, i32* %9
br label %87
87: ; preds = %35, %83, %79, %75, %71, %67, %63, %59, %55, %51, %47, %41, %37
br label %93
88: ; preds = %33
%89 = call i32 (...) @print_help()
br label %93
90: ; preds = %33
%91 = load i32, i32* %6
%92 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.13, i64 0, i64 0), i32 %91)
br label %93
93: ; preds = %90, %88, %87
%94 = load i32, i32* %8
%95 = add nsw i32 %94, 1
store i32 %95, i32* %8
br label %14
96: ; preds = %32
%97 = load i32, i32* %9
%98 = icmp sgt i32 %97, 0
br i1 %98, label %99, label %103
99: ; preds = %96
%100 = load i32, i32* %9
%101 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.14, i64 0, i64 0), i32 %100)
%102 = call i32 @exit(i32 -1)
unreachable
103: ; preds = %96
%104 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
%struct.option = type { i8*, i32, i32, i32 }
@optind = global i32 0
@main.long_options = internal global [13 x %struct.option] [%struct.option { i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i32 0, i32 0), i32 128, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i32 0, i32 0), i32 128, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i32 0, i32 0), i32 129, i32 0, i32 0 }, %struct.option zeroinitializer]
@.str = [7 x i8] c"stress\00"
@.str.1 = [10 x i8] c"stressmem\00"
@.str.2 = [5 x i8] c"sse3\00"
@.str.3 = [6 x i8] c"ssse3\00"
@.str.4 = [5 x i8] c"sse4\00"
@.str.5 = [6 x i8] c"sse4a\00"
@.str.6 = [4 x i8] c"avx\00"
@.str.7 = [4 x i8] c"aes\00"
@.str.8 = [7 x i8] c"pclmul\00"
@.str.9 = [7 x i8] c"rdrand\00"
@.str.10 = [5 x i8] c"fma4\00"
@.str.11 = [4 x i8] c"xop\00"
@.str.12 = [1 x i8] zeroinitializer
@optarg = global i32 0
@.str.13 = [42 x i8] c"?? getopt returned character code 0%o ??\0A\00"
@.str.14 = [15 x i8] c"%d test fail.\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = bitcast i32* %3 to i8*
%7 = bitcast i32* %4 to i8*
%8 = bitcast i32* %5 to i8*
br label %9
9: ; preds = %63, %2
%10 = phi i32 [ 0, %2 ], [ %64, %63 ]
%11 = phi i32 [ 0, %2 ], [ %65, %63 ]
store i32 0, i32* %3
%12 = call i32 @getopt_long(i32 %0, i8** %1, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.12, i64 0, i64 0), %struct.option* getelementptr inbounds ([13 x %struct.option], [13 x %struct.option]* @main.long_options, i64 0, i64 0), i32* %3)
switch i32 %12, label %61 [
i32 -1, label %13
i32 0, label %17
i32 63, label %59
]
13: ; preds = %9
%14 = icmp eq i32 %11, 0
br i1 %14, label %15, label %66
15: ; preds = %13
%16 = call i32 (...) @print_help()
br label %66
17: ; preds = %9
%18 = load i32, i32* %3
switch i32 %18, label %63 [
i32 0, label %19
i32 1, label %23
i32 2, label %29
i32 3, label %32
i32 4, label %35
i32 5, label %38
i32 6, label %41
i32 7, label %44
i32 8, label %47
i32 9, label %50
i32 10, label %53
i32 11, label %56
]
19: ; preds = %17
%20 = load i32, i32* @optarg
%21 = call i32 @parse_Inst(i32 %20)
%22 = call i32 @stress(i32 %21)
br label %63
23: ; preds = %17
store i32 0, i32* %4
store i32 0, i32* %5
%24 = load i32, i32* @optarg
%25 = call i32 @parse_mem(i32 %24, i32* %5, i32* %4)
%26 = load i32, i32* %4
%27 = load i32, i32* %5
%28 = call i32 @stressmem(i32 %26, i32 %27)
br label %63
29: ; preds = %17
%30 = call i32 (...) @sse3()
%31 = add nsw i32 %30, %10
br label %63
32: ; preds = %17
%33 = call i32 (...) @ssse3()
%34 = add nsw i32 %33, %10
br label %63
35: ; preds = %17
%36 = call i32 (...) @sse4()
%37 = add nsw i32 %36, %10
br label %63
38: ; preds = %17
%39 = call i32 (...) @sse4a()
%40 = add nsw i32 %39, %10
br label %63
41: ; preds = %17
%42 = call i32 (...) @avx()
%43 = add nsw i32 %42, %10
br label %63
44: ; preds = %17
%45 = call i32 (...) @aes()
%46 = add nsw i32 %45, %10
br label %63
47: ; preds = %17
%48 = call i32 (...) @pclmul()
%49 = add nsw i32 %48, %10
br label %63
50: ; preds = %17
%51 = call i32 (...) @rdrand()
%52 = add nsw i32 %51, %10
br label %63
53: ; preds = %17
%54 = call i32 (...) @fma4()
%55 = add nsw i32 %54, %10
br label %63
56: ; preds = %17
%57 = call i32 (...) @xop()
%58 = add nsw i32 %57, %10
br label %63
59: ; preds = %9
%60 = call i32 (...) @print_help()
br label %63
61: ; preds = %9
%62 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.13, i64 0, i64 0), i32 %12)
br label %63
63: ; preds = %59, %61, %17, %56, %53, %50, %47, %44, %41, %38, %35, %32, %29, %23, %19
%64 = phi i32 [ %10, %61 ], [ %10, %59 ], [ %10, %17 ], [ %58, %56 ], [ %55, %53 ], [ %52, %50 ], [ %49, %47 ], [ %46, %44 ], [ %43, %41 ], [ %40, %38 ], [ %37, %35 ], [ %34, %32 ], [ %31, %29 ], [ %10, %23 ], [ %10, %19 ]
%65 = add nuw nsw i32 %11, 1
br label %9
66: ; preds = %15, %13
%67 = icmp sgt i32 %10, 0
br i1 %67, label %68, label %71
68: ; preds = %66
%69 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.14, i64 0, i64 0), i32 %10)
%70 = call i32 @exit(i32 -1)
unreachable
71: ; preds = %66
%72 = call i32 @exit(i32 0)
unreachable
}