#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 name {
  int dummy;
};
struct depend {
  int dummy;
};
struct cmd {
  int dummy;
};

/* Variables and functions */
struct cmd *newcmd(char *, struct cmd *);
struct depend *newdep(struct name *, struct depend *);
int /*<<< orphan*/ newline(struct name *, struct depend *, struct cmd *,
                           int /*<<< orphan*/);
struct name *newname(char *);
int /*<<< orphan*/ setmacro(char *, char *);
void makerules() {
  struct cmd *cp;
  struct name *np;
  struct depend *dp;
  setmacro("CC", "cc");
  setmacro("CFLAGS", "");
  cp = newcmd("$(CC) -S $(CFLAGS) $<", (struct cmd *)0);
  np = newname(".c.s");
  newline(np, (struct depend *)0, cp, 0);
  cp = newcmd("$(CC) -c $(CFLAGS) $<", (struct cmd *)0);
  np = newname(".c.o");
  newline(np, (struct depend *)0, cp, 0);
  cp = newcmd("$(CC) -c $(CFLAGS) $<", (struct cmd *)0);
  np = newname(".s.o");
  newline(np, (struct depend *)0, cp, 0);
  setmacro("YACC", "yacc");
  cp = newcmd("$(YACC) $(YFLAGS) $<", (struct cmd *)0);
  cp = newcmd("mv y.tab.c $@", cp);
  np = newname(".y.c");
  newline(np, (struct depend *)0, cp, 0);
  cp = newcmd("$(YACC) $(YFLAGS) $<", (struct cmd *)0);
  cp = newcmd("$(CC) $(CFLAGS) -c y.tab.c", cp);
  cp = newcmd("mv y.tab.o $@", cp);
  np = newname(".y.o");
  cp = newcmd("rm y.tab.c", cp);
  newline(np, (struct depend *)0, cp, 0);
  setmacro("FLEX", "flex");
  cp = newcmd("$(FLEX) $(FLEX_FLAGS) $<", (struct cmd *)0);
  cp = newcmd("mv lex.yy.c $@", cp);
  np = newname(".l.c");
  newline(np, (struct depend *)0, cp, 0);
  cp = newcmd("$(FLEX) $(FLEX_FLAGS) $<", (struct cmd *)0);
  cp = newcmd("$(CC) $(CFLAGS) -c lex.yy.c", cp);
  cp = newcmd("mv lex.yy.o $@", cp);
  np = newname(".l.o");
  cp = newcmd("rm lex.yy.c", cp);
  newline(np, (struct depend *)0, cp, 0);
  np = newname(".o");
  dp = newdep(np, (struct depend *)0);
  np = newname(".s");
  dp = newdep(np, dp);
  np = newname(".c");
  dp = newdep(np, dp);
  np = newname(".y");
  dp = newdep(np, dp);
  np = newname(".l");
  dp = newdep(np, dp);
  np = newname(".SUFFIXES");
  newline(np, dp, (struct cmd *)0, 0);
}


