#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 dict {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ set(struct dict *, char *, char *);
void populate_builtin_macros(struct dict *macros) {
  set(macros, "MAKE", "make");
  set(macros, "AR", "ar");
  set(macros, "ARFLAGS", "-rv");
  set(macros, "YACC", "yacc");
  set(macros, "YFLAGS", "");
  set(macros, "LEX", "lex");
  set(macros, "LFLAGS", "");
  set(macros, "LDFLAGS", "");
  set(macros, "CC", "cc");
  set(macros, "CFLAGS", "");
  set(macros, "FC", "fort77");
  set(macros, "FFLAGS", "-O 1");
  set(macros, "GET", "get");
  set(macros, "GFLAGS", "");
  set(macros, "SCCSFLAGS", "");
  set(macros, "SCCSGETFLAGS", "-s");
}


x86 assembly (clang, -O0):
<populate_builtin_macros>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xed9(%rip),%rsi
lea    0xed7(%rip),%rdx
call   1030 <set@plt>
mov    -0x8(%rbp),%rdi
lea    0xecc(%rip),%rsi
lea    0xec8(%rip),%rdx
call   1030 <set@plt>
mov    -0x8(%rbp),%rdi
lea    0xebb(%rip),%rsi
lea    0xebc(%rip),%rdx
call   1030 <set@plt>
mov    -0x8(%rbp),%rdi
lea    0xeb0(%rip),%rsi
lea    0xeae(%rip),%rdx
call   1030 <set@plt>
mov    -0x8(%rbp),%rdi
lea    0xea3(%rip),%rsi
lea    0xed6(%rip),%rdx
call   1030 <set@plt>
mov    -0x8(%rbp),%rdi
lea    0xe93(%rip),%rsi
lea    0xe90(%rip),%rdx
call   1030 <set@plt>
mov    -0x8(%rbp),%rdi
lea    0xe84(%rip),%rsi
lea    0xea8(%rip),%rdx
call   1030 <set@plt>
mov    -0x8(%rbp),%rdi
lea    0xe74(%rip),%rsi
lea    0xe91(%rip),%rdx
call   1030 <set@plt>
mov    -0x8(%rbp),%rdi
lea    0xe3f(%rip),%rsi
lea    0xe3d(%rip),%rdx
call   1030 <set@plt>
mov    -0x8(%rbp),%rdi
lea    0xe4e(%rip),%rsi
lea    0xe63(%rip),%rdx
call   1030 <set@plt>
mov    -0x8(%rbp),%rdi
lea    0xe3e(%rip),%rsi
lea    0xe3a(%rip),%rdx
call   1030 <set@plt>
mov    -0x8(%rbp),%rdi
lea    0xe31(%rip),%rsi
lea    0xe31(%rip),%rdx
call   1030 <set@plt>
mov    -0x8(%rbp),%rdi
lea    0xe26(%rip),%rsi
lea    0xe23(%rip),%rdx
call   1030 <set@plt>
mov    -0x8(%rbp),%rdi
lea    0xe17(%rip),%rsi
lea    0xe07(%rip),%rdx
call   1030 <set@plt>
mov    -0x8(%rbp),%rdi
lea    0xe07(%rip),%rsi
lea    0xdf0(%rip),%rdx
call   1030 <set@plt>
mov    -0x8(%rbp),%rdi
lea    0xdfa(%rip),%rsi
lea    0xe00(%rip),%rdx
call   1030 <set@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<populate_builtin_macros>:
push   %r14
push   %rbx
push   %rax
mov    %rdi,%rbx
lea    0xee2(%rip),%rsi
lea    0xee0(%rip),%rdx
call   1030 <set@plt>
lea    0xed9(%rip),%rsi
lea    0xed5(%rip),%rdx
mov    %rbx,%rdi
call   1030 <set@plt>
lea    0xec9(%rip),%rsi
lea    0xeca(%rip),%rdx
mov    %rbx,%rdi
call   1030 <set@plt>
lea    0xebf(%rip),%rsi
lea    0xebd(%rip),%rdx
mov    %rbx,%rdi
call   1030 <set@plt>
lea    0xeb3(%rip),%rsi
lea    0xee6(%rip),%r14
mov    %rbx,%rdi
mov    %r14,%rdx
call   1030 <set@plt>
lea    0xea1(%rip),%rsi
lea    0xe9e(%rip),%rdx
mov    %rbx,%rdi
call   1030 <set@plt>
lea    0xe93(%rip),%rsi
mov    %rbx,%rdi
mov    %r14,%rdx
call   1030 <set@plt>
lea    0xe88(%rip),%rsi
mov    %rbx,%rdi
mov    %r14,%rdx
call   1030 <set@plt>
lea    0xe58(%rip),%rsi
lea    0xe56(%rip),%rdx
mov    %rbx,%rdi
call   1030 <set@plt>
lea    0xe68(%rip),%rsi
mov    %rbx,%rdi
mov    %r14,%rdx
call   1030 <set@plt>
lea    0xe5d(%rip),%rsi
lea    0xe59(%rip),%rdx
mov    %rbx,%rdi
call   1030 <set@plt>
lea    0xe51(%rip),%rsi
lea    0xe51(%rip),%rdx
mov    %rbx,%rdi
call   1030 <set@plt>
lea    0xe47(%rip),%rsi
lea    0xe44(%rip),%rdx
mov    %rbx,%rdi
call   1030 <set@plt>
lea    0xe39(%rip),%rsi
mov    %rbx,%rdi
mov    %r14,%rdx
call   1030 <set@plt>
lea    0xe2e(%rip),%rsi
mov    %rbx,%rdi
mov    %r14,%rdx
call   1030 <set@plt>
lea    0xe26(%rip),%rsi
lea    0xe2c(%rip),%rdx
mov    %rbx,%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <set@plt>

