#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", "-O");
  cp = newcmd("$(CC) -c $(CFLAGS) $<", (struct cmd *)0);
  np = newname(".c.o");
  newline(np, (struct depend *)0, cp, 0);
  cp = newcmd("$(CC) $(CFLAGS) -o $@ $<", (struct cmd *)0);
  np = newname(".c");
  newline(np, (struct depend *)0, cp, 0);
  setmacro("AS", "as");
  cp = newcmd("$(AS) -o $@ $<", (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    0xefb(%rip),%rdi
lea    0xef9(%rip),%rsi
call   1050 <setmacro@plt>
lea    0xe8e(%rip),%rdi
lea    0xe8e(%rip),%rsi
call   1050 <setmacro@plt>
lea    0xe85(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xe87(%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    0xe69(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xed2(%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    0xe4b(%rip),%rdi
lea    0xe47(%rip),%rsi
call   1050 <setmacro@plt>
lea    0xe3e(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xe39(%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    0xe1b(%rip),%rdi
lea    0xe19(%rip),%rsi
call   1050 <setmacro@plt>
lea    0xe12(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xe0f(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xe0d(%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    0xdc7(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xdd7(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xdde(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xddc(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xdcd(%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    0xdb5(%rip),%rdi
lea    0xdb3(%rip),%rsi
call   1050 <setmacro@plt>
lea    0xdac(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xdad(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xdac(%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    0xd61(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xd76(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xd7e(%rip),%rdi
call   1070 <newcmd@plt>
mov    %rax,-0x8(%rbp)
lea    0xd7d(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xd6e(%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    0xc43(%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    0xd36(%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    0xc81(%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    0xcf7(%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    0xcd9(%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    0xcbb(%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   %r15
push   %r14
push   %rbx
lea    0xefe(%rip),%rdi
lea    0xefc(%rip),%rsi
call   1050 <setmacro@plt>
lea    0xe91(%rip),%rdi
lea    0xe91(%rip),%rsi
call   1050 <setmacro@plt>
lea    0xe88(%rip),%rdi
xor    %esi,%esi
call   1070 <newcmd@plt>
mov    %rax,%rbx
lea    0xe8d(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
xor    %esi,%esi
mov    %rbx,%rdx
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xe77(%rip),%rdi
xor    %esi,%esi
call   1070 <newcmd@plt>
mov    %rax,%rbx
lea    0xee3(%rip),%r14
mov    %r14,%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
xor    %esi,%esi
mov    %rbx,%rdx
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xe61(%rip),%rdi
lea    0xe5d(%rip),%rsi
call   1050 <setmacro@plt>
lea    0xe54(%rip),%rdi
xor    %esi,%esi
call   1070 <newcmd@plt>
mov    %rax,%rbx
lea    0xe52(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
xor    %esi,%esi
mov    %rbx,%rdx
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xe3c(%rip),%rdi
lea    0xe3a(%rip),%rsi
call   1050 <setmacro@plt>
lea    0xe33(%rip),%r15
mov    %r15,%rdi
xor    %esi,%esi
call   1070 <newcmd@plt>
lea    0xe37(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
mov    %rax,%rbx
lea    0xe33(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
xor    %esi,%esi
mov    %rbx,%rdx
xor    %ecx,%ecx
call   1030 <newline@plt>
mov    %r15,%rdi
xor    %esi,%esi
call   1070 <newcmd@plt>
lea    0xe13(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
lea    0xe1f(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
mov    %rax,%r15
lea    0xe1b(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rbx
lea    0xe11(%rip),%rdi
mov    %r15,%rsi
call   1070 <newcmd@plt>
mov    %rbx,%rdi
xor    %esi,%esi
mov    %rax,%rdx
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xdfe(%rip),%rdi
lea    0xdfc(%rip),%rsi
call   1050 <setmacro@plt>
lea    0xdf5(%rip),%r15
mov    %r15,%rdi
xor    %esi,%esi
call   1070 <newcmd@plt>
lea    0xdfd(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
mov    %rax,%rbx
lea    0xdfa(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
xor    %esi,%esi
mov    %rbx,%rdx
xor    %ecx,%ecx
call   1030 <newline@plt>
mov    %r15,%rdi
xor    %esi,%esi
call   1070 <newcmd@plt>
lea    0xdda(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
lea    0xde7(%rip),%rdi
mov    %rax,%rsi
call   1070 <newcmd@plt>
mov    %rax,%r15
lea    0xde4(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rbx
lea    0xdda(%rip),%rdi
mov    %r15,%rsi
call   1070 <newcmd@plt>
mov    %rbx,%rdi
xor    %esi,%esi
mov    %rax,%rdx
xor    %ecx,%ecx
call   1030 <newline@plt>
lea    0xcb4(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
xor    %esi,%esi
call   1040 <newdep@plt>
mov    %rax,%rbx
lea    0xdaf(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1040 <newdep@plt>
mov    %rax,%rbx
mov    %r14,%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1040 <newdep@plt>
mov    %rax,%rbx
lea    0xd82(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1040 <newdep@plt>
mov    %rax,%rbx
lea    0xd6b(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1040 <newdep@plt>
mov    %rax,%rbx
lea    0xd54(%rip),%rdi
call   1060 <newname@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
xor    %edx,%edx
xor    %ecx,%ecx
pop    %rbx
pop    %r14
pop    %r15
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) -c $(CFLAGS) $<\00"
@.str.5 = [5 x i8] c".c.o\00"
@.str.6 = [25 x i8] c"$(CC) $(CFLAGS) -o $@ $<\00"
@.str.7 = [3 x i8] c".c\00"
@.str.8 = [3 x i8] c"AS\00"
@.str.9 = [3 x i8] c"as\00"
@.str.10 = [15 x i8] c"$(AS) -o $@ $<\00"
@.str.11 = [5 x i8] c".s.o\00"
@.str.12 = [5 x i8] c"YACC\00"
@.str.13 = [5 x i8] c"yacc\00"
@.str.14 = [21 x i8] c"$(YACC) $(YFLAGS) $<\00"
@.str.15 = [14 x i8] c"mv y.tab.c $@\00"
@.str.16 = [5 x i8] c".y.c\00"
@.str.17 = [27 x i8] c"$(CC) $(CFLAGS) -c y.tab.c\00"
@.str.18 = [14 x i8] c"mv y.tab.o $@\00"
@.str.19 = [5 x i8] c".y.o\00"
@.str.20 = [11 x i8] c"rm y.tab.c\00"
@.str.21 = [5 x i8] c"FLEX\00"
@.str.22 = [5 x i8] c"flex\00"
@.str.23 = [25 x i8] c"$(FLEX) $(FLEX_FLAGS) $<\00"
@.str.24 = [15 x i8] c"mv lex.yy.c $@\00"
@.str.25 = [5 x i8] c".l.c\00"
@.str.26 = [28 x i8] c"$(CC) $(CFLAGS) -c lex.yy.c\00"
@.str.27 = [15 x i8] c"mv lex.yy.o $@\00"
@.str.28 = [5 x i8] c".l.o\00"
@.str.29 = [12 x i8] c"rm lex.yy.c\00"
@.str.30 = [3 x i8] c".o\00"
@.str.31 = [3 x i8] c".s\00"
@.str.32 = [3 x i8] c".y\00"
@.str.33 = [3 x i8] c".l\00"
@.str.34 = [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 ([3 x i8], [3 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 ([25 x i8], [25 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 ([3 x i8], [3 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 i32 @setmacro(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%17 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.10, i64 0, i64 0), %struct.cmd* null)
store %struct.cmd* %17, %struct.cmd** %1
%18 = call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
store %struct.name* %18, %struct.name** %2
%19 = load %struct.name*, %struct.name** %2
%20 = load %struct.cmd*, %struct.cmd** %1
%21 = call i32 @newline(%struct.name* %19, %struct.depend* null, %struct.cmd* %20, i32 0)
%22 = call i32 @setmacro(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%23 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.14, i64 0, i64 0), %struct.cmd* null)
store %struct.cmd* %23, %struct.cmd** %1
%24 = load %struct.cmd*, %struct.cmd** %1
%25 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.15, i64 0, i64 0), %struct.cmd* %24)
store %struct.cmd* %25, %struct.cmd** %1
%26 = call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
store %struct.name* %26, %struct.name** %2
%27 = load %struct.name*, %struct.name** %2
%28 = load %struct.cmd*, %struct.cmd** %1
%29 = call i32 @newline(%struct.name* %27, %struct.depend* null, %struct.cmd* %28, i32 0)
%30 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.14, i64 0, i64 0), %struct.cmd* null)
store %struct.cmd* %30, %struct.cmd** %1
%31 = load %struct.cmd*, %struct.cmd** %1
%32 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.17, i64 0, i64 0), %struct.cmd* %31)
store %struct.cmd* %32, %struct.cmd** %1
%33 = load %struct.cmd*, %struct.cmd** %1
%34 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), %struct.cmd* %33)
store %struct.cmd* %34, %struct.cmd** %1
%35 = call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0))
store %struct.name* %35, %struct.name** %2
%36 = load %struct.cmd*, %struct.cmd** %1
%37 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.20, i64 0, i64 0), %struct.cmd* %36)
store %struct.cmd* %37, %struct.cmd** %1
%38 = load %struct.name*, %struct.name** %2
%39 = load %struct.cmd*, %struct.cmd** %1
%40 = call i32 @newline(%struct.name* %38, %struct.depend* null, %struct.cmd* %39, i32 0)
%41 = call i32 @setmacro(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.22, i64 0, i64 0))
%42 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.23, i64 0, i64 0), %struct.cmd* null)
store %struct.cmd* %42, %struct.cmd** %1
%43 = load %struct.cmd*, %struct.cmd** %1
%44 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.24, i64 0, i64 0), %struct.cmd* %43)
store %struct.cmd* %44, %struct.cmd** %1
%45 = call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.25, i64 0, i64 0))
store %struct.name* %45, %struct.name** %2
%46 = load %struct.name*, %struct.name** %2
%47 = load %struct.cmd*, %struct.cmd** %1
%48 = call i32 @newline(%struct.name* %46, %struct.depend* null, %struct.cmd* %47, i32 0)
%49 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.23, i64 0, i64 0), %struct.cmd* null)
store %struct.cmd* %49, %struct.cmd** %1
%50 = load %struct.cmd*, %struct.cmd** %1
%51 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.26, i64 0, i64 0), %struct.cmd* %50)
store %struct.cmd* %51, %struct.cmd** %1
%52 = load %struct.cmd*, %struct.cmd** %1
%53 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.27, i64 0, i64 0), %struct.cmd* %52)
store %struct.cmd* %53, %struct.cmd** %1
%54 = call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.28, i64 0, i64 0))
store %struct.name* %54, %struct.name** %2
%55 = load %struct.cmd*, %struct.cmd** %1
%56 = call %struct.cmd* @newcmd(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.29, i64 0, i64 0), %struct.cmd* %55)
store %struct.cmd* %56, %struct.cmd** %1
%57 = load %struct.name*, %struct.name** %2
%58 = load %struct.cmd*, %struct.cmd** %1
%59 = call i32 @newline(%struct.name* %57, %struct.depend* null, %struct.cmd* %58, i32 0)
%60 = call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.30, i64 0, i64 0))
store %struct.name* %60, %struct.name** %2
%61 = load %struct.name*, %struct.name** %2
%62 = call %struct.depend* @newdep(%struct.name* %61, %struct.depend* null)
store %struct.depend* %62, %struct.depend** %3
%63 = call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.31, i64 0, i64 0))
store %struct.name* %63, %struct.name** %2
%64 = load %struct.name*, %struct.name** %2
%65 = load %struct.depend*, %struct.depend** %3
%66 = call %struct.depend* @newdep(%struct.name* %64, %struct.depend* %65)
store %struct.depend* %66, %struct.depend** %3
%67 = call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
store %struct.name* %67, %struct.name** %2
%68 = load %struct.name*, %struct.name** %2
%69 = load %struct.depend*, %struct.depend** %3
%70 = call %struct.depend* @newdep(%struct.name* %68, %struct.depend* %69)
store %struct.depend* %70, %struct.depend** %3
%71 = call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.32, i64 0, i64 0))
store %struct.name* %71, %struct.name** %2
%72 = load %struct.name*, %struct.name** %2
%73 = load %struct.depend*, %struct.depend** %3
%74 = call %struct.depend* @newdep(%struct.name* %72, %struct.depend* %73)
store %struct.depend* %74, %struct.depend** %3
%75 = call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.33, i64 0, i64 0))
store %struct.name* %75, %struct.name** %2
%76 = load %struct.name*, %struct.name** %2
%77 = load %struct.depend*, %struct.depend** %3
%78 = call %struct.depend* @newdep(%struct.name* %76, %struct.depend* %77)
store %struct.depend* %78, %struct.depend** %3
%79 = call %struct.name* @newname(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.34, i64 0, i64 0))
store %struct.name* %79, %struct.name** %2
%80 = load %struct.name*, %struct.name** %2
%81 = load %struct.depend*, %struct.depend** %3
%82 = call i32 @newline(%struct.name* %80, %struct.depend* %81, %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) -c $(CFLAGS) $<\00"
@.str.5 = [5 x i8] c".c.o\00"
@.str.6 = [25 x i8] c"$(CC) $(CFLAGS) -o $@ $<\00"
@.str.7 = [3 x i8] c".c\00"
@.str.8 = [3 x i8] c"AS\00"
@.str.9 = [3 x i8] c"as\00"
@.str.10 = [15 x i8] c"$(AS) -o $@ $<\00"
@.str.11 = [5 x i8] c".s.o\00"
@.str.12 = [5 x i8] c"YACC\00"
@.str.13 = [5 x i8] c"yacc\00"
@.str.14 = [21 x i8] c"$(YACC) $(YFLAGS) $<\00"
@.str.15 = [14 x i8] c"mv y.tab.c $@\00"
@.str.16 = [5 x i8] c".y.c\00"
@.str.17 = [27 x i8] c"$(CC) $(CFLAGS) -c y.tab.c\00"
@.str.18 = [14 x i8] c"mv y.tab.o $@\00"
@.str.19 = [5 x i8] c".y.o\00"
@.str.20 = [11 x i8] c"rm y.tab.c\00"
@.str.21 = [5 x i8] c"FLEX\00"
@.str.22 = [5 x i8] c"flex\00"
@.str.23 = [25 x i8] c"$(FLEX) $(FLEX_FLAGS) $<\00"
@.str.24 = [15 x i8] c"mv lex.yy.c $@\00"
@.str.25 = [5 x i8] c".l.c\00"
@.str.26 = [28 x i8] c"$(CC) $(CFLAGS) -c lex.yy.c\00"
@.str.27 = [15 x i8] c"mv lex.yy.o $@\00"
@.str.28 = [5 x i8] c".l.o\00"
@.str.29 = [12 x i8] c"rm lex.yy.c\00"
@.str.30 = [3 x i8] c".o\00"
@.str.31 = [3 x i8] c".s\00"
@.str.32 = [3 x i8] c".y\00"
@.str.33 = [3 x i8] c".l\00"
@.str.34 = [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 ([3 x i8], [3 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 ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0), %struct.cmd* null)
%7 = tail call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 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 i32 @setmacro(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%10 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.10, i64 0, i64 0), %struct.cmd* null)
%11 = tail call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
%12 = tail call i32 @newline(%struct.name* %11, %struct.depend* null, %struct.cmd* %10, i32 0)
%13 = tail call i32 @setmacro(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%14 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.14, i64 0, i64 0), %struct.cmd* null)
%15 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.15, i64 0, i64 0), %struct.cmd* %14)
%16 = tail call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
%17 = tail call i32 @newline(%struct.name* %16, %struct.depend* null, %struct.cmd* %15, i32 0)
%18 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.14, i64 0, i64 0), %struct.cmd* null)
%19 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.17, i64 0, i64 0), %struct.cmd* %18)
%20 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), %struct.cmd* %19)
%21 = tail call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0))
%22 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.20, i64 0, i64 0), %struct.cmd* %20)
%23 = tail call i32 @newline(%struct.name* %21, %struct.depend* null, %struct.cmd* %22, i32 0)
%24 = tail call i32 @setmacro(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.22, i64 0, i64 0))
%25 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.23, i64 0, i64 0), %struct.cmd* null)
%26 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.24, i64 0, i64 0), %struct.cmd* %25)
%27 = tail call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.25, i64 0, i64 0))
%28 = tail call i32 @newline(%struct.name* %27, %struct.depend* null, %struct.cmd* %26, i32 0)
%29 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.23, i64 0, i64 0), %struct.cmd* null)
%30 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.26, i64 0, i64 0), %struct.cmd* %29)
%31 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.27, i64 0, i64 0), %struct.cmd* %30)
%32 = tail call %struct.name* @newname(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.28, i64 0, i64 0))
%33 = tail call %struct.cmd* @newcmd(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.29, i64 0, i64 0), %struct.cmd* %31)
%34 = tail call i32 @newline(%struct.name* %32, %struct.depend* null, %struct.cmd* %33, i32 0)
%35 = tail call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.30, i64 0, i64 0))
%36 = tail call %struct.depend* @newdep(%struct.name* %35, %struct.depend* null)
%37 = tail call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.31, i64 0, i64 0))
%38 = tail call %struct.depend* @newdep(%struct.name* %37, %struct.depend* %36)
%39 = tail call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%40 = tail call %struct.depend* @newdep(%struct.name* %39, %struct.depend* %38)
%41 = tail call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.32, i64 0, i64 0))
%42 = tail call %struct.depend* @newdep(%struct.name* %41, %struct.depend* %40)
%43 = tail call %struct.name* @newname(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.33, i64 0, i64 0))
%44 = tail call %struct.depend* @newdep(%struct.name* %43, %struct.depend* %42)
%45 = tail call %struct.name* @newname(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.34, i64 0, i64 0))
%46 = tail call i32 @newline(%struct.name* %45, %struct.depend* %44, %struct.cmd* null, i32 0)
ret void
}