#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 */
typedef int /*<<< orphan*/ regoff_t;
typedef int /*<<< orphan*/ regmatch_t;
typedef int /*<<< orphan*/ regex_t;

/* Variables and functions */
int REG_EXTENDED;
int REG_ICASE;
int REG_NEWLINE;
int REG_NOSUB;
int REG_NOTBOL;
int REG_NOTEOL;
int /*<<< orphan*/ printf(char *, ...);
main() {
  printf("! DO NOT EDIT THIS FILE. \n");
  printf("! It is created from f90_unix_regexp_const.c\n");
  printf("integer, parameter :: REG_EXTENDED = %d\n", REG_EXTENDED);
  printf("integer, parameter :: REG_ICASE = %d\n", REG_ICASE);
  printf("integer, parameter :: REG_NOSUB = %d\n", REG_NOSUB);
  printf("integer, parameter :: REG_NEWLINE = %d\n", REG_NEWLINE);
  printf("integer, parameter :: REG_NOTBOL = %d\n", REG_NOTBOL);
  printf("integer, parameter :: REG_NOTEOL = %d\n", REG_NOTEOL);
  printf("integer, parameter :: REGEX_KIND = %d\n", sizeof(regex_t *));
  printf("integer, parameter :: REGMATCH_KIND = %d\n", sizeof(regmatch_t *));
  printf("integer, parameter :: REGOFF_KIND = %d\n", sizeof(regoff_t));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeda(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e76(%rip),%rax
mov    (%rax),%esi
lea    0xefe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e8f(%rip),%rax
mov    (%rax),%esi
lea    0xf10(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e50(%rip),%rax
mov    (%rax),%esi
lea    0xf1f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e49(%rip),%rax
mov    (%rax),%esi
lea    0xf2e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e42(%rip),%rax
mov    (%rax),%esi
lea    0xf3f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e23(%rip),%rax
mov    (%rax),%esi
lea    0xf4f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf68(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf7c(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf93(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0x103c(%rip),%rdi
call   1030 <puts@plt>
lea    0x104a(%rip),%rdi
call   1030 <puts@plt>
mov    0x2e78(%rip),%rax
mov    (%rax),%esi
lea    0xeb7(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2e91(%rip),%rax
mov    (%rax),%esi
lea    0xec9(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2e52(%rip),%rax
mov    (%rax),%esi
lea    0xed8(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2e4b(%rip),%rax
mov    (%rax),%esi
lea    0xee7(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2e44(%rip),%rax
mov    (%rax),%esi
lea    0xef8(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2e25(%rip),%rax
mov    (%rax),%esi
lea    0xf08(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf21(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf35(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf4c(%rip),%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [27 x i8] c"! DO NOT EDIT THIS FILE. \0A\00"
@.str.1 = [46 x i8] c"! It is created from f90_unix_regexp_const.c\0A\00"
@.str.2 = [41 x i8] c"integer, parameter :: REG_EXTENDED = %d\0A\00"
@REG_EXTENDED = global i32 0
@.str.3 = [38 x i8] c"integer, parameter :: REG_ICASE = %d\0A\00"
@REG_ICASE = global i32 0
@.str.4 = [38 x i8] c"integer, parameter :: REG_NOSUB = %d\0A\00"
@REG_NOSUB = global i32 0
@.str.5 = [40 x i8] c"integer, parameter :: REG_NEWLINE = %d\0A\00"
@REG_NEWLINE = global i32 0
@.str.6 = [39 x i8] c"integer, parameter :: REG_NOTBOL = %d\0A\00"
@REG_NOTBOL = global i32 0
@.str.7 = [39 x i8] c"integer, parameter :: REG_NOTEOL = %d\0A\00"
@REG_NOTEOL = global i32 0
@.str.8 = [39 x i8] c"integer, parameter :: REGEX_KIND = %d\0A\00"
@.str.9 = [42 x i8] c"integer, parameter :: REGMATCH_KIND = %d\0A\00"
@.str.10 = [40 x i8] c"integer, parameter :: REGOFF_KIND = %d\0A\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.1, i64 0, i64 0))
%4 = load i32, i32* @REG_EXTENDED
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.2, i64 0, i64 0), i32 %4)
%6 = load i32, i32* @REG_ICASE
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.3, i64 0, i64 0), i32 %6)
%8 = load i32, i32* @REG_NOSUB
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.4, i64 0, i64 0), i32 %8)
%10 = load i32, i32* @REG_NEWLINE
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.5, i64 0, i64 0), i32 %10)
%12 = load i32, i32* @REG_NOTBOL
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0), i32 %12)
%14 = load i32, i32* @REG_NOTEOL
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0), i32 %14)
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.8, i64 0, i64 0), i64 8)
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.9, i64 0, i64 0), i64 8)
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.10, i64 0, i64 0), i64 4)
ret i32 0
}

LLVM IR (-O2):
@.str.2 = [41 x i8] c"integer, parameter :: REG_EXTENDED = %d\0A\00"
@REG_EXTENDED = global i32 0
@.str.3 = [38 x i8] c"integer, parameter :: REG_ICASE = %d\0A\00"
@REG_ICASE = global i32 0
@.str.4 = [38 x i8] c"integer, parameter :: REG_NOSUB = %d\0A\00"
@REG_NOSUB = global i32 0
@.str.5 = [40 x i8] c"integer, parameter :: REG_NEWLINE = %d\0A\00"
@REG_NEWLINE = global i32 0
@.str.6 = [39 x i8] c"integer, parameter :: REG_NOTBOL = %d\0A\00"
@REG_NOTBOL = global i32 0
@.str.7 = [39 x i8] c"integer, parameter :: REG_NOTEOL = %d\0A\00"
@REG_NOTEOL = global i32 0
@.str.8 = [39 x i8] c"integer, parameter :: REGEX_KIND = %d\0A\00"
@.str.9 = [42 x i8] c"integer, parameter :: REGMATCH_KIND = %d\0A\00"
@.str.10 = [40 x i8] c"integer, parameter :: REGOFF_KIND = %d\0A\00"
@str = [26 x i8] c"! DO NOT EDIT THIS FILE. \00"
@str.11 = [45 x i8] c"! It is created from f90_unix_regexp_const.c\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.11, i64 0, i64 0))
%3 = load i32, i32* @REG_EXTENDED
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.2, i64 0, i64 0), i32 %3)
%5 = load i32, i32* @REG_ICASE
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.3, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @REG_NOSUB
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.4, i64 0, i64 0), i32 %7)
%9 = load i32, i32* @REG_NEWLINE
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.5, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @REG_NOTBOL
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @REG_NOTEOL
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0), i32 %13)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.8, i64 0, i64 0), i64 8)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.9, i64 0, i64 0), i64 8)
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.10, i64 0, i64 0), i64 4)
ret i32 0
}