#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 *, int /*<<< orphan*/);
void makerules() {
  struct cmd *cp;
  struct name *np;
  struct depend *dp;
  setmacro("CC", "cc", 0);
  setmacro("CFLAGS", "-O", 0);
  cp = newcmd("$(CC) $(CFLAGS) -c $<", (struct cmd *)0);
  np = newname(".c.o");
  newline(np, (struct depend *)0, cp, 0);
  setmacro("AS", "as", 0);
  cp = newcmd("$(AS) -o $@ $<", (struct cmd *)0);
  np = newname(".s.o");
  newline(np, (struct depend *)0, cp, 0);
  setmacro("YACC", "yacc", 0);
  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("rm y.tab.c", cp);
  cp = newcmd("mv y.tab.o $@", cp);
  np = newname(".y.o");
  newline(np, (struct depend *)0, cp, 0);
  setmacro("LEX", "lex", 0);
  cp = newcmd("$(LEX) $(LFLAGS) $<", (struct cmd *)0);
  cp = newcmd("mv lex.yy.c $@", cp);
  np = newname(".l.c");
  newline(np, (struct depend *)0, cp, 0);
  cp = newcmd("$(LEX) $(LFLAGS) $<", (struct cmd *)0);
  cp = newcmd("$(CC) $(CFLAGS) -c lex.yy.c", cp);
  cp = newcmd("rm lex.yy.c", cp);
  cp = newcmd("mv lex.yy.o $@", cp);
  np = newname(".l.o");
  newline(np, (struct depend *)0, cp, 0);
  np = newname(".s");
  dp = newdep(np, (struct depend *)0);
  np = newname(".o");
  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    0xee2(%rip),%rdi
lea    0xee0(%rip),%rsi
xor    %edx,%edx
call   1050 <setmacro@plt>
lea    0xe8c(%rip),%rdi
lea    0xe8c(%rip),%rsi
xor    %edx,%edx
call   1050 <setmacro@plt>
lea    0xe81(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xe83(%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    0xe65(%rip),%rdi
lea    0xe61(%rip),%rsi
xor    %edx,%edx
call   1050 <setmacro@plt>
lea    0xe56(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xe51(%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    0xe33(%rip),%rdi
lea    0xe31(%rip),%rsi
xor    %edx,%edx
call   1050 <setmacro@plt>
lea    0xe28(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xe25(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xe23(%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    0xddd(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xded(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xdf4(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xdeb(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xde9(%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    0xdcb(%rip),%rdi
lea    0xdc8(%rip),%rsi
xor    %edx,%edx
call   1050 <setmacro@plt>
lea    0xdbe(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xdba(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xdb9(%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    0xd73(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xd83(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xd8b(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xd83(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xd82(%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    0xd64(%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    0xc4f(%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    0xc95(%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    0xd04(%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    0xce6(%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    0xcc8(%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    0xee6(%rip),%rdi
lea    0xee4(%rip),%rsi
xor    %edx,%edx
call   1050 <setmacro@plt>
lea    0xe90(%rip),%rdi
lea    0xe90(%rip),%rsi
xor    %edx,%edx
call   1050 <setmacro@plt>
lea    0xe85(%rip),%rdi
xor    %esi,%esi
call   1070 <newcmd@plt>
mov    %rax,%rbx
lea    0xe8a(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
xor    %esi,%esi
mov    %rbx,%rdx
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xe74(%rip),%rdi
lea    0xe70(%rip),%rsi
xor    %edx,%edx
call   1050 <setmacro@plt>
lea    0xe65(%rip),%rdi
xor    %esi,%esi
call   1070 <newcmd@plt>
mov    %rax,%rbx
lea    0xe63(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
xor    %esi,%esi
mov    %rbx,%rdx
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xe4d(%rip),%rdi
lea    0xe4b(%rip),%rsi
xor    %edx,%edx
call   1050 <setmacro@plt>
lea    0xe42(%rip),%r14
mov    %r14,%rdi
xor    %esi,%esi
call   1070 <newcmd@plt>
lea    0xe46(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
mov    %rax,%rbx
lea    0xe42(%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    0xe22(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
lea    0xe2e(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
lea    0xe2a(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
mov    %rax,%rbx
lea    0xe26(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
xor    %esi,%esi
mov    %rbx,%rdx
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xe10(%rip),%rdi
lea    0xe0d(%rip),%rsi
xor    %edx,%edx
call   1050 <setmacro@plt>
lea    0xe03(%rip),%r14
mov    %r14,%rdi
xor    %esi,%esi
call   1070 <newcmd@plt>
lea    0xe06(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
mov    %rax,%rbx
lea    0xe03(%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    0xde3(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
lea    0xdf0(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
lea    0xded(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
mov    %rax,%rbx
lea    0xdea(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
xor    %esi,%esi
mov    %rbx,%rdx
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xdd4(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
xor    %esi,%esi
call   1040 <newdep@plt>
mov    %rax,%rbx
lea    0xcc7(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1040 <newdep@plt>
mov    %rax,%rbx
lea    0xd14(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1040 <newdep@plt>
mov    %rax,%rbx
lea    0xd8a(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1040 <newdep@plt>
mov    %rax,%rbx
lea    0xd73(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1040 <newdep@plt>
mov    %rax,%rbx
lea    0xd5c(%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 = [3 x i8] c"-O\00"
@.str.4 = [22 x i8] c"$(CC) $(CFLAGS) -c $<\00"
@.str.5 = [5 x i8] c".c.o\00"
@.str.6 = [3 x i8] c"AS\00"
@.str.7 = [3 x i8] c"as\00"
@.str.8 = [15 x i8] c"$(AS) -o $@ $<\00"
@.str.9 = [5 x i8] c".s.o\00"
@.str.10 = [5 x i8] c"YACC\00"
@.str.11 = [5 x i8] c"yacc\00"
@.str.12 = [21 x i8] c"$(YACC) $(YFLAGS) $<\00"
@.str.13 = [14 x i8] c"mv y.tab.c $@\00"
@.str.14 = [5 x i8] c".y.c\00"
@.str.15 = [27 x i8] c"$(CC) $(CFLAGS) -c y.tab.c\00"
@.str.16 = [11 x i8] c"rm y.tab.c\00"
@.str.17 = [14 x i8] c"mv y.tab.o $@\00"
@.str.18 = [5 x i8] c".y.o\00"
@.str.19 = [4 x i8] c"LEX\00"
@.str.20 = [4 x i8] c"lex\00"
@.str.21 = [20 x i8] c"$(LEX) $(LFLAGS) $<\00"
@.str.22 = [15 x i8] c"mv lex.yy.c $@\00"
@.str.23 = [5 x i8] c".l.c\00"
@.str.24 = [28 x i8] c"$(CC) $(CFLAGS) -c lex.yy.c\00"
@.str.25 = [12 x i8] c"rm lex.yy.c\00"
@.str.26 = [15 x i8] c"mv lex.yy.o $@\00"
@.str.27 = [5 x i8] c".l.o\00"
@.str.28 = [3 x i8] c".s\00"
@.str.29 = [3 x i8] c".o\00"
@.str.30 = [3 x i8] c".c\00"
@.str.31 = [3 x i8] c".y\00"
@.str.32 = [3 x i8] c".l\00"
@.str.33 = [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), i32 0)
%5 = call i32 @setmacro(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 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 i32 @setmacro(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32 0)
%12 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), %struct.cmd* null)
store %struct.cmd* %12, %struct.cmd** %1
%13 = call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
store %struct.name* %13, %struct.name** %2
%14 = load %struct.name*, %struct.name** %2
%15 = load %struct.cmd*, %struct.cmd** %1
%16 = call i32 @newline(%struct.name* %14, %struct.depend* null, %struct.cmd* %15, i32 0)
%17 = call i32 @setmacro(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 0)
%18 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.12, i64 0, i64 0), %struct.cmd* null)
store %struct.cmd* %18, %struct.cmd** %1
%19 = load %struct.cmd*, %struct.cmd** %1
%20 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.13, i64 0, i64 0), %struct.cmd* %19)
store %struct.cmd* %20, %struct.cmd** %1
%21 = call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0))
store %struct.name* %21, %struct.name** %2
%22 = load %struct.name*, %struct.name** %2
%23 = load %struct.cmd*, %struct.cmd** %1
%24 = call i32 @newline(%struct.name* %22, %struct.depend* null, %struct.cmd* %23, i32 0)
%25 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.12, i64 0, i64 0), %struct.cmd* null)
store %struct.cmd* %25, %struct.cmd** %1
%26 = load %struct.cmd*, %struct.cmd** %1
%27 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.15, i64 0, i64 0), %struct.cmd* %26)
store %struct.cmd* %27, %struct.cmd** %1
%28 = load %struct.cmd*, %struct.cmd** %1
%29 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.16, i64 0, i64 0), %struct.cmd* %28)
store %struct.cmd* %29, %struct.cmd** %1
%30 = load %struct.cmd*, %struct.cmd** %1
%31 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.17, i64 0, i64 0), %struct.cmd* %30)
store %struct.cmd* %31, %struct.cmd** %1
%32 = call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
store %struct.name* %32, %struct.name** %2
%33 = load %struct.name*, %struct.name** %2
%34 = load %struct.cmd*, %struct.cmd** %1
%35 = call i32 @newline(%struct.name* %33, %struct.depend* null, %struct.cmd* %34, i32 0)
%36 = call i32 @setmacro(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0), i32 0)
%37 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.21, i64 0, i64 0), %struct.cmd* null)
store %struct.cmd* %37, %struct.cmd** %1
%38 = load %struct.cmd*, %struct.cmd** %1
%39 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.22, i64 0, i64 0), %struct.cmd* %38)
store %struct.cmd* %39, %struct.cmd** %1
%40 = call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0))
store %struct.name* %40, %struct.name** %2
%41 = load %struct.name*, %struct.name** %2
%42 = load %struct.cmd*, %struct.cmd** %1
%43 = call i32 @newline(%struct.name* %41, %struct.depend* null, %struct.cmd* %42, i32 0)
%44 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.21, i64 0, i64 0), %struct.cmd* null)
store %struct.cmd* %44, %struct.cmd** %1
%45 = load %struct.cmd*, %struct.cmd** %1
%46 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.24, i64 0, i64 0), %struct.cmd* %45)
store %struct.cmd* %46, %struct.cmd** %1
%47 = load %struct.cmd*, %struct.cmd** %1
%48 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.25, i64 0, i64 0), %struct.cmd* %47)
store %struct.cmd* %48, %struct.cmd** %1
%49 = load %struct.cmd*, %struct.cmd** %1
%50 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.26, i64 0, i64 0), %struct.cmd* %49)
store %struct.cmd* %50, %struct.cmd** %1
%51 = call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.27, i64 0, i64 0))
store %struct.name* %51, %struct.name** %2
%52 = load %struct.name*, %struct.name** %2
%53 = load %struct.cmd*, %struct.cmd** %1
%54 = call i32 @newline(%struct.name* %52, %struct.depend* null, %struct.cmd* %53, i32 0)
%55 = call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.28, i64 0, i64 0))
store %struct.name* %55, %struct.name** %2
%56 = load %struct.name*, %struct.name** %2
%57 = call %struct.depend* @newdep(%struct.name* %56, %struct.depend* null)
store %struct.depend* %57, %struct.depend** %3
%58 = call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.29, i64 0, i64 0))
store %struct.name* %58, %struct.name** %2
%59 = load %struct.name*, %struct.name** %2
%60 = load %struct.depend*, %struct.depend** %3
%61 = call %struct.depend* @newdep(%struct.name* %59, %struct.depend* %60)
store %struct.depend* %61, %struct.depend** %3
%62 = call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.30, 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.31, 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.32, 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 ([10 x i8], [10 x i8]* @.str.33, 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 i32 @newline(%struct.name* %75, %struct.depend* %76, %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 = [3 x i8] c"-O\00"
@.str.4 = [22 x i8] c"$(CC) $(CFLAGS) -c $<\00"
@.str.5 = [5 x i8] c".c.o\00"
@.str.6 = [3 x i8] c"AS\00"
@.str.7 = [3 x i8] c"as\00"
@.str.8 = [15 x i8] c"$(AS) -o $@ $<\00"
@.str.9 = [5 x i8] c".s.o\00"
@.str.10 = [5 x i8] c"YACC\00"
@.str.11 = [5 x i8] c"yacc\00"
@.str.12 = [21 x i8] c"$(YACC) $(YFLAGS) $<\00"
@.str.13 = [14 x i8] c"mv y.tab.c $@\00"
@.str.14 = [5 x i8] c".y.c\00"
@.str.15 = [27 x i8] c"$(CC) $(CFLAGS) -c y.tab.c\00"
@.str.16 = [11 x i8] c"rm y.tab.c\00"
@.str.17 = [14 x i8] c"mv y.tab.o $@\00"
@.str.18 = [5 x i8] c".y.o\00"
@.str.19 = [4 x i8] c"LEX\00"
@.str.20 = [4 x i8] c"lex\00"
@.str.21 = [20 x i8] c"$(LEX) $(LFLAGS) $<\00"
@.str.22 = [15 x i8] c"mv lex.yy.c $@\00"
@.str.23 = [5 x i8] c".l.c\00"
@.str.24 = [28 x i8] c"$(CC) $(CFLAGS) -c lex.yy.c\00"
@.str.25 = [12 x i8] c"rm lex.yy.c\00"
@.str.26 = [15 x i8] c"mv lex.yy.o $@\00"
@.str.27 = [5 x i8] c".l.o\00"
@.str.28 = [3 x i8] c".s\00"
@.str.29 = [3 x i8] c".o\00"
@.str.30 = [3 x i8] c".c\00"
@.str.31 = [3 x i8] c".y\00"
@.str.32 = [3 x i8] c".l\00"
@.str.33 = [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), i32 0)
%2 = tail call i32 @setmacro(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 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 i32 @setmacro(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32 0)
%7 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), %struct.cmd* null)
%8 = tail call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%9 = tail call i32 @newline(%struct.name* %8, %struct.depend* null, %struct.cmd* %7, i32 0)
%10 = tail call i32 @setmacro(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 0)
%11 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.12, i64 0, i64 0), %struct.cmd* null)
%12 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.13, i64 0, i64 0), %struct.cmd* %11)
%13 = tail call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0))
%14 = tail call i32 @newline(%struct.name* %13, %struct.depend* null, %struct.cmd* %12, i32 0)
%15 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.12, i64 0, i64 0), %struct.cmd* null)
%16 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.15, i64 0, i64 0), %struct.cmd* %15)
%17 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.16, i64 0, i64 0), %struct.cmd* %16)
%18 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.17, i64 0, i64 0), %struct.cmd* %17)
%19 = tail call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
%20 = tail call i32 @newline(%struct.name* %19, %struct.depend* null, %struct.cmd* %18, i32 0)
%21 = tail call i32 @setmacro(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0), i32 0)
%22 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.21, i64 0, i64 0), %struct.cmd* null)
%23 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.22, i64 0, i64 0), %struct.cmd* %22)
%24 = tail call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0))
%25 = tail call i32 @newline(%struct.name* %24, %struct.depend* null, %struct.cmd* %23, i32 0)
%26 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.21, i64 0, i64 0), %struct.cmd* null)
%27 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.24, i64 0, i64 0), %struct.cmd* %26)
%28 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.25, i64 0, i64 0), %struct.cmd* %27)
%29 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.26, i64 0, i64 0), %struct.cmd* %28)
%30 = tail call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.27, i64 0, i64 0))
%31 = tail call i32 @newline(%struct.name* %30, %struct.depend* null, %struct.cmd* %29, i32 0)
%32 = tail call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.28, i64 0, i64 0))
%33 = tail call %struct.depend* @newdep(%struct.name* %32, %struct.depend* null)
%34 = tail call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.29, i64 0, i64 0))
%35 = tail call %struct.depend* @newdep(%struct.name* %34, %struct.depend* %33)
%36 = tail call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.30, 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.31, 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.32, 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 ([10 x i8], [10 x i8]* @.str.33, i64 0, i64 0))
%43 = tail call i32 @newline(%struct.name* %42, %struct.depend* %41, %struct.cmd* null, i32 0)
ret void
}