#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 /*<<< orphan*/ atoi(int /*<<< orphan*/);
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 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(int /*<<< orphan*/);
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:
        stressmem(atoi(optarg));
        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,-0x2c(%rbp)
jmp    1279 <main+0x59>
mov    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1279 <main+0x59>
mov    -0x2c(%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   1130 <print_help@plt>
jmp    1421 <main+0x201>
mov    -0x14(%rbp),%eax
mov    %eax,-0x30(%rbp)
test   %eax,%eax
je     12eb <main+0xcb>
jmp    12da <main+0xba>
mov    -0x30(%rbp),%eax
sub    $0x3f,%eax
je     13f8 <main+0x1d8>
jmp    1404 <main+0x1e4>
mov    -0x28(%rbp),%eax
mov    %rax,-0x38(%rbp)
sub    $0xb,%rax
ja     13f3 <main+0x1d3>
mov    -0x38(%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    13f3 <main+0x1d3>
mov    0x2cc7(%rip),%rax
mov    (%rax),%edi
call   1120 <atoi@plt>
mov    %eax,%edi
call   10c0 <stressmem@plt>
jmp    13f3 <main+0x1d3>
mov    $0x0,%al
call   1080 <sse3@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    13f3 <main+0x1d3>
mov    $0x0,%al
call   1030 <ssse3@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    13f3 <main+0x1d3>
mov    $0x0,%al
call   1110 <sse4@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    13f3 <main+0x1d3>
mov    $0x0,%al
call   1100 <sse4a@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    13f3 <main+0x1d3>
mov    $0x0,%al
call   1070 <avx@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    13f3 <main+0x1d3>
mov    $0x0,%al
call   1090 <aes@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    13f3 <main+0x1d3>
mov    $0x0,%al
call   10b0 <pclmul@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    13f3 <main+0x1d3>
mov    $0x0,%al
call   10f0 <rdrand@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    13f3 <main+0x1d3>
mov    $0x0,%al
call   10e0 <fma4@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    13f3 <main+0x1d3>
mov    $0x0,%al
call   10d0 <xop@plt>
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    1413 <main+0x1f3>
mov    $0x0,%al
call   1130 <print_help@plt>
jmp    1413 <main+0x1f3>
mov    -0x14(%rbp),%esi
lea    0xc63(%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    1444 <main+0x224>
mov    -0x20(%rbp),%esi
lea    0xc66(%rip),%rdi
call   1050 <printf@plt>
mov    $0xffffffff,%edi
call   1140 <exit@plt>
xor    %edi,%edi
call   1140 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%rbx
mov    %edi,%ebp
lea    0x2e89(%rip),%r12
lea    0x4(%rsp),%r13
xor    %r14d,%r14d
xor    %r15d,%r15d
jmp    125b <main+0x3b>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
xor    %eax,%eax
call   1130 <print_help@plt>
add    $0xffffffff,%r14d
movl   $0x0,0x4(%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     13b1 <main+0x191>
lea    0xdde(%rip),%rdi
mov    %eax,%esi
call   1050 <printf@plt>
add    $0xffffffff,%r14d
jmp    125b <main+0x3b>
mov    0x4(%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>
mov    0x2d1c(%rip),%rax
mov    (%rax),%edi
call   1120 <atoi@plt>
mov    %eax,%edi
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    13bd <main+0x19d>
xor    %eax,%eax
call   1130 <print_help@plt>
test   %r15d,%r15d
jle    13db <main+0x1bb>
lea    0xcd2(%rip),%rdi
mov    %r15d,%esi
call   1050 <printf@plt>
mov    $0xffffffff,%edi
call   1140 <exit@plt>
xor    %edi,%edi
call   1140 <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
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 %12
12: ; preds = %2, %89
%13 = load i32, i32* @optind
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = load i32, i32* @optind
br label %18
17: ; preds = %12
br label %18
18: ; preds = %17, %15
%19 = phi i32 [ %16, %15 ], [ 1, %17 ]
store i32 %19, i32* %10
store i32 0, i32* %11
%20 = load i32, i32* %4
%21 = load i8**, i8*** %5
%22 = call i32 @getopt_long(i32 %20, i8** %21, 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 %22, i32* %6
%23 = load i32, i32* %6
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %31
25: ; preds = %18
%26 = load i32, i32* %8
%27 = icmp ne i32 %26, 0
br i1 %27, label %30, label %28
28: ; preds = %25
%29 = call i32 (...) @print_help()
br label %30
30: ; preds = %28, %25
br label %92
31: ; preds = %18
%32 = load i32, i32* %6
switch i32 %32, label %86 [
i32 0, label %33
i32 63, label %84
]
33: ; preds = %31
%34 = load i32, i32* %11
switch i32 %34, label %83 [
i32 0, label %35
i32 1, label %39
i32 2, label %43
i32 3, label %47
i32 4, label %51
i32 5, label %55
i32 6, label %59
i32 7, label %63
i32 8, label %67
i32 9, label %71
i32 10, label %75
i32 11, label %79
]
35: ; preds = %33
%36 = load i32, i32* @optarg
%37 = call i32 @parse_Inst(i32 %36)
%38 = call i32 @stress(i32 %37)
br label %83
39: ; preds = %33
%40 = load i32, i32* @optarg
%41 = call i32 @atoi(i32 %40)
%42 = call i32 @stressmem(i32 %41)
br label %83
43: ; preds = %33
%44 = call i32 (...) @sse3()
%45 = load i32, i32* %9
%46 = add nsw i32 %45, %44
store i32 %46, i32* %9
br label %83
47: ; preds = %33
%48 = call i32 (...) @ssse3()
%49 = load i32, i32* %9
%50 = add nsw i32 %49, %48
store i32 %50, i32* %9
br label %83
51: ; preds = %33
%52 = call i32 (...) @sse4()
%53 = load i32, i32* %9
%54 = add nsw i32 %53, %52
store i32 %54, i32* %9
br label %83
55: ; preds = %33
%56 = call i32 (...) @sse4a()
%57 = load i32, i32* %9
%58 = add nsw i32 %57, %56
store i32 %58, i32* %9
br label %83
59: ; preds = %33
%60 = call i32 (...) @avx()
%61 = load i32, i32* %9
%62 = add nsw i32 %61, %60
store i32 %62, i32* %9
br label %83
63: ; preds = %33
%64 = call i32 (...) @aes()
%65 = load i32, i32* %9
%66 = add nsw i32 %65, %64
store i32 %66, i32* %9
br label %83
67: ; preds = %33
%68 = call i32 (...) @pclmul()
%69 = load i32, i32* %9
%70 = add nsw i32 %69, %68
store i32 %70, i32* %9
br label %83
71: ; preds = %33
%72 = call i32 (...) @rdrand()
%73 = load i32, i32* %9
%74 = add nsw i32 %73, %72
store i32 %74, i32* %9
br label %83
75: ; preds = %33
%76 = call i32 (...) @fma4()
%77 = load i32, i32* %9
%78 = add nsw i32 %77, %76
store i32 %78, i32* %9
br label %83
79: ; preds = %33
%80 = call i32 (...) @xop()
%81 = load i32, i32* %9
%82 = add nsw i32 %81, %80
store i32 %82, i32* %9
br label %83
83: ; preds = %33, %79, %75, %71, %67, %63, %59, %55, %51, %47, %43, %39, %35
br label %89
84: ; preds = %31
%85 = call i32 (...) @print_help()
br label %89
86: ; preds = %31
%87 = load i32, i32* %6
%88 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.13, i64 0, i64 0), i32 %87)
br label %89
89: ; preds = %86, %84, %83
%90 = load i32, i32* %8
%91 = add nsw i32 %90, 1
store i32 %91, i32* %8
br label %12
92: ; preds = %30
%93 = load i32, i32* %9
%94 = icmp sgt i32 %93, 0
br i1 %94, label %95, label %99
95: ; preds = %92
%96 = load i32, i32* %9
%97 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.14, i64 0, i64 0), i32 %96)
%98 = call i32 @exit(i32 -1)
unreachable
99: ; preds = %92
%100 = 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 = bitcast i32* %3 to i8*
br label %5
5: ; preds = %57, %2
%6 = phi i32 [ 0, %2 ], [ %58, %57 ]
%7 = phi i32 [ 0, %2 ], [ %59, %57 ]
store i32 0, i32* %3
%8 = 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 %8, label %55 [
i32 -1, label %9
i32 0, label %13
i32 63, label %53
]
9: ; preds = %5
%10 = icmp eq i32 %7, 0
br i1 %10, label %11, label %60
11: ; preds = %9
%12 = call i32 (...) @print_help()
br label %60
13: ; preds = %5
%14 = load i32, i32* %3
switch i32 %14, label %57 [
i32 0, label %15
i32 1, label %19
i32 2, label %23
i32 3, label %26
i32 4, label %29
i32 5, label %32
i32 6, label %35
i32 7, label %38
i32 8, label %41
i32 9, label %44
i32 10, label %47
i32 11, label %50
]
15: ; preds = %13
%16 = load i32, i32* @optarg
%17 = call i32 @parse_Inst(i32 %16)
%18 = call i32 @stress(i32 %17)
br label %57
19: ; preds = %13
%20 = load i32, i32* @optarg
%21 = call i32 @atoi(i32 %20)
%22 = call i32 @stressmem(i32 %21)
br label %57
23: ; preds = %13
%24 = call i32 (...) @sse3()
%25 = add nsw i32 %24, %6
br label %57
26: ; preds = %13
%27 = call i32 (...) @ssse3()
%28 = add nsw i32 %27, %6
br label %57
29: ; preds = %13
%30 = call i32 (...) @sse4()
%31 = add nsw i32 %30, %6
br label %57
32: ; preds = %13
%33 = call i32 (...) @sse4a()
%34 = add nsw i32 %33, %6
br label %57
35: ; preds = %13
%36 = call i32 (...) @avx()
%37 = add nsw i32 %36, %6
br label %57
38: ; preds = %13
%39 = call i32 (...) @aes()
%40 = add nsw i32 %39, %6
br label %57
41: ; preds = %13
%42 = call i32 (...) @pclmul()
%43 = add nsw i32 %42, %6
br label %57
44: ; preds = %13
%45 = call i32 (...) @rdrand()
%46 = add nsw i32 %45, %6
br label %57
47: ; preds = %13
%48 = call i32 (...) @fma4()
%49 = add nsw i32 %48, %6
br label %57
50: ; preds = %13
%51 = call i32 (...) @xop()
%52 = add nsw i32 %51, %6
br label %57
53: ; preds = %5
%54 = call i32 (...) @print_help()
br label %57
55: ; preds = %5
%56 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.13, i64 0, i64 0), i32 %8)
br label %57
57: ; preds = %53, %55, %13, %50, %47, %44, %41, %38, %35, %32, %29, %26, %23, %19, %15
%58 = phi i32 [ %6, %55 ], [ %6, %53 ], [ %6, %13 ], [ %52, %50 ], [ %49, %47 ], [ %46, %44 ], [ %43, %41 ], [ %40, %38 ], [ %37, %35 ], [ %34, %32 ], [ %31, %29 ], [ %28, %26 ], [ %25, %23 ], [ %6, %19 ], [ %6, %15 ]
%59 = add nuw nsw i32 %7, 1
br label %5
60: ; preds = %11, %9
%61 = icmp sgt i32 %6, 0
br i1 %61, label %62, label %65
62: ; preds = %60
%63 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.14, i64 0, i64 0), i32 %6)
%64 = call i32 @exit(i32 -1)
unreachable
65: ; preds = %60
%66 = call i32 @exit(i32 0)
unreachable
}