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

/* Variables and functions */
struct option *get_optlist() {
  static struct option opt[] = {{"pid", 1, NULL, 'P'},
                                {"help", 0, NULL, 'h'},
                                {"version", 0, NULL, 'v'},
                                {"export", 1, NULL, 'e'},
                                {"execute", 1, NULL, 'E'},
                                {"group", 1, NULL, 'g'},
                                {"rdonly", 0, NULL, 'r'},
                                {"low-priority", 0, NULL, 'L'},
                                {0, 0, 0, 0}};
  return (opt);
}


x86 assembly (clang, -O0):
<get_optlist>:
push   %rbp
mov    %rsp,%rbp
lea    0x2f25(%rip),%rax
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_optlist>:
lea    0x2f29(%rip),%rax
ret

LLVM IR (-O0):
%struct.option = type { i8*, i32, i8, i32* }
@get_optlist.opt = internal global [9 x %struct.option] [%struct.option { i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), i32 1, i8 0, i32* inttoptr (i64 80 to i32*) }, %struct.option { i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i32 0, i32 0), i32 0, i8 0, i32* inttoptr (i64 104 to i32*) }, %struct.option { i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i32 0, i32 0), i32 0, i8 0, i32* inttoptr (i64 118 to i32*) }, %struct.option { i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i32 0, i32 0), i32 1, i8 0, i32* inttoptr (i64 101 to i32*) }, %struct.option { i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i32 0, i32 0), i32 1, i8 0, i32* inttoptr (i64 69 to i32*) }, %struct.option { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i32 0, i32 0), i32 1, i8 0, i32* inttoptr (i64 103 to i32*) }, %struct.option { i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i32 0, i32 0), i32 0, i8 0, i32* inttoptr (i64 114 to i32*) }, %struct.option { i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i32 0, i32 0), i32 0, i8 0, i32* inttoptr (i64 76 to i32*) }, %struct.option zeroinitializer]
@.str = [4 x i8] c"pid\00"
@.str.1 = [5 x i8] c"help\00"
@.str.2 = [8 x i8] c"version\00"
@.str.3 = [7 x i8] c"export\00"
@.str.4 = [8 x i8] c"execute\00"
@.str.5 = [6 x i8] c"group\00"
@.str.6 = [7 x i8] c"rdonly\00"
@.str.7 = [13 x i8] c"low-priority\00"
define %struct.option* @get_optlist() {
ret %struct.option* getelementptr inbounds ([9 x %struct.option], [9 x %struct.option]* @get_optlist.opt, i64 0, i64 0)
}

LLVM IR (-O2):
%struct.option = type { i8*, i32, i8, i32* }
@get_optlist.opt = internal global [9 x %struct.option] [%struct.option { i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), i32 1, i8 0, i32* inttoptr (i64 80 to i32*) }, %struct.option { i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i32 0, i32 0), i32 0, i8 0, i32* inttoptr (i64 104 to i32*) }, %struct.option { i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i32 0, i32 0), i32 0, i8 0, i32* inttoptr (i64 118 to i32*) }, %struct.option { i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i32 0, i32 0), i32 1, i8 0, i32* inttoptr (i64 101 to i32*) }, %struct.option { i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i32 0, i32 0), i32 1, i8 0, i32* inttoptr (i64 69 to i32*) }, %struct.option { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i32 0, i32 0), i32 1, i8 0, i32* inttoptr (i64 103 to i32*) }, %struct.option { i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i32 0, i32 0), i32 0, i8 0, i32* inttoptr (i64 114 to i32*) }, %struct.option { i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i32 0, i32 0), i32 0, i8 0, i32* inttoptr (i64 76 to i32*) }, %struct.option zeroinitializer]
@.str = [4 x i8] c"pid\00"
@.str.1 = [5 x i8] c"help\00"
@.str.2 = [8 x i8] c"version\00"
@.str.3 = [7 x i8] c"export\00"
@.str.4 = [8 x i8] c"execute\00"
@.str.5 = [6 x i8] c"group\00"
@.str.6 = [7 x i8] c"rdonly\00"
@.str.7 = [13 x i8] c"low-priority\00"
define %struct.option* @get_optlist() {
ret %struct.option* getelementptr inbounds ([9 x %struct.option], [9 x %struct.option]* @get_optlist.opt, i64 0, i64 0)
}