x86 assembly (clang, -O0):
<makerules>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
lea    0xee5(%rip),%rdi
lea    0xee3(%rip),%rsi
call   1050 <setmacro@plt>
lea    0xe8e(%rip),%rdi
lea    0xea3(%rip),%rsi
call   1050 <setmacro@plt>
lea    0xe82(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xe84(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x8(%rbp),%rdx
xor    %eax,%eax
mov    %eax,%esi
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xe66(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xe68(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x8(%rbp),%rdx
xor    %eax,%eax
mov    %eax,%esi
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xe2f(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xe36(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x8(%rbp),%rdx
xor    %eax,%eax
mov    %eax,%esi
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xe18(%rip),%rdi
lea    0xe16(%rip),%rsi
call   1050 <setmacro@plt>
lea    0xe0f(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xe0c(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xe0a(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x8(%rbp),%rdx
xor    %eax,%eax
mov    %eax,%esi
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xdc4(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xdd4(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xddb(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xdd9(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xdca(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x8(%rbp),%rdx
xor    %eax,%eax
mov    %eax,%esi
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xdb2(%rip),%rdi
lea    0xdb0(%rip),%rsi
call   1050 <setmacro@plt>
lea    0xda9(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xdaa(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xda9(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x8(%rbp),%rdx
xor    %eax,%eax
mov    %eax,%esi
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xd5e(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xd73(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xd7b(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xd7a(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xd6b(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x8(%rbp),%rdx
xor    %eax,%eax
mov    %eax,%esi
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xc6e(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1040 <newdep@plt>
mov    %rax,-0x18(%rbp)
lea    0xc32(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1040 <newdep@plt>
mov    %rax,-0x18(%rbp)
lea    0xc7e(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1040 <newdep@plt>
mov    %rax,-0x18(%rbp)
lea    0xcf1(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1040 <newdep@plt>
mov    %rax,-0x18(%rbp)
lea    0xcd3(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1040 <newdep@plt>
mov    %rax,-0x18(%rbp)
lea    0xcb5(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
xor    %eax,%eax
mov    %eax,%edx
xor    %ecx,%ecx
call   1030 <newline@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<makerules>:
push   %r14
push   %rbx
push   %rax
lea    0xee9(%rip),%rdi
lea    0xee7(%rip),%rsi
call   1050 <setmacro@plt>
lea    0xe92(%rip),%rdi
lea    0xea7(%rip),%rsi
call   1050 <setmacro@plt>
lea    0xe86(%rip),%rdi
xor    %esi,%esi
call   1070 <newcmd@plt>
mov    %rax,%rbx
lea    0xe8b(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
xor    %esi,%esi
mov    %rbx,%rdx
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xe75(%rip),%r14
mov    %r14,%rdi
xor    %esi,%esi
call   1070 <newcmd@plt>
mov    %rax,%rbx
lea    0xe77(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
xor    %esi,%esi
mov    %rbx,%rdx
xor    %ecx,%ecx
call   1030 <newline@plt>
mov    %r14,%rdi
xor    %esi,%esi
call   1070 <newcmd@plt>
mov    %rax,%rbx
lea    0xe54(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
xor    %esi,%esi
mov    %rbx,%rdx
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xe3e(%rip),%rdi
lea    0xe3c(%rip),%rsi
call   1050 <setmacro@plt>
lea    0xe35(%rip),%r14
mov    %r14,%rdi
xor    %esi,%esi
call   1070 <newcmd@plt>
lea    0xe39(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
mov    %rax,%rbx
lea    0xe35(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
xor    %esi,%esi
mov    %rbx,%rdx
xor    %ecx,%ecx
call   1030 <newline@plt>
mov    %r14,%rdi
xor    %esi,%esi
call   1070 <newcmd@plt>
lea    0xe15(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
lea    0xe21(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
mov    %rax,%r14
lea    0xe1d(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rbx
lea    0xe13(%rip),%rdi
mov    %r14,%rsi
call   1070 <newcmd@plt>
mov    %rbx,%rdi
xor    %esi,%esi
mov    %rax,%rdx
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xe00(%rip),%rdi
lea    0xdfe(%rip),%rsi
call   1050 <setmacro@plt>
lea    0xdf7(%rip),%r14
mov    %r14,%rdi
xor    %esi,%esi
call   1070 <newcmd@plt>
lea    0xdff(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
mov    %rax,%rbx
lea    0xdfc(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
xor    %esi,%esi
mov    %rbx,%rdx
xor    %ecx,%ecx
call   1030 <newline@plt>
mov    %r14,%rdi
xor    %esi,%esi
call   1070 <newcmd@plt>
lea    0xddc(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
lea    0xde9(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
mov    %rax,%r14
lea    0xde6(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rbx
lea    0xddc(%rip),%rdi
mov    %r14,%rsi
call   1070 <newcmd@plt>
mov    %rbx,%rdi
xor    %esi,%esi
mov    %rax,%rdx
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xce4(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
xor    %esi,%esi
call   1040 <newdep@plt>
mov    %rax,%rbx
lea    0xcb0(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1040 <newdep@plt>
mov    %rax,%rbx
lea    0xd03(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1040 <newdep@plt>
mov    %rax,%rbx
lea    0xd7d(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1040 <newdep@plt>
mov    %rax,%rbx
lea    0xd66(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1040 <newdep@plt>
mov    %rax,%rbx
lea    0xd4f(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
xor    %edx,%edx
xor    %ecx,%ecx
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <newline@plt>

LLVM IR (-O0):
%struct.cmd = type { i32 }
%struct.name = type { i32 }
%struct.depend = type { i32 }
@.str = [3 x i8] c"CC\00"
@.str.1 = [3 x i8] c"cc\00"
@.str.2 = [7 x i8] c"CFLAGS\00"
@.str.3 = [1 x i8] zeroinitializer
@.str.4 = [22 x i8] c"$(CC) -S $(CFLAGS) $<\00"
@.str.5 = [5 x i8] c".c.s\00"
@.str.6 = [22 x i8] c"$(CC) -c $(CFLAGS) $<\00"
@.str.7 = [5 x i8] c".c.o\00"
@.str.8 = [5 x i8] c".s.o\00"
@.str.9 = [5 x i8] c"YACC\00"
@.str.10 = [5 x i8] c"yacc\00"
@.str.11 = [21 x i8] c"$(YACC) $(YFLAGS) $<\00"
@.str.12 = [14 x i8] c"mv y.tab.c $@\00"
@.str.13 = [5 x i8] c".y.c\00"
@.str.14 = [27 x i8] c"$(CC) $(CFLAGS) -c y.tab.c\00"
@.str.15 = [14 x i8] c"mv y.tab.o $@\00"
@.str.16 = [5 x i8] c".y.o\00"
@.str.17 = [11 x i8] c"rm y.tab.c\00"
@.str.18 = [5 x i8] c"FLEX\00"
@.str.19 = [5 x i8] c"flex\00"
@.str.20 = [25 x i8] c"$(FLEX) $(FLEX_FLAGS) $<\00"
@.str.21 = [15 x i8] c"mv lex.yy.c $@\00"
@.str.22 = [5 x i8] c".l.c\00"
@.str.23 = [28 x i8] c"$(CC) $(CFLAGS) -c lex.yy.c\00"
@.str.24 = [15 x i8] c"mv lex.yy.o $@\00"
@.str.25 = [5 x i8] c".l.o\00"
@.str.26 = [12 x i8] c"rm lex.yy.c\00"
@.str.27 = [3 x i8] c".o\00"
@.str.28 = [3 x i8] c".s\00"
@.str.29 = [3 x i8] c".c\00"
@.str.30 = [3 x i8] c".y\00"
@.str.31 = [3 x i8] c".l\00"
@.str.32 = [10 x i8] c".SUFFIXES\00"
define void @makerules() {
%1 = alloca %struct.cmd*
%2 = alloca %struct.name*
%3 = alloca %struct.depend*
%4 = call i32 @setmacro(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%5 = call i32 @setmacro(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%6 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), %struct.cmd* null)
store %struct.cmd* %6, %struct.cmd** %1
%7 = call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
store %struct.name* %7, %struct.name** %2
%8 = load %struct.name*, %struct.name** %2
%9 = load %struct.cmd*, %struct.cmd** %1
%10 = call i32 @newline(%struct.name* %8, %struct.depend* null, %struct.cmd* %9, i32 0)
%11 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0), %struct.cmd* null)
store %struct.cmd* %11, %struct.cmd** %1
%12 = call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
store %struct.name* %12, %struct.name** %2
%13 = load %struct.name*, %struct.name** %2
%14 = load %struct.cmd*, %struct.cmd** %1
%15 = call i32 @newline(%struct.name* %13, %struct.depend* null, %struct.cmd* %14, i32 0)
%16 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0), %struct.cmd* null)
store %struct.cmd* %16, %struct.cmd** %1
%17 = call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
store %struct.name* %17, %struct.name** %2
%18 = load %struct.name*, %struct.name** %2
%19 = load %struct.cmd*, %struct.cmd** %1
%20 = call i32 @newline(%struct.name* %18, %struct.depend* null, %struct.cmd* %19, i32 0)
%21 = call i32 @setmacro(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%22 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.11, i64 0, i64 0), %struct.cmd* null)
store %struct.cmd* %22, %struct.cmd** %1
%23 = load %struct.cmd*, %struct.cmd** %1
%24 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.12, i64 0, i64 0), %struct.cmd* %23)
store %struct.cmd* %24, %struct.cmd** %1
%25 = call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
store %struct.name* %25, %struct.name** %2
%26 = load %struct.name*, %struct.name** %2
%27 = load %struct.cmd*, %struct.cmd** %1
%28 = call i32 @newline(%struct.name* %26, %struct.depend* null, %struct.cmd* %27, i32 0)
%29 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.11, i64 0, i64 0), %struct.cmd* null)
store %struct.cmd* %29, %struct.cmd** %1
%30 = load %struct.cmd*, %struct.cmd** %1
%31 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.14, i64 0, i64 0), %struct.cmd* %30)
store %struct.cmd* %31, %struct.cmd** %1
%32 = load %struct.cmd*, %struct.cmd** %1
%33 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.15, i64 0, i64 0), %struct.cmd* %32)
store %struct.cmd* %33, %struct.cmd** %1
%34 = call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
store %struct.name* %34, %struct.name** %2
%35 = load %struct.cmd*, %struct.cmd** %1
%36 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.17, i64 0, i64 0), %struct.cmd* %35)
store %struct.cmd* %36, %struct.cmd** %1
%37 = load %struct.name*, %struct.name** %2
%38 = load %struct.cmd*, %struct.cmd** %1
%39 = call i32 @newline(%struct.name* %37, %struct.depend* null, %struct.cmd* %38, i32 0)
%40 = call i32 @setmacro(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0))
%41 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.20, i64 0, i64 0), %struct.cmd* null)
store %struct.cmd* %41, %struct.cmd** %1
%42 = load %struct.cmd*, %struct.cmd** %1
%43 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.21, i64 0, i64 0), %struct.cmd* %42)
store %struct.cmd* %43, %struct.cmd** %1
%44 = call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.22, i64 0, i64 0))
store %struct.name* %44, %struct.name** %2
%45 = load %struct.name*, %struct.name** %2
%46 = load %struct.cmd*, %struct.cmd** %1
%47 = call i32 @newline(%struct.name* %45, %struct.depend* null, %struct.cmd* %46, i32 0)
%48 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.20, i64 0, i64 0), %struct.cmd* null)
store %struct.cmd* %48, %struct.cmd** %1
%49 = load %struct.cmd*, %struct.cmd** %1
%50 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.23, i64 0, i64 0), %struct.cmd* %49)
store %struct.cmd* %50, %struct.cmd** %1
%51 = load %struct.cmd*, %struct.cmd** %1
%52 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.24, i64 0, i64 0), %struct.cmd* %51)
store %struct.cmd* %52, %struct.cmd** %1
%53 = call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.25, i64 0, i64 0))
store %struct.name* %53, %struct.name** %2
%54 = load %struct.cmd*, %struct.cmd** %1
%55 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.26, i64 0, i64 0), %struct.cmd* %54)
store %struct.cmd* %55, %struct.cmd** %1
%56 = load %struct.name*, %struct.name** %2
%57 = load %struct.cmd*, %struct.cmd** %1
%58 = call i32 @newline(%struct.name* %56, %struct.depend* null, %struct.cmd* %57, i32 0)
%59 = call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.27, i64 0, i64 0))
store %struct.name* %59, %struct.name** %2
%60 = load %struct.name*, %struct.name** %2
%61 = call %struct.depend* @newdep(%struct.name* %60, %struct.depend* null)
store %struct.depend* %61, %struct.depend** %3
%62 = call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.28, i64 0, i64 0))
store %struct.name* %62, %struct.name** %2
%63 = load %struct.name*, %struct.name** %2
%64 = load %struct.depend*, %struct.depend** %3
%65 = call %struct.depend* @newdep(%struct.name* %63, %struct.depend* %64)
store %struct.depend* %65, %struct.depend** %3
%66 = call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.29, i64 0, i64 0))
store %struct.name* %66, %struct.name** %2
%67 = load %struct.name*, %struct.name** %2
%68 = load %struct.depend*, %struct.depend** %3
%69 = call %struct.depend* @newdep(%struct.name* %67, %struct.depend* %68)
store %struct.depend* %69, %struct.depend** %3
%70 = call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.30, i64 0, i64 0))
store %struct.name* %70, %struct.name** %2
%71 = load %struct.name*, %struct.name** %2
%72 = load %struct.depend*, %struct.depend** %3
%73 = call %struct.depend* @newdep(%struct.name* %71, %struct.depend* %72)
store %struct.depend* %73, %struct.depend** %3
%74 = call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.31, i64 0, i64 0))
store %struct.name* %74, %struct.name** %2
%75 = load %struct.name*, %struct.name** %2
%76 = load %struct.depend*, %struct.depend** %3
%77 = call %struct.depend* @newdep(%struct.name* %75, %struct.depend* %76)
store %struct.depend* %77, %struct.depend** %3
%78 = call %struct.name* @newname(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.32, i64 0, i64 0))
store %struct.name* %78, %struct.name** %2
%79 = load %struct.name*, %struct.name** %2
%80 = load %struct.depend*, %struct.depend** %3
%81 = call i32 @newline(%struct.name* %79, %struct.depend* %80, %struct.cmd* null, i32 0)
ret void
}

LLVM IR (-O2):
%struct.cmd = type { i32 }
%struct.name = type { i32 }
%struct.depend = type { i32 }
@.str = [3 x i8] c"CC\00"
@.str.1 = [3 x i8] c"cc\00"
@.str.2 = [7 x i8] c"CFLAGS\00"
@.str.3 = [1 x i8] zeroinitializer
@.str.4 = [22 x i8] c"$(CC) -S $(CFLAGS) $<\00"
@.str.5 = [5 x i8] c".c.s\00"
@.str.6 = [22 x i8] c"$(CC) -c $(CFLAGS) $<\00"
@.str.7 = [5 x i8] c".c.o\00"
@.str.8 = [5 x i8] c".s.o\00"
@.str.9 = [5 x i8] c"YACC\00"
@.str.10 = [5 x i8] c"yacc\00"
@.str.11 = [21 x i8] c"$(YACC) $(YFLAGS) $<\00"
@.str.12 = [14 x i8] c"mv y.tab.c $@\00"
@.str.13 = [5 x i8] c".y.c\00"
@.str.14 = [27 x i8] c"$(CC) $(CFLAGS) -c y.tab.c\00"
@.str.15 = [14 x i8] c"mv y.tab.o $@\00"
@.str.16 = [5 x i8] c".y.o\00"
@.str.17 = [11 x i8] c"rm y.tab.c\00"
@.str.18 = [5 x i8] c"FLEX\00"
@.str.19 = [5 x i8] c"flex\00"
@.str.20 = [25 x i8] c"$(FLEX) $(FLEX_FLAGS) $<\00"
@.str.21 = [15 x i8] c"mv lex.yy.c $@\00"
@.str.22 = [5 x i8] c".l.c\00"
@.str.23 = [28 x i8] c"$(CC) $(CFLAGS) -c lex.yy.c\00"
@.str.24 = [15 x i8] c"mv lex.yy.o $@\00"
@.str.25 = [5 x i8] c".l.o\00"
@.str.26 = [12 x i8] c"rm lex.yy.c\00"
@.str.27 = [3 x i8] c".o\00"
@.str.28 = [3 x i8] c".s\00"
@.str.29 = [3 x i8] c".c\00"
@.str.30 = [3 x i8] c".y\00"
@.str.31 = [3 x i8] c".l\00"
@.str.32 = [10 x i8] c".SUFFIXES\00"
define void @makerules() {
%1 = tail call i32 @setmacro(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @setmacro(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%3 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), %struct.cmd* null)
%4 = tail call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%5 = tail call i32 @newline(%struct.name* %4, %struct.depend* null, %struct.cmd* %3, i32 0)
%6 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0), %struct.cmd* null)
%7 = tail call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%8 = tail call i32 @newline(%struct.name* %7, %struct.depend* null, %struct.cmd* %6, i32 0)
%9 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0), %struct.cmd* null)
%10 = tail call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%11 = tail call i32 @newline(%struct.name* %10, %struct.depend* null, %struct.cmd* %9, i32 0)
%12 = tail call i32 @setmacro(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%13 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.11, i64 0, i64 0), %struct.cmd* null)
%14 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.12, i64 0, i64 0), %struct.cmd* %13)
%15 = tail call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%16 = tail call i32 @newline(%struct.name* %15, %struct.depend* null, %struct.cmd* %14, i32 0)
%17 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.11, i64 0, i64 0), %struct.cmd* null)
%18 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.14, i64 0, i64 0), %struct.cmd* %17)
%19 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.15, i64 0, i64 0), %struct.cmd* %18)
%20 = tail call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
%21 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.17, i64 0, i64 0), %struct.cmd* %19)
%22 = tail call i32 @newline(%struct.name* %20, %struct.depend* null, %struct.cmd* %21, i32 0)
%23 = tail call i32 @setmacro(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0))
%24 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.20, i64 0, i64 0), %struct.cmd* null)
%25 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.21, i64 0, i64 0), %struct.cmd* %24)
%26 = tail call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.22, i64 0, i64 0))
%27 = tail call i32 @newline(%struct.name* %26, %struct.depend* null, %struct.cmd* %25, i32 0)
%28 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.20, i64 0, i64 0), %struct.cmd* null)
%29 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.23, i64 0, i64 0), %struct.cmd* %28)
%30 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.24, i64 0, i64 0), %struct.cmd* %29)
%31 = tail call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.25, i64 0, i64 0))
%32 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.26, i64 0, i64 0), %struct.cmd* %30)
%33 = tail call i32 @newline(%struct.name* %31, %struct.depend* null, %struct.cmd* %32, i32 0)
%34 = tail call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.27, i64 0, i64 0))
%35 = tail call %struct.depend* @newdep(%struct.name* %34, %struct.depend* null)
%36 = tail call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.28, i64 0, i64 0))
%37 = tail call %struct.depend* @newdep(%struct.name* %36, %struct.depend* %35)
%38 = tail call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.29, i64 0, i64 0))
%39 = tail call %struct.depend* @newdep(%struct.name* %38, %struct.depend* %37)
%40 = tail call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.30, i64 0, i64 0))
%41 = tail call %struct.depend* @newdep(%struct.name* %40, %struct.depend* %39)
%42 = tail call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.31, i64 0, i64 0))
%43 = tail call %struct.depend* @newdep(%struct.name* %42, %struct.depend* %41)
%44 = tail call %struct.name* @newname(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.32, i64 0, i64 0))
%45 = tail call i32 @newline(%struct.name* %44, %struct.depend* %43, %struct.cmd* null, i32 0)
ret void
}