LLVM IR (-O0):
%struct.dict = type { i32 }
@.str = [5 x i8] c"MAKE\00"
@.str.1 = [5 x i8] c"make\00"
@.str.2 = [3 x i8] c"AR\00"
@.str.3 = [3 x i8] c"ar\00"
@.str.4 = [8 x i8] c"ARFLAGS\00"
@.str.5 = [4 x i8] c"-rv\00"
@.str.6 = [5 x i8] c"YACC\00"
@.str.7 = [5 x i8] c"yacc\00"
@.str.8 = [7 x i8] c"YFLAGS\00"
@.str.9 = [1 x i8] zeroinitializer
@.str.10 = [4 x i8] c"LEX\00"
@.str.11 = [4 x i8] c"lex\00"
@.str.12 = [7 x i8] c"LFLAGS\00"
@.str.13 = [8 x i8] c"LDFLAGS\00"
@.str.14 = [3 x i8] c"CC\00"
@.str.15 = [3 x i8] c"cc\00"
@.str.16 = [7 x i8] c"CFLAGS\00"
@.str.17 = [3 x i8] c"FC\00"
@.str.18 = [7 x i8] c"fort77\00"
@.str.19 = [7 x i8] c"FFLAGS\00"
@.str.20 = [5 x i8] c"-O 1\00"
@.str.21 = [4 x i8] c"GET\00"
@.str.22 = [4 x i8] c"get\00"
@.str.23 = [7 x i8] c"GFLAGS\00"
@.str.24 = [10 x i8] c"SCCSFLAGS\00"
@.str.25 = [13 x i8] c"SCCSGETFLAGS\00"
@.str.26 = [3 x i8] c"-s\00"
define void @populate_builtin_macros(%struct.dict* %0) {
%2 = alloca %struct.dict*
store %struct.dict* %0, %struct.dict** %2
%3 = load %struct.dict*, %struct.dict** %2
%4 = call i32 @set(%struct.dict* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%5 = load %struct.dict*, %struct.dict** %2
%6 = call i32 @set(%struct.dict* %5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%7 = load %struct.dict*, %struct.dict** %2
%8 = call i32 @set(%struct.dict* %7, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%9 = load %struct.dict*, %struct.dict** %2
%10 = call i32 @set(%struct.dict* %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%11 = load %struct.dict*, %struct.dict** %2
%12 = call i32 @set(%struct.dict* %11, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.9, i64 0, i64 0))
%13 = load %struct.dict*, %struct.dict** %2
%14 = call i32 @set(%struct.dict* %13, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0))
%15 = load %struct.dict*, %struct.dict** %2
%16 = call i32 @set(%struct.dict* %15, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.9, i64 0, i64 0))
%17 = load %struct.dict*, %struct.dict** %2
%18 = call i32 @set(%struct.dict* %17, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.9, i64 0, i64 0))
%19 = load %struct.dict*, %struct.dict** %2
%20 = call i32 @set(%struct.dict* %19, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.15, i64 0, i64 0))
%21 = load %struct.dict*, %struct.dict** %2
%22 = call i32 @set(%struct.dict* %21, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.9, i64 0, i64 0))
%23 = load %struct.dict*, %struct.dict** %2
%24 = call i32 @set(%struct.dict* %23, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.18, i64 0, i64 0))
%25 = load %struct.dict*, %struct.dict** %2
%26 = call i32 @set(%struct.dict* %25, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%27 = load %struct.dict*, %struct.dict** %2
%28 = call i32 @set(%struct.dict* %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0))
%29 = load %struct.dict*, %struct.dict** %2
%30 = call i32 @set(%struct.dict* %29, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.9, i64 0, i64 0))
%31 = load %struct.dict*, %struct.dict** %2
%32 = call i32 @set(%struct.dict* %31, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.24, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.9, i64 0, i64 0))
%33 = load %struct.dict*, %struct.dict** %2
%34 = call i32 @set(%struct.dict* %33, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.26, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
%struct.dict = type { i32 }
@.str = [5 x i8] c"MAKE\00"
@.str.1 = [5 x i8] c"make\00"
@.str.2 = [3 x i8] c"AR\00"
@.str.3 = [3 x i8] c"ar\00"
@.str.4 = [8 x i8] c"ARFLAGS\00"
@.str.5 = [4 x i8] c"-rv\00"
@.str.6 = [5 x i8] c"YACC\00"
@.str.7 = [5 x i8] c"yacc\00"
@.str.8 = [7 x i8] c"YFLAGS\00"
@.str.9 = [1 x i8] zeroinitializer
@.str.10 = [4 x i8] c"LEX\00"
@.str.11 = [4 x i8] c"lex\00"
@.str.12 = [7 x i8] c"LFLAGS\00"
@.str.13 = [8 x i8] c"LDFLAGS\00"
@.str.14 = [3 x i8] c"CC\00"
@.str.15 = [3 x i8] c"cc\00"
@.str.16 = [7 x i8] c"CFLAGS\00"
@.str.17 = [3 x i8] c"FC\00"
@.str.18 = [7 x i8] c"fort77\00"
@.str.19 = [7 x i8] c"FFLAGS\00"
@.str.20 = [5 x i8] c"-O 1\00"
@.str.21 = [4 x i8] c"GET\00"
@.str.22 = [4 x i8] c"get\00"
@.str.23 = [7 x i8] c"GFLAGS\00"
@.str.24 = [10 x i8] c"SCCSFLAGS\00"
@.str.25 = [13 x i8] c"SCCSGETFLAGS\00"
@.str.26 = [3 x i8] c"-s\00"
define void @populate_builtin_macros(%struct.dict* %0) {
%2 = tail call i32 @set(%struct.dict* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @set(%struct.dict* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%4 = tail call i32 @set(%struct.dict* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%5 = tail call i32 @set(%struct.dict* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%6 = tail call i32 @set(%struct.dict* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.9, i64 0, i64 0))
%7 = tail call i32 @set(%struct.dict* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0))
%8 = tail call i32 @set(%struct.dict* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.9, i64 0, i64 0))
%9 = tail call i32 @set(%struct.dict* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.9, i64 0, i64 0))
%10 = tail call i32 @set(%struct.dict* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.15, i64 0, i64 0))
%11 = tail call i32 @set(%struct.dict* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.9, i64 0, i64 0))
%12 = tail call i32 @set(%struct.dict* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.18, i64 0, i64 0))
%13 = tail call i32 @set(%struct.dict* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%14 = tail call i32 @set(%struct.dict* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0))
%15 = tail call i32 @set(%struct.dict* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.9, i64 0, i64 0))
%16 = tail call i32 @set(%struct.dict* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.24, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.9, i64 0, i64 0))
%17 = tail call i32 @set(%struct.dict* %0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.26, i64 0, i64 0))
ret void
}