SYMBOL INDEX (22026 symbols across 4843 files) FILE: 01_Scanner/decl.h type token (line 4) | struct token FILE: 01_Scanner/defs.h type token (line 18) | struct token { FILE: 01_Scanner/main.c function init (line 15) | static void init() { function usage (line 21) | static void usage(char *prog) { function scanfile (line 31) | static void scanfile() { function main (line 45) | void main(int argc, char *argv[]) { FILE: 01_Scanner/scan.c function chrpos (line 13) | static int chrpos(char *s, int c) { function next (line 21) | static int next(void) { function putback (line 37) | static void putback(int c) { function skip (line 44) | static int skip(void) { function scanint (line 56) | static int scanint(int c) { function scan (line 72) | int scan(struct token *t) { FILE: 02_Parser/decl.h type token (line 4) | struct token type ASTnode (line 5) | struct ASTnode type ASTnode (line 5) | struct ASTnode type ASTnode (line 6) | struct ASTnode type ASTnode (line 7) | struct ASTnode type ASTnode (line 8) | struct ASTnode type ASTnode (line 8) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode FILE: 02_Parser/defs.h type token (line 15) | struct token { type ASTnode (line 26) | struct ASTnode { FILE: 02_Parser/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode function arithop (line 29) | int arithop(int tok) { type ASTnode (line 47) | struct ASTnode type ASTnode (line 48) | struct ASTnode FILE: 02_Parser/interp.c function interpretAST (line 14) | int interpretAST(struct ASTnode *n) { FILE: 02_Parser/main.c function init (line 12) | static void init() { function usage (line 18) | static void usage(char *prog) { function main (line 26) | void main(int argc, char *argv[]) { FILE: 02_Parser/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanint (line 53) | static int scanint(int c) { function scan (line 69) | int scan(struct token *t) { FILE: 02_Parser/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 29) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 34) | struct ASTnode FILE: 03_Precedence/decl.h type token (line 4) | struct token type ASTnode (line 5) | struct ASTnode type ASTnode (line 5) | struct ASTnode type ASTnode (line 6) | struct ASTnode type ASTnode (line 7) | struct ASTnode type ASTnode (line 8) | struct ASTnode type ASTnode (line 8) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode FILE: 03_Precedence/defs.h type token (line 15) | struct token { type ASTnode (line 26) | struct ASTnode { FILE: 03_Precedence/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode function arithop (line 29) | int arithop(int tokentype) { function op_precedence (line 50) | static int op_precedence(int tokentype) { type ASTnode (line 61) | struct ASTnode type ASTnode (line 62) | struct ASTnode FILE: 03_Precedence/expr2.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode function arithop (line 29) | static int arithop(int tok) { type ASTnode (line 45) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 49) | struct ASTnode type ASTnode (line 82) | struct ASTnode type ASTnode (line 83) | struct ASTnode type ASTnode (line 117) | struct ASTnode FILE: 03_Precedence/interp.c function interpretAST (line 14) | int interpretAST(struct ASTnode *n) { FILE: 03_Precedence/main.c function init (line 12) | static void init() { function usage (line 18) | static void usage(char *prog) { function main (line 26) | void main(int argc, char *argv[]) { FILE: 03_Precedence/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanint (line 53) | static int scanint(int c) { function scan (line 69) | int scan(struct token *t) { FILE: 03_Precedence/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 29) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 34) | struct ASTnode FILE: 04_Assembly/cg.c function freeall_registers (line 15) | void freeall_registers(void) function alloc_register (line 22) | static int alloc_register(void) function free_register (line 36) | static void free_register(int reg) function cgpreamble (line 46) | void cgpreamble() function cgpostamble (line 76) | void cgpostamble() function cgload (line 87) | int cgload(int value) { function cgadd (line 99) | int cgadd(int r1, int r2) { function cgsub (line 107) | int cgsub(int r1, int r2) { function cgmul (line 115) | int cgmul(int r1, int r2) { function cgdiv (line 123) | int cgdiv(int r1, int r2) { function cgprintint (line 133) | void cgprintint(int r) { FILE: 04_Assembly/cgn.c function freeall_registers (line 15) | void freeall_registers(void) function alloc_register (line 22) | static int alloc_register(void) function free_register (line 36) | static void free_register(int reg) function cgpreamble (line 46) | void cgpreamble() function cgpostamble (line 75) | void cgpostamble() function cgload (line 86) | int cgload(int value) { function cgadd (line 98) | int cgadd(int r1, int r2) { function cgsub (line 106) | int cgsub(int r1, int r2) { function cgmul (line 114) | int cgmul(int r1, int r2) { function cgdiv (line 122) | int cgdiv(int r1, int r2) { function cgprintint (line 132) | void cgprintint(int r) { FILE: 04_Assembly/decl.h type token (line 4) | struct token type ASTnode (line 6) | struct ASTnode type ASTnode (line 6) | struct ASTnode type ASTnode (line 7) | struct ASTnode type ASTnode (line 8) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode FILE: 04_Assembly/defs.h type token (line 15) | struct token { type ASTnode (line 26) | struct ASTnode { FILE: 04_Assembly/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode function arithop (line 29) | int arithop(int tokentype) { function op_precedence (line 50) | static int op_precedence(int tokentype) { type ASTnode (line 61) | struct ASTnode type ASTnode (line 62) | struct ASTnode FILE: 04_Assembly/gen.c function genAST (line 10) | static int genAST(struct ASTnode *n) { function generatecode (line 36) | void generatecode(struct ASTnode *n) { FILE: 04_Assembly/interp.c function interpretAST (line 14) | int interpretAST(struct ASTnode *n) { FILE: 04_Assembly/main.c function init (line 12) | static void init() { function usage (line 18) | static void usage(char *prog) { function main (line 26) | void main(int argc, char *argv[]) { FILE: 04_Assembly/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanint (line 53) | static int scanint(int c) { function scan (line 69) | int scan(struct token *t) { FILE: 04_Assembly/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 29) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 34) | struct ASTnode FILE: 05_Statements/cg.c function freeall_registers (line 15) | void freeall_registers(void) { function alloc_register (line 21) | static int alloc_register(void) { function free_register (line 34) | static void free_register(int reg) { function cgpreamble (line 43) | void cgpreamble() { function cgpostamble (line 68) | void cgpostamble() { function cgload (line 74) | int cgload(int value) { function cgadd (line 86) | int cgadd(int r1, int r2) { function cgsub (line 94) | int cgsub(int r1, int r2) { function cgmul (line 102) | int cgmul(int r1, int r2) { function cgdiv (line 110) | int cgdiv(int r1, int r2) { function cgprintint (line 120) | void cgprintint(int r) { FILE: 05_Statements/cgn.c function freeall_registers (line 15) | void freeall_registers(void) { function alloc_register (line 21) | static int alloc_register(void) { function free_register (line 34) | static void free_register(int reg) { function cgpreamble (line 43) | void cgpreamble() { function cgpostamble (line 67) | void cgpostamble() { function cgload (line 73) | int cgload(int value) { function cgadd (line 85) | int cgadd(int r1, int r2) { function cgsub (line 93) | int cgsub(int r1, int r2) { function cgmul (line 101) | int cgmul(int r1, int r2) { function cgdiv (line 109) | int cgdiv(int r1, int r2) { function cgprintint (line 119) | void cgprintint(int r) { FILE: 05_Statements/decl.h type token (line 5) | struct token type ASTnode (line 8) | struct ASTnode type ASTnode (line 8) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 32) | struct ASTnode FILE: 05_Statements/defs.h type token (line 17) | struct token { type ASTnode (line 28) | struct ASTnode { FILE: 05_Statements/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode function arithop (line 30) | static int arithop(int tokentype) { function op_precedence (line 51) | static int op_precedence(int tokentype) { type ASTnode (line 62) | struct ASTnode type ASTnode (line 63) | struct ASTnode FILE: 05_Statements/gen.c function genAST (line 10) | int genAST(struct ASTnode *n) { function genpreamble (line 36) | void genpreamble() { function genpostamble (line 39) | void genpostamble() { function genfreeregs (line 42) | void genfreeregs() { function genprintint (line 45) | void genprintint(int reg) { FILE: 05_Statements/main.c function init (line 12) | static void init() { function usage (line 18) | static void usage(char *prog) { function main (line 26) | void main(int argc, char *argv[]) { FILE: 05_Statements/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 21) | void semi(void) { FILE: 05_Statements/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanint (line 53) | static int scanint(int c) { function scanident (line 69) | static int scanident(int c, char *buf, int lim) { function keyword (line 95) | static int keyword(char *s) { function scan (line 107) | int scan(struct token *t) { FILE: 05_Statements/stmt.c function statements (line 17) | void statements(void) { FILE: 05_Statements/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 30) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 35) | struct ASTnode FILE: 06_Variables/cg.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 32) | static void free_register(int reg) { function cgpreamble (line 39) | void cgpreamble() { function cgpostamble (line 64) | void cgpostamble() { function cgloadint (line 70) | int cgloadint(int value) { function cgloadglob (line 81) | int cgloadglob(char *identifier) { function cgadd (line 92) | int cgadd(int r1, int r2) { function cgsub (line 100) | int cgsub(int r1, int r2) { function cgmul (line 108) | int cgmul(int r1, int r2) { function cgdiv (line 116) | int cgdiv(int r1, int r2) { function cgprintint (line 126) | void cgprintint(int r) { function cgstorglob (line 133) | int cgstorglob(int r, char *identifier) { function cgglobsym (line 139) | void cgglobsym(char *sym) { FILE: 06_Variables/cgn.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 32) | static void free_register(int reg) { function cgpreamble (line 39) | void cgpreamble() { function cgpostamble (line 63) | void cgpostamble() { function cgloadint (line 69) | int cgloadint(int value) { function cgloadglob (line 80) | int cgloadglob(char *identifier) { function cgadd (line 91) | int cgadd(int r1, int r2) { function cgsub (line 99) | int cgsub(int r1, int r2) { function cgmul (line 107) | int cgmul(int r1, int r2) { function cgdiv (line 115) | int cgdiv(int r1, int r2) { function cgprintint (line 125) | void cgprintint(int r) { function cgstorglob (line 132) | int cgstorglob(int r, char *identifier) { function cgglobsym (line 138) | void cgglobsym(char *sym) { FILE: 06_Variables/decl.c function var_declaration (line 10) | void var_declaration(void) { FILE: 06_Variables/decl.h type token (line 5) | struct token type ASTnode (line 8) | struct ASTnode type ASTnode (line 8) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 36) | struct ASTnode FILE: 06_Variables/defs.h type token (line 21) | struct token { type ASTnode (line 33) | struct ASTnode { type symtable (line 44) | struct symtable { FILE: 06_Variables/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode function arithop (line 41) | static int arithop(int tokentype) { function op_precedence (line 61) | static int op_precedence(int tokentype) { type ASTnode (line 70) | struct ASTnode type ASTnode (line 71) | struct ASTnode FILE: 06_Variables/gen.c function genAST (line 10) | int genAST(struct ASTnode *n, int reg) { function genpreamble (line 42) | void genpreamble() { function genpostamble (line 45) | void genpostamble() { function genfreeregs (line 48) | void genfreeregs() { function genprintint (line 51) | void genprintint(int reg) { function genglobsym (line 55) | void genglobsym(char *s) { FILE: 06_Variables/main.c function init (line 12) | static void init() { function usage (line 18) | static void usage(char *prog) { function main (line 26) | void main(int argc, char *argv[]) { FILE: 06_Variables/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function ident (line 25) | void ident(void) { function fatal (line 30) | void fatal(char *s) { function fatals (line 34) | void fatals(char *s1, char *s2) { function fatald (line 38) | void fatald(char *s, int d) { function fatalc (line 42) | void fatalc(char *s, int c) { FILE: 06_Variables/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanint (line 53) | static int scanint(int c) { function scanident (line 69) | static int scanident(int c, char *buf, int lim) { function keyword (line 94) | static int keyword(char *s) { function scan (line 110) | int scan(struct token *t) { FILE: 06_Variables/stmt.c function print_statement (line 20) | void print_statement(void) { function assignment_statement (line 38) | void assignment_statement(void) { function statements (line 70) | void statements(void) { FILE: 06_Variables/sym.c function findglob (line 12) | int findglob(char *s) { function newglob (line 24) | static int newglob(void) { function addglob (line 34) | int addglob(char *name) { FILE: 06_Variables/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 28) | struct ASTnode type ASTnode (line 33) | struct ASTnode type ASTnode (line 33) | struct ASTnode FILE: 07_Comparisons/cg.c function freeall_registers (line 16) | void freeall_registers(void) { function alloc_register (line 22) | static int alloc_register(void) { function free_register (line 34) | static void free_register(int reg) { function cgpreamble (line 41) | void cgpreamble() { function cgpostamble (line 66) | void cgpostamble() { function cgloadint (line 72) | int cgloadint(int value) { function cgloadglob (line 83) | int cgloadglob(char *identifier) { function cgadd (line 94) | int cgadd(int r1, int r2) { function cgsub (line 102) | int cgsub(int r1, int r2) { function cgmul (line 110) | int cgmul(int r1, int r2) { function cgdiv (line 118) | int cgdiv(int r1, int r2) { function cgprintint (line 128) | void cgprintint(int r) { function cgstorglob (line 135) | int cgstorglob(int r, char *identifier) { function cgglobsym (line 141) | void cgglobsym(char *sym) { function cgcompare (line 146) | static int cgcompare(int r1, int r2, char *how) { function cgequal (line 154) | int cgequal(int r1, int r2) { return(cgcompare(r1, r2, "sete")); } function cgnotequal (line 155) | int cgnotequal(int r1, int r2) { return(cgcompare(r1, r2, "setne")); } function cglessthan (line 156) | int cglessthan(int r1, int r2) { return(cgcompare(r1, r2, "setl")); } function cggreaterthan (line 157) | int cggreaterthan(int r1, int r2) { return(cgcompare(r1, r2, "setg")); } function cglessequal (line 158) | int cglessequal(int r1, int r2) { return(cgcompare(r1, r2, "setle")); } function cggreaterequal (line 159) | int cggreaterequal(int r1, int r2) { return(cgcompare(r1, r2, "setge")); } FILE: 07_Comparisons/cgn.c function freeall_registers (line 15) | void freeall_registers(void) { function alloc_register (line 21) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function cgpreamble (line 40) | void cgpreamble() { function cgpostamble (line 64) | void cgpostamble() { function cgloadint (line 70) | int cgloadint(int value) { function cgloadglob (line 81) | int cgloadglob(char *identifier) { function cgadd (line 92) | int cgadd(int r1, int r2) { function cgsub (line 100) | int cgsub(int r1, int r2) { function cgmul (line 108) | int cgmul(int r1, int r2) { function cgdiv (line 116) | int cgdiv(int r1, int r2) { function cgprintint (line 126) | void cgprintint(int r) { function cgstorglob (line 133) | int cgstorglob(int r, char *identifier) { function cgglobsym (line 139) | void cgglobsym(char *sym) { function cgcompare (line 144) | static int cgcompare(int r1, int r2, char *how) { function cgequal (line 152) | int cgequal(int r1, int r2) { return(cgcompare(r1, r2, "sete")); } function cgnotequal (line 153) | int cgnotequal(int r1, int r2) { return(cgcompare(r1, r2, "setne")); } function cglessthan (line 154) | int cglessthan(int r1, int r2) { return(cgcompare(r1, r2, "setl")); } function cggreaterthan (line 155) | int cggreaterthan(int r1, int r2) { return(cgcompare(r1, r2, "setg")); } function cglessequal (line 156) | int cglessequal(int r1, int r2) { return(cgcompare(r1, r2, "setle")); } function cggreaterequal (line 157) | int cggreaterequal(int r1, int r2) { return(cgcompare(r1, r2, "setge")); } FILE: 07_Comparisons/decl.c function var_declaration (line 10) | void var_declaration(void) { FILE: 07_Comparisons/decl.h type token (line 5) | struct token type ASTnode (line 8) | struct ASTnode type ASTnode (line 8) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 42) | struct ASTnode FILE: 07_Comparisons/defs.h type token (line 25) | struct token { type ASTnode (line 40) | struct ASTnode { type symtable (line 51) | struct symtable { FILE: 07_Comparisons/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode function arithop (line 42) | static int arithop(int tokentype) { function op_precedence (line 59) | static int op_precedence(int tokentype) { type ASTnode (line 68) | struct ASTnode type ASTnode (line 69) | struct ASTnode FILE: 07_Comparisons/gen.c function genAST (line 10) | int genAST(struct ASTnode *n, int reg) { function genpreamble (line 54) | void genpreamble() { function genpostamble (line 57) | void genpostamble() { function genfreeregs (line 60) | void genfreeregs() { function genprintint (line 63) | void genprintint(int reg) { function genglobsym (line 67) | void genglobsym(char *s) { FILE: 07_Comparisons/main.c function init (line 12) | static void init() { function usage (line 18) | static void usage(char *prog) { function main (line 26) | void main(int argc, char *argv[]) { FILE: 07_Comparisons/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function ident (line 25) | void ident(void) { function fatal (line 30) | void fatal(char *s) { function fatals (line 34) | void fatals(char *s1, char *s2) { function fatald (line 38) | void fatald(char *s, int d) { function fatalc (line 42) | void fatalc(char *s, int c) { FILE: 07_Comparisons/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanint (line 53) | static int scanint(int c) { function scanident (line 69) | static int scanident(int c, char *buf, int lim) { function keyword (line 94) | static int keyword(char *s) { function scan (line 110) | int scan(struct token *t) { FILE: 07_Comparisons/stmt.c function print_statement (line 20) | void print_statement(void) { function assignment_statement (line 38) | void assignment_statement(void) { function statements (line 70) | void statements(void) { FILE: 07_Comparisons/sym.c function findglob (line 12) | int findglob(char *s) { function newglob (line 24) | static int newglob(void) { function addglob (line 34) | int addglob(char *name) { FILE: 07_Comparisons/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 28) | struct ASTnode type ASTnode (line 33) | struct ASTnode type ASTnode (line 33) | struct ASTnode FILE: 08_If_Statements/cg.c function freeall_registers (line 16) | void freeall_registers(void) { function alloc_register (line 22) | static int alloc_register(void) { function free_register (line 34) | static void free_register(int reg) { function cgpreamble (line 41) | void cgpreamble() { function cgpostamble (line 66) | void cgpostamble() { function cgloadint (line 72) | int cgloadint(int value) { function cgloadglob (line 83) | int cgloadglob(char *identifier) { function cgadd (line 94) | int cgadd(int r1, int r2) { function cgsub (line 102) | int cgsub(int r1, int r2) { function cgmul (line 110) | int cgmul(int r1, int r2) { function cgdiv (line 118) | int cgdiv(int r1, int r2) { function cgprintint (line 128) | void cgprintint(int r) { function cgstorglob (line 135) | int cgstorglob(int r, char *identifier) { function cgglobsym (line 141) | void cgglobsym(char *sym) { function cgcompare_and_set (line 151) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 165) | void cglabel(int l) { function cgjump (line 170) | void cgjump(int l) { function cgcompare_and_jump (line 179) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { FILE: 08_If_Statements/cgn.c function freeall_registers (line 15) | void freeall_registers(void) { function alloc_register (line 21) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function cgpreamble (line 40) | void cgpreamble() { function cgpostamble (line 64) | void cgpostamble() { function cgloadint (line 70) | int cgloadint(int value) { function cgloadglob (line 81) | int cgloadglob(char *identifier) { function cgadd (line 92) | int cgadd(int r1, int r2) { function cgsub (line 100) | int cgsub(int r1, int r2) { function cgmul (line 108) | int cgmul(int r1, int r2) { function cgdiv (line 116) | int cgdiv(int r1, int r2) { function cgprintint (line 126) | void cgprintint(int r) { function cgstorglob (line 133) | int cgstorglob(int r, char *identifier) { function cgglobsym (line 139) | void cgglobsym(char *sym) { function cgcompare_and_set (line 149) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 163) | void cglabel(int l) { function cgjump (line 168) | void cgjump(int l) { function cgcompare_and_jump (line 177) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { FILE: 08_If_Statements/decl.c function var_declaration (line 10) | void var_declaration(void) { FILE: 08_If_Statements/decl.h type token (line 5) | struct token type ASTnode (line 8) | struct ASTnode type ASTnode (line 8) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 41) | struct ASTnode type ASTnode (line 44) | struct ASTnode FILE: 08_If_Statements/defs.h type token (line 26) | struct token { type ASTnode (line 41) | struct ASTnode { type symtable (line 56) | struct symtable { FILE: 08_If_Statements/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode function arithop (line 42) | static int arithop(int tokentype) { function op_precedence (line 59) | static int op_precedence(int tokentype) { type ASTnode (line 68) | struct ASTnode type ASTnode (line 69) | struct ASTnode FILE: 08_If_Statements/gen.c function label (line 9) | static int label(void) { function genIFAST (line 16) | static int genIFAST(struct ASTnode *n) { function genAST (line 62) | int genAST(struct ASTnode *n, int reg, int parentASTop) { function genpreamble (line 129) | void genpreamble() { function genpostamble (line 132) | void genpostamble() { function genfreeregs (line 135) | void genfreeregs() { function genprintint (line 138) | void genprintint(int reg) { function genglobsym (line 142) | void genglobsym(char *s) { FILE: 08_If_Statements/main.c function init (line 12) | static void init() { function usage (line 18) | static void usage(char *prog) { function main (line 26) | void main(int argc, char *argv[]) { FILE: 08_If_Statements/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function lbrace (line 25) | void lbrace(void) { function rbrace (line 30) | void rbrace(void) { function lparen (line 35) | void lparen(void) { function rparen (line 40) | void rparen(void) { function ident (line 45) | void ident(void) { function fatal (line 50) | void fatal(char *s) { function fatals (line 55) | void fatals(char *s1, char *s2) { function fatald (line 60) | void fatald(char *s, int d) { function fatalc (line 65) | void fatalc(char *s, int c) { FILE: 08_If_Statements/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanint (line 53) | static int scanint(int c) { function scanident (line 69) | static int scanident(int c, char *buf, int lim) { function keyword (line 94) | static int keyword(char *s) { function scan (line 116) | int scan(struct token *t) { FILE: 08_If_Statements/stmt.c type ASTnode (line 33) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 52) | struct ASTnode type ASTnode (line 53) | struct ASTnode type ASTnode (line 83) | struct ASTnode type ASTnode (line 84) | struct ASTnode type ASTnode (line 115) | struct ASTnode type ASTnode (line 116) | struct ASTnode type ASTnode (line 117) | struct ASTnode FILE: 08_If_Statements/sym.c function findglob (line 12) | int findglob(char *s) { function newglob (line 24) | static int newglob(void) { function addglob (line 34) | int addglob(char *name) { FILE: 08_If_Statements/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 30) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 35) | struct ASTnode FILE: 09_While_Loops/cg.c function freeall_registers (line 16) | void freeall_registers(void) { function alloc_register (line 22) | static int alloc_register(void) { function free_register (line 34) | static void free_register(int reg) { function cgpreamble (line 41) | void cgpreamble() { function cgpostamble (line 66) | void cgpostamble() { function cgloadint (line 72) | int cgloadint(int value) { function cgloadglob (line 83) | int cgloadglob(char *identifier) { function cgadd (line 94) | int cgadd(int r1, int r2) { function cgsub (line 102) | int cgsub(int r1, int r2) { function cgmul (line 110) | int cgmul(int r1, int r2) { function cgdiv (line 118) | int cgdiv(int r1, int r2) { function cgprintint (line 128) | void cgprintint(int r) { function cgstorglob (line 135) | int cgstorglob(int r, char *identifier) { function cgglobsym (line 141) | void cgglobsym(char *sym) { function cgcompare_and_set (line 151) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 165) | void cglabel(int l) { function cgjump (line 170) | void cgjump(int l) { function cgcompare_and_jump (line 179) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { FILE: 09_While_Loops/cgn.c function freeall_registers (line 15) | void freeall_registers(void) { function alloc_register (line 21) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function cgpreamble (line 40) | void cgpreamble() { function cgpostamble (line 64) | void cgpostamble() { function cgloadint (line 70) | int cgloadint(int value) { function cgloadglob (line 81) | int cgloadglob(char *identifier) { function cgadd (line 92) | int cgadd(int r1, int r2) { function cgsub (line 100) | int cgsub(int r1, int r2) { function cgmul (line 108) | int cgmul(int r1, int r2) { function cgdiv (line 116) | int cgdiv(int r1, int r2) { function cgprintint (line 126) | void cgprintint(int r) { function cgstorglob (line 133) | int cgstorglob(int r, char *identifier) { function cgglobsym (line 139) | void cgglobsym(char *sym) { function cgcompare_and_set (line 149) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 163) | void cglabel(int l) { function cgjump (line 168) | void cgjump(int l) { function cgcompare_and_jump (line 177) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { FILE: 09_While_Loops/decl.c function var_declaration (line 12) | void var_declaration(void) { FILE: 09_While_Loops/decl.h type token (line 5) | struct token type ASTnode (line 8) | struct ASTnode type ASTnode (line 8) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 41) | struct ASTnode type ASTnode (line 44) | struct ASTnode FILE: 09_While_Loops/defs.h type token (line 26) | struct token { type ASTnode (line 42) | struct ASTnode { type symtable (line 57) | struct symtable { FILE: 09_While_Loops/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode function arithop (line 42) | static int arithop(int tokentype) { function op_precedence (line 59) | static int op_precedence(int tokentype) { type ASTnode (line 68) | struct ASTnode type ASTnode (line 69) | struct ASTnode FILE: 09_While_Loops/gen.c function label (line 9) | static int label(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 60) | static int genWHILE(struct ASTnode *n) { function genAST (line 90) | int genAST(struct ASTnode *n, int reg, int parentASTop) { function genpreamble (line 159) | void genpreamble() { function genpostamble (line 162) | void genpostamble() { function genfreeregs (line 165) | void genfreeregs() { function genprintint (line 168) | void genprintint(int reg) { function genglobsym (line 172) | void genglobsym(char *s) { FILE: 09_While_Loops/main.c function init (line 12) | static void init() { function usage (line 18) | static void usage(char *prog) { function main (line 26) | void main(int argc, char *argv[]) { FILE: 09_While_Loops/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function lbrace (line 25) | void lbrace(void) { function rbrace (line 30) | void rbrace(void) { function lparen (line 35) | void lparen(void) { function rparen (line 40) | void rparen(void) { function ident (line 45) | void ident(void) { function fatal (line 50) | void fatal(char *s) { function fatals (line 55) | void fatals(char *s1, char *s2) { function fatald (line 60) | void fatald(char *s, int d) { function fatalc (line 65) | void fatalc(char *s, int c) { FILE: 09_While_Loops/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanint (line 53) | static int scanint(int c) { function scanident (line 69) | static int scanident(int c, char *buf, int lim) { function keyword (line 94) | static int keyword(char *s) { function scan (line 120) | int scan(struct token *t) { FILE: 09_While_Loops/stmt.c type ASTnode (line 22) | struct ASTnode type ASTnode (line 23) | struct ASTnode type ASTnode (line 43) | struct ASTnode type ASTnode (line 44) | struct ASTnode type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type ASTnode (line 113) | struct ASTnode type ASTnode (line 114) | struct ASTnode type ASTnode (line 138) | struct ASTnode type ASTnode (line 139) | struct ASTnode type ASTnode (line 140) | struct ASTnode FILE: 09_While_Loops/sym.c function findglob (line 12) | int findglob(char *s) { function newglob (line 24) | static int newglob(void) { function addglob (line 34) | int addglob(char *name) { FILE: 09_While_Loops/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 30) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 35) | struct ASTnode FILE: 10_For_Loops/cg.c function freeall_registers (line 16) | void freeall_registers(void) { function alloc_register (line 22) | static int alloc_register(void) { function free_register (line 34) | static void free_register(int reg) { function cgpreamble (line 41) | void cgpreamble() { function cgpostamble (line 66) | void cgpostamble() { function cgloadint (line 72) | int cgloadint(int value) { function cgloadglob (line 83) | int cgloadglob(char *identifier) { function cgadd (line 94) | int cgadd(int r1, int r2) { function cgsub (line 102) | int cgsub(int r1, int r2) { function cgmul (line 110) | int cgmul(int r1, int r2) { function cgdiv (line 118) | int cgdiv(int r1, int r2) { function cgprintint (line 128) | void cgprintint(int r) { function cgstorglob (line 135) | int cgstorglob(int r, char *identifier) { function cgglobsym (line 141) | void cgglobsym(char *sym) { function cgcompare_and_set (line 151) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 165) | void cglabel(int l) { function cgjump (line 170) | void cgjump(int l) { function cgcompare_and_jump (line 179) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { FILE: 10_For_Loops/cgn.c function freeall_registers (line 15) | void freeall_registers(void) { function alloc_register (line 21) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function cgpreamble (line 40) | void cgpreamble() { function cgpostamble (line 64) | void cgpostamble() { function cgloadint (line 70) | int cgloadint(int value) { function cgloadglob (line 81) | int cgloadglob(char *identifier) { function cgadd (line 92) | int cgadd(int r1, int r2) { function cgsub (line 100) | int cgsub(int r1, int r2) { function cgmul (line 108) | int cgmul(int r1, int r2) { function cgdiv (line 116) | int cgdiv(int r1, int r2) { function cgprintint (line 126) | void cgprintint(int r) { function cgstorglob (line 133) | int cgstorglob(int r, char *identifier) { function cgglobsym (line 139) | void cgglobsym(char *sym) { function cgcompare_and_set (line 149) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 163) | void cglabel(int l) { function cgjump (line 168) | void cgjump(int l) { function cgcompare_and_jump (line 177) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { FILE: 10_For_Loops/decl.c function var_declaration (line 12) | void var_declaration(void) { FILE: 10_For_Loops/decl.h type token (line 5) | struct token type ASTnode (line 8) | struct ASTnode type ASTnode (line 8) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 41) | struct ASTnode type ASTnode (line 44) | struct ASTnode FILE: 10_For_Loops/defs.h type token (line 27) | struct token { type ASTnode (line 43) | struct ASTnode { type symtable (line 58) | struct symtable { FILE: 10_For_Loops/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode function arithop (line 42) | static int arithop(int tokentype) { function op_precedence (line 59) | static int op_precedence(int tokentype) { type ASTnode (line 68) | struct ASTnode type ASTnode (line 69) | struct ASTnode FILE: 10_For_Loops/gen.c function label (line 9) | static int label(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 60) | static int genWHILE(struct ASTnode *n) { function genAST (line 90) | int genAST(struct ASTnode *n, int reg, int parentASTop) { function genpreamble (line 159) | void genpreamble() { function genpostamble (line 162) | void genpostamble() { function genfreeregs (line 165) | void genfreeregs() { function genprintint (line 168) | void genprintint(int reg) { function genglobsym (line 172) | void genglobsym(char *s) { FILE: 10_For_Loops/main.c function init (line 12) | static void init() { function usage (line 18) | static void usage(char *prog) { function main (line 26) | void main(int argc, char *argv[]) { FILE: 10_For_Loops/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function lbrace (line 25) | void lbrace(void) { function rbrace (line 30) | void rbrace(void) { function lparen (line 35) | void lparen(void) { function rparen (line 40) | void rparen(void) { function ident (line 45) | void ident(void) { function fatal (line 50) | void fatal(char *s) { function fatals (line 55) | void fatals(char *s1, char *s2) { function fatald (line 60) | void fatald(char *s, int d) { function fatalc (line 65) | void fatalc(char *s, int c) { FILE: 10_For_Loops/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanint (line 53) | static int scanint(int c) { function scanident (line 69) | static int scanident(int c, char *buf, int lim) { function keyword (line 94) | static int keyword(char *s) { function scan (line 124) | int scan(struct token *t) { FILE: 10_For_Loops/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 25) | struct ASTnode type ASTnode (line 26) | struct ASTnode type ASTnode (line 44) | struct ASTnode type ASTnode (line 45) | struct ASTnode type ASTnode (line 79) | struct ASTnode type ASTnode (line 80) | struct ASTnode type ASTnode (line 112) | struct ASTnode type ASTnode (line 113) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 144) | struct ASTnode type ASTnode (line 145) | struct ASTnode type ASTnode (line 146) | struct ASTnode type ASTnode (line 184) | struct ASTnode type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode type ASTnode (line 208) | struct ASTnode FILE: 10_For_Loops/sym.c function findglob (line 12) | int findglob(char *s) { function newglob (line 24) | static int newglob(void) { function addglob (line 34) | int addglob(char *name) { FILE: 10_For_Loops/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 30) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 35) | struct ASTnode FILE: 11_Functions_pt1/cg.c function freeall_registers (line 16) | void freeall_registers(void) { function alloc_register (line 22) | static int alloc_register(void) { function free_register (line 34) | static void free_register(int reg) { function cgpreamble (line 41) | void cgpreamble() { function cgfuncpreamble (line 59) | void cgfuncpreamble(char *name) { function cgfuncpostamble (line 69) | void cgfuncpostamble() { function cgloadint (line 75) | int cgloadint(int value) { function cgloadglob (line 86) | int cgloadglob(char *identifier) { function cgadd (line 97) | int cgadd(int r1, int r2) { function cgsub (line 105) | int cgsub(int r1, int r2) { function cgmul (line 113) | int cgmul(int r1, int r2) { function cgdiv (line 121) | int cgdiv(int r1, int r2) { function cgprintint (line 131) | void cgprintint(int r) { function cgstorglob (line 138) | int cgstorglob(int r, char *identifier) { function cgglobsym (line 144) | void cgglobsym(char *sym) { function cgcompare_and_set (line 154) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 168) | void cglabel(int l) { function cgjump (line 173) | void cgjump(int l) { function cgcompare_and_jump (line 182) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { FILE: 11_Functions_pt1/cgn.c function freeall_registers (line 15) | void freeall_registers(void) { function alloc_register (line 21) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function cgpreamble (line 40) | void cgpreamble() { function cgfuncpreamble (line 59) | void cgfuncpreamble(char *name) { function cgfuncpostamble (line 68) | void cgfuncpostamble() { function cgloadint (line 74) | int cgloadint(int value) { function cgloadglob (line 85) | int cgloadglob(char *identifier) { function cgadd (line 96) | int cgadd(int r1, int r2) { function cgsub (line 104) | int cgsub(int r1, int r2) { function cgmul (line 112) | int cgmul(int r1, int r2) { function cgdiv (line 120) | int cgdiv(int r1, int r2) { function cgprintint (line 130) | void cgprintint(int r) { function cgstorglob (line 137) | int cgstorglob(int r, char *identifier) { function cgglobsym (line 143) | void cgglobsym(char *sym) { function cgcompare_and_set (line 153) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 167) | void cglabel(int l) { function cgjump (line 172) | void cgjump(int l) { function cgcompare_and_jump (line 181) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { FILE: 11_Functions_pt1/decl.c function var_declaration (line 12) | void var_declaration(void) { type ASTnode (line 29) | struct ASTnode type ASTnode (line 30) | struct ASTnode FILE: 11_Functions_pt1/decl.h type token (line 5) | struct token type ASTnode (line 8) | struct ASTnode type ASTnode (line 8) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 42) | struct ASTnode type ASTnode (line 45) | struct ASTnode type ASTnode (line 66) | struct ASTnode FILE: 11_Functions_pt1/defs.h type token (line 27) | struct token { type ASTnode (line 43) | struct ASTnode { type symtable (line 58) | struct symtable { FILE: 11_Functions_pt1/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode function arithop (line 42) | static int arithop(int tokentype) { function op_precedence (line 59) | static int op_precedence(int tokentype) { type ASTnode (line 68) | struct ASTnode type ASTnode (line 69) | struct ASTnode FILE: 11_Functions_pt1/gen.c function label (line 9) | static int label(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 60) | static int genWHILE(struct ASTnode *n) { function genAST (line 90) | int genAST(struct ASTnode *n, int reg, int parentASTop) { function genpreamble (line 165) | void genpreamble() { function genfreeregs (line 168) | void genfreeregs() { function genprintint (line 171) | void genprintint(int reg) { function genglobsym (line 174) | void genglobsym(char *s) { FILE: 11_Functions_pt1/main.c function init (line 12) | static void init() { function usage (line 18) | static void usage(char *prog) { function main (line 26) | void main(int argc, char *argv[]) { FILE: 11_Functions_pt1/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function lbrace (line 25) | void lbrace(void) { function rbrace (line 30) | void rbrace(void) { function lparen (line 35) | void lparen(void) { function rparen (line 40) | void rparen(void) { function ident (line 45) | void ident(void) { function fatal (line 50) | void fatal(char *s) { function fatals (line 55) | void fatals(char *s1, char *s2) { function fatald (line 60) | void fatald(char *s, int d) { function fatalc (line 65) | void fatalc(char *s, int c) { FILE: 11_Functions_pt1/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanint (line 53) | static int scanint(int c) { function scanident (line 69) | static int scanident(int c, char *buf, int lim) { function keyword (line 94) | static int keyword(char *s) { function scan (line 128) | int scan(struct token *t) { FILE: 11_Functions_pt1/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 25) | struct ASTnode type ASTnode (line 26) | struct ASTnode type ASTnode (line 44) | struct ASTnode type ASTnode (line 45) | struct ASTnode type ASTnode (line 79) | struct ASTnode type ASTnode (line 80) | struct ASTnode type ASTnode (line 112) | struct ASTnode type ASTnode (line 113) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 144) | struct ASTnode type ASTnode (line 145) | struct ASTnode type ASTnode (line 146) | struct ASTnode type ASTnode (line 184) | struct ASTnode type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode type ASTnode (line 208) | struct ASTnode FILE: 11_Functions_pt1/sym.c function findglob (line 12) | int findglob(char *s) { function newglob (line 24) | static int newglob(void) { function addglob (line 34) | int addglob(char *name) { FILE: 11_Functions_pt1/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 30) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 35) | struct ASTnode FILE: 12_Types_pt1/cg.c function freeall_registers (line 16) | void freeall_registers(void) { function alloc_register (line 22) | static int alloc_register(void) { function free_register (line 34) | static void free_register(int reg) { function cgpreamble (line 41) | void cgpreamble() { function cgfuncpreamble (line 59) | void cgfuncpreamble(char *name) { function cgfuncpostamble (line 69) | void cgfuncpostamble() { function cgloadint (line 76) | int cgloadint(int value, int type) { function cgloadglob (line 86) | int cgloadglob(int id) { function cgadd (line 100) | int cgadd(int r1, int r2) { function cgsub (line 108) | int cgsub(int r1, int r2) { function cgmul (line 116) | int cgmul(int r1, int r2) { function cgdiv (line 124) | int cgdiv(int r1, int r2) { function cgprintint (line 134) | void cgprintint(int r) { function cgstorglob (line 141) | int cgstorglob(int r, int id) { function cgglobsym (line 151) | void cgglobsym(int id) { function cgcompare_and_set (line 165) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 179) | void cglabel(int l) { function cgjump (line 184) | void cgjump(int l) { function cgcompare_and_jump (line 193) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 208) | int cgwiden(int r, int oldtype, int newtype) { FILE: 12_Types_pt1/cgn.c function freeall_registers (line 15) | void freeall_registers(void) { function alloc_register (line 21) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function cgpreamble (line 40) | void cgpreamble() { function cgfuncpreamble (line 59) | void cgfuncpreamble(char *name) { function cgfuncpostamble (line 68) | void cgfuncpostamble() { function cgloadint (line 75) | int cgloadint(int value, int type) { function cgloadglob (line 85) | int cgloadglob(int id) { function cgadd (line 99) | int cgadd(int r1, int r2) { function cgsub (line 107) | int cgsub(int r1, int r2) { function cgmul (line 115) | int cgmul(int r1, int r2) { function cgdiv (line 123) | int cgdiv(int r1, int r2) { function cgprintint (line 133) | void cgprintint(int r) { function cgstorglob (line 140) | int cgstorglob(int r, int id) { function cgglobsym (line 150) | void cgglobsym(int id) { function cgcompare_and_set (line 164) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 178) | void cglabel(int l) { function cgjump (line 183) | void cgjump(int l) { function cgcompare_and_jump (line 192) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 207) | int cgwiden(int r, int oldtype, int newtype) { FILE: 12_Types_pt1/decl.c function parse_type (line 11) | int parse_type(int t) { function var_declaration (line 24) | void var_declaration(void) { type ASTnode (line 45) | struct ASTnode type ASTnode (line 46) | struct ASTnode FILE: 12_Types_pt1/decl.h type token (line 5) | struct token type ASTnode (line 8) | struct ASTnode type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 45) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 69) | struct ASTnode FILE: 12_Types_pt1/defs.h type token (line 27) | struct token { type ASTnode (line 48) | struct ASTnode { type symtable (line 69) | struct symtable { FILE: 12_Types_pt1/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode function arithop (line 46) | static int arithop(int tokentype) { function op_precedence (line 63) | static int op_precedence(int tokentype) { type ASTnode (line 72) | struct ASTnode type ASTnode (line 73) | struct ASTnode FILE: 12_Types_pt1/gen.c function label (line 9) | static int label(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 60) | static int genWHILE(struct ASTnode *n) { function genAST (line 90) | int genAST(struct ASTnode *n, int reg, int parentASTop) { function genpreamble (line 168) | void genpreamble() { function genfreeregs (line 171) | void genfreeregs() { function genprintint (line 174) | void genprintint(int reg) { function genglobsym (line 177) | void genglobsym(int id) { FILE: 12_Types_pt1/main.c function init (line 12) | static void init() { function usage (line 18) | static void usage(char *prog) { function main (line 26) | void main(int argc, char *argv[]) { FILE: 12_Types_pt1/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function lbrace (line 25) | void lbrace(void) { function rbrace (line 30) | void rbrace(void) { function lparen (line 35) | void lparen(void) { function rparen (line 40) | void rparen(void) { function ident (line 45) | void ident(void) { function fatal (line 50) | void fatal(char *s) { function fatals (line 55) | void fatals(char *s1, char *s2) { function fatald (line 60) | void fatald(char *s, int d) { function fatalc (line 65) | void fatalc(char *s, int c) { FILE: 12_Types_pt1/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanint (line 53) | static int scanint(int c) { function scanident (line 69) | static int scanident(int c, char *buf, int lim) { function keyword (line 94) | static int keyword(char *s) { function scan (line 132) | int scan(struct token *t) { FILE: 12_Types_pt1/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 25) | struct ASTnode type ASTnode (line 26) | struct ASTnode type ASTnode (line 55) | struct ASTnode type ASTnode (line 56) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 102) | struct ASTnode type ASTnode (line 134) | struct ASTnode type ASTnode (line 135) | struct ASTnode type ASTnode (line 165) | struct ASTnode type ASTnode (line 166) | struct ASTnode type ASTnode (line 167) | struct ASTnode type ASTnode (line 168) | struct ASTnode type ASTnode (line 206) | struct ASTnode type ASTnode (line 229) | struct ASTnode type ASTnode (line 230) | struct ASTnode type ASTnode (line 231) | struct ASTnode FILE: 12_Types_pt1/sym.c function findglob (line 12) | int findglob(char *s) { function newglob (line 24) | static int newglob(void) { function addglob (line 35) | int addglob(char *name, int type, int stype) { FILE: 12_Types_pt1/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 32) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 37) | struct ASTnode FILE: 12_Types_pt1/types.c function type_compatible (line 14) | int type_compatible(int *left, int *right, int onlyright) { FILE: 13_Functions_pt2/cg.c function freeall_registers (line 17) | void freeall_registers(void) { function alloc_register (line 23) | static int alloc_register(void) { function free_register (line 35) | static void free_register(int reg) { function cgpreamble (line 42) | void cgpreamble() { function cgfuncpreamble (line 48) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 59) | void cgfuncpostamble(int id) { function cgloadint (line 67) | int cgloadint(int value, int type) { function cgloadglob (line 77) | int cgloadglob(int id) { function cgadd (line 102) | int cgadd(int r1, int r2) { function cgsub (line 110) | int cgsub(int r1, int r2) { function cgmul (line 118) | int cgmul(int r1, int r2) { function cgdiv (line 126) | int cgdiv(int r1, int r2) { function cgprintint (line 136) | void cgprintint(int r) { function cgcall (line 144) | int cgcall(int r, int id) { function cgstorglob (line 155) | int cgstorglob(int r, int id) { function cgprimsize (line 180) | int cgprimsize(int type) { function cgglobsym (line 188) | void cgglobsym(int id) { function cgcompare_and_set (line 202) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 216) | void cglabel(int l) { function cgjump (line 221) | void cgjump(int l) { function cgcompare_and_jump (line 230) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 245) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 251) | void cgreturn(int reg, int id) { FILE: 13_Functions_pt2/cgn.c function freeall_registers (line 17) | void freeall_registers(void) { function alloc_register (line 23) | static int alloc_register(void) { function free_register (line 35) | static void free_register(int reg) { function cgpreamble (line 42) | void cgpreamble() { function cgfuncpreamble (line 48) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 58) | void cgfuncpostamble(int id) { function cgloadint (line 66) | int cgloadint(int value, int type) { function cgloadglob (line 76) | int cgloadglob(int id) { function cgadd (line 102) | int cgadd(int r1, int r2) { function cgsub (line 110) | int cgsub(int r1, int r2) { function cgmul (line 118) | int cgmul(int r1, int r2) { function cgdiv (line 126) | int cgdiv(int r1, int r2) { function cgprintint (line 136) | void cgprintint(int r) { function cgcall (line 144) | int cgcall(int r, int id) { function cgstorglob (line 155) | int cgstorglob(int r, int id) { function cgprimsize (line 178) | int cgprimsize(int type) { function cgglobsym (line 186) | void cgglobsym(int id) { function cgcompare_and_set (line 200) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 214) | void cglabel(int l) { function cgjump (line 219) | void cgjump(int l) { function cgcompare_and_jump (line 228) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 243) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 249) | void cgreturn(int reg, int id) { FILE: 13_Functions_pt2/decl.c function parse_type (line 11) | int parse_type(int t) { function var_declaration (line 26) | void var_declaration(void) { type ASTnode (line 46) | struct ASTnode type ASTnode (line 47) | struct ASTnode FILE: 13_Functions_pt2/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 19) | struct ASTnode type ASTnode (line 52) | struct ASTnode type ASTnode (line 53) | struct ASTnode type ASTnode (line 56) | struct ASTnode type ASTnode (line 77) | struct ASTnode FILE: 13_Functions_pt2/defs.h type token (line 30) | struct token { type ASTnode (line 52) | struct ASTnode { type symtable (line 73) | struct symtable { FILE: 13_Functions_pt2/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 38) | struct ASTnode function arithop (line 84) | static int arithop(int tokentype) { function op_precedence (line 101) | static int op_precedence(int tokentype) { type ASTnode (line 110) | struct ASTnode type ASTnode (line 111) | struct ASTnode FILE: 13_Functions_pt2/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 60) | static int genWHILE(struct ASTnode *n) { function genAST (line 90) | int genAST(struct ASTnode *n, int reg, int parentASTop) { function genpreamble (line 173) | void genpreamble() { function genfreeregs (line 176) | void genfreeregs() { function genprintint (line 179) | void genprintint(int reg) { function genglobsym (line 182) | void genglobsym(int id) { function genprimsize (line 185) | int genprimsize(int type) { FILE: 13_Functions_pt2/lib/printint.c function printint (line 2) | void printint(long x) { FILE: 13_Functions_pt2/main.c function init (line 12) | static void init() { function usage (line 18) | static void usage(char *prog) { function main (line 26) | void main(int argc, char *argv[]) { FILE: 13_Functions_pt2/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function lbrace (line 25) | void lbrace(void) { function rbrace (line 30) | void rbrace(void) { function lparen (line 35) | void lparen(void) { function rparen (line 40) | void rparen(void) { function ident (line 45) | void ident(void) { function fatal (line 50) | void fatal(char *s) { function fatals (line 55) | void fatals(char *s1, char *s2) { function fatald (line 60) | void fatald(char *s, int d) { function fatalc (line 65) | void fatalc(char *s, int c) { FILE: 13_Functions_pt2/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanint (line 53) | static int scanint(int c) { function scanident (line 69) | static int scanident(int c, char *buf, int lim) { function keyword (line 94) | static int keyword(char *s) { type token (line 139) | struct token function reject_token (line 142) | void reject_token(struct token *t) { function scan (line 150) | int scan(struct token *t) { FILE: 13_Functions_pt2/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 28) | struct ASTnode type ASTnode (line 29) | struct ASTnode type ASTnode (line 59) | struct ASTnode type ASTnode (line 60) | struct ASTnode type ASTnode (line 111) | struct ASTnode type ASTnode (line 112) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 144) | struct ASTnode type ASTnode (line 173) | struct ASTnode type ASTnode (line 174) | struct ASTnode type ASTnode (line 175) | struct ASTnode type ASTnode (line 176) | struct ASTnode type ASTnode (line 215) | struct ASTnode type ASTnode (line 216) | struct ASTnode type ASTnode (line 250) | struct ASTnode type ASTnode (line 276) | struct ASTnode type ASTnode (line 277) | struct ASTnode type ASTnode (line 278) | struct ASTnode FILE: 13_Functions_pt2/sym.c function findglob (line 12) | int findglob(char *s) { function newglob (line 24) | static int newglob(void) { function addglob (line 35) | int addglob(char *name, int type, int stype, int endlabel) { FILE: 13_Functions_pt2/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 32) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 37) | struct ASTnode FILE: 13_Functions_pt2/types.c function type_compatible (line 14) | int type_compatible(int *left, int *right, int onlyright) { FILE: 14_ARM_Platform/cg.c function freeall_registers (line 17) | void freeall_registers(void) { function alloc_register (line 23) | static int alloc_register(void) { function free_register (line 36) | static void free_register(int reg) { function cgpreamble (line 43) | void cgpreamble() { function cgpostamble (line 49) | void cgpostamble() { function cgfuncpreamble (line 53) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 64) | void cgfuncpostamble(int id) { function cgloadint (line 72) | int cgloadint(int value, int type) { function cgloadglob (line 82) | int cgloadglob(int id) { function cgadd (line 107) | int cgadd(int r1, int r2) { function cgsub (line 115) | int cgsub(int r1, int r2) { function cgmul (line 123) | int cgmul(int r1, int r2) { function cgdiv (line 131) | int cgdiv(int r1, int r2) { function cgprintint (line 141) | void cgprintint(int r) { function cgcall (line 149) | int cgcall(int r, int id) { function cgstorglob (line 160) | int cgstorglob(int r, int id) { function cgprimsize (line 185) | int cgprimsize(int type) { function cgglobsym (line 193) | void cgglobsym(int id) { function cgcompare_and_set (line 207) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 221) | void cglabel(int l) { function cgjump (line 226) | void cgjump(int l) { function cgcompare_and_jump (line 235) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 250) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 256) | void cgreturn(int reg, int id) { FILE: 14_ARM_Platform/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 158) | int cgadd(int r1, int r2) { function cgsub (line 167) | int cgsub(int r1, int r2) { function cgmul (line 176) | int cgmul(int r1, int r2) { function cgdiv (line 185) | int cgdiv(int r1, int r2) { function cgprintint (line 198) | void cgprintint(int r) { function cgcall (line 207) | int cgcall(int r, int id) { function cgstorglob (line 215) | int cgstorglob(int r, int id) { function cgprimsize (line 240) | int cgprimsize(int type) { function cgglobsym (line 248) | void cgglobsym(int id) { function cgcompare_and_set (line 267) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 282) | void cglabel(int l) { function cgjump (line 287) | void cgjump(int l) { function cgcompare_and_jump (line 296) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 311) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 317) | void cgreturn(int reg, int id) { FILE: 14_ARM_Platform/cgn.c function freeall_registers (line 17) | void freeall_registers(void) { function alloc_register (line 23) | static int alloc_register(void) { function free_register (line 36) | static void free_register(int reg) { function cgpreamble (line 43) | void cgpreamble() { function cgpostamble (line 49) | void cgpostamble() { function cgfuncpreamble (line 53) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 63) | void cgfuncpostamble(int id) { function cgloadint (line 71) | int cgloadint(int value, int type) { function cgloadglob (line 81) | int cgloadglob(int id) { function cgadd (line 107) | int cgadd(int r1, int r2) { function cgsub (line 115) | int cgsub(int r1, int r2) { function cgmul (line 123) | int cgmul(int r1, int r2) { function cgdiv (line 131) | int cgdiv(int r1, int r2) { function cgprintint (line 141) | void cgprintint(int r) { function cgcall (line 149) | int cgcall(int r, int id) { function cgstorglob (line 160) | int cgstorglob(int r, int id) { function cgprimsize (line 183) | int cgprimsize(int type) { function cgglobsym (line 191) | void cgglobsym(int id) { function cgcompare_and_set (line 205) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 219) | void cglabel(int l) { function cgjump (line 224) | void cgjump(int l) { function cgcompare_and_jump (line 233) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 248) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 254) | void cgreturn(int reg, int id) { FILE: 14_ARM_Platform/decl.c function parse_type (line 11) | int parse_type(int t) { function var_declaration (line 27) | void var_declaration(void) { type ASTnode (line 47) | struct ASTnode type ASTnode (line 48) | struct ASTnode FILE: 14_ARM_Platform/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 19) | struct ASTnode type ASTnode (line 53) | struct ASTnode type ASTnode (line 54) | struct ASTnode type ASTnode (line 57) | struct ASTnode type ASTnode (line 78) | struct ASTnode FILE: 14_ARM_Platform/defs.h type token (line 30) | struct token { type ASTnode (line 52) | struct ASTnode { type symtable (line 73) | struct symtable { FILE: 14_ARM_Platform/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 38) | struct ASTnode function arithop (line 84) | static int arithop(int tokentype) { function op_precedence (line 102) | static int op_precedence(int tokentype) { type ASTnode (line 111) | struct ASTnode type ASTnode (line 112) | struct ASTnode FILE: 14_ARM_Platform/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 60) | static int genWHILE(struct ASTnode *n) { function genAST (line 90) | int genAST(struct ASTnode *n, int reg, int parentASTop) { function genpreamble (line 174) | void genpreamble() { function genpostamble (line 177) | void genpostamble() { function genfreeregs (line 180) | void genfreeregs() { function genprintint (line 183) | void genprintint(int reg) { function genglobsym (line 186) | void genglobsym(int id) { function genprimsize (line 189) | int genprimsize(int type) { FILE: 14_ARM_Platform/lib/printint.c function printint (line 2) | void printint(long x) { FILE: 14_ARM_Platform/main.c function init (line 12) | static void init() { function usage (line 19) | static void usage(char *prog) { function main (line 27) | int main(int argc, char *argv[]) { FILE: 14_ARM_Platform/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function lbrace (line 25) | void lbrace(void) { function rbrace (line 30) | void rbrace(void) { function lparen (line 35) | void lparen(void) { function rparen (line 40) | void rparen(void) { function ident (line 45) | void ident(void) { function fatal (line 50) | void fatal(char *s) { function fatals (line 55) | void fatals(char *s1, char *s2) { function fatald (line 60) | void fatald(char *s, int d) { function fatalc (line 65) | void fatalc(char *s, int c) { FILE: 14_ARM_Platform/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanint (line 53) | static int scanint(int c) { function scanident (line 69) | static int scanident(int c, char *buf, int lim) { function keyword (line 94) | static int keyword(char *s) { type token (line 139) | struct token function reject_token (line 142) | void reject_token(struct token *t) { function scan (line 150) | int scan(struct token *t) { FILE: 14_ARM_Platform/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 28) | struct ASTnode type ASTnode (line 29) | struct ASTnode type ASTnode (line 58) | struct ASTnode type ASTnode (line 59) | struct ASTnode type ASTnode (line 110) | struct ASTnode type ASTnode (line 111) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 172) | struct ASTnode type ASTnode (line 173) | struct ASTnode type ASTnode (line 174) | struct ASTnode type ASTnode (line 175) | struct ASTnode type ASTnode (line 214) | struct ASTnode type ASTnode (line 215) | struct ASTnode type ASTnode (line 249) | struct ASTnode type ASTnode (line 276) | struct ASTnode type ASTnode (line 277) | struct ASTnode type ASTnode (line 278) | struct ASTnode FILE: 14_ARM_Platform/sym.c function findglob (line 10) | int findglob(char *s) { function newglob (line 22) | static int newglob(void) { function addglob (line 33) | int addglob(char *name, int type, int stype, int endlabel) { FILE: 14_ARM_Platform/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 32) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 37) | struct ASTnode FILE: 14_ARM_Platform/types.c function type_compatible (line 14) | int type_compatible(int *left, int *right, int onlyright) { FILE: 15_Pointers_pt1/cg.c function freeall_registers (line 17) | void freeall_registers(void) { function alloc_register (line 23) | static int alloc_register(void) { function free_register (line 36) | static void free_register(int reg) { function cgpreamble (line 43) | void cgpreamble() { function cgpostamble (line 49) | void cgpostamble() { function cgfuncpreamble (line 53) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 64) | void cgfuncpostamble(int id) { function cgloadint (line 72) | int cgloadint(int value, int type) { function cgloadglob (line 82) | int cgloadglob(int id) { function cgadd (line 110) | int cgadd(int r1, int r2) { function cgsub (line 118) | int cgsub(int r1, int r2) { function cgmul (line 126) | int cgmul(int r1, int r2) { function cgdiv (line 134) | int cgdiv(int r1, int r2) { function cgprintint (line 144) | void cgprintint(int r) { function cgcall (line 152) | int cgcall(int r, int id) { function cgstorglob (line 163) | int cgstorglob(int r, int id) { function cgprimsize (line 191) | int cgprimsize(int type) { function cgglobsym (line 199) | void cgglobsym(int id) { function cgcompare_and_set (line 213) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 227) | void cglabel(int l) { function cgjump (line 232) | void cgjump(int l) { function cgcompare_and_jump (line 241) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 256) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 262) | void cgreturn(int reg, int id) { function cgaddress (line 283) | int cgaddress(int id) { function cgderef (line 292) | int cgderef(int r, int type) { FILE: 15_Pointers_pt1/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 166) | int cgadd(int r1, int r2) { function cgsub (line 175) | int cgsub(int r1, int r2) { function cgmul (line 184) | int cgmul(int r1, int r2) { function cgdiv (line 193) | int cgdiv(int r1, int r2) { function cgprintint (line 206) | void cgprintint(int r) { function cgcall (line 215) | int cgcall(int r, int id) { function cgstorglob (line 223) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 259) | void cgglobsym(int id) { function cgcompare_and_set (line 278) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 293) | void cglabel(int l) { function cgjump (line 298) | void cgjump(int l) { function cgcompare_and_jump (line 307) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 322) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 328) | void cgreturn(int reg, int id) { function cgaddress (line 335) | int cgaddress(int id) { function cgderef (line 347) | int cgderef(int r, int type) { FILE: 15_Pointers_pt1/cgn.c function freeall_registers (line 17) | void freeall_registers(void) { function alloc_register (line 23) | static int alloc_register(void) { function free_register (line 36) | static void free_register(int reg) { function cgpreamble (line 43) | void cgpreamble() { function cgpostamble (line 49) | void cgpostamble() { function cgfuncpreamble (line 53) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 63) | void cgfuncpostamble(int id) { function cgloadint (line 71) | int cgloadint(int value, int type) { function cgloadglob (line 81) | int cgloadglob(int id) { function cgadd (line 110) | int cgadd(int r1, int r2) { function cgsub (line 118) | int cgsub(int r1, int r2) { function cgmul (line 126) | int cgmul(int r1, int r2) { function cgdiv (line 134) | int cgdiv(int r1, int r2) { function cgprintint (line 144) | void cgprintint(int r) { function cgcall (line 152) | int cgcall(int r, int id) { function cgstorglob (line 163) | int cgstorglob(int r, int id) { function cgprimsize (line 189) | int cgprimsize(int type) { function cgglobsym (line 197) | void cgglobsym(int id) { function cgcompare_and_set (line 211) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 225) | void cglabel(int l) { function cgjump (line 230) | void cgjump(int l) { function cgcompare_and_jump (line 239) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 254) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 260) | void cgreturn(int reg, int id) { function cgaddress (line 280) | int cgaddress(int id) { function cgderef (line 289) | int cgderef(int r, int type) { FILE: 15_Pointers_pt1/decl.c function parse_type (line 12) | int parse_type(void) { function var_declaration (line 47) | void var_declaration(void) { type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode FILE: 15_Pointers_pt1/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 19) | struct ASTnode type ASTnode (line 55) | struct ASTnode type ASTnode (line 56) | struct ASTnode type ASTnode (line 59) | struct ASTnode type ASTnode (line 80) | struct ASTnode FILE: 15_Pointers_pt1/defs.h type token (line 31) | struct token { type ASTnode (line 54) | struct ASTnode { type symtable (line 75) | struct symtable { FILE: 15_Pointers_pt1/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 38) | struct ASTnode function arithop (line 84) | static int arithop(int tokentype) { function op_precedence (line 102) | static int op_precedence(int tokentype) { type ASTnode (line 116) | struct ASTnode type ASTnode (line 117) | struct ASTnode type ASTnode (line 156) | struct ASTnode type ASTnode (line 157) | struct ASTnode FILE: 15_Pointers_pt1/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 60) | static int genWHILE(struct ASTnode *n) { function genAST (line 90) | int genAST(struct ASTnode *n, int reg, int parentASTop) { function genpreamble (line 178) | void genpreamble() { function genpostamble (line 181) | void genpostamble() { function genfreeregs (line 184) | void genfreeregs() { function genprintint (line 187) | void genprintint(int reg) { function genglobsym (line 190) | void genglobsym(int id) { function genprimsize (line 193) | int genprimsize(int type) { FILE: 15_Pointers_pt1/lib/printint.c function printint (line 2) | void printint(long x) { FILE: 15_Pointers_pt1/main.c function init (line 12) | static void init() { function usage (line 19) | static void usage(char *prog) { function main (line 27) | int main(int argc, char *argv[]) { FILE: 15_Pointers_pt1/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function lbrace (line 25) | void lbrace(void) { function rbrace (line 30) | void rbrace(void) { function lparen (line 35) | void lparen(void) { function rparen (line 40) | void rparen(void) { function ident (line 45) | void ident(void) { function fatal (line 50) | void fatal(char *s) { function fatals (line 55) | void fatals(char *s1, char *s2) { function fatald (line 60) | void fatald(char *s, int d) { function fatalc (line 65) | void fatalc(char *s, int c) { FILE: 15_Pointers_pt1/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanint (line 53) | static int scanint(int c) { function scanident (line 69) | static int scanident(int c, char *buf, int lim) { function keyword (line 94) | static int keyword(char *s) { type token (line 139) | struct token function reject_token (line 142) | void reject_token(struct token *t) { function scan (line 150) | int scan(struct token *t) { FILE: 15_Pointers_pt1/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 28) | struct ASTnode type ASTnode (line 29) | struct ASTnode type ASTnode (line 58) | struct ASTnode type ASTnode (line 59) | struct ASTnode type ASTnode (line 110) | struct ASTnode type ASTnode (line 111) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 172) | struct ASTnode type ASTnode (line 173) | struct ASTnode type ASTnode (line 174) | struct ASTnode type ASTnode (line 175) | struct ASTnode type ASTnode (line 214) | struct ASTnode type ASTnode (line 215) | struct ASTnode type ASTnode (line 249) | struct ASTnode type ASTnode (line 276) | struct ASTnode type ASTnode (line 277) | struct ASTnode type ASTnode (line 278) | struct ASTnode FILE: 15_Pointers_pt1/sym.c function findglob (line 10) | int findglob(char *s) { function newglob (line 22) | static int newglob(void) { function addglob (line 33) | int addglob(char *name, int type, int stype, int endlabel) { FILE: 15_Pointers_pt1/tests/input01.c function main (line 1) | void main() FILE: 15_Pointers_pt1/tests/input02.c function main (line 1) | void main() FILE: 15_Pointers_pt1/tests/input03.c function main (line 1) | void main() FILE: 15_Pointers_pt1/tests/input04.c function main (line 1) | void main() FILE: 15_Pointers_pt1/tests/input05.c function main (line 1) | void main() FILE: 15_Pointers_pt1/tests/input06.c function main (line 1) | void main() FILE: 15_Pointers_pt1/tests/input07.c function main (line 1) | void main() FILE: 15_Pointers_pt1/tests/input08.c function main (line 1) | void main() FILE: 15_Pointers_pt1/tests/input09.c function main (line 1) | void main() function fred (line 9) | void fred() FILE: 15_Pointers_pt1/tests/input10.c function main (line 1) | void main() FILE: 15_Pointers_pt1/tests/input11.c function main (line 1) | int main() FILE: 15_Pointers_pt1/tests/input12.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 15_Pointers_pt1/tests/input13.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 15_Pointers_pt1/tests/input14.c function fred (line 1) | int fred() { function main (line 5) | int main() { FILE: 15_Pointers_pt1/tests/input15.c function main (line 1) | int main() { FILE: 15_Pointers_pt1/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 32) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 37) | struct ASTnode FILE: 15_Pointers_pt1/types.c function type_compatible (line 14) | int type_compatible(int *left, int *right, int onlyright) { function pointer_to (line 52) | int pointer_to(int type) { function value_at (line 75) | int value_at(int type) { FILE: 16_Global_Vars/cg.c function freeall_registers (line 17) | void freeall_registers(void) { function alloc_register (line 23) | static int alloc_register(void) { function free_register (line 36) | static void free_register(int reg) { function cgpreamble (line 43) | void cgpreamble() { function cgpostamble (line 49) | void cgpostamble() { function cgfuncpreamble (line 53) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 64) | void cgfuncpostamble(int id) { function cgloadint (line 72) | int cgloadint(int value, int type) { function cgloadglob (line 82) | int cgloadglob(int id) { function cgadd (line 110) | int cgadd(int r1, int r2) { function cgsub (line 118) | int cgsub(int r1, int r2) { function cgmul (line 126) | int cgmul(int r1, int r2) { function cgdiv (line 134) | int cgdiv(int r1, int r2) { function cgprintint (line 144) | void cgprintint(int r) { function cgcall (line 152) | int cgcall(int r, int id) { function cgstorglob (line 163) | int cgstorglob(int r, int id) { function cgprimsize (line 191) | int cgprimsize(int type) { function cgglobsym (line 199) | void cgglobsym(int id) { function cgcompare_and_set (line 213) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 227) | void cglabel(int l) { function cgjump (line 232) | void cgjump(int l) { function cgcompare_and_jump (line 241) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 256) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 262) | void cgreturn(int reg, int id) { function cgaddress (line 283) | int cgaddress(int id) { function cgderef (line 292) | int cgderef(int r, int type) { FILE: 16_Global_Vars/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 166) | int cgadd(int r1, int r2) { function cgsub (line 175) | int cgsub(int r1, int r2) { function cgmul (line 184) | int cgmul(int r1, int r2) { function cgdiv (line 193) | int cgdiv(int r1, int r2) { function cgprintint (line 206) | void cgprintint(int r) { function cgcall (line 215) | int cgcall(int r, int id) { function cgstorglob (line 223) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 259) | void cgglobsym(int id) { function cgcompare_and_set (line 278) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 293) | void cglabel(int l) { function cgjump (line 298) | void cgjump(int l) { function cgcompare_and_jump (line 307) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 322) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 328) | void cgreturn(int reg, int id) { function cgaddress (line 335) | int cgaddress(int id) { function cgderef (line 347) | int cgderef(int r, int type) { FILE: 16_Global_Vars/cgn.c function freeall_registers (line 17) | void freeall_registers(void) { function alloc_register (line 23) | static int alloc_register(void) { function free_register (line 36) | static void free_register(int reg) { function cgpreamble (line 43) | void cgpreamble() { function cgpostamble (line 49) | void cgpostamble() { function cgfuncpreamble (line 53) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 63) | void cgfuncpostamble(int id) { function cgloadint (line 71) | int cgloadint(int value, int type) { function cgloadglob (line 81) | int cgloadglob(int id) { function cgadd (line 110) | int cgadd(int r1, int r2) { function cgsub (line 118) | int cgsub(int r1, int r2) { function cgmul (line 126) | int cgmul(int r1, int r2) { function cgdiv (line 134) | int cgdiv(int r1, int r2) { function cgprintint (line 144) | void cgprintint(int r) { function cgcall (line 152) | int cgcall(int r, int id) { function cgstorglob (line 163) | int cgstorglob(int r, int id) { function cgprimsize (line 189) | int cgprimsize(int type) { function cgglobsym (line 197) | void cgglobsym(int id) { function cgcompare_and_set (line 211) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 225) | void cglabel(int l) { function cgjump (line 230) | void cgjump(int l) { function cgcompare_and_jump (line 239) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 254) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 260) | void cgreturn(int reg, int id) { function cgaddress (line 280) | int cgaddress(int id) { function cgderef (line 289) | int cgderef(int r, int type) { FILE: 16_Global_Vars/decl.c function parse_type (line 31) | int parse_type(void) { function var_declaration (line 67) | void var_declaration(int type) { type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode function global_declarations (line 139) | void global_declarations(void) { FILE: 16_Global_Vars/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 19) | struct ASTnode type ASTnode (line 55) | struct ASTnode type ASTnode (line 56) | struct ASTnode type ASTnode (line 59) | struct ASTnode type ASTnode (line 80) | struct ASTnode FILE: 16_Global_Vars/defs.h type token (line 31) | struct token { type ASTnode (line 54) | struct ASTnode { type symtable (line 75) | struct symtable { FILE: 16_Global_Vars/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 38) | struct ASTnode function arithop (line 84) | static int arithop(int tokentype) { function op_precedence (line 102) | static int op_precedence(int tokentype) { type ASTnode (line 116) | struct ASTnode type ASTnode (line 117) | struct ASTnode type ASTnode (line 156) | struct ASTnode type ASTnode (line 157) | struct ASTnode FILE: 16_Global_Vars/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 60) | static int genWHILE(struct ASTnode *n) { function genAST (line 90) | int genAST(struct ASTnode *n, int reg, int parentASTop) { function genpreamble (line 178) | void genpreamble() { function genpostamble (line 181) | void genpostamble() { function genfreeregs (line 184) | void genfreeregs() { function genprintint (line 187) | void genprintint(int reg) { function genglobsym (line 190) | void genglobsym(int id) { function genprimsize (line 193) | int genprimsize(int type) { FILE: 16_Global_Vars/lib/printint.c function printint (line 2) | void printint(long x) { FILE: 16_Global_Vars/main.c function init (line 12) | static void init() { function usage (line 19) | static void usage(char *prog) { function main (line 27) | int main(int argc, char *argv[]) { FILE: 16_Global_Vars/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function lbrace (line 25) | void lbrace(void) { function rbrace (line 30) | void rbrace(void) { function lparen (line 35) | void lparen(void) { function rparen (line 40) | void rparen(void) { function ident (line 45) | void ident(void) { function fatal (line 50) | void fatal(char *s) { function fatals (line 55) | void fatals(char *s1, char *s2) { function fatald (line 60) | void fatald(char *s, int d) { function fatalc (line 65) | void fatalc(char *s, int c) { FILE: 16_Global_Vars/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanint (line 53) | static int scanint(int c) { function scanident (line 69) | static int scanident(int c, char *buf, int lim) { function keyword (line 94) | static int keyword(char *s) { type token (line 139) | struct token function reject_token (line 142) | void reject_token(struct token *t) { function scan (line 150) | int scan(struct token *t) { FILE: 16_Global_Vars/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 28) | struct ASTnode type ASTnode (line 29) | struct ASTnode type ASTnode (line 58) | struct ASTnode type ASTnode (line 59) | struct ASTnode type ASTnode (line 110) | struct ASTnode type ASTnode (line 111) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 172) | struct ASTnode type ASTnode (line 173) | struct ASTnode type ASTnode (line 174) | struct ASTnode type ASTnode (line 175) | struct ASTnode type ASTnode (line 214) | struct ASTnode type ASTnode (line 215) | struct ASTnode type ASTnode (line 248) | struct ASTnode type ASTnode (line 284) | struct ASTnode type ASTnode (line 285) | struct ASTnode type ASTnode (line 286) | struct ASTnode FILE: 16_Global_Vars/sym.c function findglob (line 10) | int findglob(char *s) { function newglob (line 22) | static int newglob(void) { function addglob (line 33) | int addglob(char *name, int type, int stype, int endlabel) { FILE: 16_Global_Vars/tests/input01.c function main (line 1) | void main() FILE: 16_Global_Vars/tests/input02.c function main (line 1) | void main() FILE: 16_Global_Vars/tests/input03.c function main (line 1) | void main() FILE: 16_Global_Vars/tests/input04.c function main (line 1) | void main() FILE: 16_Global_Vars/tests/input05.c function main (line 1) | void main() FILE: 16_Global_Vars/tests/input06.c function main (line 1) | void main() FILE: 16_Global_Vars/tests/input07.c function main (line 1) | void main() FILE: 16_Global_Vars/tests/input08.c function main (line 1) | void main() FILE: 16_Global_Vars/tests/input09.c function main (line 1) | void main() function fred (line 9) | void fred() FILE: 16_Global_Vars/tests/input10.c function main (line 1) | void main() FILE: 16_Global_Vars/tests/input11.c function main (line 1) | int main() FILE: 16_Global_Vars/tests/input12.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 16_Global_Vars/tests/input13.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 16_Global_Vars/tests/input14.c function fred (line 1) | int fred() { function main (line 5) | int main() { FILE: 16_Global_Vars/tests/input15.c function main (line 1) | int main() { FILE: 16_Global_Vars/tests/input16.c function main (line 4) | int main() { FILE: 16_Global_Vars/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 32) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 37) | struct ASTnode FILE: 16_Global_Vars/types.c function type_compatible (line 14) | int type_compatible(int *left, int *right, int onlyright) { function pointer_to (line 52) | int pointer_to(int type) { function value_at (line 75) | int value_at(int type) { FILE: 17_Scaling_Offsets/cg.c function freeall_registers (line 17) | void freeall_registers(void) { function alloc_register (line 23) | static int alloc_register(void) { function free_register (line 36) | static void free_register(int reg) { function cgpreamble (line 43) | void cgpreamble() { function cgpostamble (line 49) | void cgpostamble() { function cgfuncpreamble (line 53) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 64) | void cgfuncpostamble(int id) { function cgloadint (line 72) | int cgloadint(int value, int type) { function cgloadglob (line 82) | int cgloadglob(int id) { function cgadd (line 110) | int cgadd(int r1, int r2) { function cgsub (line 118) | int cgsub(int r1, int r2) { function cgmul (line 126) | int cgmul(int r1, int r2) { function cgdiv (line 134) | int cgdiv(int r1, int r2) { function cgprintint (line 144) | void cgprintint(int r) { function cgcall (line 152) | int cgcall(int r, int id) { function cgshlconst (line 163) | int cgshlconst(int r, int val) { function cgstorglob (line 169) | int cgstorglob(int r, int id) { function cgprimsize (line 197) | int cgprimsize(int type) { function cgglobsym (line 205) | void cgglobsym(int id) { function cgcompare_and_set (line 225) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 239) | void cglabel(int l) { function cgjump (line 244) | void cgjump(int l) { function cgcompare_and_jump (line 253) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 268) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 274) | void cgreturn(int reg, int id) { function cgaddress (line 295) | int cgaddress(int id) { function cgderef (line 304) | int cgderef(int r, int type) { FILE: 17_Scaling_Offsets/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 166) | int cgadd(int r1, int r2) { function cgsub (line 175) | int cgsub(int r1, int r2) { function cgmul (line 184) | int cgmul(int r1, int r2) { function cgdiv (line 193) | int cgdiv(int r1, int r2) { function cgprintint (line 206) | void cgprintint(int r) { function cgcall (line 215) | int cgcall(int r, int id) { function cgshlconst (line 223) | int cgshlconst(int r, int val) { function cgstorglob (line 229) | int cgstorglob(int r, int id) { function cgprimsize (line 257) | int cgprimsize(int type) { function cgglobsym (line 265) | void cgglobsym(int id) { function cgcompare_and_set (line 289) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 304) | void cglabel(int l) { function cgjump (line 309) | void cgjump(int l) { function cgcompare_and_jump (line 318) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 333) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 339) | void cgreturn(int reg, int id) { function cgaddress (line 346) | int cgaddress(int id) { function cgderef (line 358) | int cgderef(int r, int type) { FILE: 17_Scaling_Offsets/cgn.c function freeall_registers (line 17) | void freeall_registers(void) { function alloc_register (line 23) | static int alloc_register(void) { function free_register (line 36) | static void free_register(int reg) { function cgpreamble (line 43) | void cgpreamble() { function cgpostamble (line 49) | void cgpostamble() { function cgfuncpreamble (line 53) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 63) | void cgfuncpostamble(int id) { function cgloadint (line 71) | int cgloadint(int value, int type) { function cgloadglob (line 81) | int cgloadglob(int id) { function cgadd (line 110) | int cgadd(int r1, int r2) { function cgsub (line 118) | int cgsub(int r1, int r2) { function cgmul (line 126) | int cgmul(int r1, int r2) { function cgdiv (line 134) | int cgdiv(int r1, int r2) { function cgprintint (line 144) | void cgprintint(int r) { function cgcall (line 152) | int cgcall(int r, int id) { function cgshlconst (line 163) | int cgshlconst(int r, int val) { function cgstorglob (line 169) | int cgstorglob(int r, int id) { function cgprimsize (line 195) | int cgprimsize(int type) { function cgglobsym (line 203) | void cgglobsym(int id) { function cgcompare_and_set (line 223) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 237) | void cglabel(int l) { function cgjump (line 242) | void cgjump(int l) { function cgcompare_and_jump (line 251) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 266) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 272) | void cgreturn(int reg, int id) { function cgaddress (line 292) | int cgaddress(int id) { function cgderef (line 301) | int cgderef(int r, int type) { FILE: 17_Scaling_Offsets/decl.c function parse_type (line 12) | int parse_type(void) { function var_declaration (line 48) | void var_declaration(int type) { type ASTnode (line 65) | struct ASTnode type ASTnode (line 66) | struct ASTnode function global_declarations (line 105) | void global_declarations(void) { FILE: 17_Scaling_Offsets/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 19) | struct ASTnode type ASTnode (line 56) | struct ASTnode type ASTnode (line 57) | struct ASTnode type ASTnode (line 60) | struct ASTnode type ASTnode (line 81) | struct ASTnode type ASTnode (line 88) | struct ASTnode type ASTnode (line 88) | struct ASTnode FILE: 17_Scaling_Offsets/defs.h type token (line 31) | struct token { type ASTnode (line 54) | struct ASTnode { type symtable (line 76) | struct symtable { FILE: 17_Scaling_Offsets/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 38) | struct ASTnode function arithop (line 84) | static int arithop(int tokentype) { function op_precedence (line 102) | static int op_precedence(int tokentype) { type ASTnode (line 116) | struct ASTnode type ASTnode (line 117) | struct ASTnode type ASTnode (line 156) | struct ASTnode type ASTnode (line 157) | struct ASTnode type ASTnode (line 158) | struct ASTnode FILE: 17_Scaling_Offsets/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 60) | static int genWHILE(struct ASTnode *n) { function genAST (line 90) | int genAST(struct ASTnode *n, int reg, int parentASTop) { function genpreamble (line 191) | void genpreamble() { function genpostamble (line 194) | void genpostamble() { function genfreeregs (line 197) | void genfreeregs() { function genprintint (line 200) | void genprintint(int reg) { function genglobsym (line 203) | void genglobsym(int id) { function genprimsize (line 206) | int genprimsize(int type) { FILE: 17_Scaling_Offsets/lib/printint.c function printint (line 2) | void printint(long x) { FILE: 17_Scaling_Offsets/main.c function init (line 12) | static void init() { function usage (line 19) | static void usage(char *prog) { function main (line 27) | int main(int argc, char *argv[]) { FILE: 17_Scaling_Offsets/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function lbrace (line 25) | void lbrace(void) { function rbrace (line 30) | void rbrace(void) { function lparen (line 35) | void lparen(void) { function rparen (line 40) | void rparen(void) { function ident (line 45) | void ident(void) { function fatal (line 50) | void fatal(char *s) { function fatals (line 55) | void fatals(char *s1, char *s2) { function fatald (line 60) | void fatald(char *s, int d) { function fatalc (line 65) | void fatalc(char *s, int c) { FILE: 17_Scaling_Offsets/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanint (line 53) | static int scanint(int c) { function scanident (line 69) | static int scanident(int c, char *buf, int lim) { function keyword (line 94) | static int keyword(char *s) { type token (line 139) | struct token function reject_token (line 142) | void reject_token(struct token *t) { function scan (line 150) | int scan(struct token *t) { FILE: 17_Scaling_Offsets/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 28) | struct ASTnode type ASTnode (line 29) | struct ASTnode type ASTnode (line 52) | struct ASTnode type ASTnode (line 53) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 130) | struct ASTnode type ASTnode (line 131) | struct ASTnode type ASTnode (line 160) | struct ASTnode type ASTnode (line 161) | struct ASTnode type ASTnode (line 162) | struct ASTnode type ASTnode (line 163) | struct ASTnode type ASTnode (line 202) | struct ASTnode type ASTnode (line 203) | struct ASTnode type ASTnode (line 230) | struct ASTnode type ASTnode (line 266) | struct ASTnode type ASTnode (line 267) | struct ASTnode type ASTnode (line 268) | struct ASTnode FILE: 17_Scaling_Offsets/sym.c function findglob (line 10) | int findglob(char *s) { function newglob (line 22) | static int newglob(void) { function addglob (line 33) | int addglob(char *name, int type, int stype, int endlabel) { FILE: 17_Scaling_Offsets/tests/input01.c function main (line 1) | void main() FILE: 17_Scaling_Offsets/tests/input02.c function main (line 1) | void main() FILE: 17_Scaling_Offsets/tests/input03.c function main (line 1) | void main() FILE: 17_Scaling_Offsets/tests/input04.c function main (line 1) | void main() FILE: 17_Scaling_Offsets/tests/input05.c function main (line 1) | void main() FILE: 17_Scaling_Offsets/tests/input06.c function main (line 1) | void main() FILE: 17_Scaling_Offsets/tests/input07.c function main (line 1) | void main() FILE: 17_Scaling_Offsets/tests/input08.c function main (line 1) | void main() FILE: 17_Scaling_Offsets/tests/input09.c function main (line 1) | void main() function fred (line 9) | void fred() FILE: 17_Scaling_Offsets/tests/input10.c function main (line 1) | void main() FILE: 17_Scaling_Offsets/tests/input11.c function main (line 1) | int main() FILE: 17_Scaling_Offsets/tests/input12.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 17_Scaling_Offsets/tests/input13.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 17_Scaling_Offsets/tests/input14.c function fred (line 1) | int fred() { function main (line 5) | int main() { FILE: 17_Scaling_Offsets/tests/input15.c function main (line 1) | int main() { FILE: 17_Scaling_Offsets/tests/input16.c function main (line 6) | int main() { FILE: 17_Scaling_Offsets/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 32) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 37) | struct ASTnode FILE: 17_Scaling_Offsets/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 17) | int ptrtype(int type) { function pointer_to (line 26) | int pointer_to(int type) { function value_at (line 49) | int value_at(int type) { type ASTnode (line 76) | struct ASTnode type ASTnode (line 76) | struct ASTnode FILE: 18_Lvalues_Revisited/cg.c function freeall_registers (line 17) | void freeall_registers(void) { function alloc_register (line 23) | static int alloc_register(void) { function free_register (line 36) | static void free_register(int reg) { function cgpreamble (line 43) | void cgpreamble() { function cgpostamble (line 49) | void cgpostamble() { function cgfuncpreamble (line 53) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 64) | void cgfuncpostamble(int id) { function cgloadint (line 72) | int cgloadint(int value, int type) { function cgloadglob (line 82) | int cgloadglob(int id) { function cgadd (line 110) | int cgadd(int r1, int r2) { function cgsub (line 118) | int cgsub(int r1, int r2) { function cgmul (line 126) | int cgmul(int r1, int r2) { function cgdiv (line 134) | int cgdiv(int r1, int r2) { function cgprintint (line 144) | void cgprintint(int r) { function cgcall (line 152) | int cgcall(int r, int id) { function cgshlconst (line 163) | int cgshlconst(int r, int val) { function cgstorglob (line 169) | int cgstorglob(int r, int id) { function cgprimsize (line 197) | int cgprimsize(int type) { function cgglobsym (line 205) | void cgglobsym(int id) { function cgcompare_and_set (line 225) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 239) | void cglabel(int l) { function cgjump (line 244) | void cgjump(int l) { function cgcompare_and_jump (line 253) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 268) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 274) | void cgreturn(int reg, int id) { function cgaddress (line 295) | int cgaddress(int id) { function cgderef (line 304) | int cgderef(int r, int type) { function cgstorderef (line 322) | int cgstorderef(int r1, int r2, int type) { FILE: 18_Lvalues_Revisited/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgprintint (line 212) | void cgprintint(int r) { function cgcall (line 221) | int cgcall(int r, int id) { function cgshlconst (line 229) | int cgshlconst(int r, int val) { function cgstorglob (line 235) | int cgstorglob(int r, int id) { function cgprimsize (line 263) | int cgprimsize(int type) { function cgglobsym (line 271) | void cgglobsym(int id) { function cgcompare_and_set (line 295) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 310) | void cglabel(int l) { function cgjump (line 315) | void cgjump(int l) { function cgcompare_and_jump (line 324) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 339) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 345) | void cgreturn(int reg, int id) { function cgaddress (line 352) | int cgaddress(int id) { function cgderef (line 364) | int cgderef(int r, int type) { function cgstorderef (line 378) | int cgstorderef(int r1, int r2, int type) { FILE: 18_Lvalues_Revisited/cgn.c function freeall_registers (line 17) | void freeall_registers(void) { function alloc_register (line 23) | static int alloc_register(void) { function free_register (line 36) | static void free_register(int reg) { function cgpreamble (line 43) | void cgpreamble() { function cgpostamble (line 49) | void cgpostamble() { function cgfuncpreamble (line 53) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 63) | void cgfuncpostamble(int id) { function cgloadint (line 71) | int cgloadint(int value, int type) { function cgloadglob (line 81) | int cgloadglob(int id) { function cgadd (line 110) | int cgadd(int r1, int r2) { function cgsub (line 118) | int cgsub(int r1, int r2) { function cgmul (line 126) | int cgmul(int r1, int r2) { function cgdiv (line 134) | int cgdiv(int r1, int r2) { function cgprintint (line 144) | void cgprintint(int r) { function cgcall (line 152) | int cgcall(int r, int id) { function cgshlconst (line 163) | int cgshlconst(int r, int val) { function cgstorglob (line 169) | int cgstorglob(int r, int id) { function cgprimsize (line 195) | int cgprimsize(int type) { function cgglobsym (line 203) | void cgglobsym(int id) { function cgcompare_and_set (line 223) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 237) | void cglabel(int l) { function cgjump (line 242) | void cgjump(int l) { function cgcompare_and_jump (line 251) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 266) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 272) | void cgreturn(int reg, int id) { function cgaddress (line 292) | int cgaddress(int id) { function cgderef (line 301) | int cgderef(int r, int type) { function cgstorderef (line 317) | int cgstorderef(int r1, int r2, int type) { FILE: 18_Lvalues_Revisited/decl.c function parse_type (line 12) | int parse_type(void) { function var_declaration (line 48) | void var_declaration(int type) { type ASTnode (line 65) | struct ASTnode type ASTnode (line 66) | struct ASTnode function global_declarations (line 105) | void global_declarations(void) { FILE: 18_Lvalues_Revisited/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 58) | struct ASTnode type ASTnode (line 59) | struct ASTnode type ASTnode (line 62) | struct ASTnode type ASTnode (line 83) | struct ASTnode type ASTnode (line 90) | struct ASTnode type ASTnode (line 90) | struct ASTnode FILE: 18_Lvalues_Revisited/defs.h type token (line 32) | struct token { type ASTnode (line 54) | struct ASTnode { type symtable (line 79) | struct symtable { FILE: 18_Lvalues_Revisited/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 38) | struct ASTnode function binastop (line 84) | static int binastop(int tokentype) { function rightassoc (line 93) | static int rightassoc(int tokentype) { function op_precedence (line 111) | static int op_precedence(int tokentype) { type ASTnode (line 125) | struct ASTnode type ASTnode (line 126) | struct ASTnode type ASTnode (line 165) | struct ASTnode type ASTnode (line 166) | struct ASTnode type ASTnode (line 167) | struct ASTnode FILE: 18_Lvalues_Revisited/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genAST (line 86) | int genAST(struct ASTnode *n, int label, int parentASTop) { function genpreamble (line 195) | void genpreamble() { function genpostamble (line 198) | void genpostamble() { function genfreeregs (line 201) | void genfreeregs() { function genprintint (line 204) | void genprintint(int reg) { function genglobsym (line 207) | void genglobsym(int id) { function genprimsize (line 210) | int genprimsize(int type) { FILE: 18_Lvalues_Revisited/lib/printint.c function printint (line 2) | void printint(long x) { FILE: 18_Lvalues_Revisited/main.c function init (line 12) | static void init() { function usage (line 20) | static void usage(char *prog) { function main (line 28) | int main(int argc, char *argv[]) { FILE: 18_Lvalues_Revisited/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function lbrace (line 25) | void lbrace(void) { function rbrace (line 30) | void rbrace(void) { function lparen (line 35) | void lparen(void) { function rparen (line 40) | void rparen(void) { function ident (line 45) | void ident(void) { function fatal (line 50) | void fatal(char *s) { function fatals (line 55) | void fatals(char *s1, char *s2) { function fatald (line 60) | void fatald(char *s, int d) { function fatalc (line 65) | void fatalc(char *s, int c) { FILE: 18_Lvalues_Revisited/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanint (line 53) | static int scanint(int c) { function scanident (line 69) | static int scanident(int c, char *buf, int lim) { function keyword (line 94) | static int keyword(char *s) { type token (line 135) | struct token function reject_token (line 138) | void reject_token(struct token *t) { function scan (line 146) | int scan(struct token *t) { FILE: 18_Lvalues_Revisited/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 66) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 96) | struct ASTnode type ASTnode (line 97) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 138) | struct ASTnode type ASTnode (line 139) | struct ASTnode type ASTnode (line 166) | struct ASTnode type ASTnode (line 200) | struct ASTnode type ASTnode (line 201) | struct ASTnode type ASTnode (line 202) | struct ASTnode FILE: 18_Lvalues_Revisited/sym.c function findglob (line 10) | int findglob(char *s) { function newglob (line 22) | static int newglob(void) { function addglob (line 33) | int addglob(char *name, int type, int stype, int endlabel) { FILE: 18_Lvalues_Revisited/tests/input01.c function main (line 1) | void main() FILE: 18_Lvalues_Revisited/tests/input02.c function main (line 1) | void main() FILE: 18_Lvalues_Revisited/tests/input03.c function main (line 1) | void main() FILE: 18_Lvalues_Revisited/tests/input04.c function main (line 1) | void main() FILE: 18_Lvalues_Revisited/tests/input05.c function main (line 1) | void main() FILE: 18_Lvalues_Revisited/tests/input06.c function main (line 1) | void main() FILE: 18_Lvalues_Revisited/tests/input07.c function main (line 1) | void main() FILE: 18_Lvalues_Revisited/tests/input08.c function main (line 1) | void main() FILE: 18_Lvalues_Revisited/tests/input09.c function main (line 1) | void main() function fred (line 9) | void fred() FILE: 18_Lvalues_Revisited/tests/input10.c function main (line 1) | void main() FILE: 18_Lvalues_Revisited/tests/input11.c function main (line 1) | int main() FILE: 18_Lvalues_Revisited/tests/input12.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 18_Lvalues_Revisited/tests/input13.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 18_Lvalues_Revisited/tests/input14.c function fred (line 1) | int fred() { function main (line 5) | int main() { FILE: 18_Lvalues_Revisited/tests/input15.c function main (line 1) | int main() { FILE: 18_Lvalues_Revisited/tests/input16.c function main (line 6) | int main() { FILE: 18_Lvalues_Revisited/tests/input17.c function main (line 1) | int main() { FILE: 18_Lvalues_Revisited/tests/input18.c function main (line 1) | int main() FILE: 18_Lvalues_Revisited/tests/input18a.c function main (line 6) | int main() FILE: 18_Lvalues_Revisited/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 32) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 37) | struct ASTnode function gendumplabel (line 44) | static int gendumplabel(void) { function dumpAST (line 51) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 18_Lvalues_Revisited/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 17) | int ptrtype(int type) { function pointer_to (line 26) | int pointer_to(int type) { function value_at (line 49) | int value_at(int type) { type ASTnode (line 76) | struct ASTnode type ASTnode (line 76) | struct ASTnode FILE: 19_Arrays_pt1/cg.c function freeall_registers (line 17) | void freeall_registers(void) { function alloc_register (line 23) | static int alloc_register(void) { function free_register (line 36) | static void free_register(int reg) { function cgpreamble (line 43) | void cgpreamble() { function cgpostamble (line 49) | void cgpostamble() { function cgfuncpreamble (line 53) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 64) | void cgfuncpostamble(int id) { function cgloadint (line 72) | int cgloadint(int value, int type) { function cgloadglob (line 82) | int cgloadglob(int id) { function cgadd (line 110) | int cgadd(int r1, int r2) { function cgsub (line 118) | int cgsub(int r1, int r2) { function cgmul (line 126) | int cgmul(int r1, int r2) { function cgdiv (line 134) | int cgdiv(int r1, int r2) { function cgcall (line 145) | int cgcall(int r, int id) { function cgshlconst (line 156) | int cgshlconst(int r, int val) { function cgstorglob (line 162) | int cgstorglob(int r, int id) { function cgprimsize (line 190) | int cgprimsize(int type) { function cgglobsym (line 198) | void cgglobsym(int id) { function cgcompare_and_set (line 224) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 238) | void cglabel(int l) { function cgjump (line 243) | void cgjump(int l) { function cgcompare_and_jump (line 252) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 267) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 273) | void cgreturn(int reg, int id) { function cgaddress (line 294) | int cgaddress(int id) { function cgderef (line 303) | int cgderef(int r, int type) { function cgstorderef (line 321) | int cgstorderef(int r1, int r2, int type) { FILE: 19_Arrays_pt1/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 255) | int cgprimsize(int type) { function cgglobsym (line 263) | void cgglobsym(int id) { function cgcompare_and_set (line 287) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 302) | void cglabel(int l) { function cgjump (line 307) | void cgjump(int l) { function cgcompare_and_jump (line 316) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 331) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 337) | void cgreturn(int reg, int id) { function cgaddress (line 344) | int cgaddress(int id) { function cgderef (line 356) | int cgderef(int r, int type) { function cgstorderef (line 370) | int cgstorderef(int r1, int r2, int type) { FILE: 19_Arrays_pt1/cgn.c function freeall_registers (line 17) | void freeall_registers(void) { function alloc_register (line 23) | static int alloc_register(void) { function free_register (line 36) | static void free_register(int reg) { function cgpreamble (line 43) | void cgpreamble() { function cgpostamble (line 49) | void cgpostamble() { function cgfuncpreamble (line 53) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 63) | void cgfuncpostamble(int id) { function cgloadint (line 71) | int cgloadint(int value, int type) { function cgloadglob (line 81) | int cgloadglob(int id) { function cgadd (line 110) | int cgadd(int r1, int r2) { function cgsub (line 118) | int cgsub(int r1, int r2) { function cgmul (line 126) | int cgmul(int r1, int r2) { function cgdiv (line 134) | int cgdiv(int r1, int r2) { function cgcall (line 145) | int cgcall(int r, int id) { function cgshlconst (line 156) | int cgshlconst(int r, int val) { function cgstorglob (line 162) | int cgstorglob(int r, int id) { function cgprimsize (line 188) | int cgprimsize(int type) { function cgglobsym (line 196) | void cgglobsym(int id) { function cgcompare_and_set (line 232) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 246) | void cglabel(int l) { function cgjump (line 251) | void cgjump(int l) { function cgcompare_and_jump (line 260) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 275) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 281) | void cgreturn(int reg, int id) { function cgaddress (line 301) | int cgaddress(int id) { function cgderef (line 310) | int cgderef(int r, int type) { function cgstorderef (line 326) | int cgstorderef(int r1, int r2, int type) { FILE: 19_Arrays_pt1/decl.c function parse_type (line 12) | int parse_type(void) { function var_declaration (line 51) | void var_declaration(int type) { type ASTnode (line 87) | struct ASTnode type ASTnode (line 88) | struct ASTnode function global_declarations (line 127) | void global_declarations(void) { FILE: 19_Arrays_pt1/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 56) | struct ASTnode type ASTnode (line 59) | struct ASTnode type ASTnode (line 80) | struct ASTnode type ASTnode (line 88) | struct ASTnode type ASTnode (line 88) | struct ASTnode FILE: 19_Arrays_pt1/defs.h type token (line 33) | struct token { type ASTnode (line 55) | struct ASTnode { type symtable (line 80) | struct symtable { FILE: 19_Arrays_pt1/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 38) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 75) | struct ASTnode function binastop (line 135) | static int binastop(int tokentype) { function rightassoc (line 144) | static int rightassoc(int tokentype) { function op_precedence (line 162) | static int op_precedence(int tokentype) { type ASTnode (line 179) | struct ASTnode type ASTnode (line 180) | struct ASTnode type ASTnode (line 219) | struct ASTnode type ASTnode (line 220) | struct ASTnode type ASTnode (line 221) | struct ASTnode FILE: 19_Arrays_pt1/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genAST (line 86) | int genAST(struct ASTnode *n, int label, int parentASTop) { function genpreamble (line 195) | void genpreamble() { function genpostamble (line 198) | void genpostamble() { function genfreeregs (line 201) | void genfreeregs() { function genglobsym (line 204) | void genglobsym(int id) { function genprimsize (line 207) | int genprimsize(int type) { FILE: 19_Arrays_pt1/lib/printint.c function printint (line 2) | void printint(long x) { FILE: 19_Arrays_pt1/main.c function init (line 12) | static void init() { function usage (line 20) | static void usage(char *prog) { function main (line 28) | int main(int argc, char *argv[]) { FILE: 19_Arrays_pt1/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function lbrace (line 25) | void lbrace(void) { function rbrace (line 30) | void rbrace(void) { function lparen (line 35) | void lparen(void) { function rparen (line 40) | void rparen(void) { function ident (line 45) | void ident(void) { function fatal (line 50) | void fatal(char *s) { function fatals (line 55) | void fatals(char *s1, char *s2) { function fatald (line 60) | void fatald(char *s, int d) { function fatalc (line 65) | void fatalc(char *s, int c) { FILE: 19_Arrays_pt1/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanint (line 53) | static int scanint(int c) { function scanident (line 69) | static int scanident(int c, char *buf, int lim) { function keyword (line 94) | static int keyword(char *s) { type token (line 135) | struct token function reject_token (line 138) | void reject_token(struct token *t) { function scan (line 146) | int scan(struct token *t) { FILE: 19_Arrays_pt1/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 66) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 96) | struct ASTnode type ASTnode (line 97) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 138) | struct ASTnode type ASTnode (line 139) | struct ASTnode type ASTnode (line 166) | struct ASTnode type ASTnode (line 200) | struct ASTnode type ASTnode (line 201) | struct ASTnode type ASTnode (line 202) | struct ASTnode FILE: 19_Arrays_pt1/sym.c function findglob (line 10) | int findglob(char *s) { function newglob (line 22) | static int newglob(void) { function addglob (line 36) | int addglob(char *name, int type, int stype, int endlabel, int size) { FILE: 19_Arrays_pt1/tests/input01.c function main (line 1) | void main() FILE: 19_Arrays_pt1/tests/input02.c function main (line 1) | void main() FILE: 19_Arrays_pt1/tests/input03.c function main (line 1) | void main() FILE: 19_Arrays_pt1/tests/input04.c function main (line 1) | void main() FILE: 19_Arrays_pt1/tests/input05.c function main (line 1) | void main() FILE: 19_Arrays_pt1/tests/input06.c function main (line 1) | void main() FILE: 19_Arrays_pt1/tests/input07.c function main (line 1) | void main() FILE: 19_Arrays_pt1/tests/input08.c function main (line 1) | void main() FILE: 19_Arrays_pt1/tests/input09.c function main (line 1) | void main() function fred (line 9) | void fred() FILE: 19_Arrays_pt1/tests/input10.c function main (line 1) | void main() FILE: 19_Arrays_pt1/tests/input11.c function main (line 1) | int main() FILE: 19_Arrays_pt1/tests/input12.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 19_Arrays_pt1/tests/input13.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 19_Arrays_pt1/tests/input14.c function fred (line 1) | int fred() { function main (line 5) | int main() { FILE: 19_Arrays_pt1/tests/input15.c function main (line 1) | int main() { FILE: 19_Arrays_pt1/tests/input16.c function main (line 6) | int main() { FILE: 19_Arrays_pt1/tests/input17.c function main (line 1) | int main() { FILE: 19_Arrays_pt1/tests/input18.c function main (line 1) | int main() FILE: 19_Arrays_pt1/tests/input18a.c function main (line 6) | int main() FILE: 19_Arrays_pt1/tests/input19.c function main (line 6) | int main() FILE: 19_Arrays_pt1/tests/input20.c function main (line 4) | int main() { FILE: 19_Arrays_pt1/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 32) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 37) | struct ASTnode function gendumplabel (line 44) | static int gendumplabel(void) { function dumpAST (line 51) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 19_Arrays_pt1/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 17) | int ptrtype(int type) { function pointer_to (line 26) | int pointer_to(int type) { function value_at (line 49) | int value_at(int type) { type ASTnode (line 76) | struct ASTnode type ASTnode (line 76) | struct ASTnode FILE: 20_Char_Str_Literals/cg.c function freeall_registers (line 17) | void freeall_registers(void) { function alloc_register (line 23) | static int alloc_register(void) { function free_register (line 36) | static void free_register(int reg) { function cgpreamble (line 43) | void cgpreamble() { function cgpostamble (line 49) | void cgpostamble() { function cgfuncpreamble (line 53) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 64) | void cgfuncpostamble(int id) { function cgloadint (line 72) | int cgloadint(int value, int type) { function cgloadglob (line 82) | int cgloadglob(int id) { function cgloadglobstr (line 110) | int cgloadglobstr(int id) { function cgadd (line 119) | int cgadd(int r1, int r2) { function cgsub (line 127) | int cgsub(int r1, int r2) { function cgmul (line 135) | int cgmul(int r1, int r2) { function cgdiv (line 143) | int cgdiv(int r1, int r2) { function cgcall (line 154) | int cgcall(int r, int id) { function cgshlconst (line 165) | int cgshlconst(int r, int val) { function cgstorglob (line 171) | int cgstorglob(int r, int id) { function cgprimsize (line 199) | int cgprimsize(int type) { function cgglobsym (line 207) | void cgglobsym(int id) { function cgglobstr (line 228) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 243) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 257) | void cglabel(int l) { function cgjump (line 262) | void cgjump(int l) { function cgcompare_and_jump (line 271) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 286) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 292) | void cgreturn(int reg, int id) { function cgaddress (line 313) | int cgaddress(int id) { function cgderef (line 322) | int cgderef(int r, int type) { function cgstorderef (line 340) | int cgstorderef(int r1, int r2, int type) { FILE: 20_Char_Str_Literals/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 255) | int cgprimsize(int type) { function cgglobsym (line 263) | void cgglobsym(int id) { function cgcompare_and_set (line 287) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 302) | void cglabel(int l) { function cgjump (line 307) | void cgjump(int l) { function cgcompare_and_jump (line 316) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 331) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 337) | void cgreturn(int reg, int id) { function cgaddress (line 344) | int cgaddress(int id) { function cgderef (line 356) | int cgderef(int r, int type) { function cgstorderef (line 370) | int cgstorderef(int r1, int r2, int type) { FILE: 20_Char_Str_Literals/cgn.c function freeall_registers (line 17) | void freeall_registers(void) { function alloc_register (line 23) | static int alloc_register(void) { function free_register (line 36) | static void free_register(int reg) { function cgpreamble (line 43) | void cgpreamble() { function cgpostamble (line 50) | void cgpostamble() { function cgfuncpreamble (line 54) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 64) | void cgfuncpostamble(int id) { function cgloadint (line 72) | int cgloadint(int value, int type) { function cgloadglob (line 82) | int cgloadglob(int id) { function cgloadglobstr (line 111) | int cgloadglobstr(int id) { function cgadd (line 120) | int cgadd(int r1, int r2) { function cgsub (line 128) | int cgsub(int r1, int r2) { function cgmul (line 136) | int cgmul(int r1, int r2) { function cgdiv (line 144) | int cgdiv(int r1, int r2) { function cgcall (line 155) | int cgcall(int r, int id) { function cgshlconst (line 166) | int cgshlconst(int r, int val) { function cgstorglob (line 172) | int cgstorglob(int r, int id) { function cgprimsize (line 198) | int cgprimsize(int type) { function cgglobsym (line 206) | void cgglobsym(int id) { function cgglobstr (line 237) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 291) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 305) | void cglabel(int l) { function cgjump (line 310) | void cgjump(int l) { function cgcompare_and_jump (line 319) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 334) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 340) | void cgreturn(int reg, int id) { function cgaddress (line 360) | int cgaddress(int id) { function cgderef (line 369) | int cgderef(int r, int type) { function cgstorderef (line 385) | int cgstorderef(int r1, int r2, int type) { FILE: 20_Char_Str_Literals/decl.c function parse_type (line 12) | int parse_type(void) { function var_declaration (line 51) | void var_declaration(int type) { type ASTnode (line 87) | struct ASTnode type ASTnode (line 88) | struct ASTnode function global_declarations (line 127) | void global_declarations(void) { FILE: 20_Char_Str_Literals/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 59) | struct ASTnode type ASTnode (line 62) | struct ASTnode type ASTnode (line 83) | struct ASTnode type ASTnode (line 91) | struct ASTnode type ASTnode (line 91) | struct ASTnode FILE: 20_Char_Str_Literals/defs.h type token (line 32) | struct token { type ASTnode (line 54) | struct ASTnode { type symtable (line 79) | struct symtable { FILE: 20_Char_Str_Literals/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 38) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 75) | struct ASTnode function binastop (line 142) | static int binastop(int tokentype) { function rightassoc (line 151) | static int rightassoc(int tokentype) { function op_precedence (line 169) | static int op_precedence(int tokentype) { type ASTnode (line 186) | struct ASTnode type ASTnode (line 187) | struct ASTnode type ASTnode (line 226) | struct ASTnode type ASTnode (line 227) | struct ASTnode type ASTnode (line 228) | struct ASTnode FILE: 20_Char_Str_Literals/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genAST (line 86) | int genAST(struct ASTnode *n, int label, int parentASTop) { function genpreamble (line 197) | void genpreamble() { function genpostamble (line 200) | void genpostamble() { function genfreeregs (line 203) | void genfreeregs() { function genglobsym (line 206) | void genglobsym(int id) { function genglobstr (line 209) | int genglobstr(char *strvalue) { function genprimsize (line 214) | int genprimsize(int type) { FILE: 20_Char_Str_Literals/lib/printint.c function printint (line 2) | void printint(long x) { function printchar (line 6) | void printchar(long x) { FILE: 20_Char_Str_Literals/main.c function init (line 12) | static void init() { function usage (line 20) | static void usage(char *prog) { function main (line 28) | int main(int argc, char *argv[]) { FILE: 20_Char_Str_Literals/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function lbrace (line 25) | void lbrace(void) { function rbrace (line 30) | void rbrace(void) { function lparen (line 35) | void lparen(void) { function rparen (line 40) | void rparen(void) { function ident (line 45) | void ident(void) { function fatal (line 50) | void fatal(char *s) { function fatals (line 55) | void fatals(char *s1, char *s2) { function fatald (line 60) | void fatald(char *s, int d) { function fatalc (line 65) | void fatalc(char *s, int c) { FILE: 20_Char_Str_Literals/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanch (line 53) | static int scanch(void) { function scanint (line 90) | static int scanint(int c) { function scanstr (line 107) | static int scanstr(char *buf) { function scanident (line 127) | static int scanident(int c, char *buf, int lim) { function keyword (line 152) | static int keyword(char *s) { type token (line 193) | struct token function reject_token (line 196) | void reject_token(struct token *t) { function scan (line 204) | int scan(struct token *t) { FILE: 20_Char_Str_Literals/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 66) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 96) | struct ASTnode type ASTnode (line 97) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 138) | struct ASTnode type ASTnode (line 139) | struct ASTnode type ASTnode (line 166) | struct ASTnode type ASTnode (line 200) | struct ASTnode type ASTnode (line 201) | struct ASTnode type ASTnode (line 202) | struct ASTnode FILE: 20_Char_Str_Literals/sym.c function findglob (line 10) | int findglob(char *s) { function newglob (line 22) | static int newglob(void) { function addglob (line 36) | int addglob(char *name, int type, int stype, int endlabel, int size) { FILE: 20_Char_Str_Literals/tests/input01.c function main (line 1) | void main() FILE: 20_Char_Str_Literals/tests/input02.c function main (line 1) | void main() FILE: 20_Char_Str_Literals/tests/input03.c function main (line 1) | void main() FILE: 20_Char_Str_Literals/tests/input04.c function main (line 1) | void main() FILE: 20_Char_Str_Literals/tests/input05.c function main (line 1) | void main() FILE: 20_Char_Str_Literals/tests/input06.c function main (line 1) | void main() FILE: 20_Char_Str_Literals/tests/input07.c function main (line 1) | void main() FILE: 20_Char_Str_Literals/tests/input08.c function main (line 1) | void main() FILE: 20_Char_Str_Literals/tests/input09.c function main (line 1) | void main() function fred (line 9) | void fred() FILE: 20_Char_Str_Literals/tests/input10.c function main (line 1) | void main() FILE: 20_Char_Str_Literals/tests/input11.c function main (line 1) | int main() FILE: 20_Char_Str_Literals/tests/input12.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 20_Char_Str_Literals/tests/input13.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 20_Char_Str_Literals/tests/input14.c function fred (line 1) | int fred() { function main (line 5) | int main() { FILE: 20_Char_Str_Literals/tests/input15.c function main (line 1) | int main() { FILE: 20_Char_Str_Literals/tests/input16.c function main (line 6) | int main() { FILE: 20_Char_Str_Literals/tests/input17.c function main (line 1) | int main() { FILE: 20_Char_Str_Literals/tests/input18.c function main (line 1) | int main() FILE: 20_Char_Str_Literals/tests/input18a.c function main (line 6) | int main() FILE: 20_Char_Str_Literals/tests/input19.c function main (line 6) | int main() FILE: 20_Char_Str_Literals/tests/input20.c function main (line 4) | int main() { FILE: 20_Char_Str_Literals/tests/input21.c function main (line 4) | int main() { FILE: 20_Char_Str_Literals/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 32) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 37) | struct ASTnode function gendumplabel (line 44) | static int gendumplabel(void) { function dumpAST (line 51) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 20_Char_Str_Literals/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 17) | int ptrtype(int type) { function pointer_to (line 26) | int pointer_to(int type) { function value_at (line 49) | int value_at(int type) { type ASTnode (line 76) | struct ASTnode type ASTnode (line 76) | struct ASTnode FILE: 21_More_Operators/cg.c function freeall_registers (line 17) | void freeall_registers(void) { function alloc_register (line 23) | static int alloc_register(void) { function free_register (line 36) | static void free_register(int reg) { function cgpreamble (line 43) | void cgpreamble() { function cgpostamble (line 49) | void cgpostamble() { function cgfuncpreamble (line 53) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 64) | void cgfuncpostamble(int id) { function cgloadint (line 72) | int cgloadint(int value, int type) { function cgloadglob (line 84) | int cgloadglob(int id, int op) { function cgloadglobstr (line 136) | int cgloadglobstr(int id) { function cgadd (line 145) | int cgadd(int r1, int r2) { function cgsub (line 153) | int cgsub(int r1, int r2) { function cgmul (line 161) | int cgmul(int r1, int r2) { function cgdiv (line 169) | int cgdiv(int r1, int r2) { function cgand (line 178) | int cgand(int r1, int r2) { function cgor (line 184) | int cgor(int r1, int r2) { function cgxor (line 190) | int cgxor(int r1, int r2) { function cgshl (line 196) | int cgshl(int r1, int r2) { function cgshr (line 203) | int cgshr(int r1, int r2) { function cgnegate (line 211) | int cgnegate(int r) { function cginvert (line 217) | int cginvert(int r) { function cglognot (line 223) | int cglognot(int r) { function cgboolean (line 232) | int cgboolean(int r, int op, int label) { function cgcall (line 245) | int cgcall(int r, int id) { function cgshlconst (line 256) | int cgshlconst(int r, int val) { function cgstorglob (line 262) | int cgstorglob(int r, int id) { function cgprimsize (line 290) | int cgprimsize(int type) { function cgglobsym (line 298) | void cgglobsym(int id) { function cgglobstr (line 326) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 341) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 355) | void cglabel(int l) { function cgjump (line 360) | void cgjump(int l) { function cgcompare_and_jump (line 369) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 384) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 390) | void cgreturn(int reg, int id) { function cgaddress (line 411) | int cgaddress(int id) { function cgderef (line 420) | int cgderef(int r, int type) { function cgstorderef (line 438) | int cgstorderef(int r1, int r2, int type) { FILE: 21_More_Operators/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 255) | int cgprimsize(int type) { function cgglobsym (line 263) | void cgglobsym(int id) { function cgcompare_and_set (line 292) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 307) | void cglabel(int l) { function cgjump (line 312) | void cgjump(int l) { function cgcompare_and_jump (line 321) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 336) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 342) | void cgreturn(int reg, int id) { function cgaddress (line 349) | int cgaddress(int id) { function cgderef (line 361) | int cgderef(int r, int type) { function cgstorderef (line 375) | int cgstorderef(int r1, int r2, int type) { FILE: 21_More_Operators/cgn.c function freeall_registers (line 17) | void freeall_registers(void) { function alloc_register (line 23) | static int alloc_register(void) { function free_register (line 36) | static void free_register(int reg) { function cgpreamble (line 43) | void cgpreamble() { function cgpostamble (line 50) | void cgpostamble() { function cgfuncpreamble (line 54) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 64) | void cgfuncpostamble(int id) { function cgloadint (line 72) | int cgloadint(int value, int type) { function cgloadglob (line 84) | int cgloadglob(int id, int op) { function cgloadglobstr (line 137) | int cgloadglobstr(int id) { function cgadd (line 146) | int cgadd(int r1, int r2) { function cgsub (line 154) | int cgsub(int r1, int r2) { function cgmul (line 162) | int cgmul(int r1, int r2) { function cgdiv (line 170) | int cgdiv(int r1, int r2) { function cgand (line 179) | int cgand(int r1, int r2) { function cgor (line 185) | int cgor(int r1, int r2) { function cgxor (line 191) | int cgxor(int r1, int r2) { function cgshl (line 197) | int cgshl(int r1, int r2) { function cgshr (line 204) | int cgshr(int r1, int r2) { function cgnegate (line 212) | int cgnegate(int r) { function cginvert (line 218) | int cginvert(int r) { function cglognot (line 224) | int cglognot(int r) { function cgboolean (line 233) | int cgboolean(int r, int op, int label) { function cgcall (line 246) | int cgcall(int r, int id) { function cgshlconst (line 257) | int cgshlconst(int r, int val) { function cgstorglob (line 263) | int cgstorglob(int r, int id) { function cgprimsize (line 289) | int cgprimsize(int type) { function cgglobsym (line 297) | void cgglobsym(int id) { function cgglobstr (line 342) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 396) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 410) | void cglabel(int l) { function cgjump (line 415) | void cgjump(int l) { function cgcompare_and_jump (line 424) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 439) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 445) | void cgreturn(int reg, int id) { function cgaddress (line 465) | int cgaddress(int id) { function cgderef (line 474) | int cgderef(int r, int type) { function cgstorderef (line 491) | int cgstorderef(int r1, int r2, int type) { FILE: 21_More_Operators/decl.c function parse_type (line 12) | int parse_type(void) { function var_declaration (line 51) | void var_declaration(int type) { type ASTnode (line 86) | struct ASTnode type ASTnode (line 87) | struct ASTnode function global_declarations (line 126) | void global_declarations(void) { FILE: 21_More_Operators/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 71) | struct ASTnode type ASTnode (line 92) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 100) | struct ASTnode FILE: 21_More_Operators/defs.h type token (line 40) | struct token { type ASTnode (line 65) | struct ASTnode { type symtable (line 90) | struct symtable { FILE: 21_More_Operators/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 38) | struct ASTnode type ASTnode (line 75) | struct ASTnode type ASTnode (line 76) | struct ASTnode type ASTnode (line 117) | struct ASTnode type ASTnode (line 118) | struct ASTnode function binastop (line 160) | static int binastop(int tokentype) { function rightassoc (line 169) | static int rightassoc(int tokentype) { function op_precedence (line 189) | static int op_precedence(int tokentype) { type ASTnode (line 209) | struct ASTnode type ASTnode (line 210) | struct ASTnode type ASTnode (line 310) | struct ASTnode type ASTnode (line 311) | struct ASTnode type ASTnode (line 312) | struct ASTnode FILE: 21_More_Operators/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genAST (line 86) | int genAST(struct ASTnode *n, int label, int parentASTop) { function genpreamble (line 238) | void genpreamble() { function genpostamble (line 241) | void genpostamble() { function genfreeregs (line 244) | void genfreeregs() { function genglobsym (line 247) | void genglobsym(int id) { function genglobstr (line 250) | int genglobstr(char *strvalue) { function genprimsize (line 255) | int genprimsize(int type) { FILE: 21_More_Operators/lib/printint.c function printint (line 2) | void printint(long x) { function printchar (line 6) | void printchar(long x) { FILE: 21_More_Operators/main.c function init (line 12) | static void init() { function usage (line 20) | static void usage(char *prog) { function main (line 28) | int main(int argc, char *argv[]) { FILE: 21_More_Operators/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function lbrace (line 25) | void lbrace(void) { function rbrace (line 30) | void rbrace(void) { function lparen (line 35) | void lparen(void) { function rparen (line 40) | void rparen(void) { function ident (line 45) | void ident(void) { function fatal (line 50) | void fatal(char *s) { function fatals (line 55) | void fatals(char *s1, char *s2) { function fatald (line 60) | void fatald(char *s, int d) { function fatalc (line 65) | void fatalc(char *s, int c) { FILE: 21_More_Operators/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanch (line 53) | static int scanch(void) { function scanint (line 90) | static int scanint(int c) { function scanstr (line 107) | static int scanstr(char *buf) { function scanident (line 127) | static int scanident(int c, char *buf, int lim) { function keyword (line 152) | static int keyword(char *s) { type token (line 193) | struct token function reject_token (line 196) | void reject_token(struct token *t) { function scan (line 204) | int scan(struct token *t) { FILE: 21_More_Operators/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 170) | struct ASTnode type ASTnode (line 204) | struct ASTnode type ASTnode (line 205) | struct ASTnode type ASTnode (line 206) | struct ASTnode FILE: 21_More_Operators/sym.c function findglob (line 10) | int findglob(char *s) { function newglob (line 22) | static int newglob(void) { function addglob (line 36) | int addglob(char *name, int type, int stype, int endlabel, int size) { FILE: 21_More_Operators/tests/input01.c function main (line 1) | void main() FILE: 21_More_Operators/tests/input02.c function main (line 1) | void main() FILE: 21_More_Operators/tests/input03.c function main (line 1) | void main() FILE: 21_More_Operators/tests/input04.c function main (line 1) | void main() FILE: 21_More_Operators/tests/input05.c function main (line 1) | void main() FILE: 21_More_Operators/tests/input06.c function main (line 1) | void main() FILE: 21_More_Operators/tests/input07.c function main (line 1) | void main() FILE: 21_More_Operators/tests/input08.c function main (line 1) | void main() FILE: 21_More_Operators/tests/input09.c function main (line 1) | void main() function fred (line 9) | void fred() FILE: 21_More_Operators/tests/input10.c function main (line 1) | void main() FILE: 21_More_Operators/tests/input11.c function main (line 1) | int main() FILE: 21_More_Operators/tests/input12.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 21_More_Operators/tests/input13.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 21_More_Operators/tests/input14.c function fred (line 1) | int fred() { function main (line 5) | int main() { FILE: 21_More_Operators/tests/input15.c function main (line 1) | int main() { FILE: 21_More_Operators/tests/input16.c function main (line 6) | int main() { FILE: 21_More_Operators/tests/input17.c function main (line 1) | int main() { FILE: 21_More_Operators/tests/input18.c function main (line 1) | int main() FILE: 21_More_Operators/tests/input18a.c function main (line 6) | int main() FILE: 21_More_Operators/tests/input19.c function main (line 6) | int main() FILE: 21_More_Operators/tests/input20.c function main (line 4) | int main() { FILE: 21_More_Operators/tests/input21.c function main (line 4) | int main() { FILE: 21_More_Operators/tests/input22.c function main (line 6) | int main() { FILE: 21_More_Operators/tests/input23.c function main (line 4) | int main() { FILE: 21_More_Operators/tests/input24.c function main (line 4) | int main() { FILE: 21_More_Operators/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 32) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 37) | struct ASTnode function gendumplabel (line 44) | static int gendumplabel(void) { function dumpAST (line 51) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 21_More_Operators/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 17) | int ptrtype(int type) { function pointer_to (line 26) | int pointer_to(int type) { function value_at (line 49) | int value_at(int type) { type ASTnode (line 76) | struct ASTnode type ASTnode (line 76) | struct ASTnode FILE: 23_Local_Variables/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgresetlocals (line 31) | void cgresetlocals(void) { function cggetlocaloffset (line 37) | int cggetlocaloffset(int type, int isparam) { function freeall_registers (line 54) | void freeall_registers(void) { function alloc_register (line 60) | static int alloc_register(void) { function free_register (line 73) | static void free_register(int reg) { function cgpreamble (line 80) | void cgpreamble() { function cgpostamble (line 85) | void cgpostamble() { function cgfuncpreamble (line 89) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 107) | void cgfuncpostamble(int id) { function cgloadint (line 116) | int cgloadint(int value, int type) { function cgloadglob (line 128) | int cgloadglob(int id, int op) { function cgloadlocal (line 183) | int cgloadlocal(int id, int op) { function cgloadglobstr (line 236) | int cgloadglobstr(int id) { function cgadd (line 245) | int cgadd(int r1, int r2) { function cgsub (line 253) | int cgsub(int r1, int r2) { function cgmul (line 261) | int cgmul(int r1, int r2) { function cgdiv (line 269) | int cgdiv(int r1, int r2) { function cgand (line 278) | int cgand(int r1, int r2) { function cgor (line 284) | int cgor(int r1, int r2) { function cgxor (line 290) | int cgxor(int r1, int r2) { function cgshl (line 296) | int cgshl(int r1, int r2) { function cgshr (line 303) | int cgshr(int r1, int r2) { function cgnegate (line 311) | int cgnegate(int r) { function cginvert (line 317) | int cginvert(int r) { function cglognot (line 323) | int cglognot(int r) { function cgboolean (line 332) | int cgboolean(int r, int op, int label) { function cgcall (line 345) | int cgcall(int r, int id) { function cgshlconst (line 356) | int cgshlconst(int r, int val) { function cgstorglob (line 362) | int cgstorglob(int r, int id) { function cgstorlocal (line 386) | int cgstorlocal(int r, int id) { function cgprimsize (line 415) | int cgprimsize(int type) { function cgglobsym (line 423) | void cgglobsym(int id) { function cgglobstr (line 456) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 471) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 485) | void cglabel(int l) { function cgjump (line 490) | void cgjump(int l) { function cgcompare_and_jump (line 499) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 514) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 520) | void cgreturn(int reg, int id) { function cgaddress (line 541) | int cgaddress(int id) { function cgderef (line 555) | int cgderef(int r, int type) { function cgstorderef (line 573) | int cgstorderef(int r1, int r2, int type) { FILE: 23_Local_Variables/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 255) | int cgprimsize(int type) { function cgglobsym (line 263) | void cgglobsym(int id) { function cgcompare_and_set (line 292) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 307) | void cglabel(int l) { function cgjump (line 312) | void cgjump(int l) { function cgcompare_and_jump (line 321) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 336) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 342) | void cgreturn(int reg, int id) { function cgaddress (line 349) | int cgaddress(int id) { function cgderef (line 361) | int cgderef(int r, int type) { function cgstorderef (line 375) | int cgstorderef(int r1, int r2, int type) { FILE: 23_Local_Variables/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgresetlocals (line 31) | void cgresetlocals(void) { function cggetlocaloffset (line 37) | int cggetlocaloffset(int type, int isparam) { function freeall_registers (line 54) | void freeall_registers(void) { function alloc_register (line 60) | static int alloc_register(void) { function free_register (line 73) | static void free_register(int reg) { function cgpreamble (line 80) | void cgpreamble() { function cgpostamble (line 87) | void cgpostamble() { function cgfuncpreamble (line 91) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 107) | void cgfuncpostamble(int id) { function cgloadint (line 116) | int cgloadint(int value, int type) { function cgloadglob (line 128) | int cgloadglob(int id, int op) { function cgloadlocal (line 183) | int cgloadlocal(int id, int op) { function cgloadglobstr (line 238) | int cgloadglobstr(int id) { function cgadd (line 247) | int cgadd(int r1, int r2) { function cgsub (line 255) | int cgsub(int r1, int r2) { function cgmul (line 263) | int cgmul(int r1, int r2) { function cgdiv (line 271) | int cgdiv(int r1, int r2) { function cgand (line 280) | int cgand(int r1, int r2) { function cgor (line 286) | int cgor(int r1, int r2) { function cgxor (line 292) | int cgxor(int r1, int r2) { function cgshl (line 298) | int cgshl(int r1, int r2) { function cgshr (line 305) | int cgshr(int r1, int r2) { function cgnegate (line 313) | int cgnegate(int r) { function cginvert (line 319) | int cginvert(int r) { function cglognot (line 325) | int cglognot(int r) { function cgboolean (line 334) | int cgboolean(int r, int op, int label) { function cgcall (line 347) | int cgcall(int r, int id) { function cgshlconst (line 358) | int cgshlconst(int r, int val) { function cgstorglob (line 364) | int cgstorglob(int r, int id) { function cgstorlocal (line 385) | int cgstorlocal(int r, int id) { function cgprimsize (line 414) | int cgprimsize(int type) { function cgglobsym (line 422) | void cgglobsym(int id) { function cgglobstr (line 470) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 524) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 538) | void cglabel(int l) { function cgjump (line 543) | void cgjump(int l) { function cgcompare_and_jump (line 552) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 567) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 573) | void cgreturn(int reg, int id) { function cgaddress (line 593) | int cgaddress(int id) { function cgderef (line 606) | int cgderef(int r, int type) { function cgstorderef (line 622) | int cgstorderef(int r1, int r2, int type) { FILE: 23_Local_Variables/decl.c function parse_type (line 12) | int parse_type(void) { function var_declaration (line 51) | void var_declaration(int type, int islocal) { type ASTnode (line 91) | struct ASTnode type ASTnode (line 92) | struct ASTnode function global_declarations (line 133) | void global_declarations(void) { FILE: 23_Local_Variables/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 76) | struct ASTnode type ASTnode (line 79) | struct ASTnode type ASTnode (line 103) | struct ASTnode type ASTnode (line 111) | struct ASTnode type ASTnode (line 111) | struct ASTnode FILE: 23_Local_Variables/defs.h type token (line 40) | struct token { type ASTnode (line 65) | struct ASTnode { type symtable (line 96) | struct symtable { FILE: 23_Local_Variables/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 38) | struct ASTnode type ASTnode (line 75) | struct ASTnode type ASTnode (line 76) | struct ASTnode type ASTnode (line 117) | struct ASTnode type ASTnode (line 118) | struct ASTnode function binastop (line 160) | static int binastop(int tokentype) { function rightassoc (line 169) | static int rightassoc(int tokentype) { function op_precedence (line 189) | static int op_precedence(int tokentype) { type ASTnode (line 209) | struct ASTnode type ASTnode (line 210) | struct ASTnode type ASTnode (line 310) | struct ASTnode type ASTnode (line 311) | struct ASTnode type ASTnode (line 312) | struct ASTnode FILE: 23_Local_Variables/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genAST (line 86) | int genAST(struct ASTnode *n, int label, int parentASTop) { function genpreamble (line 245) | void genpreamble() { function genpostamble (line 248) | void genpostamble() { function genfreeregs (line 251) | void genfreeregs() { function genglobsym (line 254) | void genglobsym(int id) { function genglobstr (line 257) | int genglobstr(char *strvalue) { function genprimsize (line 262) | int genprimsize(int type) { function genresetlocals (line 265) | void genresetlocals(void) { function gengetlocaloffset (line 268) | int gengetlocaloffset(int type, int isparam) { FILE: 23_Local_Variables/lib/printint.c function printint (line 2) | void printint(long x) { function printchar (line 6) | void printchar(long x) { FILE: 23_Local_Variables/main.c function init (line 12) | static void init() { function usage (line 21) | static void usage(char *prog) { function main (line 29) | int main(int argc, char *argv[]) { FILE: 23_Local_Variables/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function lbrace (line 25) | void lbrace(void) { function rbrace (line 30) | void rbrace(void) { function lparen (line 35) | void lparen(void) { function rparen (line 40) | void rparen(void) { function ident (line 45) | void ident(void) { function fatal (line 50) | void fatal(char *s) { function fatals (line 55) | void fatals(char *s1, char *s2) { function fatald (line 60) | void fatald(char *s, int d) { function fatalc (line 65) | void fatalc(char *s, int c) { FILE: 23_Local_Variables/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanch (line 53) | static int scanch(void) { function scanint (line 90) | static int scanint(int c) { function scanstr (line 107) | static int scanstr(char *buf) { function scanident (line 127) | static int scanident(int c, char *buf, int lim) { function keyword (line 152) | static int keyword(char *s) { type token (line 193) | struct token function reject_token (line 196) | void reject_token(struct token *t) { function scan (line 204) | int scan(struct token *t) { FILE: 23_Local_Variables/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 170) | struct ASTnode type ASTnode (line 203) | struct ASTnode type ASTnode (line 204) | struct ASTnode type ASTnode (line 205) | struct ASTnode FILE: 23_Local_Variables/sym.c function findglob (line 10) | int findglob(char *s) { function newglob (line 22) | static int newglob(void) { function findlocl (line 32) | int findlocl(char *s) { function newlocl (line 44) | static int newlocl(void) { function updatesym (line 58) | static void updatesym(int slot, char *name, int type, int stype, function addglob (line 77) | int addglob(char *name, int type, int stype, int endlabel, int size) { function addlocl (line 98) | int addlocl(char *name, int type, int stype, int endlabel, int size) { function findsymbol (line 115) | int findsymbol(char *s) { FILE: 23_Local_Variables/tests/input01.c function main (line 1) | void main() FILE: 23_Local_Variables/tests/input02.c function main (line 1) | void main() FILE: 23_Local_Variables/tests/input03.c function main (line 1) | void main() FILE: 23_Local_Variables/tests/input04.c function main (line 1) | void main() FILE: 23_Local_Variables/tests/input05.c function main (line 1) | void main() FILE: 23_Local_Variables/tests/input06.c function main (line 1) | void main() FILE: 23_Local_Variables/tests/input07.c function main (line 1) | void main() FILE: 23_Local_Variables/tests/input08.c function main (line 1) | void main() FILE: 23_Local_Variables/tests/input09.c function main (line 1) | void main() function fred (line 9) | void fred() FILE: 23_Local_Variables/tests/input10.c function main (line 1) | void main() FILE: 23_Local_Variables/tests/input11.c function main (line 1) | int main() FILE: 23_Local_Variables/tests/input12.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 23_Local_Variables/tests/input13.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 23_Local_Variables/tests/input14.c function fred (line 1) | int fred() { function main (line 5) | int main() { FILE: 23_Local_Variables/tests/input15.c function main (line 1) | int main() { FILE: 23_Local_Variables/tests/input16.c function main (line 6) | int main() { FILE: 23_Local_Variables/tests/input17.c function main (line 1) | int main() { FILE: 23_Local_Variables/tests/input18.c function main (line 1) | int main() FILE: 23_Local_Variables/tests/input18a.c function main (line 6) | int main() FILE: 23_Local_Variables/tests/input19.c function main (line 6) | int main() FILE: 23_Local_Variables/tests/input20.c function main (line 4) | int main() { FILE: 23_Local_Variables/tests/input21.c function main (line 4) | int main() { FILE: 23_Local_Variables/tests/input22.c function main (line 6) | int main() { FILE: 23_Local_Variables/tests/input23.c function main (line 4) | int main() { FILE: 23_Local_Variables/tests/input24.c function main (line 4) | int main() { FILE: 23_Local_Variables/tests/input25.c function main (line 5) | int main() FILE: 23_Local_Variables/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 32) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 37) | struct ASTnode function gendumplabel (line 44) | static int gendumplabel(void) { function dumpAST (line 51) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 23_Local_Variables/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 17) | int ptrtype(int type) { function pointer_to (line 26) | int pointer_to(int type) { function value_at (line 49) | int value_at(int type) { type ASTnode (line 76) | struct ASTnode type ASTnode (line 76) | struct ASTnode FILE: 24_Function_Params/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function newlocaloffset (line 31) | static int newlocaloffset(int type) { function freeall_registers (line 57) | void freeall_registers(void) { function alloc_register (line 63) | static int alloc_register(void) { function free_register (line 76) | static void free_register(int reg) { function cgpreamble (line 83) | void cgpreamble() { function cgpostamble (line 88) | void cgpostamble() { function cgfuncpreamble (line 92) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 138) | void cgfuncpostamble(int id) { function cgloadint (line 147) | int cgloadint(int value, int type) { function cgloadglob (line 159) | int cgloadglob(int id, int op) { function cgloadlocal (line 214) | int cgloadlocal(int id, int op) { function cgloadglobstr (line 267) | int cgloadglobstr(int id) { function cgadd (line 276) | int cgadd(int r1, int r2) { function cgsub (line 284) | int cgsub(int r1, int r2) { function cgmul (line 292) | int cgmul(int r1, int r2) { function cgdiv (line 300) | int cgdiv(int r1, int r2) { function cgand (line 309) | int cgand(int r1, int r2) { function cgor (line 315) | int cgor(int r1, int r2) { function cgxor (line 321) | int cgxor(int r1, int r2) { function cgshl (line 327) | int cgshl(int r1, int r2) { function cgshr (line 334) | int cgshr(int r1, int r2) { function cgnegate (line 342) | int cgnegate(int r) { function cginvert (line 348) | int cginvert(int r) { function cglognot (line 354) | int cglognot(int r) { function cgboolean (line 363) | int cgboolean(int r, int op, int label) { function cgcall (line 376) | int cgcall(int r, int id) { function cgshlconst (line 387) | int cgshlconst(int r, int val) { function cgstorglob (line 393) | int cgstorglob(int r, int id) { function cgstorlocal (line 417) | int cgstorlocal(int r, int id) { function cgprimsize (line 446) | int cgprimsize(int type) { function cgglobsym (line 454) | void cgglobsym(int id) { function cgglobstr (line 487) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 502) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 516) | void cglabel(int l) { function cgjump (line 521) | void cgjump(int l) { function cgcompare_and_jump (line 530) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 545) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 551) | void cgreturn(int reg, int id) { function cgaddress (line 572) | int cgaddress(int id) { function cgderef (line 586) | int cgderef(int r, int type) { function cgstorderef (line 604) | int cgstorderef(int r1, int r2, int type) { FILE: 24_Function_Params/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 255) | int cgprimsize(int type) { function cgglobsym (line 263) | void cgglobsym(int id) { function cgcompare_and_set (line 292) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 307) | void cglabel(int l) { function cgjump (line 312) | void cgjump(int l) { function cgcompare_and_jump (line 321) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 336) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 342) | void cgreturn(int reg, int id) { function cgaddress (line 349) | int cgaddress(int id) { function cgderef (line 361) | int cgderef(int r, int type) { function cgstorderef (line 375) | int cgstorderef(int r1, int r2, int type) { FILE: 24_Function_Params/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function newlocaloffset (line 31) | int newlocaloffset(int type) { function freeall_registers (line 53) | void freeall_registers(void) { function alloc_register (line 59) | static int alloc_register(void) { function free_register (line 72) | static void free_register(int reg) { function cgpreamble (line 79) | void cgpreamble() { function cgpostamble (line 86) | void cgpostamble() { function cgfuncpreamble (line 90) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 135) | void cgfuncpostamble(int id) { function cgloadint (line 144) | int cgloadint(int value, int type) { function cgloadglob (line 156) | int cgloadglob(int id, int op) { function cgloadlocal (line 211) | int cgloadlocal(int id, int op) { function cgloadglobstr (line 266) | int cgloadglobstr(int id) { function cgadd (line 275) | int cgadd(int r1, int r2) { function cgsub (line 283) | int cgsub(int r1, int r2) { function cgmul (line 291) | int cgmul(int r1, int r2) { function cgdiv (line 299) | int cgdiv(int r1, int r2) { function cgand (line 308) | int cgand(int r1, int r2) { function cgor (line 314) | int cgor(int r1, int r2) { function cgxor (line 320) | int cgxor(int r1, int r2) { function cgshl (line 326) | int cgshl(int r1, int r2) { function cgshr (line 333) | int cgshr(int r1, int r2) { function cgnegate (line 341) | int cgnegate(int r) { function cginvert (line 347) | int cginvert(int r) { function cglognot (line 353) | int cglognot(int r) { function cgboolean (line 362) | int cgboolean(int r, int op, int label) { function cgcall (line 375) | int cgcall(int r, int id) { function cgshlconst (line 386) | int cgshlconst(int r, int val) { function cgstorglob (line 392) | int cgstorglob(int r, int id) { function cgstorlocal (line 413) | int cgstorlocal(int r, int id) { function cgprimsize (line 442) | int cgprimsize(int type) { function cgglobsym (line 450) | void cgglobsym(int id) { function cgglobstr (line 498) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 552) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 566) | void cglabel(int l) { function cgjump (line 571) | void cgjump(int l) { function cgcompare_and_jump (line 580) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 595) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 601) | void cgreturn(int reg, int id) { function cgaddress (line 621) | int cgaddress(int id) { function cgderef (line 634) | int cgderef(int r, int type) { function cgstorderef (line 652) | int cgstorderef(int r1, int r2, int type) { FILE: 24_Function_Params/decl.c function parse_type (line 12) | int parse_type(void) { function var_declaration (line 53) | void var_declaration(int type, int islocal, int isparam) { function param_declaration (line 93) | static int param_declaration(void) { type ASTnode (line 124) | struct ASTnode type ASTnode (line 125) | struct ASTnode function global_declarations (line 167) | void global_declarations(void) { FILE: 24_Function_Params/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 72) | struct ASTnode type ASTnode (line 75) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 108) | struct ASTnode type ASTnode (line 108) | struct ASTnode FILE: 24_Function_Params/defs.h type token (line 40) | struct token { type ASTnode (line 65) | struct ASTnode { type symtable (line 97) | struct symtable { FILE: 24_Function_Params/expr.c type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 38) | struct ASTnode type ASTnode (line 75) | struct ASTnode type ASTnode (line 76) | struct ASTnode type ASTnode (line 117) | struct ASTnode type ASTnode (line 118) | struct ASTnode function binastop (line 160) | static int binastop(int tokentype) { function rightassoc (line 169) | static int rightassoc(int tokentype) { function op_precedence (line 189) | static int op_precedence(int tokentype) { type ASTnode (line 209) | struct ASTnode type ASTnode (line 210) | struct ASTnode type ASTnode (line 310) | struct ASTnode type ASTnode (line 311) | struct ASTnode type ASTnode (line 312) | struct ASTnode FILE: 24_Function_Params/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genAST (line 86) | int genAST(struct ASTnode *n, int label, int parentASTop) { function genpreamble (line 245) | void genpreamble() { function genpostamble (line 248) | void genpostamble() { function genfreeregs (line 251) | void genfreeregs() { function genglobsym (line 254) | void genglobsym(int id) { function genglobstr (line 257) | int genglobstr(char *strvalue) { function genprimsize (line 262) | int genprimsize(int type) { FILE: 24_Function_Params/input27a.c function param8 (line 1) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 7) | int param5(int a, int b, int c, int d, int e) { function param2 (line 12) | int param2(int a, int b) { function param0 (line 19) | int param0() { FILE: 24_Function_Params/input27b.c function main (line 7) | int main() { FILE: 24_Function_Params/lib/printint.c function printint (line 2) | void printint(long x) { function printchar (line 6) | void printchar(long x) { FILE: 24_Function_Params/main.c function init (line 12) | static void init() { function usage (line 21) | static void usage(char *prog) { function main (line 29) | int main(int argc, char *argv[]) { FILE: 24_Function_Params/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function lbrace (line 25) | void lbrace(void) { function rbrace (line 30) | void rbrace(void) { function lparen (line 35) | void lparen(void) { function rparen (line 40) | void rparen(void) { function ident (line 45) | void ident(void) { function fatal (line 50) | void fatal(char *s) { function fatals (line 55) | void fatals(char *s1, char *s2) { function fatald (line 60) | void fatald(char *s, int d) { function fatalc (line 65) | void fatalc(char *s, int c) { FILE: 24_Function_Params/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanch (line 53) | static int scanch(void) { function scanint (line 90) | static int scanint(int c) { function scanstr (line 107) | static int scanstr(char *buf) { function scanident (line 127) | static int scanident(int c, char *buf, int lim) { function keyword (line 152) | static int keyword(char *s) { type token (line 193) | struct token function reject_token (line 196) | void reject_token(struct token *t) { function scan (line 204) | int scan(struct token *t) { FILE: 24_Function_Params/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 170) | struct ASTnode type ASTnode (line 205) | struct ASTnode type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode FILE: 24_Function_Params/sym.c function findglob (line 11) | int findglob(char *s) { function newglob (line 24) | static int newglob(void) { function findlocl (line 34) | int findlocl(char *s) { function newlocl (line 46) | static int newlocl(void) { function freeloclsyms (line 56) | void freeloclsyms(void) { function updatesym (line 66) | static void updatesym(int slot, char *name, int type, int stype, function addglob (line 85) | int addglob(char *name, int type, int stype, int endlabel, int size) { function addlocl (line 106) | int addlocl(char *name, int type, int stype, int isparam, int size) { function findsymbol (line 131) | int findsymbol(char *s) { FILE: 24_Function_Params/tests/input01.c function main (line 1) | void main() FILE: 24_Function_Params/tests/input02.c function main (line 1) | void main() FILE: 24_Function_Params/tests/input03.c function main (line 1) | void main() FILE: 24_Function_Params/tests/input04.c function main (line 1) | void main() FILE: 24_Function_Params/tests/input05.c function main (line 1) | void main() FILE: 24_Function_Params/tests/input06.c function main (line 1) | void main() FILE: 24_Function_Params/tests/input07.c function main (line 1) | void main() FILE: 24_Function_Params/tests/input08.c function main (line 1) | void main() FILE: 24_Function_Params/tests/input09.c function main (line 1) | void main() function fred (line 9) | void fred() FILE: 24_Function_Params/tests/input10.c function main (line 1) | void main() FILE: 24_Function_Params/tests/input11.c function main (line 1) | int main() FILE: 24_Function_Params/tests/input12.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 24_Function_Params/tests/input13.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 24_Function_Params/tests/input14.c function fred (line 1) | int fred() { function main (line 5) | int main() { FILE: 24_Function_Params/tests/input15.c function main (line 1) | int main() { FILE: 24_Function_Params/tests/input16.c function main (line 6) | int main() { FILE: 24_Function_Params/tests/input17.c function main (line 1) | int main() { FILE: 24_Function_Params/tests/input18.c function main (line 1) | int main() FILE: 24_Function_Params/tests/input18a.c function main (line 6) | int main() FILE: 24_Function_Params/tests/input19.c function main (line 6) | int main() FILE: 24_Function_Params/tests/input20.c function main (line 4) | int main() { FILE: 24_Function_Params/tests/input21.c function main (line 4) | int main() { FILE: 24_Function_Params/tests/input22.c function main (line 6) | int main() { FILE: 24_Function_Params/tests/input23.c function main (line 4) | int main() { FILE: 24_Function_Params/tests/input24.c function main (line 4) | int main() { FILE: 24_Function_Params/tests/input25.c function main (line 5) | int main() FILE: 24_Function_Params/tests/input26.c function main (line 1) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 24_Function_Params/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 32) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 37) | struct ASTnode function gendumplabel (line 44) | static int gendumplabel(void) { function dumpAST (line 51) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 24_Function_Params/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 17) | int ptrtype(int type) { function pointer_to (line 26) | int pointer_to(int type) { function value_at (line 49) | int value_at(int type) { type ASTnode (line 76) | struct ASTnode type ASTnode (line 76) | struct ASTnode FILE: 25_Function_Arguments/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function newlocaloffset (line 31) | static int newlocaloffset(int type) { function freeall_registers (line 62) | void freeall_registers(void) { function alloc_register (line 68) | static int alloc_register(void) { function free_register (line 81) | static void free_register(int reg) { function cgpreamble (line 88) | void cgpreamble() { function cgpostamble (line 93) | void cgpostamble() { function cgfuncpreamble (line 97) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 143) | void cgfuncpostamble(int id) { function cgloadint (line 152) | int cgloadint(int value, int type) { function cgloadglob (line 164) | int cgloadglob(int id, int op) { function cgloadlocal (line 219) | int cgloadlocal(int id, int op) { function cgloadglobstr (line 272) | int cgloadglobstr(int id) { function cgadd (line 281) | int cgadd(int r1, int r2) { function cgsub (line 289) | int cgsub(int r1, int r2) { function cgmul (line 297) | int cgmul(int r1, int r2) { function cgdiv (line 305) | int cgdiv(int r1, int r2) { function cgand (line 314) | int cgand(int r1, int r2) { function cgor (line 320) | int cgor(int r1, int r2) { function cgxor (line 326) | int cgxor(int r1, int r2) { function cgshl (line 332) | int cgshl(int r1, int r2) { function cgshr (line 339) | int cgshr(int r1, int r2) { function cgnegate (line 347) | int cgnegate(int r) { function cginvert (line 353) | int cginvert(int r) { function cglognot (line 359) | int cglognot(int r) { function cgboolean (line 368) | int cgboolean(int r, int op, int label) { function cgcall (line 382) | int cgcall(int id, int numargs) { function cgcopyarg (line 399) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 415) | int cgshlconst(int r, int val) { function cgstorglob (line 421) | int cgstorglob(int r, int id) { function cgstorlocal (line 445) | int cgstorlocal(int r, int id) { function cgprimsize (line 474) | int cgprimsize(int type) { function cgglobsym (line 482) | void cgglobsym(int id) { function cgglobstr (line 515) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 530) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 544) | void cglabel(int l) { function cgjump (line 549) | void cgjump(int l) { function cgcompare_and_jump (line 558) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 573) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 579) | void cgreturn(int reg, int id) { function cgaddress (line 600) | int cgaddress(int id) { function cgderef (line 614) | int cgderef(int r, int type) { function cgstorderef (line 632) | int cgstorderef(int r1, int r2, int type) { FILE: 25_Function_Arguments/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 255) | int cgprimsize(int type) { function cgglobsym (line 263) | void cgglobsym(int id) { function cgcompare_and_set (line 292) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 307) | void cglabel(int l) { function cgjump (line 312) | void cgjump(int l) { function cgcompare_and_jump (line 321) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 336) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 342) | void cgreturn(int reg, int id) { function cgaddress (line 349) | int cgaddress(int id) { function cgderef (line 361) | int cgderef(int r, int type) { function cgstorderef (line 375) | int cgstorderef(int r1, int r2, int type) { FILE: 25_Function_Arguments/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function newlocaloffset (line 31) | int newlocaloffset(int type) { function freeall_registers (line 53) | void freeall_registers(void) { function alloc_register (line 59) | static int alloc_register(void) { function free_register (line 72) | static void free_register(int reg) { function cgpreamble (line 79) | void cgpreamble() { function cgpostamble (line 86) | void cgpostamble() { function cgfuncpreamble (line 90) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 135) | void cgfuncpostamble(int id) { function cgloadint (line 144) | int cgloadint(int value, int type) { function cgloadglob (line 156) | int cgloadglob(int id, int op) { function cgloadlocal (line 211) | int cgloadlocal(int id, int op) { function cgloadglobstr (line 266) | int cgloadglobstr(int id) { function cgadd (line 275) | int cgadd(int r1, int r2) { function cgsub (line 283) | int cgsub(int r1, int r2) { function cgmul (line 291) | int cgmul(int r1, int r2) { function cgdiv (line 299) | int cgdiv(int r1, int r2) { function cgand (line 308) | int cgand(int r1, int r2) { function cgor (line 314) | int cgor(int r1, int r2) { function cgxor (line 320) | int cgxor(int r1, int r2) { function cgshl (line 326) | int cgshl(int r1, int r2) { function cgshr (line 333) | int cgshr(int r1, int r2) { function cgnegate (line 341) | int cgnegate(int r) { function cginvert (line 347) | int cginvert(int r) { function cglognot (line 353) | int cglognot(int r) { function cgboolean (line 362) | int cgboolean(int r, int op, int label) { function cgcall (line 376) | int cgcall(int id, int numargs) { function cgcopyarg (line 393) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 409) | int cgshlconst(int r, int val) { function cgstorglob (line 415) | int cgstorglob(int r, int id) { function cgstorlocal (line 436) | int cgstorlocal(int r, int id) { function cgprimsize (line 465) | int cgprimsize(int type) { function cgglobsym (line 473) | void cgglobsym(int id) { function cgglobstr (line 521) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 575) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 589) | void cglabel(int l) { function cgjump (line 594) | void cgjump(int l) { function cgcompare_and_jump (line 603) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 618) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 624) | void cgreturn(int reg, int id) { function cgaddress (line 644) | int cgaddress(int id) { function cgderef (line 657) | int cgderef(int r, int type) { function cgstorderef (line 675) | int cgstorderef(int r1, int r2, int type) { FILE: 25_Function_Arguments/decl.c function parse_type (line 12) | int parse_type(void) { function var_declaration (line 53) | void var_declaration(int type, int islocal, int isparam) { function param_declaration (line 93) | static int param_declaration(void) { type ASTnode (line 124) | struct ASTnode type ASTnode (line 125) | struct ASTnode function global_declarations (line 167) | void global_declarations(void) { FILE: 25_Function_Arguments/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 73) | struct ASTnode type ASTnode (line 76) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 109) | struct ASTnode type ASTnode (line 109) | struct ASTnode FILE: 25_Function_Arguments/defs.h type token (line 40) | struct token { type ASTnode (line 65) | struct ASTnode { type symtable (line 97) | struct symtable { FILE: 25_Function_Arguments/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 52) | struct ASTnode type ASTnode (line 53) | struct ASTnode type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type ASTnode (line 118) | struct ASTnode type ASTnode (line 119) | struct ASTnode type ASTnode (line 160) | struct ASTnode type ASTnode (line 161) | struct ASTnode function binastop (line 203) | static int binastop(int tokentype) { function rightassoc (line 212) | static int rightassoc(int tokentype) { function op_precedence (line 232) | static int op_precedence(int tokentype) { type ASTnode (line 252) | struct ASTnode type ASTnode (line 253) | struct ASTnode type ASTnode (line 353) | struct ASTnode type ASTnode (line 354) | struct ASTnode type ASTnode (line 355) | struct ASTnode FILE: 25_Function_Arguments/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function gen_funccall (line 87) | static int gen_funccall(struct ASTnode *n) { function genAST (line 114) | int genAST(struct ASTnode *n, int label, int parentASTop) { function genpreamble (line 273) | void genpreamble() { function genpostamble (line 276) | void genpostamble() { function genfreeregs (line 279) | void genfreeregs() { function genglobsym (line 282) | void genglobsym(int id) { function genglobstr (line 285) | int genglobstr(char *strvalue) { function genprimsize (line 290) | int genprimsize(int type) { FILE: 25_Function_Arguments/lib/printint.c function printint (line 2) | void printint(long x) { function printchar (line 6) | void printchar(long x) { FILE: 25_Function_Arguments/main.c function init (line 12) | static void init() { function usage (line 21) | static void usage(char *prog) { function main (line 29) | int main(int argc, char *argv[]) { FILE: 25_Function_Arguments/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function lbrace (line 25) | void lbrace(void) { function rbrace (line 30) | void rbrace(void) { function lparen (line 35) | void lparen(void) { function rparen (line 40) | void rparen(void) { function ident (line 45) | void ident(void) { function fatal (line 50) | void fatal(char *s) { function fatals (line 55) | void fatals(char *s1, char *s2) { function fatald (line 60) | void fatald(char *s, int d) { function fatalc (line 65) | void fatalc(char *s, int c) { FILE: 25_Function_Arguments/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanch (line 53) | static int scanch(void) { function scanint (line 90) | static int scanint(int c) { function scanstr (line 107) | static int scanstr(char *buf) { function scanident (line 127) | static int scanident(int c, char *buf, int lim) { function keyword (line 152) | static int keyword(char *s) { type token (line 193) | struct token function reject_token (line 196) | void reject_token(struct token *t) { function scan (line 204) | int scan(struct token *t) { FILE: 25_Function_Arguments/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 170) | struct ASTnode type ASTnode (line 205) | struct ASTnode type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode FILE: 25_Function_Arguments/sym.c function findglob (line 11) | int findglob(char *s) { function newglob (line 24) | static int newglob(void) { function findlocl (line 34) | int findlocl(char *s) { function newlocl (line 46) | static int newlocl(void) { function freeloclsyms (line 56) | void freeloclsyms(void) { function updatesym (line 66) | static void updatesym(int slot, char *name, int type, int stype, function addglob (line 85) | int addglob(char *name, int type, int stype, int endlabel, int size) { function addlocl (line 106) | int addlocl(char *name, int type, int stype, int isparam, int size) { function findsymbol (line 131) | int findsymbol(char *s) { FILE: 25_Function_Arguments/tests/input01.c function main (line 1) | void main() FILE: 25_Function_Arguments/tests/input02.c function main (line 1) | void main() FILE: 25_Function_Arguments/tests/input03.c function main (line 1) | void main() FILE: 25_Function_Arguments/tests/input04.c function main (line 1) | void main() FILE: 25_Function_Arguments/tests/input05.c function main (line 1) | void main() FILE: 25_Function_Arguments/tests/input06.c function main (line 1) | void main() FILE: 25_Function_Arguments/tests/input07.c function main (line 1) | void main() FILE: 25_Function_Arguments/tests/input08.c function main (line 1) | void main() FILE: 25_Function_Arguments/tests/input09.c function main (line 1) | void main() function fred (line 9) | void fred() FILE: 25_Function_Arguments/tests/input10.c function main (line 1) | void main() FILE: 25_Function_Arguments/tests/input11.c function main (line 1) | int main() FILE: 25_Function_Arguments/tests/input12.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 25_Function_Arguments/tests/input13.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 25_Function_Arguments/tests/input14.c function fred (line 1) | int fred() { function main (line 5) | int main() { FILE: 25_Function_Arguments/tests/input15.c function main (line 1) | int main() { FILE: 25_Function_Arguments/tests/input16.c function main (line 6) | int main() { FILE: 25_Function_Arguments/tests/input17.c function main (line 1) | int main() { FILE: 25_Function_Arguments/tests/input18.c function main (line 1) | int main() FILE: 25_Function_Arguments/tests/input18a.c function main (line 6) | int main() FILE: 25_Function_Arguments/tests/input19.c function main (line 6) | int main() FILE: 25_Function_Arguments/tests/input20.c function main (line 4) | int main() { FILE: 25_Function_Arguments/tests/input21.c function main (line 4) | int main() { FILE: 25_Function_Arguments/tests/input22.c function main (line 6) | int main() { FILE: 25_Function_Arguments/tests/input23.c function main (line 4) | int main() { FILE: 25_Function_Arguments/tests/input24.c function main (line 4) | int main() { FILE: 25_Function_Arguments/tests/input25.c function main (line 5) | int main() FILE: 25_Function_Arguments/tests/input26.c function main (line 1) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 25_Function_Arguments/tests/input27.c function param8 (line 1) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 7) | int param5(int a, int b, int c, int d, int e) { function param2 (line 12) | int param2(int a, int b) { function param0 (line 19) | int param0() { function main (line 26) | int main() { FILE: 25_Function_Arguments/tests/input28.c function param8 (line 1) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 7) | int fred(int a, int b, int c) { function main (line 11) | int main() { FILE: 25_Function_Arguments/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 32) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 37) | struct ASTnode function gendumplabel (line 44) | static int gendumplabel(void) { function dumpAST (line 51) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 25_Function_Arguments/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 17) | int ptrtype(int type) { function pointer_to (line 26) | int pointer_to(int type) { function value_at (line 49) | int value_at(int type) { type ASTnode (line 76) | struct ASTnode type ASTnode (line 76) | struct ASTnode FILE: 26_Prototypes/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function newlocaloffset (line 31) | static int newlocaloffset(int type) { function freeall_registers (line 62) | void freeall_registers(void) { function alloc_register (line 68) | static int alloc_register(void) { function free_register (line 81) | static void free_register(int reg) { function cgpreamble (line 88) | void cgpreamble() { function cgpostamble (line 93) | void cgpostamble() { function cgfuncpreamble (line 97) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 143) | void cgfuncpostamble(int id) { function cgloadint (line 152) | int cgloadint(int value, int type) { function cgloadglob (line 164) | int cgloadglob(int id, int op) { function cgloadlocal (line 219) | int cgloadlocal(int id, int op) { function cgloadglobstr (line 272) | int cgloadglobstr(int id) { function cgadd (line 281) | int cgadd(int r1, int r2) { function cgsub (line 289) | int cgsub(int r1, int r2) { function cgmul (line 297) | int cgmul(int r1, int r2) { function cgdiv (line 305) | int cgdiv(int r1, int r2) { function cgand (line 314) | int cgand(int r1, int r2) { function cgor (line 320) | int cgor(int r1, int r2) { function cgxor (line 326) | int cgxor(int r1, int r2) { function cgshl (line 332) | int cgshl(int r1, int r2) { function cgshr (line 339) | int cgshr(int r1, int r2) { function cgnegate (line 347) | int cgnegate(int r) { function cginvert (line 353) | int cginvert(int r) { function cglognot (line 359) | int cglognot(int r) { function cgboolean (line 368) | int cgboolean(int r, int op, int label) { function cgcall (line 382) | int cgcall(int id, int numargs) { function cgcopyarg (line 399) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 415) | int cgshlconst(int r, int val) { function cgstorglob (line 421) | int cgstorglob(int r, int id) { function cgstorlocal (line 445) | int cgstorlocal(int r, int id) { function cgprimsize (line 474) | int cgprimsize(int type) { function cgglobsym (line 482) | void cgglobsym(int id) { function cgglobstr (line 515) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 530) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 544) | void cglabel(int l) { function cgjump (line 549) | void cgjump(int l) { function cgcompare_and_jump (line 558) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 573) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 579) | void cgreturn(int reg, int id) { function cgaddress (line 600) | int cgaddress(int id) { function cgderef (line 614) | int cgderef(int r, int type) { function cgstorderef (line 632) | int cgstorderef(int r1, int r2, int type) { FILE: 26_Prototypes/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 255) | int cgprimsize(int type) { function cgglobsym (line 263) | void cgglobsym(int id) { function cgcompare_and_set (line 292) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 307) | void cglabel(int l) { function cgjump (line 312) | void cgjump(int l) { function cgcompare_and_jump (line 321) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 336) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 342) | void cgreturn(int reg, int id) { function cgaddress (line 349) | int cgaddress(int id) { function cgderef (line 361) | int cgderef(int r, int type) { function cgstorderef (line 375) | int cgstorderef(int r1, int r2, int type) { FILE: 26_Prototypes/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function newlocaloffset (line 31) | int newlocaloffset(int type) { function freeall_registers (line 53) | void freeall_registers(void) { function alloc_register (line 59) | static int alloc_register(void) { function free_register (line 72) | static void free_register(int reg) { function cgpreamble (line 79) | void cgpreamble() { function cgpostamble (line 90) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 139) | void cgfuncpostamble(int id) { function cgloadint (line 148) | int cgloadint(int value, int type) { function cgloadglob (line 160) | int cgloadglob(int id, int op) { function cgloadlocal (line 215) | int cgloadlocal(int id, int op) { function cgloadglobstr (line 270) | int cgloadglobstr(int id) { function cgadd (line 279) | int cgadd(int r1, int r2) { function cgsub (line 287) | int cgsub(int r1, int r2) { function cgmul (line 295) | int cgmul(int r1, int r2) { function cgdiv (line 303) | int cgdiv(int r1, int r2) { function cgand (line 312) | int cgand(int r1, int r2) { function cgor (line 318) | int cgor(int r1, int r2) { function cgxor (line 324) | int cgxor(int r1, int r2) { function cgshl (line 330) | int cgshl(int r1, int r2) { function cgshr (line 337) | int cgshr(int r1, int r2) { function cgnegate (line 345) | int cgnegate(int r) { function cginvert (line 351) | int cginvert(int r) { function cglognot (line 357) | int cglognot(int r) { function cgboolean (line 366) | int cgboolean(int r, int op, int label) { function cgcall (line 380) | int cgcall(int id, int numargs) { function cgcopyarg (line 397) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 413) | int cgshlconst(int r, int val) { function cgstorglob (line 419) | int cgstorglob(int r, int id) { function cgstorlocal (line 440) | int cgstorlocal(int r, int id) { function cgprimsize (line 469) | int cgprimsize(int type) { function cgglobsym (line 477) | void cgglobsym(int id) { function cgglobstr (line 525) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 579) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 593) | void cglabel(int l) { function cgjump (line 598) | void cgjump(int l) { function cgcompare_and_jump (line 607) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 622) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 628) | void cgreturn(int reg, int id) { function cgaddress (line 648) | int cgaddress(int id) { function cgderef (line 661) | int cgderef(int r, int type) { function cgstorderef (line 679) | int cgstorderef(int r1, int r2, int type) { FILE: 26_Prototypes/decl.c function parse_type (line 12) | int parse_type(void) { function var_declaration (line 52) | void var_declaration(int type, int class) { function param_declaration (line 93) | static int param_declaration(int id) { type ASTnode (line 153) | struct ASTnode type ASTnode (line 154) | struct ASTnode function global_declarations (line 220) | void global_declarations(void) { FILE: 26_Prototypes/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 73) | struct ASTnode type ASTnode (line 76) | struct ASTnode type ASTnode (line 102) | struct ASTnode type ASTnode (line 110) | struct ASTnode type ASTnode (line 110) | struct ASTnode FILE: 26_Prototypes/defs.h type token (line 40) | struct token { type ASTnode (line 65) | struct ASTnode { type symtable (line 97) | struct symtable { FILE: 26_Prototypes/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 52) | struct ASTnode type ASTnode (line 53) | struct ASTnode type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type ASTnode (line 118) | struct ASTnode type ASTnode (line 119) | struct ASTnode type ASTnode (line 160) | struct ASTnode type ASTnode (line 161) | struct ASTnode function binastop (line 203) | static int binastop(int tokentype) { function rightassoc (line 212) | static int rightassoc(int tokentype) { function op_precedence (line 232) | static int op_precedence(int tokentype) { type ASTnode (line 252) | struct ASTnode type ASTnode (line 253) | struct ASTnode type ASTnode (line 353) | struct ASTnode type ASTnode (line 354) | struct ASTnode type ASTnode (line 355) | struct ASTnode FILE: 26_Prototypes/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function gen_funccall (line 87) | static int gen_funccall(struct ASTnode *n) { function genAST (line 115) | int genAST(struct ASTnode *n, int label, int parentASTop) { function genpreamble (line 274) | void genpreamble() { function genpostamble (line 277) | void genpostamble() { function genfreeregs (line 280) | void genfreeregs() { function genglobsym (line 283) | void genglobsym(int id) { function genglobstr (line 286) | int genglobstr(char *strvalue) { function genprimsize (line 291) | int genprimsize(int type) { FILE: 26_Prototypes/lib/printint.c function printint (line 2) | void printint(long x) { function printchar (line 6) | void printchar(long x) { FILE: 26_Prototypes/main.c function init (line 12) | static void init() { function usage (line 21) | static void usage(char *prog) { function main (line 29) | int main(int argc, char *argv[]) { FILE: 26_Prototypes/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function lbrace (line 25) | void lbrace(void) { function rbrace (line 30) | void rbrace(void) { function lparen (line 35) | void lparen(void) { function rparen (line 40) | void rparen(void) { function ident (line 45) | void ident(void) { function fatal (line 50) | void fatal(char *s) { function fatals (line 55) | void fatals(char *s1, char *s2) { function fatald (line 60) | void fatald(char *s, int d) { function fatalc (line 65) | void fatalc(char *s, int c) { FILE: 26_Prototypes/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanch (line 53) | static int scanch(void) { function scanint (line 90) | static int scanint(int c) { function scanstr (line 107) | static int scanstr(char *buf) { function scanident (line 127) | static int scanident(int c, char *buf, int lim) { function keyword (line 152) | static int keyword(char *s) { type token (line 193) | struct token function reject_token (line 196) | void reject_token(struct token *t) { function scan (line 204) | int scan(struct token *t) { FILE: 26_Prototypes/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 170) | struct ASTnode type ASTnode (line 205) | struct ASTnode type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode FILE: 26_Prototypes/sym.c function findglob (line 11) | int findglob(char *s) { function newglob (line 25) | static int newglob(void) { function findlocl (line 35) | int findlocl(char *s) { function newlocl (line 47) | static int newlocl(void) { function freeloclsyms (line 57) | void freeloclsyms(void) { function updatesym (line 67) | static void updatesym(int slot, char *name, int type, int stype, function addglob (line 87) | int addglob(char *name, int type, int stype, int class, int endlabel, function addlocl (line 110) | int addlocl(char *name, int type, int stype, int class, int size) { function copyfuncparams (line 128) | void copyfuncparams(int slot) { function findsymbol (line 140) | int findsymbol(char *s) { FILE: 26_Prototypes/tests/input01.c function main (line 1) | void main() FILE: 26_Prototypes/tests/input02.c function main (line 1) | void main() FILE: 26_Prototypes/tests/input03.c function main (line 1) | void main() FILE: 26_Prototypes/tests/input04.c function main (line 1) | void main() FILE: 26_Prototypes/tests/input05.c function main (line 1) | void main() FILE: 26_Prototypes/tests/input06.c function main (line 1) | void main() FILE: 26_Prototypes/tests/input07.c function main (line 1) | void main() FILE: 26_Prototypes/tests/input08.c function main (line 1) | void main() FILE: 26_Prototypes/tests/input09.c function main (line 1) | void main() function fred (line 9) | void fred() FILE: 26_Prototypes/tests/input10.c function main (line 1) | void main() FILE: 26_Prototypes/tests/input11.c function main (line 1) | int main() FILE: 26_Prototypes/tests/input12.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 26_Prototypes/tests/input13.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 26_Prototypes/tests/input14.c function fred (line 1) | int fred() { function main (line 5) | int main() { FILE: 26_Prototypes/tests/input15.c function main (line 1) | int main() { FILE: 26_Prototypes/tests/input16.c function main (line 6) | int main() { FILE: 26_Prototypes/tests/input17.c function main (line 1) | int main() { FILE: 26_Prototypes/tests/input18.c function main (line 1) | int main() FILE: 26_Prototypes/tests/input18a.c function main (line 6) | int main() FILE: 26_Prototypes/tests/input19.c function main (line 6) | int main() FILE: 26_Prototypes/tests/input20.c function main (line 4) | int main() { FILE: 26_Prototypes/tests/input21.c function main (line 4) | int main() { FILE: 26_Prototypes/tests/input22.c function main (line 6) | int main() { FILE: 26_Prototypes/tests/input23.c function main (line 4) | int main() { FILE: 26_Prototypes/tests/input24.c function main (line 4) | int main() { FILE: 26_Prototypes/tests/input25.c function main (line 5) | int main() FILE: 26_Prototypes/tests/input26.c function main (line 1) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 26_Prototypes/tests/input27.c function param8 (line 1) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 7) | int param5(int a, int b, int c, int d, int e) { function param2 (line 12) | int param2(int a, int b) { function param0 (line 19) | int param0() { function main (line 26) | int main() { FILE: 26_Prototypes/tests/input28.c function param8 (line 1) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 7) | int fred(int a, int b, int c) { function main (line 11) | int main() { FILE: 26_Prototypes/tests/input29.c function param8 (line 5) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 11) | int fred(int a, int b, int c) { function main (line 15) | int main() { FILE: 26_Prototypes/tests/input30.c function main (line 8) | int main() { FILE: 26_Prototypes/tests/out.input30.c function main (line 8) | int main() { FILE: 26_Prototypes/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 32) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 37) | struct ASTnode function gendumplabel (line 44) | static int gendumplabel(void) { function dumpAST (line 51) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 26_Prototypes/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 17) | int ptrtype(int type) { function pointer_to (line 26) | int pointer_to(int type) { function value_at (line 49) | int value_at(int type) { type ASTnode (line 76) | struct ASTnode type ASTnode (line 76) | struct ASTnode FILE: 27_Testing_Errors/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function newlocaloffset (line 31) | static int newlocaloffset(int type) { function freeall_registers (line 62) | void freeall_registers(void) { function alloc_register (line 68) | static int alloc_register(void) { function free_register (line 81) | static void free_register(int reg) { function cgpreamble (line 88) | void cgpreamble() { function cgpostamble (line 93) | void cgpostamble() { function cgfuncpreamble (line 97) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 143) | void cgfuncpostamble(int id) { function cgloadint (line 152) | int cgloadint(int value, int type) { function cgloadglob (line 164) | int cgloadglob(int id, int op) { function cgloadlocal (line 219) | int cgloadlocal(int id, int op) { function cgloadglobstr (line 272) | int cgloadglobstr(int id) { function cgadd (line 281) | int cgadd(int r1, int r2) { function cgsub (line 289) | int cgsub(int r1, int r2) { function cgmul (line 297) | int cgmul(int r1, int r2) { function cgdiv (line 305) | int cgdiv(int r1, int r2) { function cgand (line 314) | int cgand(int r1, int r2) { function cgor (line 320) | int cgor(int r1, int r2) { function cgxor (line 326) | int cgxor(int r1, int r2) { function cgshl (line 332) | int cgshl(int r1, int r2) { function cgshr (line 339) | int cgshr(int r1, int r2) { function cgnegate (line 347) | int cgnegate(int r) { function cginvert (line 353) | int cginvert(int r) { function cglognot (line 359) | int cglognot(int r) { function cgboolean (line 368) | int cgboolean(int r, int op, int label) { function cgcall (line 382) | int cgcall(int id, int numargs) { function cgcopyarg (line 399) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 415) | int cgshlconst(int r, int val) { function cgstorglob (line 421) | int cgstorglob(int r, int id) { function cgstorlocal (line 445) | int cgstorlocal(int r, int id) { function cgprimsize (line 474) | int cgprimsize(int type) { function cgglobsym (line 482) | void cgglobsym(int id) { function cgglobstr (line 515) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 530) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 544) | void cglabel(int l) { function cgjump (line 549) | void cgjump(int l) { function cgcompare_and_jump (line 558) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 573) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 579) | void cgreturn(int reg, int id) { function cgaddress (line 600) | int cgaddress(int id) { function cgderef (line 614) | int cgderef(int r, int type) { function cgstorderef (line 632) | int cgstorderef(int r1, int r2, int type) { FILE: 27_Testing_Errors/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 255) | int cgprimsize(int type) { function cgglobsym (line 263) | void cgglobsym(int id) { function cgcompare_and_set (line 292) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 307) | void cglabel(int l) { function cgjump (line 312) | void cgjump(int l) { function cgcompare_and_jump (line 321) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 336) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 342) | void cgreturn(int reg, int id) { function cgaddress (line 349) | int cgaddress(int id) { function cgderef (line 361) | int cgderef(int r, int type) { function cgstorderef (line 375) | int cgstorderef(int r1, int r2, int type) { FILE: 27_Testing_Errors/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function newlocaloffset (line 31) | int newlocaloffset(int type) { function freeall_registers (line 53) | void freeall_registers(void) { function alloc_register (line 59) | static int alloc_register(void) { function free_register (line 72) | static void free_register(int reg) { function cgpreamble (line 79) | void cgpreamble() { function cgpostamble (line 91) | void cgpostamble() { function cgfuncpreamble (line 95) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 140) | void cgfuncpostamble(int id) { function cgloadint (line 149) | int cgloadint(int value, int type) { function cgloadglob (line 161) | int cgloadglob(int id, int op) { function cgloadlocal (line 216) | int cgloadlocal(int id, int op) { function cgloadglobstr (line 271) | int cgloadglobstr(int id) { function cgadd (line 280) | int cgadd(int r1, int r2) { function cgsub (line 288) | int cgsub(int r1, int r2) { function cgmul (line 296) | int cgmul(int r1, int r2) { function cgdiv (line 304) | int cgdiv(int r1, int r2) { function cgand (line 313) | int cgand(int r1, int r2) { function cgor (line 319) | int cgor(int r1, int r2) { function cgxor (line 325) | int cgxor(int r1, int r2) { function cgshl (line 331) | int cgshl(int r1, int r2) { function cgshr (line 338) | int cgshr(int r1, int r2) { function cgnegate (line 346) | int cgnegate(int r) { function cginvert (line 352) | int cginvert(int r) { function cglognot (line 358) | int cglognot(int r) { function cgboolean (line 367) | int cgboolean(int r, int op, int label) { function cgcall (line 381) | int cgcall(int id, int numargs) { function cgcopyarg (line 398) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 414) | int cgshlconst(int r, int val) { function cgstorglob (line 420) | int cgstorglob(int r, int id) { function cgstorlocal (line 441) | int cgstorlocal(int r, int id) { function cgprimsize (line 470) | int cgprimsize(int type) { function cgglobsym (line 478) | void cgglobsym(int id) { function cgglobstr (line 526) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 580) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 594) | void cglabel(int l) { function cgjump (line 599) | void cgjump(int l) { function cgcompare_and_jump (line 608) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 623) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 629) | void cgreturn(int reg, int id) { function cgaddress (line 649) | int cgaddress(int id) { function cgderef (line 662) | int cgderef(int r, int type) { function cgstorderef (line 680) | int cgstorderef(int r1, int r2, int type) { FILE: 27_Testing_Errors/decl.c function parse_type (line 12) | int parse_type(void) { function var_declaration (line 52) | void var_declaration(int type, int class) { function param_declaration (line 93) | static int param_declaration(int id) { type ASTnode (line 153) | struct ASTnode type ASTnode (line 154) | struct ASTnode function global_declarations (line 220) | void global_declarations(void) { FILE: 27_Testing_Errors/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 73) | struct ASTnode type ASTnode (line 76) | struct ASTnode type ASTnode (line 102) | struct ASTnode type ASTnode (line 110) | struct ASTnode type ASTnode (line 110) | struct ASTnode FILE: 27_Testing_Errors/defs.h type token (line 40) | struct token { type ASTnode (line 65) | struct ASTnode { type symtable (line 97) | struct symtable { FILE: 27_Testing_Errors/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 52) | struct ASTnode type ASTnode (line 53) | struct ASTnode type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type ASTnode (line 118) | struct ASTnode type ASTnode (line 119) | struct ASTnode type ASTnode (line 160) | struct ASTnode type ASTnode (line 161) | struct ASTnode function binastop (line 203) | static int binastop(int tokentype) { function rightassoc (line 212) | static int rightassoc(int tokentype) { function op_precedence (line 232) | static int op_precedence(int tokentype) { type ASTnode (line 252) | struct ASTnode type ASTnode (line 253) | struct ASTnode type ASTnode (line 353) | struct ASTnode type ASTnode (line 354) | struct ASTnode type ASTnode (line 355) | struct ASTnode FILE: 27_Testing_Errors/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function gen_funccall (line 87) | static int gen_funccall(struct ASTnode *n) { function genAST (line 115) | int genAST(struct ASTnode *n, int label, int parentASTop) { function genpreamble (line 276) | void genpreamble() { function genpostamble (line 279) | void genpostamble() { function genfreeregs (line 282) | void genfreeregs() { function genglobsym (line 285) | void genglobsym(int id) { function genglobstr (line 288) | int genglobstr(char *strvalue) { function genprimsize (line 293) | int genprimsize(int type) { FILE: 27_Testing_Errors/lib/printint.c function printint (line 2) | void printint(long x) { function printchar (line 6) | void printchar(long x) { FILE: 27_Testing_Errors/main.c function init (line 12) | static void init() { function usage (line 21) | static void usage(char *prog) { function main (line 29) | int main(int argc, char *argv[]) { FILE: 27_Testing_Errors/misc.c function match (line 11) | void match(int t, char *what) { function semi (line 20) | void semi(void) { function lbrace (line 25) | void lbrace(void) { function rbrace (line 30) | void rbrace(void) { function lparen (line 35) | void lparen(void) { function rparen (line 40) | void rparen(void) { function ident (line 45) | void ident(void) { function fatal (line 50) | void fatal(char *s) { function fatals (line 55) | void fatals(char *s1, char *s2) { function fatald (line 60) | void fatald(char *s, int d) { function fatalc (line 65) | void fatalc(char *s, int c) { FILE: 27_Testing_Errors/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanch (line 53) | static int scanch(void) { function scanint (line 90) | static int scanint(int c) { function scanstr (line 107) | static int scanstr(char *buf) { function scanident (line 127) | static int scanident(int c, char *buf, int lim) { function keyword (line 152) | static int keyword(char *s) { type token (line 193) | struct token function reject_token (line 196) | void reject_token(struct token *t) { function scan (line 204) | int scan(struct token *t) { FILE: 27_Testing_Errors/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 170) | struct ASTnode type ASTnode (line 205) | struct ASTnode type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode FILE: 27_Testing_Errors/sym.c function findglob (line 11) | int findglob(char *s) { function newglob (line 25) | static int newglob(void) { function findlocl (line 35) | int findlocl(char *s) { function newlocl (line 47) | static int newlocl(void) { function freeloclsyms (line 57) | void freeloclsyms(void) { function updatesym (line 67) | static void updatesym(int slot, char *name, int type, int stype, function addglob (line 87) | int addglob(char *name, int type, int stype, int class, int endlabel, function addlocl (line 110) | int addlocl(char *name, int type, int stype, int class, int size) { function copyfuncparams (line 128) | void copyfuncparams(int slot) { function findsymbol (line 140) | int findsymbol(char *s) { FILE: 27_Testing_Errors/tests/input01.c function main (line 1) | void main() FILE: 27_Testing_Errors/tests/input02.c function main (line 1) | void main() FILE: 27_Testing_Errors/tests/input03.c function main (line 1) | void main() FILE: 27_Testing_Errors/tests/input04.c function main (line 1) | void main() FILE: 27_Testing_Errors/tests/input05.c function main (line 1) | void main() FILE: 27_Testing_Errors/tests/input06.c function main (line 1) | void main() FILE: 27_Testing_Errors/tests/input07.c function main (line 1) | void main() FILE: 27_Testing_Errors/tests/input08.c function main (line 1) | void main() FILE: 27_Testing_Errors/tests/input09.c function main (line 1) | void main() function fred (line 9) | void fred() FILE: 27_Testing_Errors/tests/input10.c function main (line 1) | void main() FILE: 27_Testing_Errors/tests/input11.c function main (line 1) | int main() FILE: 27_Testing_Errors/tests/input12.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 27_Testing_Errors/tests/input13.c function fred (line 1) | int fred() { function main (line 5) | void main() { FILE: 27_Testing_Errors/tests/input14.c function fred (line 1) | int fred() { function main (line 5) | int main() { FILE: 27_Testing_Errors/tests/input15.c function main (line 1) | int main() { FILE: 27_Testing_Errors/tests/input16.c function main (line 6) | int main() { FILE: 27_Testing_Errors/tests/input17.c function main (line 1) | int main() { FILE: 27_Testing_Errors/tests/input18.c function main (line 1) | int main() FILE: 27_Testing_Errors/tests/input18a.c function main (line 6) | int main() FILE: 27_Testing_Errors/tests/input19.c function main (line 6) | int main() FILE: 27_Testing_Errors/tests/input20.c function main (line 4) | int main() { FILE: 27_Testing_Errors/tests/input21.c function main (line 4) | int main() { FILE: 27_Testing_Errors/tests/input22.c function main (line 6) | int main() { FILE: 27_Testing_Errors/tests/input23.c function main (line 4) | int main() { FILE: 27_Testing_Errors/tests/input24.c function main (line 4) | int main() { FILE: 27_Testing_Errors/tests/input25.c function main (line 5) | int main() FILE: 27_Testing_Errors/tests/input26.c function main (line 1) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 27_Testing_Errors/tests/input27.c function param8 (line 1) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 7) | int param5(int a, int b, int c, int d, int e) { function param2 (line 12) | int param2(int a, int b) { function param0 (line 19) | int param0() { function main (line 26) | int main() { FILE: 27_Testing_Errors/tests/input28.c function param8 (line 1) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 7) | int fred(int a, int b, int c) { function main (line 11) | int main() { FILE: 27_Testing_Errors/tests/input29.c function param8 (line 5) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 11) | int fred(int a, int b, int c) { function main (line 15) | int main() { FILE: 27_Testing_Errors/tests/input30.c function main (line 8) | int main() { FILE: 27_Testing_Errors/tests/input31.c function main (line 1) | int main() { FILE: 27_Testing_Errors/tests/input32.c function main (line 1) | int main() { FILE: 27_Testing_Errors/tests/input33.c function main (line 1) | int main() { FILE: 27_Testing_Errors/tests/input34.c function main (line 1) | int main() { FILE: 27_Testing_Errors/tests/input35.c function fred (line 1) | int fred(int a, int b) { FILE: 27_Testing_Errors/tests/input39.c function main (line 1) | int main() { int a; } FILE: 27_Testing_Errors/tests/input40.c function main (line 1) | int main() { int a; a= 5; } FILE: 27_Testing_Errors/tests/input41.c function fred (line 1) | void fred() { return(5); } FILE: 27_Testing_Errors/tests/input42.c function main (line 1) | int main() { fred(5); } FILE: 27_Testing_Errors/tests/input43.c function main (line 1) | int main() { int a; a= b[4]; } FILE: 27_Testing_Errors/tests/input44.c function main (line 1) | int main() { int a; a= z; } FILE: 27_Testing_Errors/tests/input45.c function main (line 1) | int main() { int a; a= &5; } FILE: 27_Testing_Errors/tests/input46.c function main (line 1) | int main() { int a; a= *5; } FILE: 27_Testing_Errors/tests/input47.c function main (line 1) | int main() { int a; a= ++5; } FILE: 27_Testing_Errors/tests/input48.c function main (line 1) | int main() { int a; a= --5; } FILE: 27_Testing_Errors/tests/input49.c function main (line 1) | int main() { FILE: 27_Testing_Errors/tests/input50.c function main (line 1) | int main() { FILE: 27_Testing_Errors/tests/input51.c function main (line 1) | int main() { FILE: 27_Testing_Errors/tests/input52.c function main (line 1) | int main() { FILE: 27_Testing_Errors/tests/input53.c function main (line 3) | int main() FILE: 27_Testing_Errors/tests/input54.c function main (line 3) | int main() FILE: 27_Testing_Errors/tests/out.input30.c function main (line 8) | int main() { FILE: 27_Testing_Errors/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 32) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 37) | struct ASTnode function gendumplabel (line 44) | static int gendumplabel(void) { function dumpAST (line 51) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 27_Testing_Errors/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 17) | int ptrtype(int type) { function pointer_to (line 26) | int pointer_to(int type) { function value_at (line 49) | int value_at(int type) { type ASTnode (line 76) | struct ASTnode type ASTnode (line 76) | struct ASTnode FILE: 28_Runtime_Flags/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function newlocaloffset (line 31) | static int newlocaloffset(int type) { function freeall_registers (line 62) | void freeall_registers(void) { function alloc_register (line 68) | static int alloc_register(void) { function free_register (line 81) | static void free_register(int reg) { function cgpreamble (line 88) | void cgpreamble() { function cgpostamble (line 93) | void cgpostamble() { function cgfuncpreamble (line 97) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 143) | void cgfuncpostamble(int id) { function cgloadint (line 152) | int cgloadint(int value, int type) { function cgloadglob (line 164) | int cgloadglob(int id, int op) { function cgloadlocal (line 219) | int cgloadlocal(int id, int op) { function cgloadglobstr (line 272) | int cgloadglobstr(int id) { function cgadd (line 281) | int cgadd(int r1, int r2) { function cgsub (line 289) | int cgsub(int r1, int r2) { function cgmul (line 297) | int cgmul(int r1, int r2) { function cgdiv (line 305) | int cgdiv(int r1, int r2) { function cgand (line 314) | int cgand(int r1, int r2) { function cgor (line 320) | int cgor(int r1, int r2) { function cgxor (line 326) | int cgxor(int r1, int r2) { function cgshl (line 332) | int cgshl(int r1, int r2) { function cgshr (line 339) | int cgshr(int r1, int r2) { function cgnegate (line 347) | int cgnegate(int r) { function cginvert (line 353) | int cginvert(int r) { function cglognot (line 359) | int cglognot(int r) { function cgboolean (line 368) | int cgboolean(int r, int op, int label) { function cgcall (line 382) | int cgcall(int id, int numargs) { function cgcopyarg (line 399) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 415) | int cgshlconst(int r, int val) { function cgstorglob (line 421) | int cgstorglob(int r, int id) { function cgstorlocal (line 445) | int cgstorlocal(int r, int id) { function cgprimsize (line 474) | int cgprimsize(int type) { function cgglobsym (line 482) | void cgglobsym(int id) { function cgglobstr (line 515) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 530) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 544) | void cglabel(int l) { function cgjump (line 549) | void cgjump(int l) { function cgcompare_and_jump (line 558) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 573) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 579) | void cgreturn(int reg, int id) { function cgaddress (line 600) | int cgaddress(int id) { function cgderef (line 614) | int cgderef(int r, int type) { function cgstorderef (line 632) | int cgstorderef(int r1, int r2, int type) { FILE: 28_Runtime_Flags/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 255) | int cgprimsize(int type) { function cgglobsym (line 263) | void cgglobsym(int id) { function cgcompare_and_set (line 292) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 307) | void cglabel(int l) { function cgjump (line 312) | void cgjump(int l) { function cgcompare_and_jump (line 321) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 336) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 342) | void cgreturn(int reg, int id) { function cgaddress (line 349) | int cgaddress(int id) { function cgderef (line 361) | int cgderef(int r, int type) { function cgstorderef (line 375) | int cgstorderef(int r1, int r2, int type) { FILE: 28_Runtime_Flags/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function newlocaloffset (line 31) | int newlocaloffset(int type) { function freeall_registers (line 53) | void freeall_registers(void) { function alloc_register (line 59) | static int alloc_register(void) { function free_register (line 72) | static void free_register(int reg) { function cgpreamble (line 79) | void cgpreamble() { function cgpostamble (line 91) | void cgpostamble() { function cgfuncpreamble (line 95) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 140) | void cgfuncpostamble(int id) { function cgloadint (line 149) | int cgloadint(int value, int type) { function cgloadglob (line 161) | int cgloadglob(int id, int op) { function cgloadlocal (line 216) | int cgloadlocal(int id, int op) { function cgloadglobstr (line 271) | int cgloadglobstr(int id) { function cgadd (line 280) | int cgadd(int r1, int r2) { function cgsub (line 288) | int cgsub(int r1, int r2) { function cgmul (line 296) | int cgmul(int r1, int r2) { function cgdiv (line 304) | int cgdiv(int r1, int r2) { function cgand (line 313) | int cgand(int r1, int r2) { function cgor (line 319) | int cgor(int r1, int r2) { function cgxor (line 325) | int cgxor(int r1, int r2) { function cgshl (line 331) | int cgshl(int r1, int r2) { function cgshr (line 338) | int cgshr(int r1, int r2) { function cgnegate (line 346) | int cgnegate(int r) { function cginvert (line 352) | int cginvert(int r) { function cglognot (line 358) | int cglognot(int r) { function cgboolean (line 367) | int cgboolean(int r, int op, int label) { function cgcall (line 381) | int cgcall(int id, int numargs) { function cgcopyarg (line 398) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 414) | int cgshlconst(int r, int val) { function cgstorglob (line 420) | int cgstorglob(int r, int id) { function cgstorlocal (line 441) | int cgstorlocal(int r, int id) { function cgprimsize (line 470) | int cgprimsize(int type) { function cgglobsym (line 478) | void cgglobsym(int id) { function cgglobstr (line 526) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 580) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 594) | void cglabel(int l) { function cgjump (line 599) | void cgjump(int l) { function cgcompare_and_jump (line 608) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 623) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 629) | void cgreturn(int reg, int id) { function cgaddress (line 649) | int cgaddress(int id) { function cgderef (line 662) | int cgderef(int r, int type) { function cgstorderef (line 680) | int cgstorderef(int r1, int r2, int type) { FILE: 28_Runtime_Flags/decl.c function parse_type (line 12) | int parse_type(void) { function var_declaration (line 52) | void var_declaration(int type, int class) { function param_declaration (line 93) | static int param_declaration(int id) { type ASTnode (line 153) | struct ASTnode type ASTnode (line 154) | struct ASTnode function global_declarations (line 220) | void global_declarations(void) { FILE: 28_Runtime_Flags/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 73) | struct ASTnode type ASTnode (line 76) | struct ASTnode type ASTnode (line 103) | struct ASTnode type ASTnode (line 111) | struct ASTnode type ASTnode (line 111) | struct ASTnode FILE: 28_Runtime_Flags/defs.h type token (line 50) | struct token { type ASTnode (line 75) | struct ASTnode { type symtable (line 107) | struct symtable { FILE: 28_Runtime_Flags/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 52) | struct ASTnode type ASTnode (line 53) | struct ASTnode type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type ASTnode (line 118) | struct ASTnode type ASTnode (line 119) | struct ASTnode type ASTnode (line 160) | struct ASTnode type ASTnode (line 161) | struct ASTnode function binastop (line 203) | static int binastop(int tokentype) { function rightassoc (line 212) | static int rightassoc(int tokentype) { function op_precedence (line 232) | static int op_precedence(int tokentype) { type ASTnode (line 252) | struct ASTnode type ASTnode (line 253) | struct ASTnode type ASTnode (line 353) | struct ASTnode type ASTnode (line 354) | struct ASTnode type ASTnode (line 355) | struct ASTnode FILE: 28_Runtime_Flags/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function gen_funccall (line 87) | static int gen_funccall(struct ASTnode *n) { function genAST (line 115) | int genAST(struct ASTnode *n, int label, int parentASTop) { function genpreamble (line 276) | void genpreamble() { function genpostamble (line 279) | void genpostamble() { function genfreeregs (line 282) | void genfreeregs() { function genglobsym (line 285) | void genglobsym(int id) { function genglobstr (line 288) | int genglobstr(char *strvalue) { function genprimsize (line 293) | int genprimsize(int type) { FILE: 28_Runtime_Flags/main.c function do_link (line 97) | void do_link(char *outfilename, char *objlist[]) { function usage (line 126) | static void usage(char *prog) { function main (line 140) | int main(int argc, char *argv[]) { FILE: 28_Runtime_Flags/misc.c function match (line 12) | void match(int t, char *what) { function semi (line 21) | void semi(void) { function lbrace (line 26) | void lbrace(void) { function rbrace (line 31) | void rbrace(void) { function lparen (line 36) | void lparen(void) { function rparen (line 41) | void rparen(void) { function ident (line 46) | void ident(void) { function fatal (line 51) | void fatal(char *s) { function fatals (line 58) | void fatals(char *s1, char *s2) { function fatald (line 65) | void fatald(char *s, int d) { function fatalc (line 72) | void fatalc(char *s, int c) { FILE: 28_Runtime_Flags/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanch (line 53) | static int scanch(void) { function scanint (line 90) | static int scanint(int c) { function scanstr (line 107) | static int scanstr(char *buf) { function scanident (line 127) | static int scanident(int c, char *buf, int lim) { function keyword (line 152) | static int keyword(char *s) { type token (line 193) | struct token function reject_token (line 196) | void reject_token(struct token *t) { function scan (line 204) | int scan(struct token *t) { FILE: 28_Runtime_Flags/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 170) | struct ASTnode type ASTnode (line 205) | struct ASTnode type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode FILE: 28_Runtime_Flags/sym.c function findglob (line 11) | int findglob(char *s) { function newglob (line 25) | static int newglob(void) { function findlocl (line 35) | int findlocl(char *s) { function newlocl (line 47) | static int newlocl(void) { function freeloclsyms (line 57) | void freeloclsyms(void) { function updatesym (line 67) | static void updatesym(int slot, char *name, int type, int stype, function addglob (line 87) | int addglob(char *name, int type, int stype, int class, int endlabel, function addlocl (line 110) | int addlocl(char *name, int type, int stype, int class, int size) { function copyfuncparams (line 128) | void copyfuncparams(int slot) { function findsymbol (line 140) | int findsymbol(char *s) { function clear_symtable (line 150) | void clear_symtable(void) { FILE: 28_Runtime_Flags/tests/input01.c function main (line 3) | void main() FILE: 28_Runtime_Flags/tests/input02.c function main (line 3) | void main() FILE: 28_Runtime_Flags/tests/input03.c function main (line 3) | void main() FILE: 28_Runtime_Flags/tests/input04.c function main (line 3) | void main() FILE: 28_Runtime_Flags/tests/input05.c function main (line 3) | void main() FILE: 28_Runtime_Flags/tests/input06.c function main (line 3) | void main() FILE: 28_Runtime_Flags/tests/input07.c function main (line 3) | void main() FILE: 28_Runtime_Flags/tests/input08.c function main (line 3) | void main() FILE: 28_Runtime_Flags/tests/input09.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 28_Runtime_Flags/tests/input10.c function main (line 3) | void main() FILE: 28_Runtime_Flags/tests/input11.c function main (line 3) | int main() FILE: 28_Runtime_Flags/tests/input12.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 28_Runtime_Flags/tests/input13.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 28_Runtime_Flags/tests/input14.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 28_Runtime_Flags/tests/input15.c function main (line 3) | int main() { FILE: 28_Runtime_Flags/tests/input16.c function main (line 8) | int main() { FILE: 28_Runtime_Flags/tests/input17.c function main (line 3) | int main() { FILE: 28_Runtime_Flags/tests/input18.c function main (line 3) | int main() FILE: 28_Runtime_Flags/tests/input18a.c function main (line 8) | int main() FILE: 28_Runtime_Flags/tests/input19.c function main (line 8) | int main() FILE: 28_Runtime_Flags/tests/input20.c function main (line 6) | int main() { FILE: 28_Runtime_Flags/tests/input21.c function main (line 6) | int main() { FILE: 28_Runtime_Flags/tests/input22.c function main (line 8) | int main() { FILE: 28_Runtime_Flags/tests/input23.c function main (line 6) | int main() { FILE: 28_Runtime_Flags/tests/input24.c function main (line 6) | int main() { FILE: 28_Runtime_Flags/tests/input25.c function main (line 7) | int main() FILE: 28_Runtime_Flags/tests/input26.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 28_Runtime_Flags/tests/input27.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 28_Runtime_Flags/tests/input28.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 28_Runtime_Flags/tests/input29.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 28_Runtime_Flags/tests/input30.c function main (line 10) | int main() { FILE: 28_Runtime_Flags/tests/input31.c function main (line 3) | int main() { FILE: 28_Runtime_Flags/tests/input32.c function main (line 3) | int main() { FILE: 28_Runtime_Flags/tests/input33.c function main (line 3) | int main() { FILE: 28_Runtime_Flags/tests/input34.c function main (line 3) | int main() { FILE: 28_Runtime_Flags/tests/input35.c function fred (line 3) | int fred(int a, int b) { FILE: 28_Runtime_Flags/tests/input39.c function main (line 3) | int main() { int a; } FILE: 28_Runtime_Flags/tests/input40.c function main (line 3) | int main() { int a; a= 5; } FILE: 28_Runtime_Flags/tests/input41.c function fred (line 3) | void fred() { return(5); } FILE: 28_Runtime_Flags/tests/input42.c function main (line 3) | int main() { fred(5); } FILE: 28_Runtime_Flags/tests/input43.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 28_Runtime_Flags/tests/input44.c function main (line 3) | int main() { int a; a= z; } FILE: 28_Runtime_Flags/tests/input45.c function main (line 3) | int main() { int a; a= &5; } FILE: 28_Runtime_Flags/tests/input46.c function main (line 3) | int main() { int a; a= *5; } FILE: 28_Runtime_Flags/tests/input47.c function main (line 3) | int main() { int a; a= ++5; } FILE: 28_Runtime_Flags/tests/input48.c function main (line 3) | int main() { int a; a= --5; } FILE: 28_Runtime_Flags/tests/input49.c function main (line 3) | int main() { FILE: 28_Runtime_Flags/tests/input50.c function main (line 3) | int main() { FILE: 28_Runtime_Flags/tests/input51.c function main (line 3) | int main() { FILE: 28_Runtime_Flags/tests/input52.c function main (line 3) | int main() { FILE: 28_Runtime_Flags/tests/input53.c function main (line 3) | int main() FILE: 28_Runtime_Flags/tests/input54.c function main (line 3) | int main() FILE: 28_Runtime_Flags/tests/out.input30.c function main (line 10) | int main() { FILE: 28_Runtime_Flags/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 32) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 37) | struct ASTnode function gendumplabel (line 44) | static int gendumplabel(void) { function dumpAST (line 51) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 28_Runtime_Flags/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 17) | int ptrtype(int type) { function pointer_to (line 26) | int pointer_to(int type) { function value_at (line 49) | int value_at(int type) { type ASTnode (line 76) | struct ASTnode type ASTnode (line 76) | struct ASTnode FILE: 29_Refactoring/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function newlocaloffset (line 31) | static int newlocaloffset(int type) { function freeall_registers (line 62) | void freeall_registers(void) { function alloc_register (line 68) | static int alloc_register(void) { function free_register (line 81) | static void free_register(int reg) { function cgpreamble (line 88) | void cgpreamble() { function cgpostamble (line 93) | void cgpostamble() { function cgfuncpreamble (line 97) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 143) | void cgfuncpostamble(int id) { function cgloadint (line 152) | int cgloadint(int value, int type) { function cgloadglob (line 164) | int cgloadglob(int id, int op) { function cgloadlocal (line 216) | int cgloadlocal(int id, int op) { function cgloadglobstr (line 266) | int cgloadglobstr(int id) { function cgadd (line 275) | int cgadd(int r1, int r2) { function cgsub (line 283) | int cgsub(int r1, int r2) { function cgmul (line 291) | int cgmul(int r1, int r2) { function cgdiv (line 299) | int cgdiv(int r1, int r2) { function cgand (line 308) | int cgand(int r1, int r2) { function cgor (line 314) | int cgor(int r1, int r2) { function cgxor (line 320) | int cgxor(int r1, int r2) { function cgshl (line 326) | int cgshl(int r1, int r2) { function cgshr (line 333) | int cgshr(int r1, int r2) { function cgnegate (line 341) | int cgnegate(int r) { function cginvert (line 347) | int cginvert(int r) { function cglognot (line 353) | int cglognot(int r) { function cgboolean (line 362) | int cgboolean(int r, int op, int label) { function cgcall (line 376) | int cgcall(int id, int numargs) { function cgcopyarg (line 393) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 409) | int cgshlconst(int r, int val) { function cgstorglob (line 415) | int cgstorglob(int r, int id) { function cgstorlocal (line 437) | int cgstorlocal(int r, int id) { function cgprimsize (line 460) | int cgprimsize(int type) { function cgglobsym (line 477) | void cgglobsym(int id) { function cgglobstr (line 510) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 525) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 539) | void cglabel(int l) { function cgjump (line 544) | void cgjump(int l) { function cgcompare_and_jump (line 553) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 568) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 574) | void cgreturn(int reg, int id) { function cgaddress (line 595) | int cgaddress(int id) { function cgderef (line 609) | int cgderef(int r, int type) { function cgstorderef (line 633) | int cgstorderef(int r1, int r2, int type) { FILE: 29_Refactoring/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 29_Refactoring/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function newlocaloffset (line 31) | int newlocaloffset(int type) { function freeall_registers (line 53) | void freeall_registers(void) { function alloc_register (line 59) | static int alloc_register(void) { function free_register (line 72) | static void free_register(int reg) { function cgpreamble (line 79) | void cgpreamble() { function cgpostamble (line 91) | void cgpostamble() { function cgfuncpreamble (line 95) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 140) | void cgfuncpostamble(int id) { function cgloadint (line 149) | int cgloadint(int value, int type) { function cgloadglob (line 161) | int cgloadglob(int id, int op) { function cgloadlocal (line 213) | int cgloadlocal(int id, int op) { function cgloadglobstr (line 265) | int cgloadglobstr(int id) { function cgadd (line 274) | int cgadd(int r1, int r2) { function cgsub (line 282) | int cgsub(int r1, int r2) { function cgmul (line 290) | int cgmul(int r1, int r2) { function cgdiv (line 298) | int cgdiv(int r1, int r2) { function cgand (line 307) | int cgand(int r1, int r2) { function cgor (line 313) | int cgor(int r1, int r2) { function cgxor (line 319) | int cgxor(int r1, int r2) { function cgshl (line 325) | int cgshl(int r1, int r2) { function cgshr (line 332) | int cgshr(int r1, int r2) { function cgnegate (line 340) | int cgnegate(int r) { function cginvert (line 346) | int cginvert(int r) { function cglognot (line 352) | int cglognot(int r) { function cgboolean (line 361) | int cgboolean(int r, int op, int label) { function cgcall (line 375) | int cgcall(int id, int numargs) { function cgcopyarg (line 392) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 408) | int cgshlconst(int r, int val) { function cgstorglob (line 414) | int cgstorglob(int r, int id) { function cgstorlocal (line 432) | int cgstorlocal(int r, int id) { function cgprimsize (line 454) | int cgprimsize(int type) { function cgglobsym (line 471) | void cgglobsym(int id) { function cgglobstr (line 519) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 573) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 587) | void cglabel(int l) { function cgjump (line 592) | void cgjump(int l) { function cgcompare_and_jump (line 601) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 616) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 622) | void cgreturn(int reg, int id) { function cgaddress (line 642) | int cgaddress(int id) { function cgderef (line 655) | int cgderef(int r, int type) { function cgstorderef (line 679) | int cgstorderef(int r1, int r2, int type) { FILE: 29_Refactoring/decl.c function parse_type (line 12) | int parse_type(void) { function var_declaration (line 52) | void var_declaration(int type, int class) { function param_declaration (line 93) | static int param_declaration(int id) { type ASTnode (line 153) | struct ASTnode type ASTnode (line 154) | struct ASTnode function global_declarations (line 220) | void global_declarations(void) { FILE: 29_Refactoring/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 14) | struct ASTnode type ASTnode (line 15) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 73) | struct ASTnode type ASTnode (line 76) | struct ASTnode type ASTnode (line 103) | struct ASTnode type ASTnode (line 112) | struct ASTnode type ASTnode (line 112) | struct ASTnode FILE: 29_Refactoring/defs.h type token (line 52) | struct token { type ASTnode (line 78) | struct ASTnode { type symtable (line 112) | struct symtable { FILE: 29_Refactoring/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 52) | struct ASTnode type ASTnode (line 53) | struct ASTnode type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type ASTnode (line 118) | struct ASTnode type ASTnode (line 119) | struct ASTnode type ASTnode (line 160) | struct ASTnode type ASTnode (line 161) | struct ASTnode function binastop (line 203) | static int binastop(int tokentype) { function rightassoc (line 212) | static int rightassoc(int tokentype) { function op_precedence (line 232) | static int op_precedence(int tokentype) { type ASTnode (line 252) | struct ASTnode type ASTnode (line 253) | struct ASTnode type ASTnode (line 353) | struct ASTnode type ASTnode (line 354) | struct ASTnode type ASTnode (line 355) | struct ASTnode FILE: 29_Refactoring/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function gen_funccall (line 87) | static int gen_funccall(struct ASTnode *n) { function genAST (line 115) | int genAST(struct ASTnode *n, int label, int parentASTop) { function genpreamble (line 276) | void genpreamble() { function genpostamble (line 279) | void genpostamble() { function genfreeregs (line 282) | void genfreeregs() { function genglobsym (line 285) | void genglobsym(int id) { function genglobstr (line 288) | int genglobstr(char *strvalue) { function genprimsize (line 293) | int genprimsize(int type) { FILE: 29_Refactoring/main.c function do_link (line 97) | void do_link(char *outfilename, char *objlist[]) { function usage (line 126) | static void usage(char *prog) { function main (line 141) | int main(int argc, char *argv[]) { FILE: 29_Refactoring/misc.c function match (line 12) | void match(int t, char *what) { function semi (line 21) | void semi(void) { function lbrace (line 26) | void lbrace(void) { function rbrace (line 31) | void rbrace(void) { function lparen (line 36) | void lparen(void) { function rparen (line 41) | void rparen(void) { function ident (line 46) | void ident(void) { function fatal (line 51) | void fatal(char *s) { function fatals (line 58) | void fatals(char *s1, char *s2) { function fatald (line 65) | void fatald(char *s, int d) { function fatalc (line 72) | void fatalc(char *s, int c) { FILE: 29_Refactoring/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanch (line 53) | static int scanch(void) { function scanint (line 90) | static int scanint(int c) { function scanstr (line 107) | static int scanstr(char *buf) { function scanident (line 127) | static int scanident(int c, char *buf, int lim) { function keyword (line 152) | static int keyword(char *s) { type token (line 193) | struct token function reject_token (line 196) | void reject_token(struct token *t) { function scan (line 204) | int scan(struct token *t) { FILE: 29_Refactoring/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 170) | struct ASTnode type ASTnode (line 205) | struct ASTnode type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode FILE: 29_Refactoring/sym.c function findglob (line 11) | int findglob(char *s) { function newglob (line 25) | static int newglob(void) { function findlocl (line 35) | int findlocl(char *s) { function newlocl (line 47) | static int newlocl(void) { function freeloclsyms (line 57) | void freeloclsyms(void) { function updatesym (line 66) | static void updatesym(int slot, char *name, int type, int stype, function addglob (line 84) | int addglob(char *name, int type, int stype, int class, int size) { function addlocl (line 106) | int addlocl(char *name, int type, int stype, int class, int size) { function copyfuncparams (line 124) | void copyfuncparams(int slot) { function findsymbol (line 136) | int findsymbol(char *s) { function clear_symtable (line 146) | void clear_symtable(void) { FILE: 29_Refactoring/tests/input01.c function main (line 3) | void main() FILE: 29_Refactoring/tests/input02.c function main (line 3) | void main() FILE: 29_Refactoring/tests/input03.c function main (line 3) | void main() FILE: 29_Refactoring/tests/input04.c function main (line 3) | void main() FILE: 29_Refactoring/tests/input05.c function main (line 3) | void main() FILE: 29_Refactoring/tests/input06.c function main (line 3) | void main() FILE: 29_Refactoring/tests/input07.c function main (line 3) | void main() FILE: 29_Refactoring/tests/input08.c function main (line 3) | void main() FILE: 29_Refactoring/tests/input09.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 29_Refactoring/tests/input10.c function main (line 3) | void main() FILE: 29_Refactoring/tests/input11.c function main (line 3) | int main() FILE: 29_Refactoring/tests/input12.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 29_Refactoring/tests/input13.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 29_Refactoring/tests/input14.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 29_Refactoring/tests/input15.c function main (line 3) | int main() { FILE: 29_Refactoring/tests/input16.c function main (line 8) | int main() { FILE: 29_Refactoring/tests/input17.c function main (line 3) | int main() { FILE: 29_Refactoring/tests/input18.c function main (line 3) | int main() FILE: 29_Refactoring/tests/input18a.c function main (line 8) | int main() FILE: 29_Refactoring/tests/input19.c function main (line 8) | int main() FILE: 29_Refactoring/tests/input20.c function main (line 6) | int main() { FILE: 29_Refactoring/tests/input21.c function main (line 6) | int main() { FILE: 29_Refactoring/tests/input22.c function main (line 8) | int main() { FILE: 29_Refactoring/tests/input23.c function main (line 6) | int main() { FILE: 29_Refactoring/tests/input24.c function main (line 6) | int main() { FILE: 29_Refactoring/tests/input25.c function main (line 7) | int main() FILE: 29_Refactoring/tests/input26.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 29_Refactoring/tests/input27.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 29_Refactoring/tests/input28.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 29_Refactoring/tests/input29.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 29_Refactoring/tests/input30.c function main (line 10) | int main() { FILE: 29_Refactoring/tests/input31.c function main (line 3) | int main() { FILE: 29_Refactoring/tests/input32.c function main (line 3) | int main() { FILE: 29_Refactoring/tests/input33.c function main (line 3) | int main() { FILE: 29_Refactoring/tests/input34.c function main (line 3) | int main() { FILE: 29_Refactoring/tests/input35.c function fred (line 3) | int fred(int a, int b) { FILE: 29_Refactoring/tests/input39.c function main (line 3) | int main() { int a; } FILE: 29_Refactoring/tests/input40.c function main (line 3) | int main() { int a; a= 5; } FILE: 29_Refactoring/tests/input41.c function fred (line 3) | void fred() { return(5); } FILE: 29_Refactoring/tests/input42.c function main (line 3) | int main() { fred(5); } FILE: 29_Refactoring/tests/input43.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 29_Refactoring/tests/input44.c function main (line 3) | int main() { int a; a= z; } FILE: 29_Refactoring/tests/input45.c function main (line 3) | int main() { int a; a= &5; } FILE: 29_Refactoring/tests/input46.c function main (line 3) | int main() { int a; a= *5; } FILE: 29_Refactoring/tests/input47.c function main (line 3) | int main() { int a; a= ++5; } FILE: 29_Refactoring/tests/input48.c function main (line 3) | int main() { int a; a= --5; } FILE: 29_Refactoring/tests/input49.c function main (line 3) | int main() { FILE: 29_Refactoring/tests/input50.c function main (line 3) | int main() { FILE: 29_Refactoring/tests/input51.c function main (line 3) | int main() { FILE: 29_Refactoring/tests/input52.c function main (line 3) | int main() { FILE: 29_Refactoring/tests/input53.c function main (line 3) | int main() FILE: 29_Refactoring/tests/input54.c function main (line 3) | int main() FILE: 29_Refactoring/tests/input55.c function main (line 3) | int main(int argc, char **argv) { FILE: 29_Refactoring/tests/out.input30.c function main (line 10) | int main() { FILE: 29_Refactoring/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type ASTnode (line 32) | struct ASTnode type ASTnode (line 37) | struct ASTnode type ASTnode (line 37) | struct ASTnode function gendumplabel (line 44) | static int gendumplabel(void) { function dumpAST (line 51) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 29_Refactoring/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { type ASTnode (line 41) | struct ASTnode type ASTnode (line 41) | struct ASTnode FILE: 30_Design_Composites/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function newlocaloffset (line 31) | static int newlocaloffset(int type) { function freeall_registers (line 62) | void freeall_registers(void) { function alloc_register (line 68) | static int alloc_register(void) { function free_register (line 81) | static void free_register(int reg) { function cgpreamble (line 88) | void cgpreamble() { function cgpostamble (line 93) | void cgpostamble() { function cgfuncpreamble (line 97) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 140) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 149) | int cgloadint(int value, int type) { function cgloadglob (line 161) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 210) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 257) | int cgloadglobstr(int label) { function cgadd (line 266) | int cgadd(int r1, int r2) { function cgsub (line 274) | int cgsub(int r1, int r2) { function cgmul (line 282) | int cgmul(int r1, int r2) { function cgdiv (line 290) | int cgdiv(int r1, int r2) { function cgand (line 299) | int cgand(int r1, int r2) { function cgor (line 305) | int cgor(int r1, int r2) { function cgxor (line 311) | int cgxor(int r1, int r2) { function cgshl (line 317) | int cgshl(int r1, int r2) { function cgshr (line 324) | int cgshr(int r1, int r2) { function cgnegate (line 332) | int cgnegate(int r) { function cginvert (line 338) | int cginvert(int r) { function cglognot (line 344) | int cglognot(int r) { function cgboolean (line 353) | int cgboolean(int r, int op, int label) { function cgcall (line 367) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 384) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 400) | int cgshlconst(int r, int val) { function cgstorglob (line 406) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 425) | int cgstorlocal(int r, struct symtable *sym) { function cgprimsize (line 445) | int cgprimsize(int type) { function cgglobsym (line 462) | void cgglobsym(struct symtable *node) { function cgglobstr (line 497) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 512) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 526) | void cglabel(int l) { function cgjump (line 531) | void cgjump(int l) { function cgcompare_and_jump (line 540) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 555) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 561) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 582) | int cgaddress(struct symtable *sym) { function cgderef (line 594) | int cgderef(int r, int type) { function cgstorderef (line 618) | int cgstorderef(int r1, int r2, int type) { FILE: 30_Design_Composites/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 30_Design_Composites/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function newlocaloffset (line 31) | int newlocaloffset(int type) { function freeall_registers (line 53) | void freeall_registers(void) { function alloc_register (line 59) | static int alloc_register(void) { function free_register (line 72) | static void free_register(int reg) { function cgpreamble (line 79) | void cgpreamble() { function cgpostamble (line 91) | void cgpostamble() { function cgfuncpreamble (line 95) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 137) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 146) | int cgloadint(int value, int type) { function cgloadglob (line 158) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 210) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 262) | int cgloadglobstr(int label) { function cgadd (line 271) | int cgadd(int r1, int r2) { function cgsub (line 279) | int cgsub(int r1, int r2) { function cgmul (line 287) | int cgmul(int r1, int r2) { function cgdiv (line 295) | int cgdiv(int r1, int r2) { function cgand (line 304) | int cgand(int r1, int r2) { function cgor (line 310) | int cgor(int r1, int r2) { function cgxor (line 316) | int cgxor(int r1, int r2) { function cgshl (line 322) | int cgshl(int r1, int r2) { function cgshr (line 329) | int cgshr(int r1, int r2) { function cgnegate (line 337) | int cgnegate(int r) { function cginvert (line 343) | int cginvert(int r) { function cglognot (line 349) | int cglognot(int r) { function cgboolean (line 358) | int cgboolean(int r, int op, int label) { function cgcall (line 372) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 389) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 405) | int cgshlconst(int r, int val) { function cgstorglob (line 411) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 429) | int cgstorlocal(int r, struct symtable *sym) { function cgprimsize (line 451) | int cgprimsize(int type) { function cgglobsym (line 468) | void cgglobsym(struct symtable *node) { function cgglobstr (line 519) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 573) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 587) | void cglabel(int l) { function cgjump (line 592) | void cgjump(int l) { function cgcompare_and_jump (line 601) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 616) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 622) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 642) | int cgaddress(struct symtable *sym) { function cgderef (line 655) | int cgderef(int r, int type) { function cgstorderef (line 679) | int cgstorderef(int r1, int r2, int type) { FILE: 30_Design_Composites/decl.c function parse_type (line 12) | int parse_type(void) { type symtable (line 53) | struct symtable type symtable (line 54) | struct symtable function param_declaration (line 116) | static int param_declaration(struct symtable *funcsym) { type ASTnode (line 172) | struct ASTnode type ASTnode (line 173) | struct ASTnode type symtable (line 174) | struct symtable function global_declarations (line 240) | void global_declarations(void) { FILE: 30_Design_Composites/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 26) | struct symtable type symtable (line 37) | struct symtable type symtable (line 38) | struct symtable type symtable (line 40) | struct symtable type symtable (line 41) | struct symtable type symtable (line 48) | struct symtable type symtable (line 50) | struct symtable type symtable (line 51) | struct symtable type symtable (line 52) | struct symtable type symtable (line 60) | struct symtable type symtable (line 61) | struct symtable type ASTnode (line 75) | struct ASTnode type ASTnode (line 78) | struct ASTnode type symtable (line 94) | struct symtable type symtable (line 94) | struct symtable type symtable (line 95) | struct symtable type symtable (line 96) | struct symtable type symtable (line 98) | struct symtable type symtable (line 100) | struct symtable type symtable (line 102) | struct symtable type symtable (line 104) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 112) | struct symtable type ASTnode (line 113) | struct ASTnode type ASTnode (line 122) | struct ASTnode type ASTnode (line 122) | struct ASTnode FILE: 30_Design_Composites/defs.h type token (line 51) | struct token { type symtable (line 90) | struct symtable { type ASTnode (line 109) | struct ASTnode { FILE: 30_Design_Composites/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 52) | struct ASTnode type ASTnode (line 53) | struct ASTnode type symtable (line 54) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type symtable (line 82) | struct symtable type ASTnode (line 118) | struct ASTnode type ASTnode (line 119) | struct ASTnode type symtable (line 120) | struct symtable type ASTnode (line 159) | struct ASTnode type ASTnode (line 160) | struct ASTnode function binastop (line 202) | static int binastop(int tokentype) { function rightassoc (line 211) | static int rightassoc(int tokentype) { function op_precedence (line 231) | static int op_precedence(int tokentype) { type ASTnode (line 251) | struct ASTnode type ASTnode (line 252) | struct ASTnode type ASTnode (line 352) | struct ASTnode type ASTnode (line 353) | struct ASTnode type ASTnode (line 354) | struct ASTnode FILE: 30_Design_Composites/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function gen_funccall (line 87) | static int gen_funccall(struct ASTnode *n) { function genAST (line 115) | int genAST(struct ASTnode *n, int label, int parentASTop) { function genpreamble (line 276) | void genpreamble() { function genpostamble (line 279) | void genpostamble() { function genfreeregs (line 282) | void genfreeregs() { function genglobsym (line 285) | void genglobsym(struct symtable *node) { function genglobstr (line 288) | int genglobstr(char *strvalue) { function genprimsize (line 293) | int genprimsize(int type) { FILE: 30_Design_Composites/main.c function do_link (line 97) | void do_link(char *outfilename, char *objlist[]) { function usage (line 126) | static void usage(char *prog) { function main (line 141) | int main(int argc, char *argv[]) { FILE: 30_Design_Composites/misc.c function match (line 12) | void match(int t, char *what) { function semi (line 21) | void semi(void) { function lbrace (line 26) | void lbrace(void) { function rbrace (line 31) | void rbrace(void) { function lparen (line 36) | void lparen(void) { function rparen (line 41) | void rparen(void) { function ident (line 46) | void ident(void) { function fatal (line 51) | void fatal(char *s) { function fatals (line 58) | void fatals(char *s1, char *s2) { function fatald (line 65) | void fatald(char *s, int d) { function fatalc (line 72) | void fatalc(char *s, int c) { FILE: 30_Design_Composites/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanch (line 53) | static int scanch(void) { function scanint (line 90) | static int scanint(int c) { function scanstr (line 107) | static int scanstr(char *buf) { function scanident (line 127) | static int scanident(int c, char *buf, int lim) { function keyword (line 152) | static int keyword(char *s) { type token (line 193) | struct token function reject_token (line 196) | void reject_token(struct token *t) { function scan (line 204) | int scan(struct token *t) { FILE: 30_Design_Composites/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 170) | struct ASTnode type ASTnode (line 205) | struct ASTnode type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode FILE: 30_Design_Composites/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 32) | struct symtable type symtable (line 36) | struct symtable type symtable (line 36) | struct symtable type symtable (line 36) | struct symtable type symtable (line 57) | struct symtable type symtable (line 58) | struct symtable type symtable (line 64) | struct symtable type symtable (line 65) | struct symtable type symtable (line 71) | struct symtable type symtable (line 72) | struct symtable type symtable (line 79) | struct symtable type symtable (line 79) | struct symtable type symtable (line 88) | struct symtable type symtable (line 94) | struct symtable type symtable (line 95) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 126) | struct symtable function clear_symtable (line 131) | void clear_symtable(void) { function freeloclsyms (line 139) | void freeloclsyms(void) { FILE: 30_Design_Composites/tests/input01.c function main (line 3) | void main() FILE: 30_Design_Composites/tests/input02.c function main (line 3) | void main() FILE: 30_Design_Composites/tests/input03.c function main (line 3) | void main() FILE: 30_Design_Composites/tests/input04.c function main (line 3) | void main() FILE: 30_Design_Composites/tests/input05.c function main (line 3) | void main() FILE: 30_Design_Composites/tests/input06.c function main (line 3) | void main() FILE: 30_Design_Composites/tests/input07.c function main (line 3) | void main() FILE: 30_Design_Composites/tests/input08.c function main (line 3) | void main() FILE: 30_Design_Composites/tests/input09.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 30_Design_Composites/tests/input10.c function main (line 3) | void main() FILE: 30_Design_Composites/tests/input11.c function main (line 3) | int main() FILE: 30_Design_Composites/tests/input12.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 30_Design_Composites/tests/input13.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 30_Design_Composites/tests/input14.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 30_Design_Composites/tests/input15.c function main (line 3) | int main() { FILE: 30_Design_Composites/tests/input16.c function main (line 8) | int main() { FILE: 30_Design_Composites/tests/input17.c function main (line 3) | int main() { FILE: 30_Design_Composites/tests/input18.c function main (line 3) | int main() FILE: 30_Design_Composites/tests/input18a.c function main (line 8) | int main() FILE: 30_Design_Composites/tests/input19.c function main (line 8) | int main() FILE: 30_Design_Composites/tests/input20.c function main (line 6) | int main() { FILE: 30_Design_Composites/tests/input21.c function main (line 6) | int main() { FILE: 30_Design_Composites/tests/input22.c function main (line 8) | int main() { FILE: 30_Design_Composites/tests/input23.c function main (line 6) | int main() { FILE: 30_Design_Composites/tests/input24.c function main (line 6) | int main() { FILE: 30_Design_Composites/tests/input25.c function main (line 7) | int main() FILE: 30_Design_Composites/tests/input26.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 30_Design_Composites/tests/input27.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 30_Design_Composites/tests/input28.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 30_Design_Composites/tests/input29.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 30_Design_Composites/tests/input30.c function main (line 10) | int main() { FILE: 30_Design_Composites/tests/input31.c function main (line 3) | int main() { FILE: 30_Design_Composites/tests/input32.c function main (line 3) | int main() { FILE: 30_Design_Composites/tests/input33.c function main (line 3) | int main() { FILE: 30_Design_Composites/tests/input34.c function main (line 3) | int main() { FILE: 30_Design_Composites/tests/input35.c function fred (line 3) | int fred(int a, int b) { FILE: 30_Design_Composites/tests/input39.c function main (line 3) | int main() { int a; } FILE: 30_Design_Composites/tests/input40.c function main (line 3) | int main() { int a; a= 5; } FILE: 30_Design_Composites/tests/input41.c function fred (line 3) | void fred() { return(5); } FILE: 30_Design_Composites/tests/input42.c function main (line 3) | int main() { fred(5); } FILE: 30_Design_Composites/tests/input43.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 30_Design_Composites/tests/input44.c function main (line 3) | int main() { int a; a= z; } FILE: 30_Design_Composites/tests/input45.c function main (line 3) | int main() { int a; a= &5; } FILE: 30_Design_Composites/tests/input46.c function main (line 3) | int main() { int a; a= *5; } FILE: 30_Design_Composites/tests/input47.c function main (line 3) | int main() { int a; a= ++5; } FILE: 30_Design_Composites/tests/input48.c function main (line 3) | int main() { int a; a= --5; } FILE: 30_Design_Composites/tests/input49.c function main (line 3) | int main() { FILE: 30_Design_Composites/tests/input50.c function main (line 3) | int main() { FILE: 30_Design_Composites/tests/input51.c function main (line 3) | int main() { FILE: 30_Design_Composites/tests/input52.c function main (line 3) | int main() { FILE: 30_Design_Composites/tests/input53.c function main (line 3) | int main() FILE: 30_Design_Composites/tests/input54.c function main (line 3) | int main() FILE: 30_Design_Composites/tests/input55.c function main (line 3) | int main(int argc, char **argv) { FILE: 30_Design_Composites/tests/out.input30.c function main (line 10) | int main() { FILE: 30_Design_Composites/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 47) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 30_Design_Composites/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { type ASTnode (line 41) | struct ASTnode type ASTnode (line 41) | struct ASTnode FILE: 31_Struct_Declarations/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 75) | static int newlocaloffset(int type) { function freeall_registers (line 106) | void freeall_registers(void) { function alloc_register (line 112) | static int alloc_register(void) { function free_register (line 125) | static void free_register(int reg) { function cgpreamble (line 132) | void cgpreamble() { function cgpostamble (line 137) | void cgpostamble() { function cgfuncpreamble (line 141) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 184) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 193) | int cgloadint(int value, int type) { function cgloadglob (line 205) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 254) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 301) | int cgloadglobstr(int label) { function cgadd (line 310) | int cgadd(int r1, int r2) { function cgsub (line 318) | int cgsub(int r1, int r2) { function cgmul (line 326) | int cgmul(int r1, int r2) { function cgdiv (line 334) | int cgdiv(int r1, int r2) { function cgand (line 343) | int cgand(int r1, int r2) { function cgor (line 349) | int cgor(int r1, int r2) { function cgxor (line 355) | int cgxor(int r1, int r2) { function cgshl (line 361) | int cgshl(int r1, int r2) { function cgshr (line 368) | int cgshr(int r1, int r2) { function cgnegate (line 376) | int cgnegate(int r) { function cginvert (line 382) | int cginvert(int r) { function cglognot (line 388) | int cglognot(int r) { function cgboolean (line 397) | int cgboolean(int r, int op, int label) { function cgcall (line 411) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 428) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 444) | int cgshlconst(int r, int val) { function cgstorglob (line 450) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 469) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 488) | void cgglobsym(struct symtable *node) { function cgglobstr (line 522) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 537) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 551) | void cglabel(int l) { function cgjump (line 556) | void cgjump(int l) { function cgcompare_and_jump (line 565) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 580) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 586) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 607) | int cgaddress(struct symtable *sym) { function cgderef (line 619) | int cgderef(int r, int type) { function cgstorderef (line 643) | int cgstorderef(int r1, int r2, int type) { FILE: 31_Struct_Declarations/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 31_Struct_Declarations/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 75) | int newlocaloffset(int type) { function freeall_registers (line 97) | void freeall_registers(void) { function alloc_register (line 103) | static int alloc_register(void) { function free_register (line 116) | static void free_register(int reg) { function cgpreamble (line 123) | void cgpreamble() { function cgpostamble (line 135) | void cgpostamble() { function cgfuncpreamble (line 139) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 181) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 190) | int cgloadint(int value, int type) { function cgloadglob (line 202) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 254) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 306) | int cgloadglobstr(int label) { function cgadd (line 315) | int cgadd(int r1, int r2) { function cgsub (line 323) | int cgsub(int r1, int r2) { function cgmul (line 331) | int cgmul(int r1, int r2) { function cgdiv (line 339) | int cgdiv(int r1, int r2) { function cgand (line 348) | int cgand(int r1, int r2) { function cgor (line 354) | int cgor(int r1, int r2) { function cgxor (line 360) | int cgxor(int r1, int r2) { function cgshl (line 366) | int cgshl(int r1, int r2) { function cgshr (line 373) | int cgshr(int r1, int r2) { function cgnegate (line 381) | int cgnegate(int r) { function cginvert (line 387) | int cginvert(int r) { function cglognot (line 393) | int cglognot(int r) { function cgboolean (line 402) | int cgboolean(int r, int op, int label) { function cgcall (line 416) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 433) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 449) | int cgshlconst(int r, int val) { function cgstorglob (line 455) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 473) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 494) | void cgglobsym(struct symtable *node) { function cgglobstr (line 546) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 600) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 614) | void cglabel(int l) { function cgjump (line 619) | void cgjump(int l) { function cgcompare_and_jump (line 628) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 643) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 649) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 669) | int cgaddress(struct symtable *sym) { function cgderef (line 682) | int cgderef(int r, int type) { function cgstorderef (line 706) | int cgstorderef(int r1, int r2, int type) { FILE: 31_Struct_Declarations/decl.c type symtable (line 8) | struct symtable function parse_type (line 15) | int parse_type(struct symtable **ctype) { type symtable (line 64) | struct symtable type symtable (line 64) | struct symtable type symtable (line 65) | struct symtable function var_declaration_list (line 138) | static int var_declaration_list(struct symtable *funcsym, int class, type ASTnode (line 189) | struct ASTnode type ASTnode (line 190) | struct ASTnode type symtable (line 191) | struct symtable type symtable (line 258) | struct symtable type symtable (line 259) | struct symtable type symtable (line 260) | struct symtable function global_declarations (line 318) | void global_declarations(void) { FILE: 31_Struct_Declarations/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 26) | struct symtable type symtable (line 40) | struct symtable type symtable (line 41) | struct symtable type symtable (line 43) | struct symtable type symtable (line 44) | struct symtable type symtable (line 51) | struct symtable type symtable (line 53) | struct symtable type symtable (line 54) | struct symtable type symtable (line 55) | struct symtable type symtable (line 62) | struct symtable type symtable (line 63) | struct symtable type ASTnode (line 77) | struct ASTnode type ASTnode (line 80) | struct ASTnode type symtable (line 96) | struct symtable type symtable (line 96) | struct symtable type symtable (line 97) | struct symtable type symtable (line 98) | struct symtable type symtable (line 98) | struct symtable type symtable (line 100) | struct symtable type symtable (line 100) | struct symtable type symtable (line 101) | struct symtable type symtable (line 101) | struct symtable type symtable (line 102) | struct symtable type symtable (line 102) | struct symtable type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 104) | struct symtable type symtable (line 104) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 114) | struct symtable type symtable (line 114) | struct symtable type ASTnode (line 115) | struct ASTnode type symtable (line 121) | struct symtable type symtable (line 124) | struct symtable type ASTnode (line 125) | struct ASTnode type ASTnode (line 125) | struct ASTnode FILE: 31_Struct_Declarations/defs.h type token (line 51) | struct token { type symtable (line 92) | struct symtable { type ASTnode (line 112) | struct ASTnode { FILE: 31_Struct_Declarations/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 52) | struct ASTnode type ASTnode (line 53) | struct ASTnode type symtable (line 54) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type symtable (line 82) | struct symtable type ASTnode (line 118) | struct ASTnode type ASTnode (line 119) | struct ASTnode type symtable (line 120) | struct symtable type ASTnode (line 159) | struct ASTnode type ASTnode (line 160) | struct ASTnode function binastop (line 202) | static int binastop(int tokentype) { function rightassoc (line 211) | static int rightassoc(int tokentype) { function op_precedence (line 231) | static int op_precedence(int tokentype) { type ASTnode (line 251) | struct ASTnode type ASTnode (line 252) | struct ASTnode type ASTnode (line 352) | struct ASTnode type ASTnode (line 353) | struct ASTnode type ASTnode (line 354) | struct ASTnode FILE: 31_Struct_Declarations/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function gen_funccall (line 87) | static int gen_funccall(struct ASTnode *n) { function genAST (line 115) | int genAST(struct ASTnode *n, int label, int parentASTop) { function genpreamble (line 276) | void genpreamble() { function genpostamble (line 279) | void genpostamble() { function genfreeregs (line 282) | void genfreeregs() { function genglobsym (line 285) | void genglobsym(struct symtable *node) { function genglobstr (line 288) | int genglobstr(char *strvalue) { function genprimsize (line 293) | int genprimsize(int type) { function genalign (line 296) | int genalign(int type, int offset, int direction) { FILE: 31_Struct_Declarations/main.c function do_link (line 97) | void do_link(char *outfilename, char *objlist[]) { function usage (line 126) | static void usage(char *prog) { function main (line 141) | int main(int argc, char *argv[]) { FILE: 31_Struct_Declarations/misc.c function match (line 12) | void match(int t, char *what) { function semi (line 21) | void semi(void) { function lbrace (line 26) | void lbrace(void) { function rbrace (line 31) | void rbrace(void) { function lparen (line 36) | void lparen(void) { function rparen (line 41) | void rparen(void) { function ident (line 46) | void ident(void) { function fatal (line 51) | void fatal(char *s) { function fatals (line 58) | void fatals(char *s1, char *s2) { function fatald (line 65) | void fatald(char *s, int d) { function fatalc (line 72) | void fatalc(char *s, int c) { FILE: 31_Struct_Declarations/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanch (line 53) | static int scanch(void) { function scanint (line 90) | static int scanint(int c) { function scanstr (line 107) | static int scanstr(char *buf) { function scanident (line 127) | static int scanident(int c, char *buf, int lim) { function keyword (line 152) | static int keyword(char *s) { type token (line 197) | struct token function reject_token (line 200) | void reject_token(struct token *t) { function scan (line 208) | int scan(struct token *t) { FILE: 31_Struct_Declarations/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 170) | struct ASTnode type symtable (line 172) | struct symtable type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode type ASTnode (line 208) | struct ASTnode FILE: 31_Struct_Declarations/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 59) | struct symtable type symtable (line 59) | struct symtable type symtable (line 61) | struct symtable type symtable (line 67) | struct symtable type symtable (line 67) | struct symtable type symtable (line 69) | struct symtable type symtable (line 75) | struct symtable type symtable (line 75) | struct symtable type symtable (line 77) | struct symtable type symtable (line 83) | struct symtable type symtable (line 83) | struct symtable type symtable (line 85) | struct symtable type symtable (line 91) | struct symtable type symtable (line 91) | struct symtable type symtable (line 93) | struct symtable type symtable (line 100) | struct symtable type symtable (line 100) | struct symtable type symtable (line 109) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 129) | struct symtable type symtable (line 130) | struct symtable type symtable (line 147) | struct symtable type symtable (line 153) | struct symtable function clear_symtable (line 158) | void clear_symtable(void) { function freeloclsyms (line 167) | void freeloclsyms(void) { FILE: 31_Struct_Declarations/tests/input01.c function main (line 3) | void main() FILE: 31_Struct_Declarations/tests/input02.c function main (line 3) | void main() FILE: 31_Struct_Declarations/tests/input03.c function main (line 3) | void main() FILE: 31_Struct_Declarations/tests/input04.c function main (line 3) | void main() FILE: 31_Struct_Declarations/tests/input05.c function main (line 3) | void main() FILE: 31_Struct_Declarations/tests/input06.c function main (line 3) | void main() FILE: 31_Struct_Declarations/tests/input07.c function main (line 3) | void main() FILE: 31_Struct_Declarations/tests/input08.c function main (line 3) | void main() FILE: 31_Struct_Declarations/tests/input09.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 31_Struct_Declarations/tests/input10.c function main (line 3) | void main() FILE: 31_Struct_Declarations/tests/input11.c function main (line 3) | int main() FILE: 31_Struct_Declarations/tests/input12.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 31_Struct_Declarations/tests/input13.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 31_Struct_Declarations/tests/input14.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 31_Struct_Declarations/tests/input15.c function main (line 3) | int main() { FILE: 31_Struct_Declarations/tests/input16.c function main (line 8) | int main() { FILE: 31_Struct_Declarations/tests/input17.c function main (line 3) | int main() { FILE: 31_Struct_Declarations/tests/input18.c function main (line 3) | int main() FILE: 31_Struct_Declarations/tests/input18a.c function main (line 8) | int main() FILE: 31_Struct_Declarations/tests/input19.c function main (line 8) | int main() FILE: 31_Struct_Declarations/tests/input20.c function main (line 6) | int main() { FILE: 31_Struct_Declarations/tests/input21.c function main (line 6) | int main() { FILE: 31_Struct_Declarations/tests/input22.c function main (line 8) | int main() { FILE: 31_Struct_Declarations/tests/input23.c function main (line 6) | int main() { FILE: 31_Struct_Declarations/tests/input24.c function main (line 6) | int main() { FILE: 31_Struct_Declarations/tests/input25.c function main (line 7) | int main() FILE: 31_Struct_Declarations/tests/input26.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 31_Struct_Declarations/tests/input27.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 31_Struct_Declarations/tests/input28.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 31_Struct_Declarations/tests/input29.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 31_Struct_Declarations/tests/input30.c function main (line 10) | int main() { FILE: 31_Struct_Declarations/tests/input31.c function main (line 3) | int main() { FILE: 31_Struct_Declarations/tests/input32.c function main (line 3) | int main() { FILE: 31_Struct_Declarations/tests/input33.c function main (line 3) | int main() { FILE: 31_Struct_Declarations/tests/input34.c function main (line 3) | int main() { FILE: 31_Struct_Declarations/tests/input35.c function fred (line 3) | int fred(int a, int b) { FILE: 31_Struct_Declarations/tests/input39.c function main (line 3) | int main() { int a; } FILE: 31_Struct_Declarations/tests/input40.c function main (line 3) | int main() { int a; a= 5; } FILE: 31_Struct_Declarations/tests/input41.c function fred (line 3) | void fred() { return(5); } FILE: 31_Struct_Declarations/tests/input42.c function main (line 3) | int main() { fred(5); } FILE: 31_Struct_Declarations/tests/input43.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 31_Struct_Declarations/tests/input44.c function main (line 3) | int main() { int a; a= z; } FILE: 31_Struct_Declarations/tests/input45.c function main (line 3) | int main() { int a; a= &5; } FILE: 31_Struct_Declarations/tests/input46.c function main (line 3) | int main() { int a; a= *5; } FILE: 31_Struct_Declarations/tests/input47.c function main (line 3) | int main() { int a; a= ++5; } FILE: 31_Struct_Declarations/tests/input48.c function main (line 3) | int main() { int a; a= --5; } FILE: 31_Struct_Declarations/tests/input49.c function main (line 3) | int main() { FILE: 31_Struct_Declarations/tests/input50.c function main (line 3) | int main() { FILE: 31_Struct_Declarations/tests/input51.c function main (line 3) | int main() { FILE: 31_Struct_Declarations/tests/input52.c function main (line 3) | int main() { FILE: 31_Struct_Declarations/tests/input53.c function main (line 3) | int main() FILE: 31_Struct_Declarations/tests/input54.c function main (line 3) | int main() FILE: 31_Struct_Declarations/tests/input55.c function main (line 3) | int main(int argc, char **argv) { FILE: 31_Struct_Declarations/tests/input56.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 31_Struct_Declarations/tests/input57.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 31_Struct_Declarations/tests/out.input30.c function main (line 10) | int main() { FILE: 31_Struct_Declarations/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 47) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 31_Struct_Declarations/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 32_Struct_Access_pt1/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 75) | static int newlocaloffset(int type) { function freeall_registers (line 106) | void freeall_registers(void) { function alloc_register (line 112) | static int alloc_register(void) { function free_register (line 125) | static void free_register(int reg) { function cgpreamble (line 132) | void cgpreamble() { function cgpostamble (line 137) | void cgpostamble() { function cgfuncpreamble (line 141) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 184) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 193) | int cgloadint(int value, int type) { function cgloadglob (line 205) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 254) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 301) | int cgloadglobstr(int label) { function cgadd (line 310) | int cgadd(int r1, int r2) { function cgsub (line 318) | int cgsub(int r1, int r2) { function cgmul (line 326) | int cgmul(int r1, int r2) { function cgdiv (line 334) | int cgdiv(int r1, int r2) { function cgand (line 343) | int cgand(int r1, int r2) { function cgor (line 349) | int cgor(int r1, int r2) { function cgxor (line 355) | int cgxor(int r1, int r2) { function cgshl (line 361) | int cgshl(int r1, int r2) { function cgshr (line 368) | int cgshr(int r1, int r2) { function cgnegate (line 376) | int cgnegate(int r) { function cginvert (line 382) | int cginvert(int r) { function cglognot (line 388) | int cglognot(int r) { function cgboolean (line 397) | int cgboolean(int r, int op, int label) { function cgcall (line 411) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 428) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 444) | int cgshlconst(int r, int val) { function cgstorglob (line 450) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 469) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 488) | void cgglobsym(struct symtable *node) { function cgglobstr (line 522) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 537) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 551) | void cglabel(int l) { function cgjump (line 556) | void cgjump(int l) { function cgcompare_and_jump (line 565) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 580) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 586) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 607) | int cgaddress(struct symtable *sym) { function cgderef (line 619) | int cgderef(int r, int type) { function cgstorderef (line 643) | int cgstorderef(int r1, int r2, int type) { FILE: 32_Struct_Access_pt1/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 32_Struct_Access_pt1/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 75) | int newlocaloffset(int type) { function freeall_registers (line 97) | void freeall_registers(void) { function alloc_register (line 103) | static int alloc_register(void) { function free_register (line 116) | static void free_register(int reg) { function cgpreamble (line 123) | void cgpreamble() { function cgpostamble (line 135) | void cgpostamble() { function cgfuncpreamble (line 139) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 181) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 190) | int cgloadint(int value, int type) { function cgloadglob (line 202) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 254) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 306) | int cgloadglobstr(int label) { function cgadd (line 315) | int cgadd(int r1, int r2) { function cgsub (line 323) | int cgsub(int r1, int r2) { function cgmul (line 331) | int cgmul(int r1, int r2) { function cgdiv (line 339) | int cgdiv(int r1, int r2) { function cgand (line 348) | int cgand(int r1, int r2) { function cgor (line 354) | int cgor(int r1, int r2) { function cgxor (line 360) | int cgxor(int r1, int r2) { function cgshl (line 366) | int cgshl(int r1, int r2) { function cgshr (line 373) | int cgshr(int r1, int r2) { function cgnegate (line 381) | int cgnegate(int r) { function cginvert (line 387) | int cginvert(int r) { function cglognot (line 393) | int cglognot(int r) { function cgboolean (line 402) | int cgboolean(int r, int op, int label) { function cgcall (line 416) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 433) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 449) | int cgshlconst(int r, int val) { function cgstorglob (line 455) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 473) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 494) | void cgglobsym(struct symtable *node) { function cgglobstr (line 546) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 600) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 614) | void cglabel(int l) { function cgjump (line 619) | void cgjump(int l) { function cgcompare_and_jump (line 628) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 643) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 649) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 669) | int cgaddress(struct symtable *sym) { function cgderef (line 682) | int cgderef(int r, int type) { function cgstorderef (line 706) | int cgstorderef(int r1, int r2, int type) { FILE: 32_Struct_Access_pt1/decl.c type symtable (line 8) | struct symtable function parse_type (line 15) | int parse_type(struct symtable **ctype) { type symtable (line 64) | struct symtable type symtable (line 64) | struct symtable type symtable (line 65) | struct symtable function var_declaration_list (line 138) | static int var_declaration_list(struct symtable *funcsym, int class, type ASTnode (line 189) | struct ASTnode type ASTnode (line 190) | struct ASTnode type symtable (line 191) | struct symtable type symtable (line 258) | struct symtable type symtable (line 259) | struct symtable type symtable (line 260) | struct symtable function global_declarations (line 318) | void global_declarations(void) { FILE: 32_Struct_Access_pt1/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 26) | struct symtable type symtable (line 40) | struct symtable type symtable (line 41) | struct symtable type symtable (line 43) | struct symtable type symtable (line 44) | struct symtable type symtable (line 51) | struct symtable type symtable (line 53) | struct symtable type symtable (line 54) | struct symtable type symtable (line 55) | struct symtable type symtable (line 62) | struct symtable type symtable (line 63) | struct symtable type ASTnode (line 77) | struct ASTnode type ASTnode (line 80) | struct ASTnode type symtable (line 96) | struct symtable type symtable (line 96) | struct symtable type symtable (line 97) | struct symtable type symtable (line 98) | struct symtable type symtable (line 98) | struct symtable type symtable (line 100) | struct symtable type symtable (line 100) | struct symtable type symtable (line 101) | struct symtable type symtable (line 101) | struct symtable type symtable (line 102) | struct symtable type symtable (line 102) | struct symtable type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 104) | struct symtable type symtable (line 104) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 114) | struct symtable type symtable (line 114) | struct symtable type ASTnode (line 115) | struct ASTnode type symtable (line 121) | struct symtable type symtable (line 124) | struct symtable type ASTnode (line 125) | struct ASTnode type ASTnode (line 125) | struct ASTnode FILE: 32_Struct_Access_pt1/defs.h type token (line 52) | struct token { type symtable (line 93) | struct symtable { type ASTnode (line 113) | struct ASTnode { FILE: 32_Struct_Access_pt1/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 52) | struct ASTnode type ASTnode (line 53) | struct ASTnode type symtable (line 54) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type symtable (line 82) | struct symtable type ASTnode (line 118) | struct ASTnode type ASTnode (line 119) | struct ASTnode type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 122) | struct symtable type ASTnode (line 171) | struct ASTnode type ASTnode (line 172) | struct ASTnode type symtable (line 173) | struct symtable type ASTnode (line 218) | struct ASTnode type ASTnode (line 219) | struct ASTnode function binastop (line 261) | static int binastop(int tokentype) { function rightassoc (line 270) | static int rightassoc(int tokentype) { function op_precedence (line 290) | static int op_precedence(int tokentype) { type ASTnode (line 310) | struct ASTnode type ASTnode (line 311) | struct ASTnode type ASTnode (line 411) | struct ASTnode type ASTnode (line 412) | struct ASTnode type ASTnode (line 413) | struct ASTnode FILE: 32_Struct_Access_pt1/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function gen_funccall (line 87) | static int gen_funccall(struct ASTnode *n) { function genAST (line 115) | int genAST(struct ASTnode *n, int label, int parentASTop) { function genpreamble (line 276) | void genpreamble() { function genpostamble (line 279) | void genpostamble() { function genfreeregs (line 282) | void genfreeregs() { function genglobsym (line 285) | void genglobsym(struct symtable *node) { function genglobstr (line 288) | int genglobstr(char *strvalue) { function genprimsize (line 293) | int genprimsize(int type) { function genalign (line 296) | int genalign(int type, int offset, int direction) { FILE: 32_Struct_Access_pt1/main.c function do_link (line 97) | void do_link(char *outfilename, char *objlist[]) { function usage (line 126) | static void usage(char *prog) { function main (line 141) | int main(int argc, char *argv[]) { FILE: 32_Struct_Access_pt1/misc.c function match (line 12) | void match(int t, char *what) { function semi (line 21) | void semi(void) { function lbrace (line 26) | void lbrace(void) { function rbrace (line 31) | void rbrace(void) { function lparen (line 36) | void lparen(void) { function rparen (line 41) | void rparen(void) { function ident (line 46) | void ident(void) { function fatal (line 51) | void fatal(char *s) { function fatals (line 58) | void fatals(char *s1, char *s2) { function fatald (line 65) | void fatald(char *s, int d) { function fatalc (line 72) | void fatalc(char *s, int c) { FILE: 32_Struct_Access_pt1/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanch (line 53) | static int scanch(void) { function scanint (line 90) | static int scanint(int c) { function scanstr (line 107) | static int scanstr(char *buf) { function scanident (line 127) | static int scanident(int c, char *buf, int lim) { function keyword (line 152) | static int keyword(char *s) { type token (line 197) | struct token function reject_token (line 200) | void reject_token(struct token *t) { function scan (line 208) | int scan(struct token *t) { FILE: 32_Struct_Access_pt1/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 170) | struct ASTnode type symtable (line 172) | struct symtable type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode type ASTnode (line 208) | struct ASTnode FILE: 32_Struct_Access_pt1/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 59) | struct symtable type symtable (line 59) | struct symtable type symtable (line 61) | struct symtable type symtable (line 67) | struct symtable type symtable (line 67) | struct symtable type symtable (line 69) | struct symtable type symtable (line 75) | struct symtable type symtable (line 75) | struct symtable type symtable (line 77) | struct symtable type symtable (line 83) | struct symtable type symtable (line 83) | struct symtable type symtable (line 85) | struct symtable type symtable (line 91) | struct symtable type symtable (line 91) | struct symtable type symtable (line 93) | struct symtable type symtable (line 100) | struct symtable type symtable (line 100) | struct symtable type symtable (line 109) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 129) | struct symtable type symtable (line 130) | struct symtable type symtable (line 147) | struct symtable type symtable (line 153) | struct symtable function clear_symtable (line 158) | void clear_symtable(void) { function freeloclsyms (line 167) | void freeloclsyms(void) { FILE: 32_Struct_Access_pt1/tests/input01.c function main (line 3) | void main() FILE: 32_Struct_Access_pt1/tests/input02.c function main (line 3) | void main() FILE: 32_Struct_Access_pt1/tests/input03.c function main (line 3) | void main() FILE: 32_Struct_Access_pt1/tests/input04.c function main (line 3) | void main() FILE: 32_Struct_Access_pt1/tests/input05.c function main (line 3) | void main() FILE: 32_Struct_Access_pt1/tests/input06.c function main (line 3) | void main() FILE: 32_Struct_Access_pt1/tests/input07.c function main (line 3) | void main() FILE: 32_Struct_Access_pt1/tests/input08.c function main (line 3) | void main() FILE: 32_Struct_Access_pt1/tests/input09.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 32_Struct_Access_pt1/tests/input10.c function main (line 3) | void main() FILE: 32_Struct_Access_pt1/tests/input11.c function main (line 3) | int main() FILE: 32_Struct_Access_pt1/tests/input12.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 32_Struct_Access_pt1/tests/input13.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 32_Struct_Access_pt1/tests/input14.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 32_Struct_Access_pt1/tests/input15.c function main (line 3) | int main() { FILE: 32_Struct_Access_pt1/tests/input16.c function main (line 8) | int main() { FILE: 32_Struct_Access_pt1/tests/input17.c function main (line 3) | int main() { FILE: 32_Struct_Access_pt1/tests/input18.c function main (line 3) | int main() FILE: 32_Struct_Access_pt1/tests/input18a.c function main (line 8) | int main() FILE: 32_Struct_Access_pt1/tests/input19.c function main (line 8) | int main() FILE: 32_Struct_Access_pt1/tests/input20.c function main (line 6) | int main() { FILE: 32_Struct_Access_pt1/tests/input21.c function main (line 6) | int main() { FILE: 32_Struct_Access_pt1/tests/input22.c function main (line 8) | int main() { FILE: 32_Struct_Access_pt1/tests/input23.c function main (line 6) | int main() { FILE: 32_Struct_Access_pt1/tests/input24.c function main (line 6) | int main() { FILE: 32_Struct_Access_pt1/tests/input25.c function main (line 7) | int main() FILE: 32_Struct_Access_pt1/tests/input26.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 32_Struct_Access_pt1/tests/input27.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 32_Struct_Access_pt1/tests/input28.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 32_Struct_Access_pt1/tests/input29.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 32_Struct_Access_pt1/tests/input30.c function main (line 10) | int main() { FILE: 32_Struct_Access_pt1/tests/input31.c function main (line 3) | int main() { FILE: 32_Struct_Access_pt1/tests/input32.c function main (line 3) | int main() { FILE: 32_Struct_Access_pt1/tests/input33.c function main (line 3) | int main() { FILE: 32_Struct_Access_pt1/tests/input34.c function main (line 3) | int main() { FILE: 32_Struct_Access_pt1/tests/input35.c function fred (line 3) | int fred(int a, int b) { FILE: 32_Struct_Access_pt1/tests/input39.c function main (line 3) | int main() { int a; } FILE: 32_Struct_Access_pt1/tests/input40.c function main (line 3) | int main() { int a; a= 5; } FILE: 32_Struct_Access_pt1/tests/input41.c function fred (line 3) | void fred() { return(5); } FILE: 32_Struct_Access_pt1/tests/input42.c function main (line 3) | int main() { fred(5); } FILE: 32_Struct_Access_pt1/tests/input43.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 32_Struct_Access_pt1/tests/input44.c function main (line 3) | int main() { int a; a= z; } FILE: 32_Struct_Access_pt1/tests/input45.c function main (line 3) | int main() { int a; a= &5; } FILE: 32_Struct_Access_pt1/tests/input46.c function main (line 3) | int main() { int a; a= *5; } FILE: 32_Struct_Access_pt1/tests/input47.c function main (line 3) | int main() { int a; a= ++5; } FILE: 32_Struct_Access_pt1/tests/input48.c function main (line 3) | int main() { int a; a= --5; } FILE: 32_Struct_Access_pt1/tests/input49.c function main (line 3) | int main() { FILE: 32_Struct_Access_pt1/tests/input50.c function main (line 3) | int main() { FILE: 32_Struct_Access_pt1/tests/input51.c function main (line 3) | int main() { FILE: 32_Struct_Access_pt1/tests/input52.c function main (line 3) | int main() { FILE: 32_Struct_Access_pt1/tests/input53.c function main (line 3) | int main() FILE: 32_Struct_Access_pt1/tests/input54.c function main (line 3) | int main() FILE: 32_Struct_Access_pt1/tests/input55.c function main (line 3) | int main(int argc, char **argv) { FILE: 32_Struct_Access_pt1/tests/input56.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 32_Struct_Access_pt1/tests/input57.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 32_Struct_Access_pt1/tests/input58.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 32_Struct_Access_pt1/tests/input59.c function main (line 1) | int main() { FILE: 32_Struct_Access_pt1/tests/input60.c function main (line 1) | int main() { FILE: 32_Struct_Access_pt1/tests/input61.c function main (line 1) | int main() { FILE: 32_Struct_Access_pt1/tests/out.input30.c function main (line 10) | int main() { FILE: 32_Struct_Access_pt1/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 47) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 32_Struct_Access_pt1/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 33_Unions/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 75) | static int newlocaloffset(int type) { function freeall_registers (line 106) | void freeall_registers(void) { function alloc_register (line 112) | static int alloc_register(void) { function free_register (line 125) | static void free_register(int reg) { function cgpreamble (line 132) | void cgpreamble() { function cgpostamble (line 137) | void cgpostamble() { function cgfuncpreamble (line 141) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 184) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 193) | int cgloadint(int value, int type) { function cgloadglob (line 205) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 254) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 301) | int cgloadglobstr(int label) { function cgadd (line 310) | int cgadd(int r1, int r2) { function cgsub (line 318) | int cgsub(int r1, int r2) { function cgmul (line 326) | int cgmul(int r1, int r2) { function cgdiv (line 334) | int cgdiv(int r1, int r2) { function cgand (line 343) | int cgand(int r1, int r2) { function cgor (line 349) | int cgor(int r1, int r2) { function cgxor (line 355) | int cgxor(int r1, int r2) { function cgshl (line 361) | int cgshl(int r1, int r2) { function cgshr (line 368) | int cgshr(int r1, int r2) { function cgnegate (line 376) | int cgnegate(int r) { function cginvert (line 382) | int cginvert(int r) { function cglognot (line 388) | int cglognot(int r) { function cgboolean (line 397) | int cgboolean(int r, int op, int label) { function cgcall (line 411) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 428) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 444) | int cgshlconst(int r, int val) { function cgstorglob (line 450) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 469) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 488) | void cgglobsym(struct symtable *node) { function cgglobstr (line 522) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 537) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 551) | void cglabel(int l) { function cgjump (line 556) | void cgjump(int l) { function cgcompare_and_jump (line 565) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 580) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 586) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 607) | int cgaddress(struct symtable *sym) { function cgderef (line 619) | int cgderef(int r, int type) { function cgstorderef (line 643) | int cgstorderef(int r1, int r2, int type) { FILE: 33_Unions/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 33_Unions/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 75) | int newlocaloffset(int type) { function freeall_registers (line 97) | void freeall_registers(void) { function alloc_register (line 103) | static int alloc_register(void) { function free_register (line 116) | static void free_register(int reg) { function cgpreamble (line 123) | void cgpreamble() { function cgpostamble (line 135) | void cgpostamble() { function cgfuncpreamble (line 139) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 181) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 190) | int cgloadint(int value, int type) { function cgloadglob (line 202) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 254) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 306) | int cgloadglobstr(int label) { function cgadd (line 315) | int cgadd(int r1, int r2) { function cgsub (line 323) | int cgsub(int r1, int r2) { function cgmul (line 331) | int cgmul(int r1, int r2) { function cgdiv (line 339) | int cgdiv(int r1, int r2) { function cgand (line 348) | int cgand(int r1, int r2) { function cgor (line 354) | int cgor(int r1, int r2) { function cgxor (line 360) | int cgxor(int r1, int r2) { function cgshl (line 366) | int cgshl(int r1, int r2) { function cgshr (line 373) | int cgshr(int r1, int r2) { function cgnegate (line 381) | int cgnegate(int r) { function cginvert (line 387) | int cginvert(int r) { function cglognot (line 393) | int cglognot(int r) { function cgboolean (line 402) | int cgboolean(int r, int op, int label) { function cgcall (line 416) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 433) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 449) | int cgshlconst(int r, int val) { function cgstorglob (line 455) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 473) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 494) | void cgglobsym(struct symtable *node) { function cgglobstr (line 546) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 600) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 614) | void cglabel(int l) { function cgjump (line 619) | void cgjump(int l) { function cgcompare_and_jump (line 628) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 643) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 649) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 669) | int cgaddress(struct symtable *sym) { function cgderef (line 682) | int cgderef(int r, int type) { function cgstorderef (line 706) | int cgstorderef(int r1, int r2, int type) { FILE: 33_Unions/decl.c type symtable (line 8) | struct symtable function parse_type (line 15) | int parse_type(struct symtable **ctype) { type symtable (line 68) | struct symtable type symtable (line 68) | struct symtable type symtable (line 69) | struct symtable function var_declaration_list (line 140) | static int var_declaration_list(struct symtable *funcsym, int class, type ASTnode (line 191) | struct ASTnode type ASTnode (line 192) | struct ASTnode type symtable (line 193) | struct symtable type symtable (line 260) | struct symtable type symtable (line 261) | struct symtable type symtable (line 262) | struct symtable function global_declarations (line 330) | void global_declarations(void) { FILE: 33_Unions/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 26) | struct symtable type symtable (line 40) | struct symtable type symtable (line 41) | struct symtable type symtable (line 43) | struct symtable type symtable (line 44) | struct symtable type symtable (line 51) | struct symtable type symtable (line 53) | struct symtable type symtable (line 54) | struct symtable type symtable (line 55) | struct symtable type symtable (line 62) | struct symtable type symtable (line 63) | struct symtable type ASTnode (line 77) | struct ASTnode type ASTnode (line 80) | struct ASTnode type symtable (line 96) | struct symtable type symtable (line 96) | struct symtable type symtable (line 97) | struct symtable type symtable (line 98) | struct symtable type symtable (line 98) | struct symtable type symtable (line 100) | struct symtable type symtable (line 100) | struct symtable type symtable (line 101) | struct symtable type symtable (line 101) | struct symtable type symtable (line 102) | struct symtable type symtable (line 102) | struct symtable type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 104) | struct symtable type symtable (line 104) | struct symtable type symtable (line 105) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 116) | struct symtable type symtable (line 116) | struct symtable type ASTnode (line 117) | struct ASTnode type symtable (line 123) | struct symtable type symtable (line 126) | struct symtable type ASTnode (line 127) | struct ASTnode type ASTnode (line 127) | struct ASTnode FILE: 33_Unions/defs.h type token (line 53) | struct token { type symtable (line 95) | struct symtable { type ASTnode (line 115) | struct ASTnode { FILE: 33_Unions/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 52) | struct ASTnode type ASTnode (line 53) | struct ASTnode type symtable (line 54) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type symtable (line 82) | struct symtable type ASTnode (line 118) | struct ASTnode type ASTnode (line 119) | struct ASTnode type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 122) | struct symtable type ASTnode (line 172) | struct ASTnode type ASTnode (line 173) | struct ASTnode type symtable (line 174) | struct symtable type ASTnode (line 219) | struct ASTnode type ASTnode (line 220) | struct ASTnode function binastop (line 262) | static int binastop(int tokentype) { function rightassoc (line 271) | static int rightassoc(int tokentype) { function op_precedence (line 291) | static int op_precedence(int tokentype) { type ASTnode (line 311) | struct ASTnode type ASTnode (line 312) | struct ASTnode type ASTnode (line 412) | struct ASTnode type ASTnode (line 413) | struct ASTnode type ASTnode (line 414) | struct ASTnode FILE: 33_Unions/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function gen_funccall (line 87) | static int gen_funccall(struct ASTnode *n) { function genAST (line 115) | int genAST(struct ASTnode *n, int label, int parentASTop) { function genpreamble (line 276) | void genpreamble() { function genpostamble (line 279) | void genpostamble() { function genfreeregs (line 282) | void genfreeregs() { function genglobsym (line 285) | void genglobsym(struct symtable *node) { function genglobstr (line 288) | int genglobstr(char *strvalue) { function genprimsize (line 293) | int genprimsize(int type) { function genalign (line 296) | int genalign(int type, int offset, int direction) { FILE: 33_Unions/main.c function do_link (line 97) | void do_link(char *outfilename, char *objlist[]) { function usage (line 126) | static void usage(char *prog) { function main (line 141) | int main(int argc, char *argv[]) { FILE: 33_Unions/misc.c function match (line 12) | void match(int t, char *what) { function semi (line 21) | void semi(void) { function lbrace (line 26) | void lbrace(void) { function rbrace (line 31) | void rbrace(void) { function lparen (line 36) | void lparen(void) { function rparen (line 41) | void rparen(void) { function ident (line 46) | void ident(void) { function fatal (line 51) | void fatal(char *s) { function fatals (line 58) | void fatals(char *s1, char *s2) { function fatald (line 65) | void fatald(char *s, int d) { function fatalc (line 72) | void fatalc(char *s, int c) { FILE: 33_Unions/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanch (line 53) | static int scanch(void) { function scanint (line 90) | static int scanint(int c) { function scanstr (line 107) | static int scanstr(char *buf) { function scanident (line 127) | static int scanident(int c, char *buf, int lim) { function keyword (line 152) | static int keyword(char *s) { type token (line 201) | struct token function reject_token (line 204) | void reject_token(struct token *t) { function scan (line 212) | int scan(struct token *t) { FILE: 33_Unions/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 170) | struct ASTnode type symtable (line 172) | struct symtable type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode type ASTnode (line 208) | struct ASTnode FILE: 33_Unions/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 59) | struct symtable type symtable (line 59) | struct symtable type symtable (line 61) | struct symtable type symtable (line 67) | struct symtable type symtable (line 67) | struct symtable type symtable (line 69) | struct symtable type symtable (line 75) | struct symtable type symtable (line 75) | struct symtable type symtable (line 77) | struct symtable type symtable (line 83) | struct symtable type symtable (line 83) | struct symtable type symtable (line 85) | struct symtable type symtable (line 91) | struct symtable type symtable (line 91) | struct symtable type symtable (line 93) | struct symtable type symtable (line 99) | struct symtable type symtable (line 99) | struct symtable type symtable (line 101) | struct symtable type symtable (line 108) | struct symtable type symtable (line 108) | struct symtable type symtable (line 117) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 137) | struct symtable type symtable (line 138) | struct symtable type symtable (line 155) | struct symtable type symtable (line 161) | struct symtable type symtable (line 167) | struct symtable function clear_symtable (line 172) | void clear_symtable(void) { function freeloclsyms (line 182) | void freeloclsyms(void) { FILE: 33_Unions/tests/input01.c function main (line 3) | void main() FILE: 33_Unions/tests/input02.c function main (line 3) | void main() FILE: 33_Unions/tests/input03.c function main (line 3) | void main() FILE: 33_Unions/tests/input04.c function main (line 3) | void main() FILE: 33_Unions/tests/input05.c function main (line 3) | void main() FILE: 33_Unions/tests/input06.c function main (line 3) | void main() FILE: 33_Unions/tests/input07.c function main (line 3) | void main() FILE: 33_Unions/tests/input08.c function main (line 3) | void main() FILE: 33_Unions/tests/input09.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 33_Unions/tests/input10.c function main (line 3) | void main() FILE: 33_Unions/tests/input11.c function main (line 3) | int main() FILE: 33_Unions/tests/input12.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 33_Unions/tests/input13.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 33_Unions/tests/input14.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 33_Unions/tests/input15.c function main (line 3) | int main() { FILE: 33_Unions/tests/input16.c function main (line 8) | int main() { FILE: 33_Unions/tests/input17.c function main (line 3) | int main() { FILE: 33_Unions/tests/input18.c function main (line 3) | int main() FILE: 33_Unions/tests/input18a.c function main (line 8) | int main() FILE: 33_Unions/tests/input19.c function main (line 8) | int main() FILE: 33_Unions/tests/input20.c function main (line 6) | int main() { FILE: 33_Unions/tests/input21.c function main (line 6) | int main() { FILE: 33_Unions/tests/input22.c function main (line 8) | int main() { FILE: 33_Unions/tests/input23.c function main (line 6) | int main() { FILE: 33_Unions/tests/input24.c function main (line 6) | int main() { FILE: 33_Unions/tests/input25.c function main (line 7) | int main() FILE: 33_Unions/tests/input26.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 33_Unions/tests/input27.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 33_Unions/tests/input28.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 33_Unions/tests/input29.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 33_Unions/tests/input30.c function main (line 10) | int main() { FILE: 33_Unions/tests/input31.c function main (line 3) | int main() { FILE: 33_Unions/tests/input32.c function main (line 3) | int main() { FILE: 33_Unions/tests/input33.c function main (line 3) | int main() { FILE: 33_Unions/tests/input34.c function main (line 3) | int main() { FILE: 33_Unions/tests/input35.c function fred (line 3) | int fred(int a, int b) { FILE: 33_Unions/tests/input39.c function main (line 3) | int main() { int a; } FILE: 33_Unions/tests/input40.c function main (line 3) | int main() { int a; a= 5; } FILE: 33_Unions/tests/input41.c function fred (line 3) | void fred() { return(5); } FILE: 33_Unions/tests/input42.c function main (line 3) | int main() { fred(5); } FILE: 33_Unions/tests/input43.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 33_Unions/tests/input44.c function main (line 3) | int main() { int a; a= z; } FILE: 33_Unions/tests/input45.c function main (line 3) | int main() { int a; a= &5; } FILE: 33_Unions/tests/input46.c function main (line 3) | int main() { int a; a= *5; } FILE: 33_Unions/tests/input47.c function main (line 3) | int main() { int a; a= ++5; } FILE: 33_Unions/tests/input48.c function main (line 3) | int main() { int a; a= --5; } FILE: 33_Unions/tests/input49.c function main (line 3) | int main() { FILE: 33_Unions/tests/input50.c function main (line 3) | int main() { FILE: 33_Unions/tests/input51.c function main (line 3) | int main() { FILE: 33_Unions/tests/input52.c function main (line 3) | int main() { FILE: 33_Unions/tests/input53.c function main (line 3) | int main() FILE: 33_Unions/tests/input54.c function main (line 3) | int main() FILE: 33_Unions/tests/input55.c function main (line 3) | int main(int argc, char **argv) { FILE: 33_Unions/tests/input56.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 33_Unions/tests/input57.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 33_Unions/tests/input58.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 33_Unions/tests/input59.c function main (line 1) | int main() { FILE: 33_Unions/tests/input60.c function main (line 1) | int main() { FILE: 33_Unions/tests/input61.c function main (line 1) | int main() { FILE: 33_Unions/tests/input62.c function main (line 13) | int main() { FILE: 33_Unions/tests/out.input30.c function main (line 10) | int main() { FILE: 33_Unions/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 47) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 33_Unions/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 34_Enums_and_Typedefs/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 75) | static int newlocaloffset(int type) { function freeall_registers (line 106) | void freeall_registers(void) { function alloc_register (line 112) | static int alloc_register(void) { function free_register (line 125) | static void free_register(int reg) { function cgpreamble (line 132) | void cgpreamble() { function cgpostamble (line 137) | void cgpostamble() { function cgfuncpreamble (line 141) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 184) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 193) | int cgloadint(int value, int type) { function cgloadglob (line 205) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 254) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 301) | int cgloadglobstr(int label) { function cgadd (line 310) | int cgadd(int r1, int r2) { function cgsub (line 318) | int cgsub(int r1, int r2) { function cgmul (line 326) | int cgmul(int r1, int r2) { function cgdiv (line 334) | int cgdiv(int r1, int r2) { function cgand (line 343) | int cgand(int r1, int r2) { function cgor (line 349) | int cgor(int r1, int r2) { function cgxor (line 355) | int cgxor(int r1, int r2) { function cgshl (line 361) | int cgshl(int r1, int r2) { function cgshr (line 368) | int cgshr(int r1, int r2) { function cgnegate (line 376) | int cgnegate(int r) { function cginvert (line 382) | int cginvert(int r) { function cglognot (line 388) | int cglognot(int r) { function cgboolean (line 397) | int cgboolean(int r, int op, int label) { function cgcall (line 411) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 428) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 444) | int cgshlconst(int r, int val) { function cgstorglob (line 450) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 469) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 488) | void cgglobsym(struct symtable *node) { function cgglobstr (line 522) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 537) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 551) | void cglabel(int l) { function cgjump (line 556) | void cgjump(int l) { function cgcompare_and_jump (line 565) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 580) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 586) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 607) | int cgaddress(struct symtable *sym) { function cgderef (line 619) | int cgderef(int r, int type) { function cgstorderef (line 643) | int cgstorderef(int r1, int r2, int type) { FILE: 34_Enums_and_Typedefs/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 34_Enums_and_Typedefs/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 75) | int newlocaloffset(int type) { function freeall_registers (line 97) | void freeall_registers(void) { function alloc_register (line 103) | static int alloc_register(void) { function free_register (line 116) | static void free_register(int reg) { function cgpreamble (line 123) | void cgpreamble() { function cgpostamble (line 135) | void cgpostamble() { function cgfuncpreamble (line 139) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 181) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 190) | int cgloadint(int value, int type) { function cgloadglob (line 202) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 254) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 306) | int cgloadglobstr(int label) { function cgadd (line 315) | int cgadd(int r1, int r2) { function cgsub (line 323) | int cgsub(int r1, int r2) { function cgmul (line 331) | int cgmul(int r1, int r2) { function cgdiv (line 339) | int cgdiv(int r1, int r2) { function cgand (line 348) | int cgand(int r1, int r2) { function cgor (line 354) | int cgor(int r1, int r2) { function cgxor (line 360) | int cgxor(int r1, int r2) { function cgshl (line 366) | int cgshl(int r1, int r2) { function cgshr (line 373) | int cgshr(int r1, int r2) { function cgnegate (line 381) | int cgnegate(int r) { function cginvert (line 387) | int cginvert(int r) { function cglognot (line 393) | int cglognot(int r) { function cgboolean (line 402) | int cgboolean(int r, int op, int label) { function cgcall (line 416) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 433) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 449) | int cgshlconst(int r, int val) { function cgstorglob (line 455) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 473) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 494) | void cgglobsym(struct symtable *node) { function cgglobstr (line 546) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 600) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 614) | void cglabel(int l) { function cgjump (line 619) | void cgjump(int l) { function cgcompare_and_jump (line 628) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 643) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 649) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 669) | int cgaddress(struct symtable *sym) { function cgderef (line 682) | int cgderef(int r, int type) { function cgstorderef (line 706) | int cgstorderef(int r1, int r2, int type) { FILE: 34_Enums_and_Typedefs/decl.c type symtable (line 8) | struct symtable type symtable (line 10) | struct symtable type symtable (line 11) | struct symtable function parse_type (line 18) | int parse_type(struct symtable **ctype) { type symtable (line 92) | struct symtable type symtable (line 92) | struct symtable type symtable (line 93) | struct symtable function var_declaration_list (line 166) | static int var_declaration_list(struct symtable *funcsym, int class, type ASTnode (line 217) | struct ASTnode type ASTnode (line 218) | struct ASTnode type symtable (line 219) | struct symtable type symtable (line 286) | struct symtable type symtable (line 287) | struct symtable type symtable (line 288) | struct symtable function enum_declaration (line 355) | static void enum_declaration(void) { function typedef_declaration (line 423) | int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 443) | int type_of_typedef(char *name, struct symtable **ctype) { function global_declarations (line 457) | void global_declarations(void) { FILE: 34_Enums_and_Typedefs/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 26) | struct symtable type symtable (line 40) | struct symtable type symtable (line 41) | struct symtable type symtable (line 43) | struct symtable type symtable (line 44) | struct symtable type symtable (line 51) | struct symtable type symtable (line 53) | struct symtable type symtable (line 54) | struct symtable type symtable (line 55) | struct symtable type symtable (line 62) | struct symtable type symtable (line 63) | struct symtable type ASTnode (line 77) | struct ASTnode type ASTnode (line 80) | struct ASTnode type symtable (line 97) | struct symtable type symtable (line 97) | struct symtable type symtable (line 98) | struct symtable type symtable (line 99) | struct symtable type symtable (line 99) | struct symtable type symtable (line 101) | struct symtable type symtable (line 101) | struct symtable type symtable (line 102) | struct symtable type symtable (line 102) | struct symtable type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 104) | struct symtable type symtable (line 104) | struct symtable type symtable (line 105) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 122) | struct symtable type symtable (line 122) | struct symtable type ASTnode (line 123) | struct ASTnode type symtable (line 129) | struct symtable type symtable (line 132) | struct symtable type ASTnode (line 133) | struct ASTnode type ASTnode (line 133) | struct ASTnode FILE: 34_Enums_and_Typedefs/defs.h type token (line 53) | struct token { type symtable (line 98) | struct symtable { type ASTnode (line 118) | struct ASTnode { FILE: 34_Enums_and_Typedefs/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 52) | struct ASTnode type ASTnode (line 53) | struct ASTnode type symtable (line 54) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type symtable (line 82) | struct symtable type ASTnode (line 118) | struct ASTnode type ASTnode (line 119) | struct ASTnode type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 122) | struct symtable type ASTnode (line 172) | struct ASTnode type ASTnode (line 173) | struct ASTnode type symtable (line 174) | struct symtable type symtable (line 175) | struct symtable type ASTnode (line 226) | struct ASTnode type ASTnode (line 227) | struct ASTnode function binastop (line 269) | static int binastop(int tokentype) { function rightassoc (line 278) | static int rightassoc(int tokentype) { function op_precedence (line 298) | static int op_precedence(int tokentype) { type ASTnode (line 318) | struct ASTnode type ASTnode (line 319) | struct ASTnode type ASTnode (line 419) | struct ASTnode type ASTnode (line 420) | struct ASTnode type ASTnode (line 421) | struct ASTnode FILE: 34_Enums_and_Typedefs/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function gen_funccall (line 87) | static int gen_funccall(struct ASTnode *n) { function genAST (line 115) | int genAST(struct ASTnode *n, int label, int parentASTop) { function genpreamble (line 276) | void genpreamble() { function genpostamble (line 279) | void genpostamble() { function genfreeregs (line 282) | void genfreeregs() { function genglobsym (line 285) | void genglobsym(struct symtable *node) { function genglobstr (line 288) | int genglobstr(char *strvalue) { function genprimsize (line 293) | int genprimsize(int type) { function genalign (line 296) | int genalign(int type, int offset, int direction) { FILE: 34_Enums_and_Typedefs/main.c function do_link (line 97) | void do_link(char *outfilename, char *objlist[]) { function usage (line 126) | static void usage(char *prog) { function main (line 141) | int main(int argc, char *argv[]) { FILE: 34_Enums_and_Typedefs/misc.c function match (line 12) | void match(int t, char *what) { function semi (line 21) | void semi(void) { function lbrace (line 26) | void lbrace(void) { function rbrace (line 31) | void rbrace(void) { function lparen (line 36) | void lparen(void) { function rparen (line 41) | void rparen(void) { function ident (line 46) | void ident(void) { function comma (line 51) | void comma(void) { function fatal (line 56) | void fatal(char *s) { function fatals (line 63) | void fatals(char *s1, char *s2) { function fatald (line 70) | void fatald(char *s, int d) { function fatalc (line 77) | void fatalc(char *s, int c) { FILE: 34_Enums_and_Typedefs/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 34) | static void putback(int c) { function skip (line 41) | static int skip(void) { function scanch (line 53) | static int scanch(void) { function scanint (line 90) | static int scanint(int c) { function scanstr (line 107) | static int scanstr(char *buf) { function scanident (line 127) | static int scanident(int c, char *buf, int lim) { function keyword (line 152) | static int keyword(char *s) { type token (line 207) | struct token function reject_token (line 210) | void reject_token(struct token *t) { function scan (line 218) | int scan(struct token *t) { FILE: 34_Enums_and_Typedefs/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 170) | struct ASTnode type symtable (line 172) | struct symtable type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode type ASTnode (line 208) | struct ASTnode FILE: 34_Enums_and_Typedefs/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 59) | struct symtable type symtable (line 59) | struct symtable type symtable (line 61) | struct symtable type symtable (line 67) | struct symtable type symtable (line 67) | struct symtable type symtable (line 69) | struct symtable type symtable (line 75) | struct symtable type symtable (line 75) | struct symtable type symtable (line 77) | struct symtable type symtable (line 83) | struct symtable type symtable (line 83) | struct symtable type symtable (line 85) | struct symtable type symtable (line 91) | struct symtable type symtable (line 91) | struct symtable type symtable (line 93) | struct symtable type symtable (line 99) | struct symtable type symtable (line 99) | struct symtable type symtable (line 101) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 116) | struct symtable type symtable (line 116) | struct symtable type symtable (line 118) | struct symtable type symtable (line 126) | struct symtable type symtable (line 126) | struct symtable type symtable (line 136) | struct symtable type symtable (line 142) | struct symtable type symtable (line 143) | struct symtable type symtable (line 156) | struct symtable type symtable (line 157) | struct symtable type symtable (line 174) | struct symtable type symtable (line 180) | struct symtable type symtable (line 186) | struct symtable type symtable (line 192) | struct symtable type symtable (line 198) | struct symtable type symtable (line 204) | struct symtable function clear_symtable (line 209) | void clear_symtable(void) { function freeloclsyms (line 221) | void freeloclsyms(void) { FILE: 34_Enums_and_Typedefs/tests/err.input65.c type type (line 1) | enum type FILE: 34_Enums_and_Typedefs/tests/err.input66.c type value (line 1) | enum value FILE: 34_Enums_and_Typedefs/tests/input01.c function main (line 3) | void main() FILE: 34_Enums_and_Typedefs/tests/input02.c function main (line 3) | void main() FILE: 34_Enums_and_Typedefs/tests/input03.c function main (line 3) | void main() FILE: 34_Enums_and_Typedefs/tests/input04.c function main (line 3) | void main() FILE: 34_Enums_and_Typedefs/tests/input05.c function main (line 3) | void main() FILE: 34_Enums_and_Typedefs/tests/input06.c function main (line 3) | void main() FILE: 34_Enums_and_Typedefs/tests/input07.c function main (line 3) | void main() FILE: 34_Enums_and_Typedefs/tests/input08.c function main (line 3) | void main() FILE: 34_Enums_and_Typedefs/tests/input09.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 34_Enums_and_Typedefs/tests/input10.c function main (line 3) | void main() FILE: 34_Enums_and_Typedefs/tests/input11.c function main (line 3) | int main() FILE: 34_Enums_and_Typedefs/tests/input12.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 34_Enums_and_Typedefs/tests/input13.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 34_Enums_and_Typedefs/tests/input14.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 34_Enums_and_Typedefs/tests/input15.c function main (line 3) | int main() { FILE: 34_Enums_and_Typedefs/tests/input16.c function main (line 8) | int main() { FILE: 34_Enums_and_Typedefs/tests/input17.c function main (line 3) | int main() { FILE: 34_Enums_and_Typedefs/tests/input18.c function main (line 3) | int main() FILE: 34_Enums_and_Typedefs/tests/input18a.c function main (line 8) | int main() FILE: 34_Enums_and_Typedefs/tests/input19.c function main (line 8) | int main() FILE: 34_Enums_and_Typedefs/tests/input20.c function main (line 6) | int main() { FILE: 34_Enums_and_Typedefs/tests/input21.c function main (line 6) | int main() { FILE: 34_Enums_and_Typedefs/tests/input22.c function main (line 8) | int main() { FILE: 34_Enums_and_Typedefs/tests/input23.c function main (line 6) | int main() { FILE: 34_Enums_and_Typedefs/tests/input24.c function main (line 6) | int main() { FILE: 34_Enums_and_Typedefs/tests/input25.c function main (line 7) | int main() FILE: 34_Enums_and_Typedefs/tests/input26.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 34_Enums_and_Typedefs/tests/input27.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 34_Enums_and_Typedefs/tests/input28.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 34_Enums_and_Typedefs/tests/input29.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 34_Enums_and_Typedefs/tests/input30.c function main (line 10) | int main() { FILE: 34_Enums_and_Typedefs/tests/input31.c function main (line 3) | int main() { FILE: 34_Enums_and_Typedefs/tests/input32.c function main (line 3) | int main() { FILE: 34_Enums_and_Typedefs/tests/input33.c function main (line 3) | int main() { FILE: 34_Enums_and_Typedefs/tests/input34.c function main (line 3) | int main() { FILE: 34_Enums_and_Typedefs/tests/input35.c function fred (line 3) | int fred(int a, int b) { FILE: 34_Enums_and_Typedefs/tests/input39.c function main (line 3) | int main() { int a; } FILE: 34_Enums_and_Typedefs/tests/input40.c function main (line 3) | int main() { int a; a= 5; } FILE: 34_Enums_and_Typedefs/tests/input41.c function fred (line 3) | void fred() { return(5); } FILE: 34_Enums_and_Typedefs/tests/input42.c function main (line 3) | int main() { fred(5); } FILE: 34_Enums_and_Typedefs/tests/input43.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 34_Enums_and_Typedefs/tests/input44.c function main (line 3) | int main() { int a; a= z; } FILE: 34_Enums_and_Typedefs/tests/input45.c function main (line 3) | int main() { int a; a= &5; } FILE: 34_Enums_and_Typedefs/tests/input46.c function main (line 3) | int main() { int a; a= *5; } FILE: 34_Enums_and_Typedefs/tests/input47.c function main (line 3) | int main() { int a; a= ++5; } FILE: 34_Enums_and_Typedefs/tests/input48.c function main (line 3) | int main() { int a; a= --5; } FILE: 34_Enums_and_Typedefs/tests/input49.c function main (line 3) | int main() { FILE: 34_Enums_and_Typedefs/tests/input50.c function main (line 3) | int main() { FILE: 34_Enums_and_Typedefs/tests/input51.c function main (line 3) | int main() { FILE: 34_Enums_and_Typedefs/tests/input52.c function main (line 3) | int main() { FILE: 34_Enums_and_Typedefs/tests/input53.c function main (line 3) | int main() FILE: 34_Enums_and_Typedefs/tests/input54.c function main (line 3) | int main() FILE: 34_Enums_and_Typedefs/tests/input55.c function main (line 3) | int main(int argc, char **argv) { FILE: 34_Enums_and_Typedefs/tests/input56.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 34_Enums_and_Typedefs/tests/input57.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 34_Enums_and_Typedefs/tests/input58.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 34_Enums_and_Typedefs/tests/input59.c function main (line 1) | int main() { FILE: 34_Enums_and_Typedefs/tests/input60.c function main (line 1) | int main() { FILE: 34_Enums_and_Typedefs/tests/input61.c function main (line 1) | int main() { FILE: 34_Enums_and_Typedefs/tests/input62.c function main (line 13) | int main() { FILE: 34_Enums_and_Typedefs/tests/input63.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 34_Enums_and_Typedefs/tests/input64.c type fred (line 1) | enum fred FILE: 34_Enums_and_Typedefs/tests/input65.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 34_Enums_and_Typedefs/tests/input66.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 34_Enums_and_Typedefs/tests/input67.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 34_Enums_and_Typedefs/tests/input68.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 34_Enums_and_Typedefs/tests/input69.c type FOO (line 1) | typedef int FOO; FILE: 34_Enums_and_Typedefs/tests/out.input30.c function main (line 10) | int main() { FILE: 34_Enums_and_Typedefs/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 47) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 34_Enums_and_Typedefs/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 35_Preprocessor/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 75) | static int newlocaloffset(int type) { function freeall_registers (line 106) | void freeall_registers(void) { function alloc_register (line 112) | static int alloc_register(void) { function free_register (line 125) | static void free_register(int reg) { function cgpreamble (line 132) | void cgpreamble() { function cgpostamble (line 137) | void cgpostamble() { function cgfuncpreamble (line 141) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 184) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 193) | int cgloadint(int value, int type) { function cgloadglob (line 205) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 254) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 301) | int cgloadglobstr(int label) { function cgadd (line 310) | int cgadd(int r1, int r2) { function cgsub (line 318) | int cgsub(int r1, int r2) { function cgmul (line 326) | int cgmul(int r1, int r2) { function cgdiv (line 334) | int cgdiv(int r1, int r2) { function cgand (line 343) | int cgand(int r1, int r2) { function cgor (line 349) | int cgor(int r1, int r2) { function cgxor (line 355) | int cgxor(int r1, int r2) { function cgshl (line 361) | int cgshl(int r1, int r2) { function cgshr (line 368) | int cgshr(int r1, int r2) { function cgnegate (line 376) | int cgnegate(int r) { function cginvert (line 382) | int cginvert(int r) { function cglognot (line 388) | int cglognot(int r) { function cgboolean (line 397) | int cgboolean(int r, int op, int label) { function cgcall (line 411) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 428) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 444) | int cgshlconst(int r, int val) { function cgstorglob (line 450) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 469) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 488) | void cgglobsym(struct symtable *node) { function cgglobstr (line 522) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 537) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 551) | void cglabel(int l) { function cgjump (line 556) | void cgjump(int l) { function cgcompare_and_jump (line 565) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 580) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 586) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 607) | int cgaddress(struct symtable *sym) { function cgderef (line 619) | int cgderef(int r, int type) { function cgstorderef (line 643) | int cgstorderef(int r1, int r2, int type) { FILE: 35_Preprocessor/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 35_Preprocessor/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 75) | int newlocaloffset(int type) { function freeall_registers (line 97) | void freeall_registers(void) { function alloc_register (line 103) | static int alloc_register(void) { function free_register (line 116) | static void free_register(int reg) { function cgpreamble (line 123) | void cgpreamble() { function cgpostamble (line 135) | void cgpostamble() { function cgfuncpreamble (line 139) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 181) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 190) | int cgloadint(int value, int type) { function cgloadglob (line 202) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 254) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 306) | int cgloadglobstr(int label) { function cgadd (line 315) | int cgadd(int r1, int r2) { function cgsub (line 323) | int cgsub(int r1, int r2) { function cgmul (line 331) | int cgmul(int r1, int r2) { function cgdiv (line 339) | int cgdiv(int r1, int r2) { function cgand (line 348) | int cgand(int r1, int r2) { function cgor (line 354) | int cgor(int r1, int r2) { function cgxor (line 360) | int cgxor(int r1, int r2) { function cgshl (line 366) | int cgshl(int r1, int r2) { function cgshr (line 373) | int cgshr(int r1, int r2) { function cgnegate (line 381) | int cgnegate(int r) { function cginvert (line 387) | int cginvert(int r) { function cglognot (line 393) | int cglognot(int r) { function cgboolean (line 402) | int cgboolean(int r, int op, int label) { function cgcall (line 416) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 433) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 449) | int cgshlconst(int r, int val) { function cgstorglob (line 455) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 473) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 494) | void cgglobsym(struct symtable *node) { function cgglobstr (line 546) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 600) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 614) | void cglabel(int l) { function cgjump (line 619) | void cgjump(int l) { function cgcompare_and_jump (line 628) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 643) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 649) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 669) | int cgaddress(struct symtable *sym) { function cgderef (line 682) | int cgderef(int r, int type) { function cgstorderef (line 706) | int cgstorderef(int r1, int r2, int type) { FILE: 35_Preprocessor/decl.c type symtable (line 8) | struct symtable type symtable (line 10) | struct symtable type symtable (line 11) | struct symtable function parse_type (line 19) | int parse_type(struct symtable **ctype, int *class) { type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 104) | struct symtable function var_declaration_list (line 180) | static int var_declaration_list(struct symtable *funcsym, int class, type ASTnode (line 231) | struct ASTnode type ASTnode (line 232) | struct ASTnode type symtable (line 233) | struct symtable type symtable (line 300) | struct symtable type symtable (line 301) | struct symtable type symtable (line 302) | struct symtable function enum_declaration (line 369) | static void enum_declaration(void) { function typedef_declaration (line 437) | int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 459) | int type_of_typedef(char *name, struct symtable **ctype) { function global_declarations (line 473) | void global_declarations(void) { FILE: 35_Preprocessor/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 26) | struct symtable type symtable (line 40) | struct symtable type symtable (line 41) | struct symtable type symtable (line 43) | struct symtable type symtable (line 44) | struct symtable type symtable (line 51) | struct symtable type symtable (line 53) | struct symtable type symtable (line 54) | struct symtable type symtable (line 55) | struct symtable type symtable (line 62) | struct symtable type symtable (line 63) | struct symtable type ASTnode (line 77) | struct ASTnode type ASTnode (line 80) | struct ASTnode type symtable (line 97) | struct symtable type symtable (line 97) | struct symtable type symtable (line 98) | struct symtable type symtable (line 99) | struct symtable type symtable (line 99) | struct symtable type symtable (line 101) | struct symtable type symtable (line 101) | struct symtable type symtable (line 102) | struct symtable type symtable (line 102) | struct symtable type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 104) | struct symtable type symtable (line 104) | struct symtable type symtable (line 105) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 122) | struct symtable type symtable (line 122) | struct symtable type ASTnode (line 123) | struct ASTnode type symtable (line 129) | struct symtable type symtable (line 132) | struct symtable type ASTnode (line 133) | struct ASTnode type ASTnode (line 133) | struct ASTnode FILE: 35_Preprocessor/defs.h type token (line 55) | struct token { type symtable (line 101) | struct symtable { type ASTnode (line 121) | struct ASTnode { FILE: 35_Preprocessor/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 52) | struct ASTnode type ASTnode (line 53) | struct ASTnode type symtable (line 54) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type symtable (line 82) | struct symtable type ASTnode (line 118) | struct ASTnode type ASTnode (line 119) | struct ASTnode type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 122) | struct symtable type ASTnode (line 172) | struct ASTnode type ASTnode (line 173) | struct ASTnode type symtable (line 174) | struct symtable type symtable (line 175) | struct symtable type ASTnode (line 226) | struct ASTnode type ASTnode (line 227) | struct ASTnode function binastop (line 269) | static int binastop(int tokentype) { function rightassoc (line 278) | static int rightassoc(int tokentype) { function op_precedence (line 298) | static int op_precedence(int tokentype) { type ASTnode (line 318) | struct ASTnode type ASTnode (line 319) | struct ASTnode type ASTnode (line 419) | struct ASTnode type ASTnode (line 420) | struct ASTnode type ASTnode (line 421) | struct ASTnode FILE: 35_Preprocessor/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function gen_funccall (line 87) | static int gen_funccall(struct ASTnode *n) { function genAST (line 115) | int genAST(struct ASTnode *n, int label, int parentASTop) { function genpreamble (line 276) | void genpreamble() { function genpostamble (line 279) | void genpostamble() { function genfreeregs (line 282) | void genfreeregs() { function genglobsym (line 285) | void genglobsym(struct symtable *node) { function genglobstr (line 288) | int genglobstr(char *strvalue) { function genprimsize (line 293) | int genprimsize(int type) { function genalign (line 296) | int genalign(int type, int offset, int direction) { FILE: 35_Preprocessor/main.c function do_link (line 105) | void do_link(char *outfilename, char *objlist[]) { function usage (line 134) | static void usage(char *prog) { function main (line 149) | int main(int argc, char *argv[]) { FILE: 35_Preprocessor/misc.c function match (line 12) | void match(int t, char *what) { function semi (line 21) | void semi(void) { function lbrace (line 26) | void lbrace(void) { function rbrace (line 31) | void rbrace(void) { function lparen (line 36) | void lparen(void) { function rparen (line 41) | void rparen(void) { function ident (line 46) | void ident(void) { function comma (line 51) | void comma(void) { function fatal (line 56) | void fatal(char *s) { function fatals (line 63) | void fatals(char *s1, char *s2) { function fatald (line 70) | void fatald(char *s, int d) { function fatalc (line 77) | void fatalc(char *s, int c) { FILE: 35_Preprocessor/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 55) | static void putback(int c) { function skip (line 62) | static int skip(void) { function scanch (line 74) | static int scanch(void) { function scanint (line 111) | static int scanint(int c) { function scanstr (line 128) | static int scanstr(char *buf) { function scanident (line 148) | static int scanident(int c, char *buf, int lim) { function keyword (line 173) | static int keyword(char *s) { type token (line 230) | struct token function reject_token (line 233) | void reject_token(struct token *t) { function scan (line 241) | int scan(struct token *t) { FILE: 35_Preprocessor/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 170) | struct ASTnode type symtable (line 172) | struct symtable type ASTnode (line 215) | struct ASTnode type ASTnode (line 216) | struct ASTnode type ASTnode (line 217) | struct ASTnode FILE: 35_Preprocessor/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 59) | struct symtable type symtable (line 59) | struct symtable type symtable (line 61) | struct symtable type symtable (line 67) | struct symtable type symtable (line 67) | struct symtable type symtable (line 69) | struct symtable type symtable (line 75) | struct symtable type symtable (line 75) | struct symtable type symtable (line 77) | struct symtable type symtable (line 83) | struct symtable type symtable (line 83) | struct symtable type symtable (line 85) | struct symtable type symtable (line 91) | struct symtable type symtable (line 91) | struct symtable type symtable (line 93) | struct symtable type symtable (line 99) | struct symtable type symtable (line 99) | struct symtable type symtable (line 101) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 116) | struct symtable type symtable (line 116) | struct symtable type symtable (line 118) | struct symtable type symtable (line 126) | struct symtable type symtable (line 126) | struct symtable type symtable (line 136) | struct symtable type symtable (line 142) | struct symtable type symtable (line 143) | struct symtable type symtable (line 156) | struct symtable type symtable (line 157) | struct symtable type symtable (line 174) | struct symtable type symtable (line 180) | struct symtable type symtable (line 186) | struct symtable type symtable (line 192) | struct symtable type symtable (line 198) | struct symtable type symtable (line 204) | struct symtable function clear_symtable (line 209) | void clear_symtable(void) { function freeloclsyms (line 221) | void freeloclsyms(void) { FILE: 35_Preprocessor/tests/err.input65.c type type (line 1) | enum type FILE: 35_Preprocessor/tests/err.input66.c type value (line 1) | enum value FILE: 35_Preprocessor/tests/input01.c function main (line 3) | void main() FILE: 35_Preprocessor/tests/input02.c function main (line 3) | void main() FILE: 35_Preprocessor/tests/input03.c function main (line 3) | void main() FILE: 35_Preprocessor/tests/input04.c function main (line 3) | void main() FILE: 35_Preprocessor/tests/input05.c function main (line 3) | void main() FILE: 35_Preprocessor/tests/input06.c function main (line 3) | void main() FILE: 35_Preprocessor/tests/input07.c function main (line 3) | void main() FILE: 35_Preprocessor/tests/input08.c function main (line 3) | void main() FILE: 35_Preprocessor/tests/input09.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 35_Preprocessor/tests/input10.c function main (line 3) | void main() FILE: 35_Preprocessor/tests/input11.c function main (line 3) | int main() FILE: 35_Preprocessor/tests/input12.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 35_Preprocessor/tests/input13.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 35_Preprocessor/tests/input14.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 35_Preprocessor/tests/input15.c function main (line 3) | int main() { FILE: 35_Preprocessor/tests/input16.c function main (line 8) | int main() { FILE: 35_Preprocessor/tests/input17.c function main (line 3) | int main() { FILE: 35_Preprocessor/tests/input18.c function main (line 3) | int main() FILE: 35_Preprocessor/tests/input18a.c function main (line 8) | int main() FILE: 35_Preprocessor/tests/input19.c function main (line 8) | int main() FILE: 35_Preprocessor/tests/input20.c function main (line 6) | int main() { FILE: 35_Preprocessor/tests/input21.c function main (line 6) | int main() { FILE: 35_Preprocessor/tests/input22.c function main (line 8) | int main() { FILE: 35_Preprocessor/tests/input23.c function main (line 6) | int main() { FILE: 35_Preprocessor/tests/input24.c function main (line 6) | int main() { FILE: 35_Preprocessor/tests/input25.c function main (line 7) | int main() FILE: 35_Preprocessor/tests/input26.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 35_Preprocessor/tests/input27.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 35_Preprocessor/tests/input28.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 35_Preprocessor/tests/input29.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 35_Preprocessor/tests/input30.c function main (line 10) | int main() { FILE: 35_Preprocessor/tests/input31.c function main (line 3) | int main() { FILE: 35_Preprocessor/tests/input32.c function main (line 3) | int main() { FILE: 35_Preprocessor/tests/input33.c function main (line 3) | int main() { FILE: 35_Preprocessor/tests/input34.c function main (line 3) | int main() { FILE: 35_Preprocessor/tests/input35.c function fred (line 3) | int fred(int a, int b) { FILE: 35_Preprocessor/tests/input39.c function main (line 3) | int main() { int a; } FILE: 35_Preprocessor/tests/input40.c function main (line 3) | int main() { int a; a= 5; } FILE: 35_Preprocessor/tests/input41.c function fred (line 3) | void fred() { return(5); } FILE: 35_Preprocessor/tests/input42.c function main (line 3) | int main() { fred(5); } FILE: 35_Preprocessor/tests/input43.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 35_Preprocessor/tests/input44.c function main (line 3) | int main() { int a; a= z; } FILE: 35_Preprocessor/tests/input45.c function main (line 3) | int main() { int a; a= &5; } FILE: 35_Preprocessor/tests/input46.c function main (line 3) | int main() { int a; a= *5; } FILE: 35_Preprocessor/tests/input47.c function main (line 3) | int main() { int a; a= ++5; } FILE: 35_Preprocessor/tests/input48.c function main (line 3) | int main() { int a; a= --5; } FILE: 35_Preprocessor/tests/input49.c function main (line 3) | int main() { FILE: 35_Preprocessor/tests/input50.c function main (line 3) | int main() { FILE: 35_Preprocessor/tests/input51.c function main (line 3) | int main() { FILE: 35_Preprocessor/tests/input52.c function main (line 3) | int main() { FILE: 35_Preprocessor/tests/input53.c function main (line 3) | int main() FILE: 35_Preprocessor/tests/input54.c function main (line 3) | int main() FILE: 35_Preprocessor/tests/input55.c function main (line 3) | int main(int argc, char **argv) { FILE: 35_Preprocessor/tests/input56.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 35_Preprocessor/tests/input57.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 35_Preprocessor/tests/input58.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 35_Preprocessor/tests/input59.c function main (line 1) | int main() { FILE: 35_Preprocessor/tests/input60.c function main (line 1) | int main() { FILE: 35_Preprocessor/tests/input61.c function main (line 1) | int main() { FILE: 35_Preprocessor/tests/input62.c function main (line 13) | int main() { FILE: 35_Preprocessor/tests/input63.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 35_Preprocessor/tests/input64.c type fred (line 1) | enum fred FILE: 35_Preprocessor/tests/input65.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 35_Preprocessor/tests/input66.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 35_Preprocessor/tests/input67.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 35_Preprocessor/tests/input68.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 35_Preprocessor/tests/input69.c type FOO (line 1) | typedef int FOO; FILE: 35_Preprocessor/tests/input70.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 35_Preprocessor/tests/out.input30.c function main (line 10) | int main() { FILE: 35_Preprocessor/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 47) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 35_Preprocessor/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 36_Break_Continue/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 75) | static int newlocaloffset(int type) { function freeall_registers (line 106) | void freeall_registers(void) { function alloc_register (line 112) | static int alloc_register(void) { function free_register (line 125) | static void free_register(int reg) { function cgpreamble (line 132) | void cgpreamble() { function cgpostamble (line 137) | void cgpostamble() { function cgfuncpreamble (line 141) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 184) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 193) | int cgloadint(int value, int type) { function cgloadglob (line 205) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 254) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 301) | int cgloadglobstr(int label) { function cgadd (line 310) | int cgadd(int r1, int r2) { function cgsub (line 318) | int cgsub(int r1, int r2) { function cgmul (line 326) | int cgmul(int r1, int r2) { function cgdiv (line 334) | int cgdiv(int r1, int r2) { function cgand (line 343) | int cgand(int r1, int r2) { function cgor (line 349) | int cgor(int r1, int r2) { function cgxor (line 355) | int cgxor(int r1, int r2) { function cgshl (line 361) | int cgshl(int r1, int r2) { function cgshr (line 368) | int cgshr(int r1, int r2) { function cgnegate (line 376) | int cgnegate(int r) { function cginvert (line 382) | int cginvert(int r) { function cglognot (line 388) | int cglognot(int r) { function cgboolean (line 397) | int cgboolean(int r, int op, int label) { function cgcall (line 411) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 428) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 444) | int cgshlconst(int r, int val) { function cgstorglob (line 450) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 469) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 488) | void cgglobsym(struct symtable *node) { function cgglobstr (line 522) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 537) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 551) | void cglabel(int l) { function cgjump (line 556) | void cgjump(int l) { function cgcompare_and_jump (line 565) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 580) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 586) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 607) | int cgaddress(struct symtable *sym) { function cgderef (line 619) | int cgderef(int r, int type) { function cgstorderef (line 643) | int cgstorderef(int r1, int r2, int type) { FILE: 36_Break_Continue/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 36_Break_Continue/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 75) | int newlocaloffset(int type) { function freeall_registers (line 97) | void freeall_registers(void) { function alloc_register (line 103) | static int alloc_register(void) { function free_register (line 116) | static void free_register(int reg) { function cgpreamble (line 123) | void cgpreamble() { function cgpostamble (line 135) | void cgpostamble() { function cgfuncpreamble (line 139) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 181) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 190) | int cgloadint(int value, int type) { function cgloadglob (line 202) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 254) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 306) | int cgloadglobstr(int label) { function cgadd (line 315) | int cgadd(int r1, int r2) { function cgsub (line 323) | int cgsub(int r1, int r2) { function cgmul (line 331) | int cgmul(int r1, int r2) { function cgdiv (line 339) | int cgdiv(int r1, int r2) { function cgand (line 348) | int cgand(int r1, int r2) { function cgor (line 354) | int cgor(int r1, int r2) { function cgxor (line 360) | int cgxor(int r1, int r2) { function cgshl (line 366) | int cgshl(int r1, int r2) { function cgshr (line 373) | int cgshr(int r1, int r2) { function cgnegate (line 381) | int cgnegate(int r) { function cginvert (line 387) | int cginvert(int r) { function cglognot (line 393) | int cglognot(int r) { function cgboolean (line 402) | int cgboolean(int r, int op, int label) { function cgcall (line 416) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 433) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 449) | int cgshlconst(int r, int val) { function cgstorglob (line 455) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 473) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 494) | void cgglobsym(struct symtable *node) { function cgglobstr (line 546) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 600) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 614) | void cglabel(int l) { function cgjump (line 619) | void cgjump(int l) { function cgcompare_and_jump (line 628) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 643) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 649) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 669) | int cgaddress(struct symtable *sym) { function cgderef (line 682) | int cgderef(int r, int type) { function cgstorderef (line 706) | int cgstorderef(int r1, int r2, int type) { FILE: 36_Break_Continue/decl.c type symtable (line 8) | struct symtable type symtable (line 10) | struct symtable type symtable (line 11) | struct symtable function parse_type (line 19) | int parse_type(struct symtable **ctype, int *class) { type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 104) | struct symtable function var_declaration_list (line 180) | static int var_declaration_list(struct symtable *funcsym, int class, type ASTnode (line 231) | struct ASTnode type ASTnode (line 232) | struct ASTnode type symtable (line 233) | struct symtable type symtable (line 302) | struct symtable type symtable (line 303) | struct symtable type symtable (line 304) | struct symtable function enum_declaration (line 371) | static void enum_declaration(void) { function typedef_declaration (line 439) | int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 461) | int type_of_typedef(char *name, struct symtable **ctype) { function global_declarations (line 475) | void global_declarations(void) { FILE: 36_Break_Continue/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 27) | struct symtable type symtable (line 41) | struct symtable type symtable (line 42) | struct symtable type symtable (line 44) | struct symtable type symtable (line 45) | struct symtable type symtable (line 52) | struct symtable type symtable (line 54) | struct symtable type symtable (line 55) | struct symtable type symtable (line 56) | struct symtable type symtable (line 63) | struct symtable type symtable (line 64) | struct symtable type ASTnode (line 78) | struct ASTnode type ASTnode (line 81) | struct ASTnode type symtable (line 98) | struct symtable type symtable (line 98) | struct symtable type symtable (line 99) | struct symtable type symtable (line 100) | struct symtable type symtable (line 100) | struct symtable type symtable (line 102) | struct symtable type symtable (line 102) | struct symtable type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 104) | struct symtable type symtable (line 104) | struct symtable type symtable (line 105) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 123) | struct symtable type symtable (line 123) | struct symtable type ASTnode (line 124) | struct ASTnode type symtable (line 130) | struct symtable type symtable (line 133) | struct symtable type ASTnode (line 134) | struct ASTnode type ASTnode (line 134) | struct ASTnode FILE: 36_Break_Continue/defs.h type token (line 55) | struct token { type symtable (line 102) | struct symtable { type ASTnode (line 122) | struct ASTnode { FILE: 36_Break_Continue/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 52) | struct ASTnode type ASTnode (line 53) | struct ASTnode type symtable (line 54) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type symtable (line 82) | struct symtable type ASTnode (line 118) | struct ASTnode type ASTnode (line 119) | struct ASTnode type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 122) | struct symtable type ASTnode (line 172) | struct ASTnode type ASTnode (line 173) | struct ASTnode type symtable (line 174) | struct symtable type symtable (line 175) | struct symtable type ASTnode (line 226) | struct ASTnode type ASTnode (line 227) | struct ASTnode function binastop (line 269) | static int binastop(int tokentype) { function rightassoc (line 278) | static int rightassoc(int tokentype) { function op_precedence (line 298) | static int op_precedence(int tokentype) { type ASTnode (line 318) | struct ASTnode type ASTnode (line 319) | struct ASTnode type ASTnode (line 419) | struct ASTnode type ASTnode (line 420) | struct ASTnode type ASTnode (line 421) | struct ASTnode FILE: 36_Break_Continue/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function gen_funccall (line 87) | static int gen_funccall(struct ASTnode *n) { function genAST (line 115) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 283) | void genpreamble() { function genpostamble (line 286) | void genpostamble() { function genfreeregs (line 289) | void genfreeregs() { function genglobsym (line 292) | void genglobsym(struct symtable *node) { function genglobstr (line 295) | int genglobstr(char *strvalue) { function genprimsize (line 300) | int genprimsize(int type) { function genalign (line 303) | int genalign(int type, int offset, int direction) { FILE: 36_Break_Continue/main.c function do_link (line 105) | void do_link(char *outfilename, char *objlist[]) { function usage (line 134) | static void usage(char *prog) { function main (line 149) | int main(int argc, char *argv[]) { FILE: 36_Break_Continue/misc.c function match (line 12) | void match(int t, char *what) { function semi (line 21) | void semi(void) { function lbrace (line 26) | void lbrace(void) { function rbrace (line 31) | void rbrace(void) { function lparen (line 36) | void lparen(void) { function rparen (line 41) | void rparen(void) { function ident (line 46) | void ident(void) { function comma (line 51) | void comma(void) { function fatal (line 56) | void fatal(char *s) { function fatals (line 63) | void fatals(char *s1, char *s2) { function fatald (line 70) | void fatald(char *s, int d) { function fatalc (line 77) | void fatalc(char *s, int c) { FILE: 36_Break_Continue/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 55) | static void putback(int c) { function skip (line 62) | static int skip(void) { function scanch (line 74) | static int scanch(void) { function scanint (line 111) | static int scanint(int c) { function scanstr (line 128) | static int scanstr(char *buf) { function scanident (line 148) | static int scanident(int c, char *buf, int lim) { function keyword (line 173) | static int keyword(char *s) { type token (line 236) | struct token function reject_token (line 239) | void reject_token(struct token *t) { function scan (line 247) | int scan(struct token *t) { FILE: 36_Break_Continue/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 102) | struct ASTnode type ASTnode (line 103) | struct ASTnode type ASTnode (line 104) | struct ASTnode type ASTnode (line 148) | struct ASTnode type ASTnode (line 149) | struct ASTnode type ASTnode (line 178) | struct ASTnode type ASTnode (line 189) | struct ASTnode type ASTnode (line 198) | struct ASTnode type symtable (line 200) | struct symtable type ASTnode (line 247) | struct ASTnode type ASTnode (line 248) | struct ASTnode type ASTnode (line 249) | struct ASTnode FILE: 36_Break_Continue/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 59) | struct symtable type symtable (line 59) | struct symtable type symtable (line 61) | struct symtable type symtable (line 67) | struct symtable type symtable (line 67) | struct symtable type symtable (line 69) | struct symtable type symtable (line 75) | struct symtable type symtable (line 75) | struct symtable type symtable (line 77) | struct symtable type symtable (line 83) | struct symtable type symtable (line 83) | struct symtable type symtable (line 85) | struct symtable type symtable (line 91) | struct symtable type symtable (line 91) | struct symtable type symtable (line 93) | struct symtable type symtable (line 99) | struct symtable type symtable (line 99) | struct symtable type symtable (line 101) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 116) | struct symtable type symtable (line 116) | struct symtable type symtable (line 118) | struct symtable type symtable (line 126) | struct symtable type symtable (line 126) | struct symtable type symtable (line 136) | struct symtable type symtable (line 142) | struct symtable type symtable (line 143) | struct symtable type symtable (line 156) | struct symtable type symtable (line 157) | struct symtable type symtable (line 174) | struct symtable type symtable (line 180) | struct symtable type symtable (line 186) | struct symtable type symtable (line 192) | struct symtable type symtable (line 198) | struct symtable type symtable (line 204) | struct symtable function clear_symtable (line 209) | void clear_symtable(void) { function freeloclsyms (line 221) | void freeloclsyms(void) { FILE: 36_Break_Continue/tests/err.input65.c type type (line 1) | enum type FILE: 36_Break_Continue/tests/err.input66.c type value (line 1) | enum value FILE: 36_Break_Continue/tests/input01.c function main (line 3) | void main() FILE: 36_Break_Continue/tests/input02.c function main (line 3) | void main() FILE: 36_Break_Continue/tests/input03.c function main (line 3) | void main() FILE: 36_Break_Continue/tests/input04.c function main (line 3) | void main() FILE: 36_Break_Continue/tests/input05.c function main (line 3) | void main() FILE: 36_Break_Continue/tests/input06.c function main (line 3) | void main() FILE: 36_Break_Continue/tests/input07.c function main (line 3) | void main() FILE: 36_Break_Continue/tests/input08.c function main (line 3) | void main() FILE: 36_Break_Continue/tests/input09.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 36_Break_Continue/tests/input10.c function main (line 3) | void main() FILE: 36_Break_Continue/tests/input11.c function main (line 3) | int main() FILE: 36_Break_Continue/tests/input12.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 36_Break_Continue/tests/input13.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 36_Break_Continue/tests/input14.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 36_Break_Continue/tests/input15.c function main (line 3) | int main() { FILE: 36_Break_Continue/tests/input16.c function main (line 8) | int main() { FILE: 36_Break_Continue/tests/input17.c function main (line 3) | int main() { FILE: 36_Break_Continue/tests/input18.c function main (line 3) | int main() FILE: 36_Break_Continue/tests/input18a.c function main (line 8) | int main() FILE: 36_Break_Continue/tests/input19.c function main (line 8) | int main() FILE: 36_Break_Continue/tests/input20.c function main (line 6) | int main() { FILE: 36_Break_Continue/tests/input21.c function main (line 6) | int main() { FILE: 36_Break_Continue/tests/input22.c function main (line 8) | int main() { FILE: 36_Break_Continue/tests/input23.c function main (line 6) | int main() { FILE: 36_Break_Continue/tests/input24.c function main (line 6) | int main() { FILE: 36_Break_Continue/tests/input25.c function main (line 7) | int main() FILE: 36_Break_Continue/tests/input26.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 36_Break_Continue/tests/input27.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 36_Break_Continue/tests/input28.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 36_Break_Continue/tests/input29.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 36_Break_Continue/tests/input30.c function main (line 10) | int main() { FILE: 36_Break_Continue/tests/input31.c function main (line 3) | int main() { FILE: 36_Break_Continue/tests/input32.c function main (line 3) | int main() { FILE: 36_Break_Continue/tests/input33.c function main (line 3) | int main() { FILE: 36_Break_Continue/tests/input34.c function main (line 3) | int main() { FILE: 36_Break_Continue/tests/input35.c function fred (line 3) | int fred(int a, int b) { FILE: 36_Break_Continue/tests/input39.c function main (line 3) | int main() { int a; } FILE: 36_Break_Continue/tests/input40.c function main (line 3) | int main() { int a; a= 5; } FILE: 36_Break_Continue/tests/input41.c function fred (line 3) | void fred() { return(5); } FILE: 36_Break_Continue/tests/input42.c function main (line 3) | int main() { fred(5); } FILE: 36_Break_Continue/tests/input43.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 36_Break_Continue/tests/input44.c function main (line 3) | int main() { int a; a= z; } FILE: 36_Break_Continue/tests/input45.c function main (line 3) | int main() { int a; a= &5; } FILE: 36_Break_Continue/tests/input46.c function main (line 3) | int main() { int a; a= *5; } FILE: 36_Break_Continue/tests/input47.c function main (line 3) | int main() { int a; a= ++5; } FILE: 36_Break_Continue/tests/input48.c function main (line 3) | int main() { int a; a= --5; } FILE: 36_Break_Continue/tests/input49.c function main (line 3) | int main() { FILE: 36_Break_Continue/tests/input50.c function main (line 3) | int main() { FILE: 36_Break_Continue/tests/input51.c function main (line 3) | int main() { FILE: 36_Break_Continue/tests/input52.c function main (line 3) | int main() { FILE: 36_Break_Continue/tests/input53.c function main (line 3) | int main() FILE: 36_Break_Continue/tests/input54.c function main (line 3) | int main() FILE: 36_Break_Continue/tests/input55.c function main (line 3) | int main(int argc, char **argv) { FILE: 36_Break_Continue/tests/input56.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 36_Break_Continue/tests/input57.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 36_Break_Continue/tests/input58.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 36_Break_Continue/tests/input59.c function main (line 1) | int main() { FILE: 36_Break_Continue/tests/input60.c function main (line 1) | int main() { FILE: 36_Break_Continue/tests/input61.c function main (line 1) | int main() { FILE: 36_Break_Continue/tests/input62.c function main (line 13) | int main() { FILE: 36_Break_Continue/tests/input63.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 36_Break_Continue/tests/input64.c type fred (line 1) | enum fred FILE: 36_Break_Continue/tests/input65.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 36_Break_Continue/tests/input66.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 36_Break_Continue/tests/input67.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 36_Break_Continue/tests/input68.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 36_Break_Continue/tests/input69.c type FOO (line 1) | typedef int FOO; FILE: 36_Break_Continue/tests/input70.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 36_Break_Continue/tests/input71.c function main (line 3) | int main() { FILE: 36_Break_Continue/tests/input72.c function main (line 1) | int main() { break; } FILE: 36_Break_Continue/tests/input73.c function main (line 1) | int main() { continue; } FILE: 36_Break_Continue/tests/out.input30.c function main (line 10) | int main() { FILE: 36_Break_Continue/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 47) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 36_Break_Continue/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 37_Switch/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 78) | static int newlocaloffset(int type) { function freeall_registers (line 109) | void freeall_registers(void) { function alloc_register (line 115) | static int alloc_register(void) { function free_register (line 128) | static void free_register(int reg) { function cgpreamble (line 135) | void cgpreamble() { function cgpostamble (line 165) | void cgpostamble() { function cgfuncpreamble (line 169) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 212) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 221) | int cgloadint(int value, int type) { function cgloadglob (line 233) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 282) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 329) | int cgloadglobstr(int label) { function cgadd (line 338) | int cgadd(int r1, int r2) { function cgsub (line 346) | int cgsub(int r1, int r2) { function cgmul (line 354) | int cgmul(int r1, int r2) { function cgdiv (line 362) | int cgdiv(int r1, int r2) { function cgand (line 371) | int cgand(int r1, int r2) { function cgor (line 377) | int cgor(int r1, int r2) { function cgxor (line 383) | int cgxor(int r1, int r2) { function cgshl (line 389) | int cgshl(int r1, int r2) { function cgshr (line 396) | int cgshr(int r1, int r2) { function cgnegate (line 404) | int cgnegate(int r) { function cginvert (line 410) | int cginvert(int r) { function cglognot (line 416) | int cglognot(int r) { function cgboolean (line 425) | int cgboolean(int r, int op, int label) { function cgcall (line 439) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 456) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 472) | int cgshlconst(int r, int val) { function cgstorglob (line 478) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 497) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 516) | void cgglobsym(struct symtable *node) { function cgglobstr (line 550) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 565) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 579) | void cglabel(int l) { function cgjump (line 584) | void cgjump(int l) { function cgcompare_and_jump (line 593) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 608) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 614) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 635) | int cgaddress(struct symtable *sym) { function cgderef (line 647) | int cgderef(int r, int type) { function cgstorderef (line 671) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 692) | void cgswitch(int reg, int casecount, int toplabel, FILE: 37_Switch/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 37_Switch/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 77) | int newlocaloffset(int type) { function freeall_registers (line 99) | void freeall_registers(void) { function alloc_register (line 105) | static int alloc_register(void) { function free_register (line 118) | static void free_register(int reg) { function cgpreamble (line 125) | void cgpreamble() { function cgpostamble (line 162) | void cgpostamble() { function cgfuncpreamble (line 166) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 208) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 217) | int cgloadint(int value, int type) { function cgloadglob (line 229) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 281) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 333) | int cgloadglobstr(int label) { function cgadd (line 342) | int cgadd(int r1, int r2) { function cgsub (line 350) | int cgsub(int r1, int r2) { function cgmul (line 358) | int cgmul(int r1, int r2) { function cgdiv (line 366) | int cgdiv(int r1, int r2) { function cgand (line 375) | int cgand(int r1, int r2) { function cgor (line 381) | int cgor(int r1, int r2) { function cgxor (line 387) | int cgxor(int r1, int r2) { function cgshl (line 393) | int cgshl(int r1, int r2) { function cgshr (line 400) | int cgshr(int r1, int r2) { function cgnegate (line 408) | int cgnegate(int r) { function cginvert (line 414) | int cginvert(int r) { function cglognot (line 420) | int cglognot(int r) { function cgboolean (line 429) | int cgboolean(int r, int op, int label) { function cgcall (line 443) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 460) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 476) | int cgshlconst(int r, int val) { function cgstorglob (line 482) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 500) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 521) | void cgglobsym(struct symtable *node) { function cgglobstr (line 573) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 627) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 641) | void cglabel(int l) { function cgjump (line 646) | void cgjump(int l) { function cgcompare_and_jump (line 655) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 670) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 676) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 696) | int cgaddress(struct symtable *sym) { function cgderef (line 709) | int cgderef(int r, int type) { function cgstorderef (line 733) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 754) | void cgswitch(int reg, int casecount, int toplabel, FILE: 37_Switch/decl.c type symtable (line 8) | struct symtable type symtable (line 10) | struct symtable type symtable (line 11) | struct symtable function parse_type (line 19) | int parse_type(struct symtable **ctype, int *class) { type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 104) | struct symtable function var_declaration_list (line 180) | static int var_declaration_list(struct symtable *funcsym, int class, type ASTnode (line 231) | struct ASTnode type ASTnode (line 232) | struct ASTnode type symtable (line 233) | struct symtable type symtable (line 303) | struct symtable type symtable (line 304) | struct symtable type symtable (line 305) | struct symtable function enum_declaration (line 372) | static void enum_declaration(void) { function typedef_declaration (line 440) | int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 462) | int type_of_typedef(char *name, struct symtable **ctype) { function global_declarations (line 476) | void global_declarations(void) { FILE: 37_Switch/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 27) | struct symtable type symtable (line 41) | struct symtable type symtable (line 42) | struct symtable type symtable (line 44) | struct symtable type symtable (line 45) | struct symtable type symtable (line 52) | struct symtable type symtable (line 54) | struct symtable type symtable (line 55) | struct symtable type symtable (line 56) | struct symtable type symtable (line 63) | struct symtable type symtable (line 64) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 83) | struct ASTnode type symtable (line 100) | struct symtable type symtable (line 100) | struct symtable type symtable (line 101) | struct symtable type symtable (line 102) | struct symtable type symtable (line 102) | struct symtable type symtable (line 104) | struct symtable type symtable (line 104) | struct symtable type symtable (line 105) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 125) | struct symtable type symtable (line 125) | struct symtable type ASTnode (line 126) | struct ASTnode type symtable (line 132) | struct symtable type symtable (line 135) | struct symtable type ASTnode (line 136) | struct ASTnode type ASTnode (line 136) | struct ASTnode FILE: 37_Switch/defs.h type token (line 56) | struct token { type symtable (line 103) | struct symtable { type ASTnode (line 123) | struct ASTnode { FILE: 37_Switch/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 52) | struct ASTnode type ASTnode (line 53) | struct ASTnode type symtable (line 54) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type symtable (line 82) | struct symtable type ASTnode (line 118) | struct ASTnode type ASTnode (line 119) | struct ASTnode type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 122) | struct symtable type ASTnode (line 172) | struct ASTnode type ASTnode (line 173) | struct ASTnode type symtable (line 174) | struct symtable type symtable (line 175) | struct symtable type ASTnode (line 226) | struct ASTnode type ASTnode (line 227) | struct ASTnode function binastop (line 269) | static int binastop(int tokentype) { function rightassoc (line 278) | static int rightassoc(int tokentype) { function op_precedence (line 298) | static int op_precedence(int tokentype) { type ASTnode (line 318) | struct ASTnode type ASTnode (line 319) | struct ASTnode type ASTnode (line 419) | struct ASTnode type ASTnode (line 420) | struct ASTnode type ASTnode (line 421) | struct ASTnode FILE: 37_Switch/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_funccall (line 140) | static int gen_funccall(struct ASTnode *n) { function genAST (line 168) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 338) | void genpreamble() { function genpostamble (line 341) | void genpostamble() { function genfreeregs (line 344) | void genfreeregs() { function genglobsym (line 347) | void genglobsym(struct symtable *node) { function genglobstr (line 350) | int genglobstr(char *strvalue) { function genprimsize (line 355) | int genprimsize(int type) { function genalign (line 358) | int genalign(int type, int offset, int direction) { FILE: 37_Switch/main.c function do_link (line 105) | void do_link(char *outfilename, char *objlist[]) { function usage (line 134) | static void usage(char *prog) { function main (line 149) | int main(int argc, char *argv[]) { FILE: 37_Switch/misc.c function match (line 12) | void match(int t, char *what) { function semi (line 21) | void semi(void) { function lbrace (line 26) | void lbrace(void) { function rbrace (line 31) | void rbrace(void) { function lparen (line 36) | void lparen(void) { function rparen (line 41) | void rparen(void) { function ident (line 46) | void ident(void) { function comma (line 51) | void comma(void) { function fatal (line 56) | void fatal(char *s) { function fatals (line 63) | void fatals(char *s1, char *s2) { function fatald (line 70) | void fatald(char *s, int d) { function fatalc (line 77) | void fatalc(char *s, int c) { FILE: 37_Switch/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 55) | static void putback(int c) { function skip (line 62) | static int skip(void) { function scanch (line 74) | static int scanch(void) { function scanint (line 111) | static int scanint(int c) { function scanstr (line 128) | static int scanstr(char *buf) { function scanident (line 148) | static int scanident(int c, char *buf, int lim) { function keyword (line 173) | static int keyword(char *s) { type token (line 244) | struct token function reject_token (line 247) | void reject_token(struct token *t) { function scan (line 255) | int scan(struct token *t) { FILE: 37_Switch/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 102) | struct ASTnode type ASTnode (line 103) | struct ASTnode type ASTnode (line 104) | struct ASTnode type ASTnode (line 148) | struct ASTnode type ASTnode (line 149) | struct ASTnode type ASTnode (line 178) | struct ASTnode type ASTnode (line 189) | struct ASTnode type ASTnode (line 198) | struct ASTnode type ASTnode (line 199) | struct ASTnode type ASTnode (line 282) | struct ASTnode type symtable (line 284) | struct symtable type ASTnode (line 333) | struct ASTnode type ASTnode (line 334) | struct ASTnode type ASTnode (line 335) | struct ASTnode FILE: 37_Switch/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 59) | struct symtable type symtable (line 59) | struct symtable type symtable (line 61) | struct symtable type symtable (line 67) | struct symtable type symtable (line 67) | struct symtable type symtable (line 69) | struct symtable type symtable (line 75) | struct symtable type symtable (line 75) | struct symtable type symtable (line 77) | struct symtable type symtable (line 83) | struct symtable type symtable (line 83) | struct symtable type symtable (line 85) | struct symtable type symtable (line 91) | struct symtable type symtable (line 91) | struct symtable type symtable (line 93) | struct symtable type symtable (line 99) | struct symtable type symtable (line 99) | struct symtable type symtable (line 101) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 116) | struct symtable type symtable (line 116) | struct symtable type symtable (line 118) | struct symtable type symtable (line 126) | struct symtable type symtable (line 126) | struct symtable type symtable (line 136) | struct symtable type symtable (line 142) | struct symtable type symtable (line 143) | struct symtable type symtable (line 156) | struct symtable type symtable (line 157) | struct symtable type symtable (line 174) | struct symtable type symtable (line 180) | struct symtable type symtable (line 186) | struct symtable type symtable (line 192) | struct symtable type symtable (line 198) | struct symtable type symtable (line 204) | struct symtable function clear_symtable (line 209) | void clear_symtable(void) { function freeloclsyms (line 221) | void freeloclsyms(void) { FILE: 37_Switch/tests/err.input65.c type type (line 1) | enum type FILE: 37_Switch/tests/err.input66.c type value (line 1) | enum value FILE: 37_Switch/tests/input01.c function main (line 3) | void main() FILE: 37_Switch/tests/input02.c function main (line 3) | void main() FILE: 37_Switch/tests/input03.c function main (line 3) | void main() FILE: 37_Switch/tests/input04.c function main (line 3) | void main() FILE: 37_Switch/tests/input05.c function main (line 3) | void main() FILE: 37_Switch/tests/input06.c function main (line 3) | void main() FILE: 37_Switch/tests/input07.c function main (line 3) | void main() FILE: 37_Switch/tests/input08.c function main (line 3) | void main() FILE: 37_Switch/tests/input09.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 37_Switch/tests/input10.c function main (line 3) | void main() FILE: 37_Switch/tests/input11.c function main (line 3) | int main() FILE: 37_Switch/tests/input12.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 37_Switch/tests/input13.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 37_Switch/tests/input14.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 37_Switch/tests/input15.c function main (line 3) | int main() { FILE: 37_Switch/tests/input16.c function main (line 8) | int main() { FILE: 37_Switch/tests/input17.c function main (line 3) | int main() { FILE: 37_Switch/tests/input18.c function main (line 3) | int main() FILE: 37_Switch/tests/input18a.c function main (line 8) | int main() FILE: 37_Switch/tests/input19.c function main (line 8) | int main() FILE: 37_Switch/tests/input20.c function main (line 6) | int main() { FILE: 37_Switch/tests/input21.c function main (line 6) | int main() { FILE: 37_Switch/tests/input22.c function main (line 8) | int main() { FILE: 37_Switch/tests/input23.c function main (line 6) | int main() { FILE: 37_Switch/tests/input24.c function main (line 6) | int main() { FILE: 37_Switch/tests/input25.c function main (line 7) | int main() FILE: 37_Switch/tests/input26.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 37_Switch/tests/input27.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 37_Switch/tests/input28.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 37_Switch/tests/input29.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 37_Switch/tests/input30.c function main (line 10) | int main() { FILE: 37_Switch/tests/input31.c function main (line 3) | int main() { FILE: 37_Switch/tests/input32.c function main (line 3) | int main() { FILE: 37_Switch/tests/input33.c function main (line 3) | int main() { FILE: 37_Switch/tests/input34.c function main (line 3) | int main() { FILE: 37_Switch/tests/input35.c function fred (line 3) | int fred(int a, int b) { FILE: 37_Switch/tests/input39.c function main (line 3) | int main() { int a; } FILE: 37_Switch/tests/input40.c function main (line 3) | int main() { int a; a= 5; } FILE: 37_Switch/tests/input41.c function fred (line 3) | void fred() { return(5); } FILE: 37_Switch/tests/input42.c function main (line 3) | int main() { fred(5); } FILE: 37_Switch/tests/input43.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 37_Switch/tests/input44.c function main (line 3) | int main() { int a; a= z; } FILE: 37_Switch/tests/input45.c function main (line 3) | int main() { int a; a= &5; } FILE: 37_Switch/tests/input46.c function main (line 3) | int main() { int a; a= *5; } FILE: 37_Switch/tests/input47.c function main (line 3) | int main() { int a; a= ++5; } FILE: 37_Switch/tests/input48.c function main (line 3) | int main() { int a; a= --5; } FILE: 37_Switch/tests/input49.c function main (line 3) | int main() { FILE: 37_Switch/tests/input50.c function main (line 3) | int main() { FILE: 37_Switch/tests/input51.c function main (line 3) | int main() { FILE: 37_Switch/tests/input52.c function main (line 3) | int main() { FILE: 37_Switch/tests/input53.c function main (line 3) | int main() FILE: 37_Switch/tests/input54.c function main (line 3) | int main() FILE: 37_Switch/tests/input55.c function main (line 3) | int main(int argc, char **argv) { FILE: 37_Switch/tests/input56.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 37_Switch/tests/input57.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 37_Switch/tests/input58.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 37_Switch/tests/input59.c function main (line 1) | int main() { FILE: 37_Switch/tests/input60.c function main (line 1) | int main() { FILE: 37_Switch/tests/input61.c function main (line 1) | int main() { FILE: 37_Switch/tests/input62.c function main (line 13) | int main() { FILE: 37_Switch/tests/input63.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 37_Switch/tests/input64.c type fred (line 1) | enum fred FILE: 37_Switch/tests/input65.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 37_Switch/tests/input66.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 37_Switch/tests/input67.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 37_Switch/tests/input68.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 37_Switch/tests/input69.c type FOO (line 1) | typedef int FOO; FILE: 37_Switch/tests/input70.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 37_Switch/tests/input71.c function main (line 3) | int main() { FILE: 37_Switch/tests/input72.c function main (line 1) | int main() { break; } FILE: 37_Switch/tests/input73.c function main (line 1) | int main() { continue; } FILE: 37_Switch/tests/input74.c function main (line 3) | int main() { FILE: 37_Switch/tests/input75.c function main (line 1) | int main() { FILE: 37_Switch/tests/input76.c function main (line 1) | int main() { FILE: 37_Switch/tests/input77.c function main (line 1) | int main() { FILE: 37_Switch/tests/input78.c function main (line 1) | int main() { FILE: 37_Switch/tests/input79.c function main (line 1) | int main() { FILE: 37_Switch/tests/out.input30.c function main (line 10) | int main() { FILE: 37_Switch/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 47) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 37_Switch/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 38_Dangling_Else/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 78) | static int newlocaloffset(int type) { function freeall_registers (line 109) | void freeall_registers(void) { function alloc_register (line 115) | static int alloc_register(void) { function free_register (line 128) | static void free_register(int reg) { function cgpreamble (line 135) | void cgpreamble() { function cgpostamble (line 165) | void cgpostamble() { function cgfuncpreamble (line 169) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 212) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 221) | int cgloadint(int value, int type) { function cgloadglob (line 233) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 282) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 329) | int cgloadglobstr(int label) { function cgadd (line 338) | int cgadd(int r1, int r2) { function cgsub (line 346) | int cgsub(int r1, int r2) { function cgmul (line 354) | int cgmul(int r1, int r2) { function cgdiv (line 362) | int cgdiv(int r1, int r2) { function cgand (line 371) | int cgand(int r1, int r2) { function cgor (line 377) | int cgor(int r1, int r2) { function cgxor (line 383) | int cgxor(int r1, int r2) { function cgshl (line 389) | int cgshl(int r1, int r2) { function cgshr (line 396) | int cgshr(int r1, int r2) { function cgnegate (line 404) | int cgnegate(int r) { function cginvert (line 410) | int cginvert(int r) { function cglognot (line 416) | int cglognot(int r) { function cgboolean (line 425) | int cgboolean(int r, int op, int label) { function cgcall (line 439) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 456) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 472) | int cgshlconst(int r, int val) { function cgstorglob (line 478) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 497) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 516) | void cgglobsym(struct symtable *node) { function cgglobstr (line 550) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 565) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 579) | void cglabel(int l) { function cgjump (line 584) | void cgjump(int l) { function cgcompare_and_jump (line 593) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 608) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 614) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 635) | int cgaddress(struct symtable *sym) { function cgderef (line 647) | int cgderef(int r, int type) { function cgstorderef (line 671) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 692) | void cgswitch(int reg, int casecount, int toplabel, FILE: 38_Dangling_Else/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 38_Dangling_Else/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 77) | int newlocaloffset(int type) { function freeall_registers (line 99) | void freeall_registers(void) { function alloc_register (line 105) | static int alloc_register(void) { function free_register (line 118) | static void free_register(int reg) { function cgpreamble (line 125) | void cgpreamble() { function cgpostamble (line 162) | void cgpostamble() { function cgfuncpreamble (line 166) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 208) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 217) | int cgloadint(int value, int type) { function cgloadglob (line 229) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 281) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 333) | int cgloadglobstr(int label) { function cgadd (line 342) | int cgadd(int r1, int r2) { function cgsub (line 350) | int cgsub(int r1, int r2) { function cgmul (line 358) | int cgmul(int r1, int r2) { function cgdiv (line 366) | int cgdiv(int r1, int r2) { function cgand (line 375) | int cgand(int r1, int r2) { function cgor (line 381) | int cgor(int r1, int r2) { function cgxor (line 387) | int cgxor(int r1, int r2) { function cgshl (line 393) | int cgshl(int r1, int r2) { function cgshr (line 400) | int cgshr(int r1, int r2) { function cgnegate (line 408) | int cgnegate(int r) { function cginvert (line 414) | int cginvert(int r) { function cglognot (line 420) | int cglognot(int r) { function cgboolean (line 429) | int cgboolean(int r, int op, int label) { function cgcall (line 443) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 460) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 476) | int cgshlconst(int r, int val) { function cgstorglob (line 482) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 500) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 521) | void cgglobsym(struct symtable *node) { function cgglobstr (line 573) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 627) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 641) | void cglabel(int l) { function cgjump (line 646) | void cgjump(int l) { function cgcompare_and_jump (line 655) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 670) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 676) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 696) | int cgaddress(struct symtable *sym) { function cgderef (line 709) | int cgderef(int r, int type) { function cgstorderef (line 733) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 754) | void cgswitch(int reg, int casecount, int toplabel, FILE: 38_Dangling_Else/decl.c type symtable (line 8) | struct symtable type symtable (line 10) | struct symtable type symtable (line 11) | struct symtable function parse_type (line 19) | int parse_type(struct symtable **ctype, int *class) { type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 104) | struct symtable function var_declaration_list (line 180) | static int var_declaration_list(struct symtable *funcsym, int class, type ASTnode (line 231) | struct ASTnode type ASTnode (line 232) | struct ASTnode type symtable (line 233) | struct symtable type symtable (line 305) | struct symtable type symtable (line 306) | struct symtable type symtable (line 307) | struct symtable function enum_declaration (line 374) | static void enum_declaration(void) { function typedef_declaration (line 442) | int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 464) | int type_of_typedef(char *name, struct symtable **ctype) { function global_declarations (line 478) | void global_declarations(void) { FILE: 38_Dangling_Else/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 27) | struct symtable type symtable (line 41) | struct symtable type symtable (line 42) | struct symtable type symtable (line 44) | struct symtable type symtable (line 45) | struct symtable type symtable (line 52) | struct symtable type symtable (line 54) | struct symtable type symtable (line 55) | struct symtable type symtable (line 56) | struct symtable type symtable (line 63) | struct symtable type symtable (line 64) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type ASTnode (line 84) | struct ASTnode type symtable (line 101) | struct symtable type symtable (line 101) | struct symtable type symtable (line 102) | struct symtable type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 105) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 126) | struct symtable type symtable (line 126) | struct symtable type ASTnode (line 127) | struct ASTnode type symtable (line 133) | struct symtable type symtable (line 136) | struct symtable type ASTnode (line 137) | struct ASTnode type ASTnode (line 137) | struct ASTnode FILE: 38_Dangling_Else/defs.h type token (line 56) | struct token { type symtable (line 104) | struct symtable { type ASTnode (line 124) | struct ASTnode { FILE: 38_Dangling_Else/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 47) | struct ASTnode type ASTnode (line 48) | struct ASTnode type symtable (line 49) | struct symtable type ASTnode (line 75) | struct ASTnode type ASTnode (line 76) | struct ASTnode type symtable (line 77) | struct symtable type ASTnode (line 113) | struct ASTnode type ASTnode (line 114) | struct ASTnode type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type ASTnode (line 167) | struct ASTnode type ASTnode (line 168) | struct ASTnode type symtable (line 169) | struct symtable type symtable (line 170) | struct symtable type ASTnode (line 221) | struct ASTnode type ASTnode (line 222) | struct ASTnode function binastop (line 264) | static int binastop(int tokentype) { function rightassoc (line 273) | static int rightassoc(int tokentype) { function op_precedence (line 293) | static int op_precedence(int tokentype) { type ASTnode (line 313) | struct ASTnode type ASTnode (line 314) | struct ASTnode type ASTnode (line 414) | struct ASTnode type ASTnode (line 415) | struct ASTnode type ASTnode (line 416) | struct ASTnode FILE: 38_Dangling_Else/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_funccall (line 140) | static int gen_funccall(struct ASTnode *n) { function genAST (line 168) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 338) | void genpreamble() { function genpostamble (line 341) | void genpostamble() { function genfreeregs (line 344) | void genfreeregs() { function genglobsym (line 347) | void genglobsym(struct symtable *node) { function genglobstr (line 350) | int genglobstr(char *strvalue) { function genprimsize (line 355) | int genprimsize(int type) { function genalign (line 358) | int genalign(int type, int offset, int direction) { FILE: 38_Dangling_Else/main.c function do_link (line 105) | void do_link(char *outfilename, char *objlist[]) { function usage (line 134) | static void usage(char *prog) { function main (line 149) | int main(int argc, char *argv[]) { FILE: 38_Dangling_Else/misc.c function match (line 12) | void match(int t, char *what) { function semi (line 21) | void semi(void) { function lbrace (line 26) | void lbrace(void) { function rbrace (line 31) | void rbrace(void) { function lparen (line 36) | void lparen(void) { function rparen (line 41) | void rparen(void) { function ident (line 46) | void ident(void) { function comma (line 51) | void comma(void) { function fatal (line 56) | void fatal(char *s) { function fatals (line 63) | void fatals(char *s1, char *s2) { function fatald (line 70) | void fatald(char *s, int d) { function fatalc (line 77) | void fatalc(char *s, int c) { FILE: 38_Dangling_Else/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 55) | static void putback(int c) { function skip (line 62) | static int skip(void) { function scanch (line 74) | static int scanch(void) { function scanint (line 111) | static int scanint(int c) { function scanstr (line 128) | static int scanstr(char *buf) { function scanident (line 148) | static int scanident(int c, char *buf, int lim) { function keyword (line 173) | static int keyword(char *s) { type token (line 244) | struct token function reject_token (line 247) | void reject_token(struct token *t) { function scan (line 271) | int scan(struct token *t) { FILE: 38_Dangling_Else/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 173) | struct ASTnode type ASTnode (line 185) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 196) | struct ASTnode type ASTnode (line 279) | struct ASTnode type symtable (line 281) | struct symtable type ASTnode (line 282) | struct ASTnode type ASTnode (line 341) | struct ASTnode type ASTnode (line 342) | struct ASTnode type ASTnode (line 343) | struct ASTnode FILE: 38_Dangling_Else/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 59) | struct symtable type symtable (line 59) | struct symtable type symtable (line 61) | struct symtable type symtable (line 67) | struct symtable type symtable (line 67) | struct symtable type symtable (line 69) | struct symtable type symtable (line 75) | struct symtable type symtable (line 75) | struct symtable type symtable (line 77) | struct symtable type symtable (line 83) | struct symtable type symtable (line 83) | struct symtable type symtable (line 85) | struct symtable type symtable (line 91) | struct symtable type symtable (line 91) | struct symtable type symtable (line 93) | struct symtable type symtable (line 99) | struct symtable type symtable (line 99) | struct symtable type symtable (line 101) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 116) | struct symtable type symtable (line 116) | struct symtable type symtable (line 118) | struct symtable type symtable (line 126) | struct symtable type symtable (line 126) | struct symtable type symtable (line 136) | struct symtable type symtable (line 142) | struct symtable type symtable (line 143) | struct symtable type symtable (line 156) | struct symtable type symtable (line 157) | struct symtable type symtable (line 174) | struct symtable type symtable (line 180) | struct symtable type symtable (line 186) | struct symtable type symtable (line 192) | struct symtable type symtable (line 198) | struct symtable type symtable (line 204) | struct symtable function clear_symtable (line 209) | void clear_symtable(void) { function freeloclsyms (line 221) | void freeloclsyms(void) { FILE: 38_Dangling_Else/tests/err.input65.c type type (line 1) | enum type FILE: 38_Dangling_Else/tests/err.input66.c type value (line 1) | enum value FILE: 38_Dangling_Else/tests/input01.c function main (line 3) | void main() FILE: 38_Dangling_Else/tests/input02.c function main (line 3) | void main() FILE: 38_Dangling_Else/tests/input03.c function main (line 3) | void main() FILE: 38_Dangling_Else/tests/input04.c function main (line 3) | void main() FILE: 38_Dangling_Else/tests/input05.c function main (line 3) | void main() FILE: 38_Dangling_Else/tests/input06.c function main (line 3) | void main() FILE: 38_Dangling_Else/tests/input07.c function main (line 3) | void main() FILE: 38_Dangling_Else/tests/input08.c function main (line 3) | void main() FILE: 38_Dangling_Else/tests/input09.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 38_Dangling_Else/tests/input10.c function main (line 3) | void main() FILE: 38_Dangling_Else/tests/input11.c function main (line 3) | int main() FILE: 38_Dangling_Else/tests/input12.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 38_Dangling_Else/tests/input13.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 38_Dangling_Else/tests/input14.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 38_Dangling_Else/tests/input15.c function main (line 3) | int main() { FILE: 38_Dangling_Else/tests/input16.c function main (line 8) | int main() { FILE: 38_Dangling_Else/tests/input17.c function main (line 3) | int main() { FILE: 38_Dangling_Else/tests/input18.c function main (line 3) | int main() FILE: 38_Dangling_Else/tests/input18a.c function main (line 8) | int main() FILE: 38_Dangling_Else/tests/input19.c function main (line 8) | int main() FILE: 38_Dangling_Else/tests/input20.c function main (line 6) | int main() { FILE: 38_Dangling_Else/tests/input21.c function main (line 6) | int main() { FILE: 38_Dangling_Else/tests/input22.c function main (line 8) | int main() { FILE: 38_Dangling_Else/tests/input23.c function main (line 6) | int main() { FILE: 38_Dangling_Else/tests/input24.c function main (line 6) | int main() { FILE: 38_Dangling_Else/tests/input25.c function main (line 7) | int main() FILE: 38_Dangling_Else/tests/input26.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 38_Dangling_Else/tests/input27.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 38_Dangling_Else/tests/input28.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 38_Dangling_Else/tests/input29.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 38_Dangling_Else/tests/input30.c function main (line 10) | int main() { FILE: 38_Dangling_Else/tests/input31.c function main (line 3) | int main() { FILE: 38_Dangling_Else/tests/input32.c function main (line 3) | int main() { FILE: 38_Dangling_Else/tests/input33.c function main (line 3) | int main() { FILE: 38_Dangling_Else/tests/input34.c function main (line 3) | int main() { FILE: 38_Dangling_Else/tests/input35.c function fred (line 3) | int fred(int a, int b) { FILE: 38_Dangling_Else/tests/input39.c function main (line 3) | int main() { int a; } FILE: 38_Dangling_Else/tests/input40.c function main (line 3) | int main() { int a; a= 5; } FILE: 38_Dangling_Else/tests/input41.c function fred (line 3) | void fred() { return(5); } FILE: 38_Dangling_Else/tests/input42.c function main (line 3) | int main() { fred(5); } FILE: 38_Dangling_Else/tests/input43.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 38_Dangling_Else/tests/input44.c function main (line 3) | int main() { int a; a= z; } FILE: 38_Dangling_Else/tests/input45.c function main (line 3) | int main() { int a; a= &5; } FILE: 38_Dangling_Else/tests/input46.c function main (line 3) | int main() { int a; a= *5; } FILE: 38_Dangling_Else/tests/input47.c function main (line 3) | int main() { int a; a= ++5; } FILE: 38_Dangling_Else/tests/input48.c function main (line 3) | int main() { int a; a= --5; } FILE: 38_Dangling_Else/tests/input49.c function main (line 3) | int main() { FILE: 38_Dangling_Else/tests/input50.c function main (line 3) | int main() { FILE: 38_Dangling_Else/tests/input51.c function main (line 3) | int main() { FILE: 38_Dangling_Else/tests/input52.c function main (line 3) | int main() { FILE: 38_Dangling_Else/tests/input53.c function main (line 3) | int main() FILE: 38_Dangling_Else/tests/input54.c function main (line 3) | int main() FILE: 38_Dangling_Else/tests/input55.c function main (line 3) | int main(int argc, char **argv) { FILE: 38_Dangling_Else/tests/input56.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 38_Dangling_Else/tests/input57.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 38_Dangling_Else/tests/input58.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 38_Dangling_Else/tests/input59.c function main (line 1) | int main() { FILE: 38_Dangling_Else/tests/input60.c function main (line 1) | int main() { FILE: 38_Dangling_Else/tests/input61.c function main (line 1) | int main() { FILE: 38_Dangling_Else/tests/input62.c function main (line 13) | int main() { FILE: 38_Dangling_Else/tests/input63.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 38_Dangling_Else/tests/input64.c type fred (line 1) | enum fred FILE: 38_Dangling_Else/tests/input65.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 38_Dangling_Else/tests/input66.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 38_Dangling_Else/tests/input67.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 38_Dangling_Else/tests/input68.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 38_Dangling_Else/tests/input69.c type FOO (line 1) | typedef int FOO; FILE: 38_Dangling_Else/tests/input70.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 38_Dangling_Else/tests/input71.c function main (line 3) | int main() { FILE: 38_Dangling_Else/tests/input72.c function main (line 1) | int main() { break; } FILE: 38_Dangling_Else/tests/input73.c function main (line 1) | int main() { continue; } FILE: 38_Dangling_Else/tests/input74.c function main (line 3) | int main() { FILE: 38_Dangling_Else/tests/input75.c function main (line 1) | int main() { FILE: 38_Dangling_Else/tests/input76.c function main (line 1) | int main() { FILE: 38_Dangling_Else/tests/input77.c function main (line 1) | int main() { FILE: 38_Dangling_Else/tests/input78.c function main (line 1) | int main() { FILE: 38_Dangling_Else/tests/input79.c function main (line 1) | int main() { FILE: 38_Dangling_Else/tests/input80.c function main (line 6) | int main() { FILE: 38_Dangling_Else/tests/input81.c function main (line 6) | int main() { FILE: 38_Dangling_Else/tests/input82.c function main (line 3) | int main() { FILE: 38_Dangling_Else/tests/input83.c function main (line 3) | int main() { FILE: 38_Dangling_Else/tests/out.input30.c function main (line 10) | int main() { FILE: 38_Dangling_Else/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 47) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 38_Dangling_Else/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 39_Var_Initialisation_pt1/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 78) | static int newlocaloffset(int type) { function freeall_registers (line 109) | void freeall_registers(void) { function alloc_register (line 115) | static int alloc_register(void) { function free_register (line 128) | static void free_register(int reg) { function cgpreamble (line 135) | void cgpreamble() { function cgpostamble (line 165) | void cgpostamble() { function cgfuncpreamble (line 169) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 212) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 221) | int cgloadint(int value, int type) { function cgloadglob (line 233) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 282) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 329) | int cgloadglobstr(int label) { function cgadd (line 338) | int cgadd(int r1, int r2) { function cgsub (line 346) | int cgsub(int r1, int r2) { function cgmul (line 354) | int cgmul(int r1, int r2) { function cgdiv (line 362) | int cgdiv(int r1, int r2) { function cgand (line 371) | int cgand(int r1, int r2) { function cgor (line 377) | int cgor(int r1, int r2) { function cgxor (line 383) | int cgxor(int r1, int r2) { function cgshl (line 389) | int cgshl(int r1, int r2) { function cgshr (line 396) | int cgshr(int r1, int r2) { function cgnegate (line 404) | int cgnegate(int r) { function cginvert (line 410) | int cginvert(int r) { function cglognot (line 416) | int cglognot(int r) { function cgboolean (line 425) | int cgboolean(int r, int op, int label) { function cgcall (line 439) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 456) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 472) | int cgshlconst(int r, int val) { function cgstorglob (line 478) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 497) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 516) | void cgglobsym(struct symtable *node) { function cgglobstr (line 550) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 565) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 579) | void cglabel(int l) { function cgjump (line 584) | void cgjump(int l) { function cgcompare_and_jump (line 593) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 608) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 614) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 635) | int cgaddress(struct symtable *sym) { function cgderef (line 647) | int cgderef(int r, int type) { function cgstorderef (line 671) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 692) | void cgswitch(int reg, int casecount, int toplabel, FILE: 39_Var_Initialisation_pt1/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 39_Var_Initialisation_pt1/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 77) | int newlocaloffset(int type) { function freeall_registers (line 99) | void freeall_registers(void) { function alloc_register (line 105) | static int alloc_register(void) { function free_register (line 118) | static void free_register(int reg) { function cgpreamble (line 125) | void cgpreamble() { function cgpostamble (line 162) | void cgpostamble() { function cgfuncpreamble (line 166) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 208) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 217) | int cgloadint(int value, int type) { function cgloadglob (line 229) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 281) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 333) | int cgloadglobstr(int label) { function cgadd (line 342) | int cgadd(int r1, int r2) { function cgsub (line 350) | int cgsub(int r1, int r2) { function cgmul (line 358) | int cgmul(int r1, int r2) { function cgdiv (line 366) | int cgdiv(int r1, int r2) { function cgand (line 375) | int cgand(int r1, int r2) { function cgor (line 381) | int cgor(int r1, int r2) { function cgxor (line 387) | int cgxor(int r1, int r2) { function cgshl (line 393) | int cgshl(int r1, int r2) { function cgshr (line 400) | int cgshr(int r1, int r2) { function cgnegate (line 408) | int cgnegate(int r) { function cginvert (line 414) | int cginvert(int r) { function cglognot (line 420) | int cglognot(int r) { function cgboolean (line 429) | int cgboolean(int r, int op, int label) { function cgcall (line 443) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 460) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 476) | int cgshlconst(int r, int val) { function cgstorglob (line 482) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 500) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 521) | void cgglobsym(struct symtable *node) { function cgglobstr (line 573) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 627) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 641) | void cglabel(int l) { function cgjump (line 646) | void cgjump(int l) { function cgcompare_and_jump (line 655) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 670) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 676) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 696) | int cgaddress(struct symtable *sym) { function cgderef (line 709) | int cgderef(int r, int type) { function cgstorderef (line 733) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 754) | void cgswitch(int reg, int casecount, int toplabel, FILE: 39_Var_Initialisation_pt1/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | static int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 87) | static int parse_stars(int type) { type symtable (line 98) | struct symtable type symtable (line 99) | struct symtable type symtable (line 121) | struct symtable type symtable (line 122) | struct symtable type symtable (line 123) | struct symtable function param_declaration_list (line 151) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 196) | struct symtable type symtable (line 197) | struct symtable type ASTnode (line 199) | struct ASTnode type symtable (line 200) | struct symtable type symtable (line 284) | struct symtable type symtable (line 285) | struct symtable type symtable (line 286) | struct symtable function enum_declaration (line 366) | static void enum_declaration(void) { function typedef_declaration (line 434) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 459) | static int type_of_typedef(char *name, struct symtable **ctype) { function array_initialisation (line 471) | static void array_initialisation(struct symtable *sym, int type, type symtable (line 481) | struct symtable type symtable (line 481) | struct symtable type symtable (line 483) | struct symtable function declaration_list (line 548) | int declaration_list(struct symtable **ctype, int class, int et1, int et... function global_declarations (line 583) | void global_declarations(void) { FILE: 39_Var_Initialisation_pt1/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 27) | struct symtable type symtable (line 41) | struct symtable type symtable (line 42) | struct symtable type symtable (line 44) | struct symtable type symtable (line 45) | struct symtable type symtable (line 52) | struct symtable type symtable (line 54) | struct symtable type symtable (line 55) | struct symtable type symtable (line 56) | struct symtable type symtable (line 63) | struct symtable type symtable (line 64) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type ASTnode (line 84) | struct ASTnode type symtable (line 101) | struct symtable type symtable (line 101) | struct symtable type symtable (line 102) | struct symtable type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 105) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 126) | struct symtable type symtable (line 134) | struct symtable type ASTnode (line 135) | struct ASTnode type ASTnode (line 135) | struct ASTnode FILE: 39_Var_Initialisation_pt1/defs.h type token (line 56) | struct token { type symtable (line 104) | struct symtable { type ASTnode (line 124) | struct ASTnode { FILE: 39_Var_Initialisation_pt1/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 47) | struct ASTnode type ASTnode (line 48) | struct ASTnode type symtable (line 49) | struct symtable type ASTnode (line 75) | struct ASTnode type ASTnode (line 76) | struct ASTnode type symtable (line 77) | struct symtable type ASTnode (line 113) | struct ASTnode type ASTnode (line 114) | struct ASTnode type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type ASTnode (line 167) | struct ASTnode type ASTnode (line 168) | struct ASTnode type symtable (line 169) | struct symtable type symtable (line 170) | struct symtable type ASTnode (line 221) | struct ASTnode type ASTnode (line 222) | struct ASTnode function binastop (line 264) | static int binastop(int tokentype) { function rightassoc (line 273) | static int rightassoc(int tokentype) { function op_precedence (line 293) | static int op_precedence(int tokentype) { type ASTnode (line 313) | struct ASTnode type ASTnode (line 314) | struct ASTnode type ASTnode (line 414) | struct ASTnode type ASTnode (line 415) | struct ASTnode type ASTnode (line 416) | struct ASTnode FILE: 39_Var_Initialisation_pt1/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_funccall (line 140) | static int gen_funccall(struct ASTnode *n) { function genAST (line 168) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 338) | void genpreamble() { function genpostamble (line 341) | void genpostamble() { function genfreeregs (line 344) | void genfreeregs() { function genglobsym (line 347) | void genglobsym(struct symtable *node) { function genglobstr (line 350) | int genglobstr(char *strvalue) { function genprimsize (line 355) | int genprimsize(int type) { function genalign (line 358) | int genalign(int type, int offset, int direction) { FILE: 39_Var_Initialisation_pt1/main.c function do_link (line 105) | void do_link(char *outfilename, char *objlist[]) { function usage (line 134) | static void usage(char *prog) { function main (line 149) | int main(int argc, char *argv[]) { FILE: 39_Var_Initialisation_pt1/misc.c function match (line 12) | void match(int t, char *what) { function semi (line 21) | void semi(void) { function lbrace (line 26) | void lbrace(void) { function rbrace (line 31) | void rbrace(void) { function lparen (line 36) | void lparen(void) { function rparen (line 41) | void rparen(void) { function ident (line 46) | void ident(void) { function comma (line 51) | void comma(void) { function fatal (line 56) | void fatal(char *s) { function fatals (line 63) | void fatals(char *s1, char *s2) { function fatald (line 70) | void fatald(char *s, int d) { function fatalc (line 77) | void fatalc(char *s, int c) { FILE: 39_Var_Initialisation_pt1/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 55) | static void putback(int c) { function skip (line 62) | static int skip(void) { function scanch (line 74) | static int scanch(void) { function scanint (line 111) | static int scanint(int c) { function scanstr (line 128) | static int scanstr(char *buf) { function scanident (line 148) | static int scanident(int c, char *buf, int lim) { function keyword (line 173) | static int keyword(char *s) { type token (line 244) | struct token function reject_token (line 247) | void reject_token(struct token *t) { function scan (line 271) | int scan(struct token *t) { FILE: 39_Var_Initialisation_pt1/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 173) | struct ASTnode type ASTnode (line 185) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 196) | struct ASTnode type ASTnode (line 279) | struct ASTnode type ASTnode (line 280) | struct ASTnode type symtable (line 281) | struct symtable type ASTnode (line 335) | struct ASTnode type ASTnode (line 336) | struct ASTnode type ASTnode (line 337) | struct ASTnode FILE: 39_Var_Initialisation_pt1/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 59) | struct symtable type symtable (line 59) | struct symtable type symtable (line 61) | struct symtable type symtable (line 67) | struct symtable type symtable (line 67) | struct symtable type symtable (line 69) | struct symtable type symtable (line 75) | struct symtable type symtable (line 75) | struct symtable type symtable (line 77) | struct symtable type symtable (line 83) | struct symtable type symtable (line 83) | struct symtable type symtable (line 85) | struct symtable type symtable (line 91) | struct symtable type symtable (line 91) | struct symtable type symtable (line 93) | struct symtable type symtable (line 99) | struct symtable type symtable (line 99) | struct symtable type symtable (line 101) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 116) | struct symtable type symtable (line 116) | struct symtable type symtable (line 118) | struct symtable type symtable (line 126) | struct symtable type symtable (line 126) | struct symtable type symtable (line 136) | struct symtable type symtable (line 142) | struct symtable type symtable (line 143) | struct symtable type symtable (line 156) | struct symtable type symtable (line 157) | struct symtable type symtable (line 174) | struct symtable type symtable (line 180) | struct symtable type symtable (line 186) | struct symtable type symtable (line 192) | struct symtable type symtable (line 198) | struct symtable type symtable (line 204) | struct symtable function clear_symtable (line 209) | void clear_symtable(void) { function freeloclsyms (line 221) | void freeloclsyms(void) { FILE: 39_Var_Initialisation_pt1/tests/err.input65.c type type (line 1) | enum type FILE: 39_Var_Initialisation_pt1/tests/err.input66.c type value (line 1) | enum value FILE: 39_Var_Initialisation_pt1/tests/input01.c function main (line 3) | void main() FILE: 39_Var_Initialisation_pt1/tests/input02.c function main (line 3) | void main() FILE: 39_Var_Initialisation_pt1/tests/input03.c function main (line 3) | void main() FILE: 39_Var_Initialisation_pt1/tests/input04.c function main (line 3) | void main() FILE: 39_Var_Initialisation_pt1/tests/input05.c function main (line 3) | void main() FILE: 39_Var_Initialisation_pt1/tests/input06.c function main (line 3) | void main() FILE: 39_Var_Initialisation_pt1/tests/input07.c function main (line 3) | void main() FILE: 39_Var_Initialisation_pt1/tests/input08.c function main (line 3) | void main() FILE: 39_Var_Initialisation_pt1/tests/input09.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 39_Var_Initialisation_pt1/tests/input10.c function main (line 3) | void main() FILE: 39_Var_Initialisation_pt1/tests/input11.c function main (line 3) | int main() FILE: 39_Var_Initialisation_pt1/tests/input12.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 39_Var_Initialisation_pt1/tests/input13.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 39_Var_Initialisation_pt1/tests/input14.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input15.c function main (line 3) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input16.c function main (line 8) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input17.c function main (line 3) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input18.c function main (line 3) | int main() FILE: 39_Var_Initialisation_pt1/tests/input18a.c function main (line 8) | int main() FILE: 39_Var_Initialisation_pt1/tests/input19.c function main (line 8) | int main() FILE: 39_Var_Initialisation_pt1/tests/input20.c function main (line 6) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input21.c function main (line 6) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input22.c function main (line 8) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input23.c function main (line 6) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input24.c function main (line 6) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input25.c function main (line 7) | int main() FILE: 39_Var_Initialisation_pt1/tests/input26.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 39_Var_Initialisation_pt1/tests/input27.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input28.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input29.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input30.c function main (line 10) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input31.c function main (line 3) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input32.c function main (line 3) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input33.c function main (line 3) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input34.c function main (line 3) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input35.c function fred (line 3) | int fred(int a, int b) { FILE: 39_Var_Initialisation_pt1/tests/input39.c function main (line 3) | int main() { int a; } FILE: 39_Var_Initialisation_pt1/tests/input40.c function main (line 3) | int main() { int a; a= 5; } FILE: 39_Var_Initialisation_pt1/tests/input41.c function fred (line 3) | void fred() { return(5); } FILE: 39_Var_Initialisation_pt1/tests/input42.c function main (line 3) | int main() { fred(5); } FILE: 39_Var_Initialisation_pt1/tests/input43.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 39_Var_Initialisation_pt1/tests/input44.c function main (line 3) | int main() { int a; a= z; } FILE: 39_Var_Initialisation_pt1/tests/input45.c function main (line 3) | int main() { int a; a= &5; } FILE: 39_Var_Initialisation_pt1/tests/input46.c function main (line 3) | int main() { int a; a= *5; } FILE: 39_Var_Initialisation_pt1/tests/input47.c function main (line 3) | int main() { int a; a= ++5; } FILE: 39_Var_Initialisation_pt1/tests/input48.c function main (line 3) | int main() { int a; a= --5; } FILE: 39_Var_Initialisation_pt1/tests/input49.c function main (line 3) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input50.c function main (line 3) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input51.c function main (line 3) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input52.c function main (line 3) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input53.c function main (line 3) | int main() FILE: 39_Var_Initialisation_pt1/tests/input54.c function main (line 3) | int main() FILE: 39_Var_Initialisation_pt1/tests/input55.c function main (line 3) | int main(int argc, char **argv) { FILE: 39_Var_Initialisation_pt1/tests/input56.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 39_Var_Initialisation_pt1/tests/input57.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 39_Var_Initialisation_pt1/tests/input58.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input59.c function main (line 1) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input60.c function main (line 1) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input61.c function main (line 1) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input62.c function main (line 13) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input63.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input64.c type fred (line 1) | enum fred FILE: 39_Var_Initialisation_pt1/tests/input65.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 39_Var_Initialisation_pt1/tests/input66.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 39_Var_Initialisation_pt1/tests/input67.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input68.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 39_Var_Initialisation_pt1/tests/input69.c type FOO (line 1) | typedef int FOO; FILE: 39_Var_Initialisation_pt1/tests/input70.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input71.c function main (line 3) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input72.c function main (line 1) | int main() { break; } FILE: 39_Var_Initialisation_pt1/tests/input73.c function main (line 1) | int main() { continue; } FILE: 39_Var_Initialisation_pt1/tests/input74.c function main (line 3) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input75.c function main (line 1) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input76.c function main (line 1) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input77.c function main (line 1) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input78.c function main (line 1) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input79.c function main (line 1) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input80.c function main (line 6) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input81.c function main (line 6) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input82.c function main (line 3) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input83.c function main (line 3) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input84.c function main (line 3) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input85.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 39_Var_Initialisation_pt1/tests/input86.c function main (line 1) | int main() { FILE: 39_Var_Initialisation_pt1/tests/input87.c type foo (line 1) | struct foo { FILE: 39_Var_Initialisation_pt1/tests/input88.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 39_Var_Initialisation_pt1/tests/out.input30.c function main (line 10) | int main() { FILE: 39_Var_Initialisation_pt1/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 47) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 39_Var_Initialisation_pt1/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 40_Var_Initialisation_pt2/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 78) | static int newlocaloffset(int type) { function freeall_registers (line 109) | void freeall_registers(void) { function alloc_register (line 115) | static int alloc_register(void) { function free_register (line 128) | static void free_register(int reg) { function cgpreamble (line 135) | void cgpreamble() { function cgpostamble (line 165) | void cgpostamble() { function cgfuncpreamble (line 169) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 212) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 221) | int cgloadint(int value, int type) { function cgloadglob (line 233) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 282) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 329) | int cgloadglobstr(int label) { function cgadd (line 338) | int cgadd(int r1, int r2) { function cgsub (line 346) | int cgsub(int r1, int r2) { function cgmul (line 354) | int cgmul(int r1, int r2) { function cgdiv (line 362) | int cgdiv(int r1, int r2) { function cgand (line 371) | int cgand(int r1, int r2) { function cgor (line 377) | int cgor(int r1, int r2) { function cgxor (line 383) | int cgxor(int r1, int r2) { function cgshl (line 389) | int cgshl(int r1, int r2) { function cgshr (line 396) | int cgshr(int r1, int r2) { function cgnegate (line 404) | int cgnegate(int r) { function cginvert (line 410) | int cginvert(int r) { function cglognot (line 416) | int cglognot(int r) { function cgboolean (line 425) | int cgboolean(int r, int op, int label) { function cgcall (line 439) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 456) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 472) | int cgshlconst(int r, int val) { function cgstorglob (line 478) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 497) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 516) | void cgglobsym(struct symtable *node) { function cgglobstr (line 572) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 587) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 601) | void cglabel(int l) { function cgjump (line 606) | void cgjump(int l) { function cgcompare_and_jump (line 615) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 630) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 636) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 657) | int cgaddress(struct symtable *sym) { function cgderef (line 669) | int cgderef(int r, int type) { function cgstorderef (line 693) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 714) | void cgswitch(int reg, int casecount, int toplabel, FILE: 40_Var_Initialisation_pt2/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 40_Var_Initialisation_pt2/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 77) | int newlocaloffset(int type) { function freeall_registers (line 99) | void freeall_registers(void) { function alloc_register (line 105) | static int alloc_register(void) { function free_register (line 118) | static void free_register(int reg) { function cgpreamble (line 125) | void cgpreamble() { function cgpostamble (line 162) | void cgpostamble() { function cgfuncpreamble (line 166) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 208) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 217) | int cgloadint(int value, int type) { function cgloadglob (line 229) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 281) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 333) | int cgloadglobstr(int label) { function cgadd (line 342) | int cgadd(int r1, int r2) { function cgsub (line 350) | int cgsub(int r1, int r2) { function cgmul (line 358) | int cgmul(int r1, int r2) { function cgdiv (line 366) | int cgdiv(int r1, int r2) { function cgand (line 375) | int cgand(int r1, int r2) { function cgor (line 381) | int cgor(int r1, int r2) { function cgxor (line 387) | int cgxor(int r1, int r2) { function cgshl (line 393) | int cgshl(int r1, int r2) { function cgshr (line 400) | int cgshr(int r1, int r2) { function cgnegate (line 408) | int cgnegate(int r) { function cginvert (line 414) | int cginvert(int r) { function cglognot (line 420) | int cglognot(int r) { function cgboolean (line 429) | int cgboolean(int r, int op, int label) { function cgcall (line 443) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 460) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 476) | int cgshlconst(int r, int val) { function cgstorglob (line 482) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 500) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 521) | void cgglobsym(struct symtable *node) { function cgglobstr (line 582) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 636) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 650) | void cglabel(int l) { function cgjump (line 655) | void cgjump(int l) { function cgcompare_and_jump (line 664) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 679) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 685) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 705) | int cgaddress(struct symtable *sym) { function cgderef (line 718) | int cgderef(int r, int type) { function cgstorderef (line 742) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 763) | void cgswitch(int reg, int casecount, int toplabel, FILE: 40_Var_Initialisation_pt2/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | static int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 87) | static int parse_stars(int type) { function parse_literal (line 102) | int parse_literal(int type) { type symtable (line 124) | struct symtable type symtable (line 125) | struct symtable type symtable (line 127) | struct symtable type symtable (line 174) | struct symtable type symtable (line 175) | struct symtable type symtable (line 177) | struct symtable function param_declaration_list (line 274) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 319) | struct symtable type symtable (line 320) | struct symtable type ASTnode (line 322) | struct ASTnode type symtable (line 323) | struct symtable type symtable (line 407) | struct symtable type symtable (line 408) | struct symtable type symtable (line 409) | struct symtable function enum_declaration (line 489) | static void enum_declaration(void) { function typedef_declaration (line 557) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 582) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 599) | struct symtable type symtable (line 599) | struct symtable type symtable (line 601) | struct symtable function declaration_list (line 638) | int declaration_list(struct symtable **ctype, int class, int et1, int et... function global_declarations (line 673) | void global_declarations(void) { FILE: 40_Var_Initialisation_pt2/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 27) | struct symtable type symtable (line 41) | struct symtable type symtable (line 42) | struct symtable type symtable (line 44) | struct symtable type symtable (line 45) | struct symtable type symtable (line 52) | struct symtable type symtable (line 54) | struct symtable type symtable (line 55) | struct symtable type symtable (line 56) | struct symtable type symtable (line 63) | struct symtable type symtable (line 64) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type ASTnode (line 84) | struct ASTnode type symtable (line 101) | struct symtable type symtable (line 101) | struct symtable type symtable (line 102) | struct symtable type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 105) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 126) | struct symtable type symtable (line 134) | struct symtable type ASTnode (line 135) | struct ASTnode type ASTnode (line 135) | struct ASTnode FILE: 40_Var_Initialisation_pt2/defs.h type token (line 56) | struct token { type symtable (line 104) | struct symtable { type ASTnode (line 123) | struct ASTnode { FILE: 40_Var_Initialisation_pt2/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 47) | struct ASTnode type ASTnode (line 48) | struct ASTnode type symtable (line 49) | struct symtable type ASTnode (line 75) | struct ASTnode type ASTnode (line 76) | struct ASTnode type symtable (line 77) | struct symtable type ASTnode (line 113) | struct ASTnode type ASTnode (line 114) | struct ASTnode type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type ASTnode (line 167) | struct ASTnode type ASTnode (line 168) | struct ASTnode type symtable (line 169) | struct symtable type symtable (line 170) | struct symtable type ASTnode (line 221) | struct ASTnode type ASTnode (line 222) | struct ASTnode function binastop (line 264) | static int binastop(int tokentype) { function rightassoc (line 273) | static int rightassoc(int tokentype) { function op_precedence (line 293) | static int op_precedence(int tokentype) { type ASTnode (line 313) | struct ASTnode type ASTnode (line 314) | struct ASTnode type ASTnode (line 414) | struct ASTnode type ASTnode (line 415) | struct ASTnode type ASTnode (line 416) | struct ASTnode FILE: 40_Var_Initialisation_pt2/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_funccall (line 140) | static int gen_funccall(struct ASTnode *n) { function genAST (line 168) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 338) | void genpreamble() { function genpostamble (line 341) | void genpostamble() { function genfreeregs (line 344) | void genfreeregs() { function genglobsym (line 347) | void genglobsym(struct symtable *node) { function genglobstr (line 350) | int genglobstr(char *strvalue) { function genprimsize (line 355) | int genprimsize(int type) { function genalign (line 358) | int genalign(int type, int offset, int direction) { FILE: 40_Var_Initialisation_pt2/main.c function do_link (line 105) | void do_link(char *outfilename, char *objlist[]) { function usage (line 134) | static void usage(char *prog) { function main (line 149) | int main(int argc, char *argv[]) { FILE: 40_Var_Initialisation_pt2/misc.c function match (line 12) | void match(int t, char *what) { function semi (line 21) | void semi(void) { function lbrace (line 26) | void lbrace(void) { function rbrace (line 31) | void rbrace(void) { function lparen (line 36) | void lparen(void) { function rparen (line 41) | void rparen(void) { function ident (line 46) | void ident(void) { function comma (line 51) | void comma(void) { function fatal (line 56) | void fatal(char *s) { function fatals (line 63) | void fatals(char *s1, char *s2) { function fatald (line 70) | void fatald(char *s, int d) { function fatalc (line 77) | void fatalc(char *s, int c) { FILE: 40_Var_Initialisation_pt2/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 55) | static void putback(int c) { function skip (line 62) | static int skip(void) { function scanch (line 74) | static int scanch(void) { function scanint (line 111) | static int scanint(int c) { function scanstr (line 128) | static int scanstr(char *buf) { function scanident (line 148) | static int scanident(int c, char *buf, int lim) { function keyword (line 173) | static int keyword(char *s) { type token (line 244) | struct token function reject_token (line 247) | void reject_token(struct token *t) { function scan (line 271) | int scan(struct token *t) { FILE: 40_Var_Initialisation_pt2/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 173) | struct ASTnode type ASTnode (line 185) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 196) | struct ASTnode type ASTnode (line 279) | struct ASTnode type ASTnode (line 280) | struct ASTnode type symtable (line 281) | struct symtable type ASTnode (line 335) | struct ASTnode type ASTnode (line 336) | struct ASTnode type ASTnode (line 337) | struct ASTnode FILE: 40_Var_Initialisation_pt2/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 63) | struct symtable type symtable (line 63) | struct symtable type symtable (line 65) | struct symtable type symtable (line 74) | struct symtable type symtable (line 74) | struct symtable type symtable (line 76) | struct symtable type symtable (line 85) | struct symtable type symtable (line 85) | struct symtable type symtable (line 87) | struct symtable type symtable (line 93) | struct symtable type symtable (line 93) | struct symtable type symtable (line 95) | struct symtable type symtable (line 104) | struct symtable type symtable (line 105) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 127) | struct symtable type symtable (line 127) | struct symtable type symtable (line 128) | struct symtable type symtable (line 136) | struct symtable type symtable (line 136) | struct symtable type symtable (line 146) | struct symtable type symtable (line 152) | struct symtable type symtable (line 153) | struct symtable type symtable (line 166) | struct symtable type symtable (line 167) | struct symtable type symtable (line 184) | struct symtable type symtable (line 190) | struct symtable type symtable (line 196) | struct symtable type symtable (line 202) | struct symtable type symtable (line 208) | struct symtable type symtable (line 214) | struct symtable function clear_symtable (line 219) | void clear_symtable(void) { function freeloclsyms (line 231) | void freeloclsyms(void) { FILE: 40_Var_Initialisation_pt2/tests/err.input65.c type type (line 1) | enum type FILE: 40_Var_Initialisation_pt2/tests/err.input66.c type value (line 1) | enum value FILE: 40_Var_Initialisation_pt2/tests/input01.c function main (line 3) | void main() FILE: 40_Var_Initialisation_pt2/tests/input02.c function main (line 3) | void main() FILE: 40_Var_Initialisation_pt2/tests/input03.c function main (line 3) | void main() FILE: 40_Var_Initialisation_pt2/tests/input04.c function main (line 3) | void main() FILE: 40_Var_Initialisation_pt2/tests/input05.c function main (line 3) | void main() FILE: 40_Var_Initialisation_pt2/tests/input06.c function main (line 3) | void main() FILE: 40_Var_Initialisation_pt2/tests/input07.c function main (line 3) | void main() FILE: 40_Var_Initialisation_pt2/tests/input08.c function main (line 3) | void main() FILE: 40_Var_Initialisation_pt2/tests/input09.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 40_Var_Initialisation_pt2/tests/input10.c function main (line 3) | void main() FILE: 40_Var_Initialisation_pt2/tests/input11.c function main (line 3) | int main() FILE: 40_Var_Initialisation_pt2/tests/input12.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 40_Var_Initialisation_pt2/tests/input13.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 40_Var_Initialisation_pt2/tests/input14.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input15.c function main (line 3) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input16.c function main (line 8) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input17.c function main (line 3) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input18.c function main (line 3) | int main() FILE: 40_Var_Initialisation_pt2/tests/input18a.c function main (line 8) | int main() FILE: 40_Var_Initialisation_pt2/tests/input19.c function main (line 8) | int main() FILE: 40_Var_Initialisation_pt2/tests/input20.c function main (line 6) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input21.c function main (line 6) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input22.c function main (line 8) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input23.c function main (line 6) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input24.c function main (line 6) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input25.c function main (line 7) | int main() FILE: 40_Var_Initialisation_pt2/tests/input26.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 40_Var_Initialisation_pt2/tests/input27.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input28.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input29.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input30.c function main (line 10) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input31.c function main (line 3) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input32.c function main (line 3) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input33.c function main (line 3) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input34.c function main (line 3) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input35.c function fred (line 3) | int fred(int a, int b) { FILE: 40_Var_Initialisation_pt2/tests/input39.c function main (line 3) | int main() { int a; } FILE: 40_Var_Initialisation_pt2/tests/input40.c function main (line 3) | int main() { int a; a= 5; } FILE: 40_Var_Initialisation_pt2/tests/input41.c function fred (line 3) | void fred() { return(5); } FILE: 40_Var_Initialisation_pt2/tests/input42.c function main (line 3) | int main() { fred(5); } FILE: 40_Var_Initialisation_pt2/tests/input43.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 40_Var_Initialisation_pt2/tests/input44.c function main (line 3) | int main() { int a; a= z; } FILE: 40_Var_Initialisation_pt2/tests/input45.c function main (line 3) | int main() { int a; a= &5; } FILE: 40_Var_Initialisation_pt2/tests/input46.c function main (line 3) | int main() { int a; a= *5; } FILE: 40_Var_Initialisation_pt2/tests/input47.c function main (line 3) | int main() { int a; a= ++5; } FILE: 40_Var_Initialisation_pt2/tests/input48.c function main (line 3) | int main() { int a; a= --5; } FILE: 40_Var_Initialisation_pt2/tests/input49.c function main (line 3) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input50.c function main (line 3) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input51.c function main (line 3) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input52.c function main (line 3) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input53.c function main (line 3) | int main() FILE: 40_Var_Initialisation_pt2/tests/input54.c function main (line 3) | int main() FILE: 40_Var_Initialisation_pt2/tests/input55.c function main (line 3) | int main(int argc, char **argv) { FILE: 40_Var_Initialisation_pt2/tests/input56.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 40_Var_Initialisation_pt2/tests/input57.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 40_Var_Initialisation_pt2/tests/input58.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input59.c function main (line 1) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input60.c function main (line 1) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input61.c function main (line 1) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input62.c function main (line 13) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input63.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input64.c type fred (line 1) | enum fred FILE: 40_Var_Initialisation_pt2/tests/input65.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 40_Var_Initialisation_pt2/tests/input66.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 40_Var_Initialisation_pt2/tests/input67.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input68.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 40_Var_Initialisation_pt2/tests/input69.c type FOO (line 1) | typedef int FOO; FILE: 40_Var_Initialisation_pt2/tests/input70.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input71.c function main (line 3) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input72.c function main (line 1) | int main() { break; } FILE: 40_Var_Initialisation_pt2/tests/input73.c function main (line 1) | int main() { continue; } FILE: 40_Var_Initialisation_pt2/tests/input74.c function main (line 3) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input75.c function main (line 1) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input76.c function main (line 1) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input77.c function main (line 1) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input78.c function main (line 1) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input79.c function main (line 1) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input80.c function main (line 6) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input81.c function main (line 6) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input82.c function main (line 3) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input83.c function main (line 3) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input84.c function main (line 3) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input85.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 40_Var_Initialisation_pt2/tests/input86.c function main (line 1) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input87.c type foo (line 1) | struct foo { FILE: 40_Var_Initialisation_pt2/tests/input88.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input89.c function main (line 7) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input90.c function main (line 6) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input91.c function main (line 6) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input97.c function main (line 1) | int main() { FILE: 40_Var_Initialisation_pt2/tests/input99.c function main (line 19) | int main() { FILE: 40_Var_Initialisation_pt2/tests/out.input30.c function main (line 10) | int main() { FILE: 40_Var_Initialisation_pt2/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 47) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 40_Var_Initialisation_pt2/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 41_Local_Var_Init/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 78) | static int newlocaloffset(int type) { function freeall_registers (line 109) | void freeall_registers(void) { function alloc_register (line 115) | static int alloc_register(void) { function free_register (line 128) | static void free_register(int reg) { function cgpreamble (line 135) | void cgpreamble() { function cgpostamble (line 165) | void cgpostamble() { function cgfuncpreamble (line 169) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 212) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 221) | int cgloadint(int value, int type) { function cgloadglob (line 233) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 282) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 329) | int cgloadglobstr(int label) { function cgadd (line 338) | int cgadd(int r1, int r2) { function cgsub (line 346) | int cgsub(int r1, int r2) { function cgmul (line 354) | int cgmul(int r1, int r2) { function cgdiv (line 362) | int cgdiv(int r1, int r2) { function cgand (line 371) | int cgand(int r1, int r2) { function cgor (line 377) | int cgor(int r1, int r2) { function cgxor (line 383) | int cgxor(int r1, int r2) { function cgshl (line 389) | int cgshl(int r1, int r2) { function cgshr (line 396) | int cgshr(int r1, int r2) { function cgnegate (line 404) | int cgnegate(int r) { function cginvert (line 410) | int cginvert(int r) { function cglognot (line 416) | int cglognot(int r) { function cgboolean (line 425) | int cgboolean(int r, int op, int label) { function cgcall (line 439) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 456) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 472) | int cgshlconst(int r, int val) { function cgstorglob (line 478) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 497) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 516) | void cgglobsym(struct symtable *node) { function cgglobstr (line 572) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 587) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 601) | void cglabel(int l) { function cgjump (line 606) | void cgjump(int l) { function cgcompare_and_jump (line 615) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 630) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 636) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 657) | int cgaddress(struct symtable *sym) { function cgderef (line 669) | int cgderef(int r, int type) { function cgstorderef (line 693) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 714) | void cgswitch(int reg, int casecount, int toplabel, FILE: 41_Local_Var_Init/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 41_Local_Var_Init/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 77) | int newlocaloffset(int type) { function freeall_registers (line 99) | void freeall_registers(void) { function alloc_register (line 105) | static int alloc_register(void) { function free_register (line 118) | static void free_register(int reg) { function cgpreamble (line 125) | void cgpreamble() { function cgpostamble (line 162) | void cgpostamble() { function cgfuncpreamble (line 166) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 208) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 217) | int cgloadint(int value, int type) { function cgloadglob (line 229) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 281) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 333) | int cgloadglobstr(int label) { function cgadd (line 342) | int cgadd(int r1, int r2) { function cgsub (line 350) | int cgsub(int r1, int r2) { function cgmul (line 358) | int cgmul(int r1, int r2) { function cgdiv (line 366) | int cgdiv(int r1, int r2) { function cgand (line 375) | int cgand(int r1, int r2) { function cgor (line 381) | int cgor(int r1, int r2) { function cgxor (line 387) | int cgxor(int r1, int r2) { function cgshl (line 393) | int cgshl(int r1, int r2) { function cgshr (line 400) | int cgshr(int r1, int r2) { function cgnegate (line 408) | int cgnegate(int r) { function cginvert (line 414) | int cginvert(int r) { function cglognot (line 420) | int cglognot(int r) { function cgboolean (line 429) | int cgboolean(int r, int op, int label) { function cgcall (line 443) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 460) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 476) | int cgshlconst(int r, int val) { function cgstorglob (line 482) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 500) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 521) | void cgglobsym(struct symtable *node) { function cgglobstr (line 582) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 636) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 650) | void cglabel(int l) { function cgjump (line 655) | void cgjump(int l) { function cgcompare_and_jump (line 664) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 679) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 685) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 705) | int cgaddress(struct symtable *sym) { function cgderef (line 718) | int cgderef(int r, int type) { function cgstorderef (line 742) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 763) | void cgswitch(int reg, int casecount, int toplabel, FILE: 41_Local_Var_Init/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | static int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 87) | static int parse_stars(int type) { function parse_literal (line 102) | int parse_literal(int type) { type symtable (line 124) | struct symtable type symtable (line 125) | struct symtable type ASTnode (line 127) | struct ASTnode type symtable (line 128) | struct symtable type ASTnode (line 129) | struct ASTnode type symtable (line 194) | struct symtable type symtable (line 195) | struct symtable type symtable (line 197) | struct symtable function param_declaration_list (line 294) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 340) | struct symtable type symtable (line 341) | struct symtable type ASTnode (line 343) | struct ASTnode type symtable (line 344) | struct symtable type symtable (line 428) | struct symtable type symtable (line 429) | struct symtable type symtable (line 430) | struct symtable type ASTnode (line 431) | struct ASTnode function enum_declaration (line 511) | static void enum_declaration(void) { function typedef_declaration (line 579) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 604) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 621) | struct symtable type symtable (line 621) | struct symtable type ASTnode (line 623) | struct ASTnode type symtable (line 624) | struct symtable function declaration_list (line 661) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 706) | void global_declarations(void) { FILE: 41_Local_Var_Init/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 27) | struct symtable type symtable (line 41) | struct symtable type symtable (line 42) | struct symtable type symtable (line 44) | struct symtable type symtable (line 45) | struct symtable type symtable (line 52) | struct symtable type symtable (line 54) | struct symtable type symtable (line 55) | struct symtable type symtable (line 56) | struct symtable type symtable (line 63) | struct symtable type symtable (line 64) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type ASTnode (line 84) | struct ASTnode type symtable (line 101) | struct symtable type symtable (line 101) | struct symtable type symtable (line 102) | struct symtable type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 105) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 126) | struct symtable type ASTnode (line 127) | struct ASTnode type symtable (line 135) | struct symtable type ASTnode (line 136) | struct ASTnode type ASTnode (line 136) | struct ASTnode FILE: 41_Local_Var_Init/defs.h type token (line 56) | struct token { type symtable (line 104) | struct symtable { type ASTnode (line 123) | struct ASTnode { FILE: 41_Local_Var_Init/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 47) | struct ASTnode type ASTnode (line 48) | struct ASTnode type symtable (line 49) | struct symtable type ASTnode (line 75) | struct ASTnode type ASTnode (line 76) | struct ASTnode type symtable (line 77) | struct symtable type ASTnode (line 113) | struct ASTnode type ASTnode (line 114) | struct ASTnode type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type ASTnode (line 167) | struct ASTnode type ASTnode (line 168) | struct ASTnode type symtable (line 169) | struct symtable type symtable (line 170) | struct symtable type ASTnode (line 221) | struct ASTnode type ASTnode (line 222) | struct ASTnode function binastop (line 264) | static int binastop(int tokentype) { function rightassoc (line 273) | static int rightassoc(int tokentype) { function op_precedence (line 293) | static int op_precedence(int tokentype) { type ASTnode (line 313) | struct ASTnode type ASTnode (line 314) | struct ASTnode type ASTnode (line 414) | struct ASTnode type ASTnode (line 415) | struct ASTnode type ASTnode (line 416) | struct ASTnode FILE: 41_Local_Var_Init/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_funccall (line 140) | static int gen_funccall(struct ASTnode *n) { function genAST (line 168) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 338) | void genpreamble() { function genpostamble (line 341) | void genpostamble() { function genfreeregs (line 344) | void genfreeregs() { function genglobsym (line 347) | void genglobsym(struct symtable *node) { function genglobstr (line 350) | int genglobstr(char *strvalue) { function genprimsize (line 355) | int genprimsize(int type) { function genalign (line 358) | int genalign(int type, int offset, int direction) { FILE: 41_Local_Var_Init/main.c function do_link (line 105) | void do_link(char *outfilename, char *objlist[]) { function usage (line 134) | static void usage(char *prog) { function main (line 149) | int main(int argc, char *argv[]) { FILE: 41_Local_Var_Init/misc.c function match (line 12) | void match(int t, char *what) { function semi (line 21) | void semi(void) { function lbrace (line 26) | void lbrace(void) { function rbrace (line 31) | void rbrace(void) { function lparen (line 36) | void lparen(void) { function rparen (line 41) | void rparen(void) { function ident (line 46) | void ident(void) { function comma (line 51) | void comma(void) { function fatal (line 56) | void fatal(char *s) { function fatals (line 63) | void fatals(char *s1, char *s2) { function fatald (line 70) | void fatald(char *s, int d) { function fatalc (line 77) | void fatalc(char *s, int c) { FILE: 41_Local_Var_Init/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 55) | static void putback(int c) { function skip (line 62) | static int skip(void) { function scanch (line 74) | static int scanch(void) { function scanint (line 111) | static int scanint(int c) { function scanstr (line 128) | static int scanstr(char *buf) { function scanident (line 148) | static int scanident(int c, char *buf, int lim) { function keyword (line 173) | static int keyword(char *s) { type token (line 244) | struct token function reject_token (line 247) | void reject_token(struct token *t) { function scan (line 271) | int scan(struct token *t) { FILE: 41_Local_Var_Init/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 173) | struct ASTnode type ASTnode (line 185) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 196) | struct ASTnode type ASTnode (line 279) | struct ASTnode type ASTnode (line 280) | struct ASTnode type symtable (line 281) | struct symtable type ASTnode (line 335) | struct ASTnode type ASTnode (line 336) | struct ASTnode type ASTnode (line 337) | struct ASTnode FILE: 41_Local_Var_Init/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 63) | struct symtable type symtable (line 63) | struct symtable type symtable (line 65) | struct symtable type symtable (line 74) | struct symtable type symtable (line 74) | struct symtable type symtable (line 76) | struct symtable type symtable (line 85) | struct symtable type symtable (line 85) | struct symtable type symtable (line 87) | struct symtable type symtable (line 93) | struct symtable type symtable (line 93) | struct symtable type symtable (line 95) | struct symtable type symtable (line 104) | struct symtable type symtable (line 105) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 127) | struct symtable type symtable (line 127) | struct symtable type symtable (line 128) | struct symtable type symtable (line 136) | struct symtable type symtable (line 136) | struct symtable type symtable (line 146) | struct symtable type symtable (line 152) | struct symtable type symtable (line 153) | struct symtable type symtable (line 166) | struct symtable type symtable (line 167) | struct symtable type symtable (line 184) | struct symtable type symtable (line 190) | struct symtable type symtable (line 196) | struct symtable type symtable (line 202) | struct symtable type symtable (line 208) | struct symtable type symtable (line 214) | struct symtable function clear_symtable (line 219) | void clear_symtable(void) { function freeloclsyms (line 231) | void freeloclsyms(void) { FILE: 41_Local_Var_Init/tests/err.input065.c type type (line 1) | enum type FILE: 41_Local_Var_Init/tests/err.input066.c type value (line 1) | enum value FILE: 41_Local_Var_Init/tests/input001.c function main (line 3) | void main() FILE: 41_Local_Var_Init/tests/input002.c function main (line 3) | void main() FILE: 41_Local_Var_Init/tests/input003.c function main (line 3) | void main() FILE: 41_Local_Var_Init/tests/input004.c function main (line 3) | void main() FILE: 41_Local_Var_Init/tests/input005.c function main (line 3) | void main() FILE: 41_Local_Var_Init/tests/input006.c function main (line 3) | void main() FILE: 41_Local_Var_Init/tests/input007.c function main (line 3) | void main() FILE: 41_Local_Var_Init/tests/input008.c function main (line 3) | void main() FILE: 41_Local_Var_Init/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 41_Local_Var_Init/tests/input010.c function main (line 3) | void main() FILE: 41_Local_Var_Init/tests/input011.c function main (line 3) | int main() FILE: 41_Local_Var_Init/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 41_Local_Var_Init/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 41_Local_Var_Init/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 41_Local_Var_Init/tests/input015.c function main (line 3) | int main() { FILE: 41_Local_Var_Init/tests/input016.c function main (line 8) | int main() { FILE: 41_Local_Var_Init/tests/input017.c function main (line 3) | int main() { FILE: 41_Local_Var_Init/tests/input018.c function main (line 3) | int main() FILE: 41_Local_Var_Init/tests/input018a.c function main (line 8) | int main() FILE: 41_Local_Var_Init/tests/input019.c function main (line 8) | int main() FILE: 41_Local_Var_Init/tests/input020.c function main (line 6) | int main() { FILE: 41_Local_Var_Init/tests/input021.c function main (line 6) | int main() { FILE: 41_Local_Var_Init/tests/input022.c function main (line 8) | int main() { FILE: 41_Local_Var_Init/tests/input023.c function main (line 6) | int main() { FILE: 41_Local_Var_Init/tests/input024.c function main (line 6) | int main() { FILE: 41_Local_Var_Init/tests/input025.c function main (line 7) | int main() FILE: 41_Local_Var_Init/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 41_Local_Var_Init/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 41_Local_Var_Init/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 41_Local_Var_Init/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 41_Local_Var_Init/tests/input030.c function main (line 10) | int main() { FILE: 41_Local_Var_Init/tests/input031.c function main (line 3) | int main() { FILE: 41_Local_Var_Init/tests/input032.c function main (line 3) | int main() { FILE: 41_Local_Var_Init/tests/input033.c function main (line 3) | int main() { FILE: 41_Local_Var_Init/tests/input034.c function main (line 3) | int main() { FILE: 41_Local_Var_Init/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 41_Local_Var_Init/tests/input039.c function main (line 3) | int main() { int a; } FILE: 41_Local_Var_Init/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 41_Local_Var_Init/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 41_Local_Var_Init/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 41_Local_Var_Init/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 41_Local_Var_Init/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 41_Local_Var_Init/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 41_Local_Var_Init/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 41_Local_Var_Init/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 41_Local_Var_Init/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 41_Local_Var_Init/tests/input049.c function main (line 3) | int main() { FILE: 41_Local_Var_Init/tests/input050.c function main (line 3) | int main() { FILE: 41_Local_Var_Init/tests/input051.c function main (line 3) | int main() { FILE: 41_Local_Var_Init/tests/input052.c function main (line 3) | int main() { FILE: 41_Local_Var_Init/tests/input053.c function main (line 3) | int main() FILE: 41_Local_Var_Init/tests/input054.c function main (line 3) | int main() FILE: 41_Local_Var_Init/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 41_Local_Var_Init/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 41_Local_Var_Init/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 41_Local_Var_Init/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 41_Local_Var_Init/tests/input059.c function main (line 1) | int main() { FILE: 41_Local_Var_Init/tests/input060.c function main (line 1) | int main() { FILE: 41_Local_Var_Init/tests/input061.c function main (line 1) | int main() { FILE: 41_Local_Var_Init/tests/input062.c function main (line 13) | int main() { FILE: 41_Local_Var_Init/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 41_Local_Var_Init/tests/input064.c type fred (line 1) | enum fred FILE: 41_Local_Var_Init/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 41_Local_Var_Init/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 41_Local_Var_Init/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 41_Local_Var_Init/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 41_Local_Var_Init/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 41_Local_Var_Init/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 41_Local_Var_Init/tests/input071.c function main (line 3) | int main() { FILE: 41_Local_Var_Init/tests/input072.c function main (line 1) | int main() { break; } FILE: 41_Local_Var_Init/tests/input073.c function main (line 1) | int main() { continue; } FILE: 41_Local_Var_Init/tests/input074.c function main (line 3) | int main() { FILE: 41_Local_Var_Init/tests/input075.c function main (line 1) | int main() { FILE: 41_Local_Var_Init/tests/input076.c function main (line 1) | int main() { FILE: 41_Local_Var_Init/tests/input077.c function main (line 1) | int main() { FILE: 41_Local_Var_Init/tests/input078.c function main (line 1) | int main() { FILE: 41_Local_Var_Init/tests/input079.c function main (line 1) | int main() { FILE: 41_Local_Var_Init/tests/input080.c function main (line 6) | int main() { FILE: 41_Local_Var_Init/tests/input081.c function main (line 6) | int main() { FILE: 41_Local_Var_Init/tests/input082.c function main (line 3) | int main() { FILE: 41_Local_Var_Init/tests/input083.c function main (line 3) | int main() { FILE: 41_Local_Var_Init/tests/input084.c function main (line 3) | int main() { FILE: 41_Local_Var_Init/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 41_Local_Var_Init/tests/input086.c function main (line 1) | int main() { FILE: 41_Local_Var_Init/tests/input087.c type foo (line 1) | struct foo { FILE: 41_Local_Var_Init/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 41_Local_Var_Init/tests/input089.c function main (line 7) | int main() { FILE: 41_Local_Var_Init/tests/input090.c function main (line 6) | int main() { FILE: 41_Local_Var_Init/tests/input091.c function main (line 6) | int main() { FILE: 41_Local_Var_Init/tests/input097.c function main (line 1) | int main() { FILE: 41_Local_Var_Init/tests/input099.c function main (line 19) | int main() { FILE: 41_Local_Var_Init/tests/input100.c function main (line 2) | int main() { FILE: 41_Local_Var_Init/tests/out.input030.c function main (line 10) | int main() { FILE: 41_Local_Var_Init/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 47) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 41_Local_Var_Init/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 42_Casting/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int type) { function freeall_registers (line 110) | void freeall_registers(void) { function alloc_register (line 116) | static int alloc_register(void) { function free_register (line 129) | static void free_register(int reg) { function cgpreamble (line 136) | void cgpreamble() { function cgpostamble (line 166) | void cgpostamble() { function cgfuncpreamble (line 170) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 213) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 222) | int cgloadint(int value, int type) { function cgloadglob (line 234) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 283) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 330) | int cgloadglobstr(int label) { function cgadd (line 339) | int cgadd(int r1, int r2) { function cgsub (line 347) | int cgsub(int r1, int r2) { function cgmul (line 355) | int cgmul(int r1, int r2) { function cgdiv (line 363) | int cgdiv(int r1, int r2) { function cgand (line 372) | int cgand(int r1, int r2) { function cgor (line 378) | int cgor(int r1, int r2) { function cgxor (line 384) | int cgxor(int r1, int r2) { function cgshl (line 390) | int cgshl(int r1, int r2) { function cgshr (line 397) | int cgshr(int r1, int r2) { function cgnegate (line 405) | int cgnegate(int r) { function cginvert (line 411) | int cginvert(int r) { function cglognot (line 417) | int cglognot(int r) { function cgboolean (line 426) | int cgboolean(int r, int op, int label) { function cgcall (line 440) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 457) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 473) | int cgshlconst(int r, int val) { function cgstorglob (line 479) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 498) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 517) | void cgglobsym(struct symtable *node) { function cgglobstr (line 574) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 589) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 603) | void cglabel(int l) { function cgjump (line 608) | void cgjump(int l) { function cgcompare_and_jump (line 617) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 632) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 638) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 659) | int cgaddress(struct symtable *sym) { function cgderef (line 671) | int cgderef(int r, int type) { function cgstorderef (line 695) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 716) | void cgswitch(int reg, int casecount, int toplabel, FILE: 42_Casting/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 42_Casting/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | int newlocaloffset(int type) { function freeall_registers (line 101) | void freeall_registers(void) { function alloc_register (line 107) | static int alloc_register(void) { function free_register (line 120) | static void free_register(int reg) { function cgpreamble (line 127) | void cgpreamble() { function cgpostamble (line 164) | void cgpostamble() { function cgfuncpreamble (line 168) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 210) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 219) | int cgloadint(int value, int type) { function cgloadglob (line 231) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 283) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 335) | int cgloadglobstr(int label) { function cgadd (line 344) | int cgadd(int r1, int r2) { function cgsub (line 352) | int cgsub(int r1, int r2) { function cgmul (line 360) | int cgmul(int r1, int r2) { function cgdiv (line 368) | int cgdiv(int r1, int r2) { function cgand (line 377) | int cgand(int r1, int r2) { function cgor (line 383) | int cgor(int r1, int r2) { function cgxor (line 389) | int cgxor(int r1, int r2) { function cgshl (line 395) | int cgshl(int r1, int r2) { function cgshr (line 402) | int cgshr(int r1, int r2) { function cgnegate (line 410) | int cgnegate(int r) { function cginvert (line 416) | int cginvert(int r) { function cglognot (line 422) | int cglognot(int r) { function cgboolean (line 431) | int cgboolean(int r, int op, int label) { function cgcall (line 445) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 462) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 478) | int cgshlconst(int r, int val) { function cgstorglob (line 484) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 502) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 523) | void cgglobsym(struct symtable *node) { function cgglobstr (line 585) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 639) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 653) | void cglabel(int l) { function cgjump (line 658) | void cgjump(int l) { function cgcompare_and_jump (line 667) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 682) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 688) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 708) | int cgaddress(struct symtable *sym) { function cgderef (line 721) | int cgderef(int r, int type) { function cgstorderef (line 745) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 766) | void cgswitch(int reg, int casecount, int toplabel, FILE: 42_Casting/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 87) | int parse_stars(int type) { function parse_cast (line 99) | int parse_cast(void) { function parse_literal (line 117) | int parse_literal(int type) { type symtable (line 143) | struct symtable type symtable (line 144) | struct symtable type ASTnode (line 146) | struct ASTnode type symtable (line 147) | struct symtable type ASTnode (line 148) | struct ASTnode type symtable (line 230) | struct symtable type symtable (line 231) | struct symtable type symtable (line 233) | struct symtable function param_declaration_list (line 350) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 396) | struct symtable type symtable (line 397) | struct symtable type ASTnode (line 399) | struct ASTnode type symtable (line 400) | struct symtable type symtable (line 484) | struct symtable type symtable (line 485) | struct symtable type symtable (line 486) | struct symtable type ASTnode (line 487) | struct ASTnode function enum_declaration (line 567) | static void enum_declaration(void) { function typedef_declaration (line 635) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 660) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 677) | struct symtable type symtable (line 677) | struct symtable type ASTnode (line 679) | struct ASTnode type symtable (line 680) | struct symtable function declaration_list (line 717) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 762) | void global_declarations(void) { FILE: 42_Casting/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 27) | struct symtable type symtable (line 41) | struct symtable type symtable (line 42) | struct symtable type symtable (line 44) | struct symtable type symtable (line 45) | struct symtable type symtable (line 52) | struct symtable type symtable (line 54) | struct symtable type symtable (line 55) | struct symtable type symtable (line 56) | struct symtable type symtable (line 63) | struct symtable type symtable (line 64) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type ASTnode (line 84) | struct ASTnode type symtable (line 101) | struct symtable type symtable (line 101) | struct symtable type symtable (line 102) | struct symtable type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 105) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 126) | struct symtable type symtable (line 129) | struct symtable type ASTnode (line 130) | struct ASTnode type symtable (line 138) | struct symtable type ASTnode (line 139) | struct ASTnode type ASTnode (line 139) | struct ASTnode FILE: 42_Casting/defs.h type token (line 56) | struct token { type symtable (line 104) | struct symtable { type ASTnode (line 123) | struct ASTnode { FILE: 42_Casting/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 47) | struct ASTnode type ASTnode (line 48) | struct ASTnode type symtable (line 49) | struct symtable type ASTnode (line 75) | struct ASTnode type ASTnode (line 76) | struct ASTnode type symtable (line 77) | struct symtable type ASTnode (line 113) | struct ASTnode type ASTnode (line 114) | struct ASTnode type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type ASTnode (line 167) | struct ASTnode type ASTnode (line 168) | struct ASTnode type symtable (line 169) | struct symtable type symtable (line 170) | struct symtable type ASTnode (line 221) | struct ASTnode type ASTnode (line 222) | struct ASTnode function binastop (line 294) | static int binastop(int tokentype) { function rightassoc (line 303) | static int rightassoc(int tokentype) { function op_precedence (line 323) | static int op_precedence(int tokentype) { type ASTnode (line 343) | struct ASTnode type ASTnode (line 344) | struct ASTnode type ASTnode (line 444) | struct ASTnode type ASTnode (line 445) | struct ASTnode type ASTnode (line 446) | struct ASTnode FILE: 42_Casting/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_funccall (line 140) | static int gen_funccall(struct ASTnode *n) { function genAST (line 168) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 340) | void genpreamble() { function genpostamble (line 343) | void genpostamble() { function genfreeregs (line 346) | void genfreeregs() { function genglobsym (line 349) | void genglobsym(struct symtable *node) { function genglobstr (line 352) | int genglobstr(char *strvalue) { function genprimsize (line 357) | int genprimsize(int type) { function genalign (line 360) | int genalign(int type, int offset, int direction) { FILE: 42_Casting/main.c function do_link (line 105) | void do_link(char *outfilename, char *objlist[]) { function usage (line 134) | static void usage(char *prog) { function main (line 149) | int main(int argc, char *argv[]) { FILE: 42_Casting/misc.c function match (line 12) | void match(int t, char *what) { function semi (line 21) | void semi(void) { function lbrace (line 26) | void lbrace(void) { function rbrace (line 31) | void rbrace(void) { function lparen (line 36) | void lparen(void) { function rparen (line 41) | void rparen(void) { function ident (line 46) | void ident(void) { function comma (line 51) | void comma(void) { function fatal (line 56) | void fatal(char *s) { function fatals (line 63) | void fatals(char *s1, char *s2) { function fatald (line 70) | void fatald(char *s, int d) { function fatalc (line 77) | void fatalc(char *s, int c) { FILE: 42_Casting/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 55) | static void putback(int c) { function skip (line 62) | static int skip(void) { function scanch (line 74) | static int scanch(void) { function scanint (line 111) | static int scanint(int c) { function scanstr (line 128) | static int scanstr(char *buf) { function scanident (line 148) | static int scanident(int c, char *buf, int lim) { function keyword (line 173) | static int keyword(char *s) { type token (line 244) | struct token function reject_token (line 247) | void reject_token(struct token *t) { function scan (line 271) | int scan(struct token *t) { FILE: 42_Casting/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 173) | struct ASTnode type ASTnode (line 185) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 196) | struct ASTnode type ASTnode (line 279) | struct ASTnode type ASTnode (line 280) | struct ASTnode type symtable (line 281) | struct symtable type ASTnode (line 335) | struct ASTnode type ASTnode (line 336) | struct ASTnode type ASTnode (line 337) | struct ASTnode FILE: 42_Casting/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 66) | struct symtable type symtable (line 66) | struct symtable type symtable (line 68) | struct symtable type symtable (line 77) | struct symtable type symtable (line 77) | struct symtable type symtable (line 79) | struct symtable type symtable (line 88) | struct symtable type symtable (line 88) | struct symtable type symtable (line 90) | struct symtable type symtable (line 96) | struct symtable type symtable (line 96) | struct symtable type symtable (line 98) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 130) | struct symtable type symtable (line 130) | struct symtable type symtable (line 131) | struct symtable type symtable (line 139) | struct symtable type symtable (line 139) | struct symtable type symtable (line 149) | struct symtable type symtable (line 155) | struct symtable type symtable (line 156) | struct symtable type symtable (line 169) | struct symtable type symtable (line 170) | struct symtable type symtable (line 187) | struct symtable type symtable (line 193) | struct symtable type symtable (line 199) | struct symtable type symtable (line 205) | struct symtable type symtable (line 211) | struct symtable type symtable (line 217) | struct symtable function clear_symtable (line 222) | void clear_symtable(void) { function freeloclsyms (line 234) | void freeloclsyms(void) { FILE: 42_Casting/tests/err.input065.c type type (line 1) | enum type FILE: 42_Casting/tests/err.input066.c type value (line 1) | enum value FILE: 42_Casting/tests/input001.c function main (line 3) | void main() FILE: 42_Casting/tests/input002.c function main (line 3) | void main() FILE: 42_Casting/tests/input003.c function main (line 3) | void main() FILE: 42_Casting/tests/input004.c function main (line 3) | void main() FILE: 42_Casting/tests/input005.c function main (line 3) | void main() FILE: 42_Casting/tests/input006.c function main (line 3) | void main() FILE: 42_Casting/tests/input007.c function main (line 3) | void main() FILE: 42_Casting/tests/input008.c function main (line 3) | void main() FILE: 42_Casting/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 42_Casting/tests/input010.c function main (line 3) | void main() FILE: 42_Casting/tests/input011.c function main (line 3) | int main() FILE: 42_Casting/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 42_Casting/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 42_Casting/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 42_Casting/tests/input015.c function main (line 3) | int main() { FILE: 42_Casting/tests/input016.c function main (line 8) | int main() { FILE: 42_Casting/tests/input017.c function main (line 3) | int main() { FILE: 42_Casting/tests/input018.c function main (line 3) | int main() FILE: 42_Casting/tests/input018a.c function main (line 8) | int main() FILE: 42_Casting/tests/input019.c function main (line 8) | int main() FILE: 42_Casting/tests/input020.c function main (line 6) | int main() { FILE: 42_Casting/tests/input021.c function main (line 6) | int main() { FILE: 42_Casting/tests/input022.c function main (line 8) | int main() { FILE: 42_Casting/tests/input023.c function main (line 6) | int main() { FILE: 42_Casting/tests/input024.c function main (line 6) | int main() { FILE: 42_Casting/tests/input025.c function main (line 7) | int main() FILE: 42_Casting/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 42_Casting/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 42_Casting/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 42_Casting/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 42_Casting/tests/input030.c function main (line 10) | int main() { FILE: 42_Casting/tests/input031.c function main (line 3) | int main() { FILE: 42_Casting/tests/input032.c function main (line 3) | int main() { FILE: 42_Casting/tests/input033.c function main (line 3) | int main() { FILE: 42_Casting/tests/input034.c function main (line 3) | int main() { FILE: 42_Casting/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 42_Casting/tests/input039.c function main (line 3) | int main() { int a; } FILE: 42_Casting/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 42_Casting/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 42_Casting/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 42_Casting/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 42_Casting/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 42_Casting/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 42_Casting/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 42_Casting/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 42_Casting/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 42_Casting/tests/input049.c function main (line 3) | int main() { FILE: 42_Casting/tests/input050.c function main (line 3) | int main() { FILE: 42_Casting/tests/input051.c function main (line 3) | int main() { FILE: 42_Casting/tests/input052.c function main (line 3) | int main() { FILE: 42_Casting/tests/input053.c function main (line 3) | int main() FILE: 42_Casting/tests/input054.c function main (line 3) | int main() FILE: 42_Casting/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 42_Casting/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 42_Casting/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 42_Casting/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 42_Casting/tests/input059.c function main (line 1) | int main() { FILE: 42_Casting/tests/input060.c function main (line 1) | int main() { FILE: 42_Casting/tests/input061.c function main (line 1) | int main() { FILE: 42_Casting/tests/input062.c function main (line 13) | int main() { FILE: 42_Casting/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 42_Casting/tests/input064.c type fred (line 1) | enum fred FILE: 42_Casting/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 42_Casting/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 42_Casting/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 42_Casting/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 42_Casting/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 42_Casting/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 42_Casting/tests/input071.c function main (line 3) | int main() { FILE: 42_Casting/tests/input072.c function main (line 1) | int main() { break; } FILE: 42_Casting/tests/input073.c function main (line 1) | int main() { continue; } FILE: 42_Casting/tests/input074.c function main (line 3) | int main() { FILE: 42_Casting/tests/input075.c function main (line 1) | int main() { FILE: 42_Casting/tests/input076.c function main (line 1) | int main() { FILE: 42_Casting/tests/input077.c function main (line 1) | int main() { FILE: 42_Casting/tests/input078.c function main (line 1) | int main() { FILE: 42_Casting/tests/input079.c function main (line 1) | int main() { FILE: 42_Casting/tests/input080.c function main (line 6) | int main() { FILE: 42_Casting/tests/input081.c function main (line 6) | int main() { FILE: 42_Casting/tests/input082.c function main (line 3) | int main() { FILE: 42_Casting/tests/input083.c function main (line 3) | int main() { FILE: 42_Casting/tests/input084.c function main (line 3) | int main() { FILE: 42_Casting/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 42_Casting/tests/input086.c function main (line 1) | int main() { FILE: 42_Casting/tests/input087.c type foo (line 1) | struct foo { FILE: 42_Casting/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 42_Casting/tests/input089.c function main (line 7) | int main() { FILE: 42_Casting/tests/input090.c function main (line 6) | int main() { FILE: 42_Casting/tests/input091.c function main (line 6) | int main() { FILE: 42_Casting/tests/input097.c function main (line 1) | int main() { FILE: 42_Casting/tests/input099.c function main (line 19) | int main() { FILE: 42_Casting/tests/input100.c function main (line 2) | int main() { FILE: 42_Casting/tests/input101.c function main (line 3) | int main() { FILE: 42_Casting/tests/input102.c function main (line 1) | int main() { FILE: 42_Casting/tests/input103.c function main (line 1) | int main() { FILE: 42_Casting/tests/input104.c function main (line 1) | int main() { FILE: 42_Casting/tests/input105.c function main (line 1) | int main() { FILE: 42_Casting/tests/input106.c function main (line 4) | int main() { FILE: 42_Casting/tests/input107.c function main (line 5) | int main() { FILE: 42_Casting/tests/input108.c function main (line 1) | int main() { FILE: 42_Casting/tests/out.input030.c function main (line 10) | int main() { FILE: 42_Casting/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 47) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 42_Casting/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 43_More_Operators/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int type) { function freeall_registers (line 110) | void freeall_registers(void) { function alloc_register (line 116) | static int alloc_register(void) { function free_register (line 129) | static void free_register(int reg) { function cgpreamble (line 136) | void cgpreamble() { function cgpostamble (line 166) | void cgpostamble() { function cgfuncpreamble (line 170) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 213) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 222) | int cgloadint(int value, int type) { function cgloadglob (line 234) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 283) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 330) | int cgloadglobstr(int label) { function cgadd (line 339) | int cgadd(int r1, int r2) { function cgsub (line 347) | int cgsub(int r1, int r2) { function cgmul (line 355) | int cgmul(int r1, int r2) { function cgdiv (line 363) | int cgdiv(int r1, int r2) { function cgand (line 372) | int cgand(int r1, int r2) { function cgor (line 378) | int cgor(int r1, int r2) { function cgxor (line 384) | int cgxor(int r1, int r2) { function cgshl (line 390) | int cgshl(int r1, int r2) { function cgshr (line 397) | int cgshr(int r1, int r2) { function cgnegate (line 405) | int cgnegate(int r) { function cginvert (line 411) | int cginvert(int r) { function cglognot (line 417) | int cglognot(int r) { function cgboolean (line 426) | int cgboolean(int r, int op, int label) { function cgcall (line 440) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 457) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 473) | int cgshlconst(int r, int val) { function cgstorglob (line 479) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 498) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 517) | void cgglobsym(struct symtable *node) { function cgglobstr (line 574) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 589) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 603) | void cglabel(int l) { function cgjump (line 608) | void cgjump(int l) { function cgcompare_and_jump (line 617) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 632) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 638) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 659) | int cgaddress(struct symtable *sym) { function cgderef (line 671) | int cgderef(int r, int type) { function cgstorderef (line 695) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 716) | void cgswitch(int reg, int casecount, int toplabel, FILE: 43_More_Operators/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 43_More_Operators/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | int newlocaloffset(int type) { function freeall_registers (line 101) | void freeall_registers(void) { function alloc_register (line 107) | static int alloc_register(void) { function free_register (line 120) | static void free_register(int reg) { function cgpreamble (line 127) | void cgpreamble() { function cgpostamble (line 164) | void cgpostamble() { function cgfuncpreamble (line 168) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 210) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 219) | int cgloadint(int value, int type) { function cgloadglob (line 231) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 283) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 335) | int cgloadglobstr(int label) { function cgadd (line 344) | int cgadd(int r1, int r2) { function cgsub (line 352) | int cgsub(int r1, int r2) { function cgmul (line 360) | int cgmul(int r1, int r2) { function cgdiv (line 368) | int cgdiv(int r1, int r2) { function cgand (line 377) | int cgand(int r1, int r2) { function cgor (line 383) | int cgor(int r1, int r2) { function cgxor (line 389) | int cgxor(int r1, int r2) { function cgshl (line 395) | int cgshl(int r1, int r2) { function cgshr (line 402) | int cgshr(int r1, int r2) { function cgnegate (line 410) | int cgnegate(int r) { function cginvert (line 416) | int cginvert(int r) { function cglognot (line 422) | int cglognot(int r) { function cgboolean (line 431) | int cgboolean(int r, int op, int label) { function cgcall (line 445) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 462) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 478) | int cgshlconst(int r, int val) { function cgstorglob (line 484) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 502) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 523) | void cgglobsym(struct symtable *node) { function cgglobstr (line 585) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 639) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 653) | void cglabel(int l) { function cgjump (line 658) | void cgjump(int l) { function cgcompare_and_jump (line 667) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 682) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 688) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 708) | int cgaddress(struct symtable *sym) { function cgderef (line 721) | int cgderef(int r, int type) { function cgstorderef (line 745) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 766) | void cgswitch(int reg, int casecount, int toplabel, FILE: 43_More_Operators/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 87) | int parse_stars(int type) { function parse_cast (line 99) | int parse_cast(void) { function parse_literal (line 117) | int parse_literal(int type) { type symtable (line 143) | struct symtable type symtable (line 144) | struct symtable type ASTnode (line 146) | struct ASTnode type symtable (line 147) | struct symtable type ASTnode (line 148) | struct ASTnode type symtable (line 230) | struct symtable type symtable (line 231) | struct symtable type symtable (line 233) | struct symtable function param_declaration_list (line 350) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 396) | struct symtable type symtable (line 397) | struct symtable type ASTnode (line 399) | struct ASTnode type symtable (line 400) | struct symtable type symtable (line 484) | struct symtable type symtable (line 485) | struct symtable type symtable (line 486) | struct symtable type ASTnode (line 487) | struct ASTnode function enum_declaration (line 567) | static void enum_declaration(void) { function typedef_declaration (line 635) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 660) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 677) | struct symtable type symtable (line 677) | struct symtable type ASTnode (line 679) | struct ASTnode type symtable (line 680) | struct symtable function declaration_list (line 717) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 762) | void global_declarations(void) { FILE: 43_More_Operators/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 27) | struct symtable type symtable (line 41) | struct symtable type symtable (line 42) | struct symtable type symtable (line 44) | struct symtable type symtable (line 45) | struct symtable type symtable (line 52) | struct symtable type symtable (line 54) | struct symtable type symtable (line 55) | struct symtable type symtable (line 56) | struct symtable type symtable (line 63) | struct symtable type symtable (line 64) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type ASTnode (line 84) | struct ASTnode type symtable (line 101) | struct symtable type symtable (line 101) | struct symtable type symtable (line 102) | struct symtable type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 105) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 126) | struct symtable type symtable (line 129) | struct symtable type ASTnode (line 130) | struct ASTnode type symtable (line 138) | struct symtable type ASTnode (line 139) | struct ASTnode type ASTnode (line 139) | struct ASTnode FILE: 43_More_Operators/defs.h type token (line 58) | struct token { type symtable (line 107) | struct symtable { type ASTnode (line 124) | struct ASTnode { FILE: 43_More_Operators/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 47) | struct ASTnode type ASTnode (line 48) | struct ASTnode type symtable (line 49) | struct symtable type ASTnode (line 75) | struct ASTnode type ASTnode (line 76) | struct ASTnode type symtable (line 77) | struct symtable type ASTnode (line 113) | struct ASTnode type ASTnode (line 114) | struct ASTnode type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type ASTnode (line 167) | struct ASTnode type ASTnode (line 168) | struct ASTnode type symtable (line 169) | struct symtable type symtable (line 170) | struct symtable type ASTnode (line 221) | struct ASTnode type ASTnode (line 222) | struct ASTnode function binastop (line 294) | static int binastop(int tokentype) { function rightassoc (line 303) | static int rightassoc(int tokentype) { function op_precedence (line 325) | static int op_precedence(int tokentype) { type ASTnode (line 345) | struct ASTnode type ASTnode (line 346) | struct ASTnode type ASTnode (line 446) | struct ASTnode type ASTnode (line 447) | struct ASTnode type ASTnode (line 448) | struct ASTnode FILE: 43_More_Operators/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_funccall (line 140) | static int gen_funccall(struct ASTnode *n) { function genAST (line 168) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 368) | void genpreamble() { function genpostamble (line 371) | void genpostamble() { function genfreeregs (line 374) | void genfreeregs() { function genglobsym (line 377) | void genglobsym(struct symtable *node) { function genglobstr (line 380) | int genglobstr(char *strvalue) { function genprimsize (line 385) | int genprimsize(int type) { function genalign (line 388) | int genalign(int type, int offset, int direction) { FILE: 43_More_Operators/main.c function do_link (line 105) | void do_link(char *outfilename, char *objlist[]) { function usage (line 134) | static void usage(char *prog) { function main (line 149) | int main(int argc, char *argv[]) { FILE: 43_More_Operators/misc.c function match (line 12) | void match(int t, char *what) { function semi (line 21) | void semi(void) { function lbrace (line 26) | void lbrace(void) { function rbrace (line 31) | void rbrace(void) { function lparen (line 36) | void lparen(void) { function rparen (line 41) | void rparen(void) { function ident (line 46) | void ident(void) { function comma (line 51) | void comma(void) { function fatal (line 56) | void fatal(char *s) { function fatals (line 63) | void fatals(char *s1, char *s2) { function fatald (line 70) | void fatald(char *s, int d) { function fatalc (line 77) | void fatalc(char *s, int c) { FILE: 43_More_Operators/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 55) | static void putback(int c) { function skip (line 62) | static int skip(void) { function scanch (line 74) | static int scanch(void) { function scanint (line 111) | static int scanint(int c) { function scanstr (line 128) | static int scanstr(char *buf) { function scanident (line 148) | static int scanident(int c, char *buf, int lim) { function keyword (line 173) | static int keyword(char *s) { type token (line 244) | struct token function reject_token (line 247) | void reject_token(struct token *t) { function scan (line 272) | int scan(struct token *t) { FILE: 43_More_Operators/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 173) | struct ASTnode type ASTnode (line 185) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 196) | struct ASTnode type ASTnode (line 279) | struct ASTnode type ASTnode (line 280) | struct ASTnode type symtable (line 281) | struct symtable type ASTnode (line 335) | struct ASTnode type ASTnode (line 336) | struct ASTnode type ASTnode (line 337) | struct ASTnode FILE: 43_More_Operators/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 66) | struct symtable type symtable (line 66) | struct symtable type symtable (line 68) | struct symtable type symtable (line 77) | struct symtable type symtable (line 77) | struct symtable type symtable (line 79) | struct symtable type symtable (line 88) | struct symtable type symtable (line 88) | struct symtable type symtable (line 90) | struct symtable type symtable (line 96) | struct symtable type symtable (line 96) | struct symtable type symtable (line 98) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 130) | struct symtable type symtable (line 130) | struct symtable type symtable (line 131) | struct symtable type symtable (line 139) | struct symtable type symtable (line 139) | struct symtable type symtable (line 149) | struct symtable type symtable (line 155) | struct symtable type symtable (line 156) | struct symtable type symtable (line 169) | struct symtable type symtable (line 170) | struct symtable type symtable (line 187) | struct symtable type symtable (line 193) | struct symtable type symtable (line 199) | struct symtable type symtable (line 205) | struct symtable type symtable (line 211) | struct symtable type symtable (line 217) | struct symtable function clear_symtable (line 222) | void clear_symtable(void) { function freeloclsyms (line 234) | void freeloclsyms(void) { FILE: 43_More_Operators/tests/err.input065.c type type (line 1) | enum type FILE: 43_More_Operators/tests/err.input066.c type value (line 1) | enum value FILE: 43_More_Operators/tests/input001.c function main (line 3) | void main() FILE: 43_More_Operators/tests/input002.c function main (line 3) | void main() FILE: 43_More_Operators/tests/input003.c function main (line 3) | void main() FILE: 43_More_Operators/tests/input004.c function main (line 3) | void main() FILE: 43_More_Operators/tests/input005.c function main (line 3) | void main() FILE: 43_More_Operators/tests/input006.c function main (line 3) | void main() FILE: 43_More_Operators/tests/input007.c function main (line 3) | void main() FILE: 43_More_Operators/tests/input008.c function main (line 3) | void main() FILE: 43_More_Operators/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 43_More_Operators/tests/input010.c function main (line 3) | void main() FILE: 43_More_Operators/tests/input011.c function main (line 3) | int main() FILE: 43_More_Operators/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 43_More_Operators/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 43_More_Operators/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 43_More_Operators/tests/input015.c function main (line 3) | int main() { FILE: 43_More_Operators/tests/input016.c function main (line 8) | int main() { FILE: 43_More_Operators/tests/input017.c function main (line 3) | int main() { FILE: 43_More_Operators/tests/input018.c function main (line 3) | int main() FILE: 43_More_Operators/tests/input018a.c function main (line 8) | int main() FILE: 43_More_Operators/tests/input019.c function main (line 8) | int main() FILE: 43_More_Operators/tests/input020.c function main (line 6) | int main() { FILE: 43_More_Operators/tests/input021.c function main (line 6) | int main() { FILE: 43_More_Operators/tests/input022.c function main (line 8) | int main() { FILE: 43_More_Operators/tests/input023.c function main (line 6) | int main() { FILE: 43_More_Operators/tests/input024.c function main (line 6) | int main() { FILE: 43_More_Operators/tests/input025.c function main (line 7) | int main() FILE: 43_More_Operators/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 43_More_Operators/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 43_More_Operators/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 43_More_Operators/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 43_More_Operators/tests/input030.c function main (line 10) | int main() { FILE: 43_More_Operators/tests/input031.c function main (line 3) | int main() { FILE: 43_More_Operators/tests/input032.c function main (line 3) | int main() { FILE: 43_More_Operators/tests/input033.c function main (line 3) | int main() { FILE: 43_More_Operators/tests/input034.c function main (line 3) | int main() { FILE: 43_More_Operators/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 43_More_Operators/tests/input039.c function main (line 3) | int main() { int a; } FILE: 43_More_Operators/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 43_More_Operators/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 43_More_Operators/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 43_More_Operators/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 43_More_Operators/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 43_More_Operators/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 43_More_Operators/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 43_More_Operators/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 43_More_Operators/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 43_More_Operators/tests/input049.c function main (line 3) | int main() { FILE: 43_More_Operators/tests/input050.c function main (line 3) | int main() { FILE: 43_More_Operators/tests/input051.c function main (line 3) | int main() { FILE: 43_More_Operators/tests/input052.c function main (line 3) | int main() { FILE: 43_More_Operators/tests/input053.c function main (line 3) | int main() FILE: 43_More_Operators/tests/input054.c function main (line 3) | int main() FILE: 43_More_Operators/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 43_More_Operators/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 43_More_Operators/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 43_More_Operators/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 43_More_Operators/tests/input059.c function main (line 1) | int main() { FILE: 43_More_Operators/tests/input060.c function main (line 1) | int main() { FILE: 43_More_Operators/tests/input061.c function main (line 1) | int main() { FILE: 43_More_Operators/tests/input062.c function main (line 13) | int main() { FILE: 43_More_Operators/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 43_More_Operators/tests/input064.c type fred (line 1) | enum fred FILE: 43_More_Operators/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 43_More_Operators/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 43_More_Operators/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 43_More_Operators/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 43_More_Operators/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 43_More_Operators/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 43_More_Operators/tests/input071.c function main (line 3) | int main() { FILE: 43_More_Operators/tests/input072.c function main (line 1) | int main() { break; } FILE: 43_More_Operators/tests/input073.c function main (line 1) | int main() { continue; } FILE: 43_More_Operators/tests/input074.c function main (line 3) | int main() { FILE: 43_More_Operators/tests/input075.c function main (line 1) | int main() { FILE: 43_More_Operators/tests/input076.c function main (line 1) | int main() { FILE: 43_More_Operators/tests/input077.c function main (line 1) | int main() { FILE: 43_More_Operators/tests/input078.c function main (line 1) | int main() { FILE: 43_More_Operators/tests/input079.c function main (line 1) | int main() { FILE: 43_More_Operators/tests/input080.c function main (line 6) | int main() { FILE: 43_More_Operators/tests/input081.c function main (line 6) | int main() { FILE: 43_More_Operators/tests/input082.c function main (line 3) | int main() { FILE: 43_More_Operators/tests/input083.c function main (line 3) | int main() { FILE: 43_More_Operators/tests/input084.c function main (line 3) | int main() { FILE: 43_More_Operators/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 43_More_Operators/tests/input086.c function main (line 1) | int main() { FILE: 43_More_Operators/tests/input087.c type foo (line 1) | struct foo { FILE: 43_More_Operators/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 43_More_Operators/tests/input089.c function main (line 7) | int main() { FILE: 43_More_Operators/tests/input090.c function main (line 6) | int main() { FILE: 43_More_Operators/tests/input091.c function main (line 6) | int main() { FILE: 43_More_Operators/tests/input097.c function main (line 1) | int main() { FILE: 43_More_Operators/tests/input099.c function main (line 19) | int main() { FILE: 43_More_Operators/tests/input100.c function main (line 2) | int main() { FILE: 43_More_Operators/tests/input101.c function main (line 3) | int main() { FILE: 43_More_Operators/tests/input102.c function main (line 1) | int main() { FILE: 43_More_Operators/tests/input103.c function main (line 1) | int main() { FILE: 43_More_Operators/tests/input104.c function main (line 1) | int main() { FILE: 43_More_Operators/tests/input105.c function main (line 1) | int main() { FILE: 43_More_Operators/tests/input106.c function main (line 4) | int main() { FILE: 43_More_Operators/tests/input107.c function main (line 5) | int main() { FILE: 43_More_Operators/tests/input108.c function main (line 1) | int main() { FILE: 43_More_Operators/tests/input109.c function main (line 2) | int main() { FILE: 43_More_Operators/tests/input110.c function main (line 6) | int main() { FILE: 43_More_Operators/tests/out.input030.c function main (line 10) | int main() { FILE: 43_More_Operators/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 47) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 43_More_Operators/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 44_Fold_Optimisation/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int type) { function freeall_registers (line 110) | void freeall_registers(void) { function alloc_register (line 116) | static int alloc_register(void) { function free_register (line 129) | static void free_register(int reg) { function cgpreamble (line 136) | void cgpreamble() { function cgpostamble (line 166) | void cgpostamble() { function cgfuncpreamble (line 170) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 213) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 222) | int cgloadint(int value, int type) { function cgloadglob (line 234) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 283) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 330) | int cgloadglobstr(int label) { function cgadd (line 339) | int cgadd(int r1, int r2) { function cgsub (line 347) | int cgsub(int r1, int r2) { function cgmul (line 355) | int cgmul(int r1, int r2) { function cgdiv (line 363) | int cgdiv(int r1, int r2) { function cgand (line 372) | int cgand(int r1, int r2) { function cgor (line 378) | int cgor(int r1, int r2) { function cgxor (line 384) | int cgxor(int r1, int r2) { function cgshl (line 390) | int cgshl(int r1, int r2) { function cgshr (line 397) | int cgshr(int r1, int r2) { function cgnegate (line 405) | int cgnegate(int r) { function cginvert (line 411) | int cginvert(int r) { function cglognot (line 417) | int cglognot(int r) { function cgboolean (line 426) | int cgboolean(int r, int op, int label) { function cgcall (line 440) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 457) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 473) | int cgshlconst(int r, int val) { function cgstorglob (line 479) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 498) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 517) | void cgglobsym(struct symtable *node) { function cgglobstr (line 574) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 589) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 603) | void cglabel(int l) { function cgjump (line 608) | void cgjump(int l) { function cgcompare_and_jump (line 617) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 632) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 638) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 659) | int cgaddress(struct symtable *sym) { function cgderef (line 671) | int cgderef(int r, int type) { function cgstorderef (line 695) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 716) | void cgswitch(int reg, int casecount, int toplabel, FILE: 44_Fold_Optimisation/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 44_Fold_Optimisation/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | int newlocaloffset(int type) { function freeall_registers (line 101) | void freeall_registers(void) { function alloc_register (line 107) | static int alloc_register(void) { function free_register (line 120) | static void free_register(int reg) { function cgpreamble (line 127) | void cgpreamble() { function cgpostamble (line 164) | void cgpostamble() { function cgfuncpreamble (line 168) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 210) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 219) | int cgloadint(int value, int type) { function cgloadglob (line 231) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 283) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 335) | int cgloadglobstr(int label) { function cgadd (line 344) | int cgadd(int r1, int r2) { function cgsub (line 352) | int cgsub(int r1, int r2) { function cgmul (line 360) | int cgmul(int r1, int r2) { function cgdiv (line 368) | int cgdiv(int r1, int r2) { function cgand (line 377) | int cgand(int r1, int r2) { function cgor (line 383) | int cgor(int r1, int r2) { function cgxor (line 389) | int cgxor(int r1, int r2) { function cgshl (line 395) | int cgshl(int r1, int r2) { function cgshr (line 402) | int cgshr(int r1, int r2) { function cgnegate (line 410) | int cgnegate(int r) { function cginvert (line 416) | int cginvert(int r) { function cglognot (line 422) | int cglognot(int r) { function cgboolean (line 431) | int cgboolean(int r, int op, int label) { function cgcall (line 445) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 462) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 478) | int cgshlconst(int r, int val) { function cgstorglob (line 484) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 502) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 523) | void cgglobsym(struct symtable *node) { function cgglobstr (line 585) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 639) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 653) | void cglabel(int l) { function cgjump (line 658) | void cgjump(int l) { function cgcompare_and_jump (line 667) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 682) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 688) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 708) | int cgaddress(struct symtable *sym) { function cgderef (line 721) | int cgderef(int r, int type) { function cgstorderef (line 745) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 766) | void cgswitch(int reg, int casecount, int toplabel, FILE: 44_Fold_Optimisation/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 87) | int parse_stars(int type) { function parse_cast (line 99) | int parse_cast(void) { function parse_literal (line 117) | int parse_literal(int type) { type symtable (line 143) | struct symtable type symtable (line 144) | struct symtable type ASTnode (line 146) | struct ASTnode type symtable (line 147) | struct symtable type ASTnode (line 148) | struct ASTnode type symtable (line 230) | struct symtable type symtable (line 231) | struct symtable type symtable (line 233) | struct symtable function param_declaration_list (line 350) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 396) | struct symtable type symtable (line 397) | struct symtable type ASTnode (line 399) | struct ASTnode type symtable (line 400) | struct symtable type symtable (line 488) | struct symtable type symtable (line 489) | struct symtable type symtable (line 490) | struct symtable type ASTnode (line 491) | struct ASTnode function enum_declaration (line 571) | static void enum_declaration(void) { function typedef_declaration (line 639) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 664) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 681) | struct symtable type symtable (line 681) | struct symtable type ASTnode (line 683) | struct ASTnode type symtable (line 684) | struct symtable function declaration_list (line 721) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 766) | void global_declarations(void) { FILE: 44_Fold_Optimisation/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 27) | struct symtable type symtable (line 41) | struct symtable type symtable (line 42) | struct symtable type symtable (line 44) | struct symtable type symtable (line 45) | struct symtable type symtable (line 52) | struct symtable type symtable (line 54) | struct symtable type symtable (line 55) | struct symtable type symtable (line 56) | struct symtable type symtable (line 63) | struct symtable type symtable (line 64) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type ASTnode (line 84) | struct ASTnode type symtable (line 101) | struct symtable type symtable (line 101) | struct symtable type symtable (line 102) | struct symtable type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 105) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 126) | struct symtable type symtable (line 129) | struct symtable type ASTnode (line 130) | struct ASTnode type symtable (line 138) | struct symtable type ASTnode (line 139) | struct ASTnode type ASTnode (line 139) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 142) | struct ASTnode FILE: 44_Fold_Optimisation/defs.h type token (line 58) | struct token { type symtable (line 107) | struct symtable { type ASTnode (line 124) | struct ASTnode { FILE: 44_Fold_Optimisation/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 47) | struct ASTnode type ASTnode (line 48) | struct ASTnode type symtable (line 49) | struct symtable type ASTnode (line 75) | struct ASTnode type ASTnode (line 76) | struct ASTnode type symtable (line 77) | struct symtable type ASTnode (line 113) | struct ASTnode type ASTnode (line 114) | struct ASTnode type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type ASTnode (line 167) | struct ASTnode type ASTnode (line 168) | struct ASTnode type symtable (line 169) | struct symtable type symtable (line 170) | struct symtable type ASTnode (line 221) | struct ASTnode type ASTnode (line 222) | struct ASTnode function binastop (line 294) | static int binastop(int tokentype) { function rightassoc (line 303) | static int rightassoc(int tokentype) { function op_precedence (line 325) | static int op_precedence(int tokentype) { type ASTnode (line 345) | struct ASTnode type ASTnode (line 346) | struct ASTnode type ASTnode (line 446) | struct ASTnode type ASTnode (line 447) | struct ASTnode type ASTnode (line 448) | struct ASTnode FILE: 44_Fold_Optimisation/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_funccall (line 140) | static int gen_funccall(struct ASTnode *n) { function genAST (line 168) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 368) | void genpreamble() { function genpostamble (line 371) | void genpostamble() { function genfreeregs (line 374) | void genfreeregs() { function genglobsym (line 377) | void genglobsym(struct symtable *node) { function genglobstr (line 380) | int genglobstr(char *strvalue) { function genprimsize (line 385) | int genprimsize(int type) { function genalign (line 388) | int genalign(int type, int offset, int direction) { FILE: 44_Fold_Optimisation/main.c function do_link (line 105) | void do_link(char *outfilename, char *objlist[]) { function usage (line 134) | static void usage(char *prog) { function main (line 149) | int main(int argc, char *argv[]) { FILE: 44_Fold_Optimisation/misc.c function match (line 12) | void match(int t, char *what) { function semi (line 21) | void semi(void) { function lbrace (line 26) | void lbrace(void) { function rbrace (line 31) | void rbrace(void) { function lparen (line 36) | void lparen(void) { function rparen (line 41) | void rparen(void) { function ident (line 46) | void ident(void) { function comma (line 51) | void comma(void) { function fatal (line 56) | void fatal(char *s) { function fatals (line 63) | void fatals(char *s1, char *s2) { function fatald (line 70) | void fatald(char *s, int d) { function fatalc (line 77) | void fatalc(char *s, int c) { FILE: 44_Fold_Optimisation/opt.c type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 99) | struct ASTnode FILE: 44_Fold_Optimisation/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 55) | static void putback(int c) { function skip (line 62) | static int skip(void) { function scanch (line 74) | static int scanch(void) { function scanint (line 111) | static int scanint(int c) { function scanstr (line 128) | static int scanstr(char *buf) { function scanident (line 148) | static int scanident(int c, char *buf, int lim) { function keyword (line 173) | static int keyword(char *s) { type token (line 244) | struct token function reject_token (line 247) | void reject_token(struct token *t) { function scan (line 272) | int scan(struct token *t) { FILE: 44_Fold_Optimisation/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 173) | struct ASTnode type ASTnode (line 185) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 196) | struct ASTnode type ASTnode (line 279) | struct ASTnode type ASTnode (line 280) | struct ASTnode type symtable (line 281) | struct symtable type ASTnode (line 335) | struct ASTnode type ASTnode (line 336) | struct ASTnode type ASTnode (line 337) | struct ASTnode FILE: 44_Fold_Optimisation/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 66) | struct symtable type symtable (line 66) | struct symtable type symtable (line 68) | struct symtable type symtable (line 77) | struct symtable type symtable (line 77) | struct symtable type symtable (line 79) | struct symtable type symtable (line 88) | struct symtable type symtable (line 88) | struct symtable type symtable (line 90) | struct symtable type symtable (line 96) | struct symtable type symtable (line 96) | struct symtable type symtable (line 98) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 130) | struct symtable type symtable (line 130) | struct symtable type symtable (line 131) | struct symtable type symtable (line 139) | struct symtable type symtable (line 139) | struct symtable type symtable (line 149) | struct symtable type symtable (line 155) | struct symtable type symtable (line 156) | struct symtable type symtable (line 169) | struct symtable type symtable (line 170) | struct symtable type symtable (line 187) | struct symtable type symtable (line 193) | struct symtable type symtable (line 199) | struct symtable type symtable (line 205) | struct symtable type symtable (line 211) | struct symtable type symtable (line 217) | struct symtable function clear_symtable (line 222) | void clear_symtable(void) { function freeloclsyms (line 234) | void freeloclsyms(void) { FILE: 44_Fold_Optimisation/tests/err.input065.c type type (line 1) | enum type FILE: 44_Fold_Optimisation/tests/err.input066.c type value (line 1) | enum value FILE: 44_Fold_Optimisation/tests/input001.c function main (line 3) | void main() FILE: 44_Fold_Optimisation/tests/input002.c function main (line 3) | void main() FILE: 44_Fold_Optimisation/tests/input003.c function main (line 3) | void main() FILE: 44_Fold_Optimisation/tests/input004.c function main (line 3) | void main() FILE: 44_Fold_Optimisation/tests/input005.c function main (line 3) | void main() FILE: 44_Fold_Optimisation/tests/input006.c function main (line 3) | void main() FILE: 44_Fold_Optimisation/tests/input007.c function main (line 3) | void main() FILE: 44_Fold_Optimisation/tests/input008.c function main (line 3) | void main() FILE: 44_Fold_Optimisation/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 44_Fold_Optimisation/tests/input010.c function main (line 3) | void main() FILE: 44_Fold_Optimisation/tests/input011.c function main (line 3) | int main() FILE: 44_Fold_Optimisation/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 44_Fold_Optimisation/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 44_Fold_Optimisation/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 44_Fold_Optimisation/tests/input015.c function main (line 3) | int main() { FILE: 44_Fold_Optimisation/tests/input016.c function main (line 8) | int main() { FILE: 44_Fold_Optimisation/tests/input017.c function main (line 3) | int main() { FILE: 44_Fold_Optimisation/tests/input018.c function main (line 3) | int main() FILE: 44_Fold_Optimisation/tests/input018a.c function main (line 8) | int main() FILE: 44_Fold_Optimisation/tests/input019.c function main (line 8) | int main() FILE: 44_Fold_Optimisation/tests/input020.c function main (line 6) | int main() { FILE: 44_Fold_Optimisation/tests/input021.c function main (line 6) | int main() { FILE: 44_Fold_Optimisation/tests/input022.c function main (line 8) | int main() { FILE: 44_Fold_Optimisation/tests/input023.c function main (line 6) | int main() { FILE: 44_Fold_Optimisation/tests/input024.c function main (line 6) | int main() { FILE: 44_Fold_Optimisation/tests/input025.c function main (line 7) | int main() FILE: 44_Fold_Optimisation/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 44_Fold_Optimisation/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 44_Fold_Optimisation/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 44_Fold_Optimisation/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 44_Fold_Optimisation/tests/input030.c function main (line 10) | int main() { FILE: 44_Fold_Optimisation/tests/input031.c function main (line 3) | int main() { FILE: 44_Fold_Optimisation/tests/input032.c function main (line 3) | int main() { FILE: 44_Fold_Optimisation/tests/input033.c function main (line 3) | int main() { FILE: 44_Fold_Optimisation/tests/input034.c function main (line 3) | int main() { FILE: 44_Fold_Optimisation/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 44_Fold_Optimisation/tests/input039.c function main (line 3) | int main() { int a; } FILE: 44_Fold_Optimisation/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 44_Fold_Optimisation/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 44_Fold_Optimisation/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 44_Fold_Optimisation/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 44_Fold_Optimisation/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 44_Fold_Optimisation/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 44_Fold_Optimisation/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 44_Fold_Optimisation/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 44_Fold_Optimisation/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 44_Fold_Optimisation/tests/input049.c function main (line 3) | int main() { FILE: 44_Fold_Optimisation/tests/input050.c function main (line 3) | int main() { FILE: 44_Fold_Optimisation/tests/input051.c function main (line 3) | int main() { FILE: 44_Fold_Optimisation/tests/input052.c function main (line 3) | int main() { FILE: 44_Fold_Optimisation/tests/input053.c function main (line 3) | int main() FILE: 44_Fold_Optimisation/tests/input054.c function main (line 3) | int main() FILE: 44_Fold_Optimisation/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 44_Fold_Optimisation/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 44_Fold_Optimisation/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 44_Fold_Optimisation/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 44_Fold_Optimisation/tests/input059.c function main (line 1) | int main() { FILE: 44_Fold_Optimisation/tests/input060.c function main (line 1) | int main() { FILE: 44_Fold_Optimisation/tests/input061.c function main (line 1) | int main() { FILE: 44_Fold_Optimisation/tests/input062.c function main (line 13) | int main() { FILE: 44_Fold_Optimisation/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 44_Fold_Optimisation/tests/input064.c type fred (line 1) | enum fred FILE: 44_Fold_Optimisation/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 44_Fold_Optimisation/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 44_Fold_Optimisation/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 44_Fold_Optimisation/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 44_Fold_Optimisation/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 44_Fold_Optimisation/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 44_Fold_Optimisation/tests/input071.c function main (line 3) | int main() { FILE: 44_Fold_Optimisation/tests/input072.c function main (line 1) | int main() { break; } FILE: 44_Fold_Optimisation/tests/input073.c function main (line 1) | int main() { continue; } FILE: 44_Fold_Optimisation/tests/input074.c function main (line 3) | int main() { FILE: 44_Fold_Optimisation/tests/input075.c function main (line 1) | int main() { FILE: 44_Fold_Optimisation/tests/input076.c function main (line 1) | int main() { FILE: 44_Fold_Optimisation/tests/input077.c function main (line 1) | int main() { FILE: 44_Fold_Optimisation/tests/input078.c function main (line 1) | int main() { FILE: 44_Fold_Optimisation/tests/input079.c function main (line 1) | int main() { FILE: 44_Fold_Optimisation/tests/input080.c function main (line 6) | int main() { FILE: 44_Fold_Optimisation/tests/input081.c function main (line 6) | int main() { FILE: 44_Fold_Optimisation/tests/input082.c function main (line 3) | int main() { FILE: 44_Fold_Optimisation/tests/input083.c function main (line 3) | int main() { FILE: 44_Fold_Optimisation/tests/input084.c function main (line 3) | int main() { FILE: 44_Fold_Optimisation/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 44_Fold_Optimisation/tests/input086.c function main (line 1) | int main() { FILE: 44_Fold_Optimisation/tests/input087.c type foo (line 1) | struct foo { FILE: 44_Fold_Optimisation/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 44_Fold_Optimisation/tests/input089.c function main (line 7) | int main() { FILE: 44_Fold_Optimisation/tests/input090.c function main (line 6) | int main() { FILE: 44_Fold_Optimisation/tests/input091.c function main (line 6) | int main() { FILE: 44_Fold_Optimisation/tests/input097.c function main (line 1) | int main() { FILE: 44_Fold_Optimisation/tests/input099.c function main (line 19) | int main() { FILE: 44_Fold_Optimisation/tests/input100.c function main (line 2) | int main() { FILE: 44_Fold_Optimisation/tests/input101.c function main (line 3) | int main() { FILE: 44_Fold_Optimisation/tests/input102.c function main (line 1) | int main() { FILE: 44_Fold_Optimisation/tests/input103.c function main (line 1) | int main() { FILE: 44_Fold_Optimisation/tests/input104.c function main (line 1) | int main() { FILE: 44_Fold_Optimisation/tests/input105.c function main (line 1) | int main() { FILE: 44_Fold_Optimisation/tests/input106.c function main (line 4) | int main() { FILE: 44_Fold_Optimisation/tests/input107.c function main (line 5) | int main() { FILE: 44_Fold_Optimisation/tests/input108.c function main (line 1) | int main() { FILE: 44_Fold_Optimisation/tests/input109.c function main (line 2) | int main() { FILE: 44_Fold_Optimisation/tests/input110.c function main (line 6) | int main() { FILE: 44_Fold_Optimisation/tests/input111.c function main (line 2) | int main() { FILE: 44_Fold_Optimisation/tests/out.input030.c function main (line 10) | int main() { FILE: 44_Fold_Optimisation/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 47) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 44_Fold_Optimisation/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 45_Globals_Again/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int type) { function freeall_registers (line 110) | void freeall_registers(void) { function alloc_register (line 116) | static int alloc_register(void) { function free_register (line 129) | static void free_register(int reg) { function cgpreamble (line 136) | void cgpreamble() { function cgpostamble (line 166) | void cgpostamble() { function cgfuncpreamble (line 170) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 213) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 222) | int cgloadint(int value, int type) { function cgloadglob (line 234) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 283) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 330) | int cgloadglobstr(int label) { function cgadd (line 339) | int cgadd(int r1, int r2) { function cgsub (line 347) | int cgsub(int r1, int r2) { function cgmul (line 355) | int cgmul(int r1, int r2) { function cgdiv (line 363) | int cgdiv(int r1, int r2) { function cgand (line 372) | int cgand(int r1, int r2) { function cgor (line 378) | int cgor(int r1, int r2) { function cgxor (line 384) | int cgxor(int r1, int r2) { function cgshl (line 390) | int cgshl(int r1, int r2) { function cgshr (line 397) | int cgshr(int r1, int r2) { function cgnegate (line 405) | int cgnegate(int r) { function cginvert (line 411) | int cginvert(int r) { function cglognot (line 417) | int cglognot(int r) { function cgboolean (line 426) | int cgboolean(int r, int op, int label) { function cgcall (line 440) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 457) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 473) | int cgshlconst(int r, int val) { function cgstorglob (line 479) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 498) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 517) | void cgglobsym(struct symtable *node) { function cgglobstr (line 574) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 589) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 603) | void cglabel(int l) { function cgjump (line 608) | void cgjump(int l) { function cgcompare_and_jump (line 617) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 632) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 638) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 659) | int cgaddress(struct symtable *sym) { function cgderef (line 671) | int cgderef(int r, int type) { function cgstorderef (line 695) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 716) | void cgswitch(int reg, int casecount, int toplabel, FILE: 45_Globals_Again/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 45_Globals_Again/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | int newlocaloffset(int type) { function freeall_registers (line 101) | void freeall_registers(void) { function alloc_register (line 107) | static int alloc_register(void) { function free_register (line 120) | static void free_register(int reg) { function cgpreamble (line 127) | void cgpreamble() { function cgpostamble (line 164) | void cgpostamble() { function cgfuncpreamble (line 168) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 210) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 219) | int cgloadint(int value, int type) { function cgloadglob (line 231) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 283) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 335) | int cgloadglobstr(int label) { function cgadd (line 344) | int cgadd(int r1, int r2) { function cgsub (line 352) | int cgsub(int r1, int r2) { function cgmul (line 360) | int cgmul(int r1, int r2) { function cgdiv (line 368) | int cgdiv(int r1, int r2) { function cgand (line 377) | int cgand(int r1, int r2) { function cgor (line 383) | int cgor(int r1, int r2) { function cgxor (line 389) | int cgxor(int r1, int r2) { function cgshl (line 395) | int cgshl(int r1, int r2) { function cgshr (line 402) | int cgshr(int r1, int r2) { function cgnegate (line 410) | int cgnegate(int r) { function cginvert (line 416) | int cginvert(int r) { function cglognot (line 422) | int cglognot(int r) { function cgboolean (line 431) | int cgboolean(int r, int op, int label) { function cgcall (line 445) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 462) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 478) | int cgshlconst(int r, int val) { function cgstorglob (line 484) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 502) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 523) | void cgglobsym(struct symtable *node) { function cgglobstr (line 585) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 639) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 653) | void cglabel(int l) { function cgjump (line 658) | void cgjump(int l) { function cgcompare_and_jump (line 667) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 682) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 688) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 708) | int cgaddress(struct symtable *sym) { function cgderef (line 721) | int cgderef(int r, int type) { function cgstorderef (line 745) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 766) | void cgswitch(int reg, int casecount, int toplabel, FILE: 45_Globals_Again/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 87) | int parse_stars(int type) { function parse_cast (line 99) | int parse_cast(void) { function parse_literal (line 117) | int parse_literal(int type) { type symtable (line 156) | struct symtable type symtable (line 157) | struct symtable type ASTnode (line 159) | struct ASTnode type symtable (line 160) | struct symtable type ASTnode (line 161) | struct ASTnode type symtable (line 225) | struct symtable type symtable (line 226) | struct symtable type symtable (line 228) | struct symtable function param_declaration_list (line 324) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 370) | struct symtable type symtable (line 371) | struct symtable type ASTnode (line 373) | struct ASTnode type symtable (line 374) | struct symtable type symtable (line 462) | struct symtable type symtable (line 463) | struct symtable type symtable (line 464) | struct symtable type ASTnode (line 465) | struct ASTnode function enum_declaration (line 545) | static void enum_declaration(void) { function typedef_declaration (line 613) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 638) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 655) | struct symtable type symtable (line 655) | struct symtable type ASTnode (line 657) | struct ASTnode type symtable (line 658) | struct symtable function declaration_list (line 695) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 740) | void global_declarations(void) { FILE: 45_Globals_Again/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 27) | struct symtable type symtable (line 41) | struct symtable type symtable (line 42) | struct symtable type symtable (line 44) | struct symtable type symtable (line 45) | struct symtable type symtable (line 52) | struct symtable type symtable (line 54) | struct symtable type symtable (line 55) | struct symtable type symtable (line 56) | struct symtable type symtable (line 63) | struct symtable type symtable (line 64) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type ASTnode (line 84) | struct ASTnode type symtable (line 101) | struct symtable type symtable (line 101) | struct symtable type symtable (line 102) | struct symtable type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 105) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 126) | struct symtable type symtable (line 129) | struct symtable type ASTnode (line 130) | struct ASTnode type symtable (line 138) | struct symtable type ASTnode (line 139) | struct ASTnode type ASTnode (line 139) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 142) | struct ASTnode FILE: 45_Globals_Again/defs.h type token (line 58) | struct token { type symtable (line 107) | struct symtable { type ASTnode (line 124) | struct ASTnode { FILE: 45_Globals_Again/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 47) | struct ASTnode type ASTnode (line 48) | struct ASTnode type symtable (line 49) | struct symtable type ASTnode (line 75) | struct ASTnode type ASTnode (line 76) | struct ASTnode type symtable (line 77) | struct symtable type ASTnode (line 113) | struct ASTnode type ASTnode (line 114) | struct ASTnode type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type ASTnode (line 167) | struct ASTnode type ASTnode (line 168) | struct ASTnode type symtable (line 169) | struct symtable type symtable (line 170) | struct symtable type ASTnode (line 221) | struct ASTnode type ASTnode (line 222) | struct ASTnode function binastop (line 294) | static int binastop(int tokentype) { function rightassoc (line 303) | static int rightassoc(int tokentype) { function op_precedence (line 325) | static int op_precedence(int tokentype) { type ASTnode (line 345) | struct ASTnode type ASTnode (line 346) | struct ASTnode type ASTnode (line 446) | struct ASTnode type ASTnode (line 447) | struct ASTnode type ASTnode (line 448) | struct ASTnode FILE: 45_Globals_Again/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_funccall (line 140) | static int gen_funccall(struct ASTnode *n) { function genAST (line 168) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 368) | void genpreamble() { function genpostamble (line 371) | void genpostamble() { function genfreeregs (line 374) | void genfreeregs() { function genglobsym (line 377) | void genglobsym(struct symtable *node) { function genglobstr (line 380) | int genglobstr(char *strvalue) { function genprimsize (line 385) | int genprimsize(int type) { function genalign (line 388) | int genalign(int type, int offset, int direction) { FILE: 45_Globals_Again/main.c function do_link (line 105) | void do_link(char *outfilename, char *objlist[]) { function usage (line 134) | static void usage(char *prog) { function main (line 149) | int main(int argc, char *argv[]) { FILE: 45_Globals_Again/misc.c function match (line 12) | void match(int t, char *what) { function semi (line 21) | void semi(void) { function lbrace (line 26) | void lbrace(void) { function rbrace (line 31) | void rbrace(void) { function lparen (line 36) | void lparen(void) { function rparen (line 41) | void rparen(void) { function ident (line 46) | void ident(void) { function comma (line 51) | void comma(void) { function fatal (line 56) | void fatal(char *s) { function fatals (line 63) | void fatals(char *s1, char *s2) { function fatald (line 70) | void fatald(char *s, int d) { function fatalc (line 77) | void fatalc(char *s, int c) { FILE: 45_Globals_Again/opt.c type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 99) | struct ASTnode FILE: 45_Globals_Again/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 55) | static void putback(int c) { function skip (line 62) | static int skip(void) { function scanch (line 74) | static int scanch(void) { function scanint (line 111) | static int scanint(int c) { function scanstr (line 128) | static int scanstr(char *buf) { function scanident (line 148) | static int scanident(int c, char *buf, int lim) { function keyword (line 173) | static int keyword(char *s) { type token (line 244) | struct token function reject_token (line 247) | void reject_token(struct token *t) { function scan (line 272) | int scan(struct token *t) { FILE: 45_Globals_Again/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 173) | struct ASTnode type ASTnode (line 185) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 196) | struct ASTnode type ASTnode (line 279) | struct ASTnode type ASTnode (line 280) | struct ASTnode type symtable (line 281) | struct symtable type ASTnode (line 335) | struct ASTnode type ASTnode (line 336) | struct ASTnode type ASTnode (line 337) | struct ASTnode FILE: 45_Globals_Again/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 66) | struct symtable type symtable (line 66) | struct symtable type symtable (line 68) | struct symtable type symtable (line 77) | struct symtable type symtable (line 77) | struct symtable type symtable (line 79) | struct symtable type symtable (line 88) | struct symtable type symtable (line 88) | struct symtable type symtable (line 90) | struct symtable type symtable (line 96) | struct symtable type symtable (line 96) | struct symtable type symtable (line 98) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 130) | struct symtable type symtable (line 130) | struct symtable type symtable (line 131) | struct symtable type symtable (line 139) | struct symtable type symtable (line 139) | struct symtable type symtable (line 149) | struct symtable type symtable (line 155) | struct symtable type symtable (line 156) | struct symtable type symtable (line 169) | struct symtable type symtable (line 170) | struct symtable type symtable (line 187) | struct symtable type symtable (line 193) | struct symtable type symtable (line 199) | struct symtable type symtable (line 205) | struct symtable type symtable (line 211) | struct symtable type symtable (line 217) | struct symtable function clear_symtable (line 222) | void clear_symtable(void) { function freeloclsyms (line 234) | void freeloclsyms(void) { FILE: 45_Globals_Again/tests/err.input065.c type type (line 1) | enum type FILE: 45_Globals_Again/tests/err.input066.c type value (line 1) | enum value FILE: 45_Globals_Again/tests/input001.c function main (line 3) | void main() FILE: 45_Globals_Again/tests/input002.c function main (line 3) | void main() FILE: 45_Globals_Again/tests/input003.c function main (line 3) | void main() FILE: 45_Globals_Again/tests/input004.c function main (line 3) | void main() FILE: 45_Globals_Again/tests/input005.c function main (line 3) | void main() FILE: 45_Globals_Again/tests/input006.c function main (line 3) | void main() FILE: 45_Globals_Again/tests/input007.c function main (line 3) | void main() FILE: 45_Globals_Again/tests/input008.c function main (line 3) | void main() FILE: 45_Globals_Again/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 45_Globals_Again/tests/input010.c function main (line 3) | void main() FILE: 45_Globals_Again/tests/input011.c function main (line 3) | int main() FILE: 45_Globals_Again/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 45_Globals_Again/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 45_Globals_Again/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 45_Globals_Again/tests/input015.c function main (line 3) | int main() { FILE: 45_Globals_Again/tests/input016.c function main (line 8) | int main() { FILE: 45_Globals_Again/tests/input017.c function main (line 3) | int main() { FILE: 45_Globals_Again/tests/input018.c function main (line 3) | int main() FILE: 45_Globals_Again/tests/input018a.c function main (line 8) | int main() FILE: 45_Globals_Again/tests/input019.c function main (line 8) | int main() FILE: 45_Globals_Again/tests/input020.c function main (line 6) | int main() { FILE: 45_Globals_Again/tests/input021.c function main (line 6) | int main() { FILE: 45_Globals_Again/tests/input022.c function main (line 8) | int main() { FILE: 45_Globals_Again/tests/input023.c function main (line 6) | int main() { FILE: 45_Globals_Again/tests/input024.c function main (line 6) | int main() { FILE: 45_Globals_Again/tests/input025.c function main (line 7) | int main() FILE: 45_Globals_Again/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 45_Globals_Again/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 45_Globals_Again/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 45_Globals_Again/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 45_Globals_Again/tests/input030.c function main (line 10) | int main() { FILE: 45_Globals_Again/tests/input031.c function main (line 3) | int main() { FILE: 45_Globals_Again/tests/input032.c function main (line 3) | int main() { FILE: 45_Globals_Again/tests/input033.c function main (line 3) | int main() { FILE: 45_Globals_Again/tests/input034.c function main (line 3) | int main() { FILE: 45_Globals_Again/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 45_Globals_Again/tests/input039.c function main (line 3) | int main() { int a; } FILE: 45_Globals_Again/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 45_Globals_Again/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 45_Globals_Again/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 45_Globals_Again/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 45_Globals_Again/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 45_Globals_Again/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 45_Globals_Again/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 45_Globals_Again/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 45_Globals_Again/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 45_Globals_Again/tests/input049.c function main (line 3) | int main() { FILE: 45_Globals_Again/tests/input050.c function main (line 3) | int main() { FILE: 45_Globals_Again/tests/input051.c function main (line 3) | int main() { FILE: 45_Globals_Again/tests/input052.c function main (line 3) | int main() { FILE: 45_Globals_Again/tests/input053.c function main (line 3) | int main() FILE: 45_Globals_Again/tests/input054.c function main (line 3) | int main() FILE: 45_Globals_Again/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 45_Globals_Again/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 45_Globals_Again/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 45_Globals_Again/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 45_Globals_Again/tests/input059.c function main (line 1) | int main() { FILE: 45_Globals_Again/tests/input060.c function main (line 1) | int main() { FILE: 45_Globals_Again/tests/input061.c function main (line 1) | int main() { FILE: 45_Globals_Again/tests/input062.c function main (line 13) | int main() { FILE: 45_Globals_Again/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 45_Globals_Again/tests/input064.c type fred (line 1) | enum fred FILE: 45_Globals_Again/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 45_Globals_Again/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 45_Globals_Again/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 45_Globals_Again/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 45_Globals_Again/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 45_Globals_Again/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 45_Globals_Again/tests/input071.c function main (line 3) | int main() { FILE: 45_Globals_Again/tests/input072.c function main (line 1) | int main() { break; } FILE: 45_Globals_Again/tests/input073.c function main (line 1) | int main() { continue; } FILE: 45_Globals_Again/tests/input074.c function main (line 3) | int main() { FILE: 45_Globals_Again/tests/input075.c function main (line 1) | int main() { FILE: 45_Globals_Again/tests/input076.c function main (line 1) | int main() { FILE: 45_Globals_Again/tests/input077.c function main (line 1) | int main() { FILE: 45_Globals_Again/tests/input078.c function main (line 1) | int main() { FILE: 45_Globals_Again/tests/input079.c function main (line 1) | int main() { FILE: 45_Globals_Again/tests/input080.c function main (line 6) | int main() { FILE: 45_Globals_Again/tests/input081.c function main (line 6) | int main() { FILE: 45_Globals_Again/tests/input082.c function main (line 3) | int main() { FILE: 45_Globals_Again/tests/input083.c function main (line 3) | int main() { FILE: 45_Globals_Again/tests/input084.c function main (line 3) | int main() { FILE: 45_Globals_Again/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 45_Globals_Again/tests/input086.c function main (line 1) | int main() { FILE: 45_Globals_Again/tests/input087.c type foo (line 1) | struct foo { FILE: 45_Globals_Again/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 45_Globals_Again/tests/input089.c function main (line 7) | int main() { FILE: 45_Globals_Again/tests/input090.c function main (line 6) | int main() { FILE: 45_Globals_Again/tests/input091.c function main (line 6) | int main() { FILE: 45_Globals_Again/tests/input097.c function main (line 1) | int main() { FILE: 45_Globals_Again/tests/input099.c function main (line 19) | int main() { FILE: 45_Globals_Again/tests/input100.c function main (line 2) | int main() { FILE: 45_Globals_Again/tests/input101.c function main (line 3) | int main() { FILE: 45_Globals_Again/tests/input102.c function main (line 1) | int main() { FILE: 45_Globals_Again/tests/input103.c function main (line 1) | int main() { FILE: 45_Globals_Again/tests/input104.c function main (line 1) | int main() { FILE: 45_Globals_Again/tests/input105.c function main (line 1) | int main() { FILE: 45_Globals_Again/tests/input106.c function main (line 4) | int main() { FILE: 45_Globals_Again/tests/input107.c function main (line 5) | int main() { FILE: 45_Globals_Again/tests/input108.c function main (line 1) | int main() { FILE: 45_Globals_Again/tests/input109.c function main (line 2) | int main() { FILE: 45_Globals_Again/tests/input110.c function main (line 6) | int main() { FILE: 45_Globals_Again/tests/input111.c function main (line 2) | int main() { FILE: 45_Globals_Again/tests/input112.c function main (line 6) | int main() { FILE: 45_Globals_Again/tests/out.input030.c function main (line 10) | int main() { FILE: 45_Globals_Again/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 47) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 45_Globals_Again/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 46_Void_Functions/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int type) { function freeall_registers (line 110) | void freeall_registers(void) { function alloc_register (line 116) | static int alloc_register(void) { function free_register (line 129) | static void free_register(int reg) { function cgpreamble (line 136) | void cgpreamble() { function cgpostamble (line 166) | void cgpostamble() { function cgfuncpreamble (line 170) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 213) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 222) | int cgloadint(int value, int type) { function cgloadglob (line 234) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 283) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 330) | int cgloadglobstr(int label) { function cgadd (line 339) | int cgadd(int r1, int r2) { function cgsub (line 347) | int cgsub(int r1, int r2) { function cgmul (line 355) | int cgmul(int r1, int r2) { function cgdiv (line 363) | int cgdiv(int r1, int r2) { function cgand (line 372) | int cgand(int r1, int r2) { function cgor (line 378) | int cgor(int r1, int r2) { function cgxor (line 384) | int cgxor(int r1, int r2) { function cgshl (line 390) | int cgshl(int r1, int r2) { function cgshr (line 397) | int cgshr(int r1, int r2) { function cgnegate (line 405) | int cgnegate(int r) { function cginvert (line 411) | int cginvert(int r) { function cglognot (line 417) | int cglognot(int r) { function cgboolean (line 426) | int cgboolean(int r, int op, int label) { function cgcall (line 440) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 457) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 473) | int cgshlconst(int r, int val) { function cgstorglob (line 479) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 498) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 517) | void cgglobsym(struct symtable *node) { function cgglobstr (line 574) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 589) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 603) | void cglabel(int l) { function cgjump (line 608) | void cgjump(int l) { function cgcompare_and_jump (line 617) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 632) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 638) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 659) | int cgaddress(struct symtable *sym) { function cgderef (line 671) | int cgderef(int r, int type) { function cgstorderef (line 695) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 716) | void cgswitch(int reg, int casecount, int toplabel, FILE: 46_Void_Functions/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 46_Void_Functions/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | int newlocaloffset(int type) { function freeall_registers (line 101) | void freeall_registers(void) { function alloc_register (line 107) | static int alloc_register(void) { function free_register (line 120) | static void free_register(int reg) { function cgpreamble (line 127) | void cgpreamble() { function cgpostamble (line 164) | void cgpostamble() { function cgfuncpreamble (line 168) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 210) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 219) | int cgloadint(int value, int type) { function cgloadglob (line 231) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 283) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 335) | int cgloadglobstr(int label) { function cgadd (line 344) | int cgadd(int r1, int r2) { function cgsub (line 352) | int cgsub(int r1, int r2) { function cgmul (line 360) | int cgmul(int r1, int r2) { function cgdiv (line 368) | int cgdiv(int r1, int r2) { function cgand (line 377) | int cgand(int r1, int r2) { function cgor (line 383) | int cgor(int r1, int r2) { function cgxor (line 389) | int cgxor(int r1, int r2) { function cgshl (line 395) | int cgshl(int r1, int r2) { function cgshr (line 402) | int cgshr(int r1, int r2) { function cgnegate (line 410) | int cgnegate(int r) { function cginvert (line 416) | int cginvert(int r) { function cglognot (line 422) | int cglognot(int r) { function cgboolean (line 431) | int cgboolean(int r, int op, int label) { function cgcall (line 445) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 462) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 478) | int cgshlconst(int r, int val) { function cgstorglob (line 484) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 502) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 523) | void cgglobsym(struct symtable *node) { function cgglobstr (line 585) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 639) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 653) | void cglabel(int l) { function cgjump (line 658) | void cgjump(int l) { function cgcompare_and_jump (line 667) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 682) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 688) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 708) | int cgaddress(struct symtable *sym) { function cgderef (line 721) | int cgderef(int r, int type) { function cgstorderef (line 745) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 766) | void cgswitch(int reg, int casecount, int toplabel, FILE: 46_Void_Functions/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 87) | int parse_stars(int type) { function parse_cast (line 99) | int parse_cast(void) { function parse_literal (line 117) | int parse_literal(int type) { type symtable (line 156) | struct symtable type symtable (line 157) | struct symtable type ASTnode (line 159) | struct ASTnode type symtable (line 160) | struct symtable type ASTnode (line 161) | struct ASTnode type symtable (line 225) | struct symtable type symtable (line 226) | struct symtable type symtable (line 228) | struct symtable function param_declaration_list (line 324) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 382) | struct symtable type symtable (line 383) | struct symtable type ASTnode (line 385) | struct ASTnode type symtable (line 386) | struct symtable type symtable (line 474) | struct symtable type symtable (line 475) | struct symtable type symtable (line 476) | struct symtable type ASTnode (line 477) | struct ASTnode function enum_declaration (line 557) | static void enum_declaration(void) { function typedef_declaration (line 625) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 650) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 667) | struct symtable type symtable (line 667) | struct symtable type ASTnode (line 669) | struct ASTnode type symtable (line 670) | struct symtable function declaration_list (line 707) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 752) | void global_declarations(void) { FILE: 46_Void_Functions/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 27) | struct symtable type symtable (line 41) | struct symtable type symtable (line 42) | struct symtable type symtable (line 44) | struct symtable type symtable (line 45) | struct symtable type symtable (line 52) | struct symtable type symtable (line 54) | struct symtable type symtable (line 55) | struct symtable type symtable (line 56) | struct symtable type symtable (line 63) | struct symtable type symtable (line 64) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type ASTnode (line 84) | struct ASTnode type symtable (line 101) | struct symtable type symtable (line 101) | struct symtable type symtable (line 102) | struct symtable type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 105) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 126) | struct symtable type symtable (line 129) | struct symtable type ASTnode (line 130) | struct ASTnode type symtable (line 138) | struct symtable type ASTnode (line 139) | struct ASTnode type ASTnode (line 139) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 142) | struct ASTnode FILE: 46_Void_Functions/defs.h type token (line 58) | struct token { type symtable (line 107) | struct symtable { type ASTnode (line 124) | struct ASTnode { FILE: 46_Void_Functions/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 47) | struct ASTnode type ASTnode (line 48) | struct ASTnode type symtable (line 49) | struct symtable type ASTnode (line 75) | struct ASTnode type ASTnode (line 76) | struct ASTnode type symtable (line 77) | struct symtable type ASTnode (line 113) | struct ASTnode type ASTnode (line 114) | struct ASTnode type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type ASTnode (line 167) | struct ASTnode type ASTnode (line 168) | struct ASTnode type symtable (line 169) | struct symtable type symtable (line 170) | struct symtable type ASTnode (line 221) | struct ASTnode type ASTnode (line 222) | struct ASTnode function binastop (line 294) | static int binastop(int tokentype) { function rightassoc (line 303) | static int rightassoc(int tokentype) { function op_precedence (line 325) | static int op_precedence(int tokentype) { type ASTnode (line 345) | struct ASTnode type ASTnode (line 346) | struct ASTnode type ASTnode (line 446) | struct ASTnode type ASTnode (line 447) | struct ASTnode type ASTnode (line 448) | struct ASTnode FILE: 46_Void_Functions/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_funccall (line 140) | static int gen_funccall(struct ASTnode *n) { function genAST (line 168) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 368) | void genpreamble() { function genpostamble (line 371) | void genpostamble() { function genfreeregs (line 374) | void genfreeregs() { function genglobsym (line 377) | void genglobsym(struct symtable *node) { function genglobstr (line 380) | int genglobstr(char *strvalue) { function genprimsize (line 385) | int genprimsize(int type) { function genalign (line 388) | int genalign(int type, int offset, int direction) { FILE: 46_Void_Functions/main.c function do_link (line 106) | void do_link(char *outfilename, char *objlist[]) { function usage (line 135) | static void usage(char *prog) { function main (line 150) | int main(int argc, char *argv[]) { FILE: 46_Void_Functions/misc.c function match (line 13) | void match(int t, char *what) { function semi (line 22) | void semi(void) { function lbrace (line 27) | void lbrace(void) { function rbrace (line 32) | void rbrace(void) { function lparen (line 37) | void lparen(void) { function rparen (line 42) | void rparen(void) { function ident (line 47) | void ident(void) { function comma (line 52) | void comma(void) { function fatal (line 57) | void fatal(char *s) { function fatals (line 64) | void fatals(char *s1, char *s2) { function fatald (line 71) | void fatald(char *s, int d) { function fatalc (line 78) | void fatalc(char *s, int c) { FILE: 46_Void_Functions/opt.c type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 99) | struct ASTnode FILE: 46_Void_Functions/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 55) | static void putback(int c) { function skip (line 62) | static int skip(void) { function hexchar (line 73) | static int hexchar(void) { function scanch (line 96) | static int scanch(void) { function scanint (line 154) | static int scanint(int c) { function scanstr (line 184) | static int scanstr(char *buf) { function scanident (line 204) | static int scanident(int c, char *buf, int lim) { function keyword (line 229) | static int keyword(char *s) { function scan (line 317) | int scan(struct token *t) { FILE: 46_Void_Functions/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 173) | struct ASTnode type ASTnode (line 185) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 196) | struct ASTnode type ASTnode (line 279) | struct ASTnode type ASTnode (line 280) | struct ASTnode type symtable (line 281) | struct symtable type ASTnode (line 335) | struct ASTnode type ASTnode (line 336) | struct ASTnode type ASTnode (line 337) | struct ASTnode FILE: 46_Void_Functions/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 66) | struct symtable type symtable (line 66) | struct symtable type symtable (line 68) | struct symtable type symtable (line 77) | struct symtable type symtable (line 77) | struct symtable type symtable (line 79) | struct symtable type symtable (line 88) | struct symtable type symtable (line 88) | struct symtable type symtable (line 90) | struct symtable type symtable (line 96) | struct symtable type symtable (line 96) | struct symtable type symtable (line 98) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 130) | struct symtable type symtable (line 130) | struct symtable type symtable (line 131) | struct symtable type symtable (line 139) | struct symtable type symtable (line 139) | struct symtable type symtable (line 149) | struct symtable type symtable (line 155) | struct symtable type symtable (line 156) | struct symtable type symtable (line 169) | struct symtable type symtable (line 170) | struct symtable type symtable (line 187) | struct symtable type symtable (line 193) | struct symtable type symtable (line 199) | struct symtable type symtable (line 205) | struct symtable type symtable (line 211) | struct symtable type symtable (line 217) | struct symtable function clear_symtable (line 222) | void clear_symtable(void) { function freeloclsyms (line 234) | void freeloclsyms(void) { FILE: 46_Void_Functions/tests/err.input065.c type type (line 1) | enum type FILE: 46_Void_Functions/tests/err.input066.c type value (line 1) | enum value FILE: 46_Void_Functions/tests/input001.c function main (line 3) | void main() FILE: 46_Void_Functions/tests/input002.c function main (line 3) | void main() FILE: 46_Void_Functions/tests/input003.c function main (line 3) | void main() FILE: 46_Void_Functions/tests/input004.c function main (line 3) | void main() FILE: 46_Void_Functions/tests/input005.c function main (line 3) | void main() FILE: 46_Void_Functions/tests/input006.c function main (line 3) | void main() FILE: 46_Void_Functions/tests/input007.c function main (line 3) | void main() FILE: 46_Void_Functions/tests/input008.c function main (line 3) | void main() FILE: 46_Void_Functions/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 46_Void_Functions/tests/input010.c function main (line 3) | void main() FILE: 46_Void_Functions/tests/input011.c function main (line 3) | int main() FILE: 46_Void_Functions/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 46_Void_Functions/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 46_Void_Functions/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 46_Void_Functions/tests/input015.c function main (line 3) | int main() { FILE: 46_Void_Functions/tests/input016.c function main (line 8) | int main() { FILE: 46_Void_Functions/tests/input017.c function main (line 3) | int main() { FILE: 46_Void_Functions/tests/input018.c function main (line 3) | int main() FILE: 46_Void_Functions/tests/input018a.c function main (line 8) | int main() FILE: 46_Void_Functions/tests/input019.c function main (line 8) | int main() FILE: 46_Void_Functions/tests/input020.c function main (line 6) | int main() { FILE: 46_Void_Functions/tests/input021.c function main (line 6) | int main() { FILE: 46_Void_Functions/tests/input022.c function main (line 8) | int main() { FILE: 46_Void_Functions/tests/input023.c function main (line 6) | int main() { FILE: 46_Void_Functions/tests/input024.c function main (line 6) | int main() { FILE: 46_Void_Functions/tests/input025.c function main (line 7) | int main() FILE: 46_Void_Functions/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 46_Void_Functions/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 46_Void_Functions/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 46_Void_Functions/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 46_Void_Functions/tests/input030.c function main (line 10) | int main() { FILE: 46_Void_Functions/tests/input031.c function main (line 3) | int main() { FILE: 46_Void_Functions/tests/input032.c function main (line 3) | int main() { FILE: 46_Void_Functions/tests/input033.c function main (line 3) | int main() { FILE: 46_Void_Functions/tests/input034.c function main (line 3) | int main() { FILE: 46_Void_Functions/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 46_Void_Functions/tests/input039.c function main (line 3) | int main() { int a; } FILE: 46_Void_Functions/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 46_Void_Functions/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 46_Void_Functions/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 46_Void_Functions/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 46_Void_Functions/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 46_Void_Functions/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 46_Void_Functions/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 46_Void_Functions/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 46_Void_Functions/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 46_Void_Functions/tests/input049.c function main (line 3) | int main() { FILE: 46_Void_Functions/tests/input050.c function main (line 3) | int main() { FILE: 46_Void_Functions/tests/input051.c function main (line 3) | int main() { FILE: 46_Void_Functions/tests/input052.c function main (line 3) | int main() { FILE: 46_Void_Functions/tests/input053.c function main (line 3) | int main() FILE: 46_Void_Functions/tests/input054.c function main (line 3) | int main() FILE: 46_Void_Functions/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 46_Void_Functions/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 46_Void_Functions/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 46_Void_Functions/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 46_Void_Functions/tests/input059.c function main (line 1) | int main() { FILE: 46_Void_Functions/tests/input060.c function main (line 1) | int main() { FILE: 46_Void_Functions/tests/input061.c function main (line 1) | int main() { FILE: 46_Void_Functions/tests/input062.c function main (line 13) | int main() { FILE: 46_Void_Functions/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 46_Void_Functions/tests/input064.c type fred (line 1) | enum fred FILE: 46_Void_Functions/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 46_Void_Functions/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 46_Void_Functions/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 46_Void_Functions/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 46_Void_Functions/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 46_Void_Functions/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 46_Void_Functions/tests/input071.c function main (line 3) | int main() { FILE: 46_Void_Functions/tests/input072.c function main (line 1) | int main() { break; } FILE: 46_Void_Functions/tests/input073.c function main (line 1) | int main() { continue; } FILE: 46_Void_Functions/tests/input074.c function main (line 3) | int main() { FILE: 46_Void_Functions/tests/input075.c function main (line 1) | int main() { FILE: 46_Void_Functions/tests/input076.c function main (line 1) | int main() { FILE: 46_Void_Functions/tests/input077.c function main (line 1) | int main() { FILE: 46_Void_Functions/tests/input078.c function main (line 1) | int main() { FILE: 46_Void_Functions/tests/input079.c function main (line 1) | int main() { FILE: 46_Void_Functions/tests/input080.c function main (line 6) | int main() { FILE: 46_Void_Functions/tests/input081.c function main (line 6) | int main() { FILE: 46_Void_Functions/tests/input082.c function main (line 3) | int main() { FILE: 46_Void_Functions/tests/input083.c function main (line 3) | int main() { FILE: 46_Void_Functions/tests/input084.c function main (line 3) | int main() { FILE: 46_Void_Functions/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 46_Void_Functions/tests/input086.c function main (line 1) | int main() { FILE: 46_Void_Functions/tests/input087.c type foo (line 1) | struct foo { FILE: 46_Void_Functions/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 46_Void_Functions/tests/input089.c function main (line 7) | int main() { FILE: 46_Void_Functions/tests/input090.c function main (line 6) | int main() { FILE: 46_Void_Functions/tests/input091.c function main (line 6) | int main() { FILE: 46_Void_Functions/tests/input097.c function main (line 1) | int main() { FILE: 46_Void_Functions/tests/input099.c function main (line 19) | int main() { FILE: 46_Void_Functions/tests/input100.c function main (line 2) | int main() { FILE: 46_Void_Functions/tests/input101.c function main (line 3) | int main() { FILE: 46_Void_Functions/tests/input102.c function main (line 1) | int main() { FILE: 46_Void_Functions/tests/input103.c function main (line 1) | int main() { FILE: 46_Void_Functions/tests/input104.c function main (line 1) | int main() { FILE: 46_Void_Functions/tests/input105.c function main (line 1) | int main() { FILE: 46_Void_Functions/tests/input106.c function main (line 4) | int main() { FILE: 46_Void_Functions/tests/input107.c function main (line 5) | int main() { FILE: 46_Void_Functions/tests/input108.c function main (line 1) | int main() { FILE: 46_Void_Functions/tests/input109.c function main (line 2) | int main() { FILE: 46_Void_Functions/tests/input110.c function main (line 6) | int main() { FILE: 46_Void_Functions/tests/input111.c function main (line 2) | int main() { FILE: 46_Void_Functions/tests/input112.c function main (line 6) | int main() { FILE: 46_Void_Functions/tests/input113.c function fred (line 4) | void fred(void) { function main (line 8) | int main(void) { FILE: 46_Void_Functions/tests/input114.c function main (line 2) | int main() { FILE: 46_Void_Functions/tests/out.input030.c function main (line 10) | int main() { FILE: 46_Void_Functions/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 47) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 46_Void_Functions/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 47_Sizeof/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int type) { function freeall_registers (line 110) | void freeall_registers(void) { function alloc_register (line 116) | static int alloc_register(void) { function free_register (line 129) | static void free_register(int reg) { function cgpreamble (line 136) | void cgpreamble() { function cgpostamble (line 166) | void cgpostamble() { function cgfuncpreamble (line 170) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 213) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 222) | int cgloadint(int value, int type) { function cgloadglob (line 234) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 283) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 330) | int cgloadglobstr(int label) { function cgadd (line 339) | int cgadd(int r1, int r2) { function cgsub (line 347) | int cgsub(int r1, int r2) { function cgmul (line 355) | int cgmul(int r1, int r2) { function cgdiv (line 363) | int cgdiv(int r1, int r2) { function cgand (line 372) | int cgand(int r1, int r2) { function cgor (line 378) | int cgor(int r1, int r2) { function cgxor (line 384) | int cgxor(int r1, int r2) { function cgshl (line 390) | int cgshl(int r1, int r2) { function cgshr (line 397) | int cgshr(int r1, int r2) { function cgnegate (line 405) | int cgnegate(int r) { function cginvert (line 411) | int cginvert(int r) { function cglognot (line 417) | int cglognot(int r) { function cgboolean (line 426) | int cgboolean(int r, int op, int label) { function cgcall (line 440) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 457) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 473) | int cgshlconst(int r, int val) { function cgstorglob (line 479) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 498) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 517) | void cgglobsym(struct symtable *node) { function cgglobstr (line 574) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 589) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 603) | void cglabel(int l) { function cgjump (line 608) | void cgjump(int l) { function cgcompare_and_jump (line 617) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 632) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 638) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 659) | int cgaddress(struct symtable *sym) { function cgderef (line 671) | int cgderef(int r, int type) { function cgstorderef (line 695) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 716) | void cgswitch(int reg, int casecount, int toplabel, FILE: 47_Sizeof/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 47_Sizeof/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | int newlocaloffset(int type) { function freeall_registers (line 101) | void freeall_registers(void) { function alloc_register (line 107) | static int alloc_register(void) { function free_register (line 120) | static void free_register(int reg) { function cgpreamble (line 127) | void cgpreamble() { function cgpostamble (line 164) | void cgpostamble() { function cgfuncpreamble (line 168) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 210) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 219) | int cgloadint(int value, int type) { function cgloadglob (line 231) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 283) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 335) | int cgloadglobstr(int label) { function cgadd (line 344) | int cgadd(int r1, int r2) { function cgsub (line 352) | int cgsub(int r1, int r2) { function cgmul (line 360) | int cgmul(int r1, int r2) { function cgdiv (line 368) | int cgdiv(int r1, int r2) { function cgand (line 377) | int cgand(int r1, int r2) { function cgor (line 383) | int cgor(int r1, int r2) { function cgxor (line 389) | int cgxor(int r1, int r2) { function cgshl (line 395) | int cgshl(int r1, int r2) { function cgshr (line 402) | int cgshr(int r1, int r2) { function cgnegate (line 410) | int cgnegate(int r) { function cginvert (line 416) | int cginvert(int r) { function cglognot (line 422) | int cglognot(int r) { function cgboolean (line 431) | int cgboolean(int r, int op, int label) { function cgcall (line 445) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 462) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 478) | int cgshlconst(int r, int val) { function cgstorglob (line 484) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 502) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 523) | void cgglobsym(struct symtable *node) { function cgglobstr (line 585) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 639) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 653) | void cglabel(int l) { function cgjump (line 658) | void cgjump(int l) { function cgcompare_and_jump (line 667) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 682) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 688) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 708) | int cgaddress(struct symtable *sym) { function cgderef (line 721) | int cgderef(int r, int type) { function cgstorderef (line 745) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 766) | void cgswitch(int reg, int casecount, int toplabel, FILE: 47_Sizeof/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 87) | int parse_stars(int type) { function parse_cast (line 99) | int parse_cast(void) { function parse_literal (line 117) | int parse_literal(int type) { type symtable (line 156) | struct symtable type symtable (line 157) | struct symtable type ASTnode (line 159) | struct ASTnode type symtable (line 160) | struct symtable type ASTnode (line 161) | struct ASTnode type symtable (line 225) | struct symtable type symtable (line 226) | struct symtable type symtable (line 228) | struct symtable function param_declaration_list (line 324) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 382) | struct symtable type symtable (line 383) | struct symtable type ASTnode (line 385) | struct ASTnode type symtable (line 386) | struct symtable type symtable (line 474) | struct symtable type symtable (line 475) | struct symtable type symtable (line 476) | struct symtable type ASTnode (line 477) | struct ASTnode function enum_declaration (line 557) | static void enum_declaration(void) { function typedef_declaration (line 625) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 650) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 667) | struct symtable type symtable (line 667) | struct symtable type ASTnode (line 669) | struct ASTnode type symtable (line 670) | struct symtable function declaration_list (line 707) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 752) | void global_declarations(void) { FILE: 47_Sizeof/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 27) | struct symtable type symtable (line 41) | struct symtable type symtable (line 42) | struct symtable type symtable (line 44) | struct symtable type symtable (line 45) | struct symtable type symtable (line 52) | struct symtable type symtable (line 54) | struct symtable type symtable (line 55) | struct symtable type symtable (line 56) | struct symtable type symtable (line 63) | struct symtable type symtable (line 64) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type ASTnode (line 84) | struct ASTnode type symtable (line 101) | struct symtable type symtable (line 101) | struct symtable type symtable (line 102) | struct symtable type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 105) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 126) | struct symtable type symtable (line 129) | struct symtable type ASTnode (line 130) | struct ASTnode type symtable (line 138) | struct symtable type ASTnode (line 139) | struct ASTnode type ASTnode (line 139) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 142) | struct ASTnode FILE: 47_Sizeof/defs.h type token (line 58) | struct token { type symtable (line 107) | struct symtable { type ASTnode (line 124) | struct ASTnode { FILE: 47_Sizeof/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 47) | struct ASTnode type ASTnode (line 48) | struct ASTnode type symtable (line 49) | struct symtable type ASTnode (line 75) | struct ASTnode type ASTnode (line 76) | struct ASTnode type symtable (line 77) | struct symtable type ASTnode (line 113) | struct ASTnode type ASTnode (line 114) | struct ASTnode type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type ASTnode (line 167) | struct ASTnode type ASTnode (line 168) | struct ASTnode type symtable (line 169) | struct symtable type symtable (line 170) | struct symtable type ASTnode (line 221) | struct ASTnode type ASTnode (line 222) | struct ASTnode type symtable (line 226) | struct symtable function binastop (line 311) | static int binastop(int tokentype) { function rightassoc (line 320) | static int rightassoc(int tokentype) { function op_precedence (line 342) | static int op_precedence(int tokentype) { type ASTnode (line 362) | struct ASTnode type ASTnode (line 363) | struct ASTnode type ASTnode (line 463) | struct ASTnode type ASTnode (line 464) | struct ASTnode type ASTnode (line 465) | struct ASTnode FILE: 47_Sizeof/gen.c function genlabel (line 9) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_funccall (line 140) | static int gen_funccall(struct ASTnode *n) { function genAST (line 168) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 368) | void genpreamble() { function genpostamble (line 371) | void genpostamble() { function genfreeregs (line 374) | void genfreeregs() { function genglobsym (line 377) | void genglobsym(struct symtable *node) { function genglobstr (line 380) | int genglobstr(char *strvalue) { function genprimsize (line 385) | int genprimsize(int type) { function genalign (line 388) | int genalign(int type, int offset, int direction) { FILE: 47_Sizeof/main.c function do_link (line 106) | void do_link(char *outfilename, char *objlist[]) { function usage (line 135) | static void usage(char *prog) { function main (line 150) | int main(int argc, char *argv[]) { FILE: 47_Sizeof/misc.c function match (line 13) | void match(int t, char *what) { function semi (line 22) | void semi(void) { function lbrace (line 27) | void lbrace(void) { function rbrace (line 32) | void rbrace(void) { function lparen (line 37) | void lparen(void) { function rparen (line 42) | void rparen(void) { function ident (line 47) | void ident(void) { function comma (line 52) | void comma(void) { function fatal (line 57) | void fatal(char *s) { function fatals (line 64) | void fatals(char *s1, char *s2) { function fatald (line 71) | void fatald(char *s, int d) { function fatalc (line 78) | void fatalc(char *s, int c) { FILE: 47_Sizeof/opt.c type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 99) | struct ASTnode FILE: 47_Sizeof/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 55) | static void putback(int c) { function skip (line 62) | static int skip(void) { function hexchar (line 73) | static int hexchar(void) { function scanch (line 96) | static int scanch(void) { function scanint (line 154) | static int scanint(int c) { function scanstr (line 184) | static int scanstr(char *buf) { function scanident (line 204) | static int scanident(int c, char *buf, int lim) { function keyword (line 229) | static int keyword(char *s) { function scan (line 319) | int scan(struct token *t) { FILE: 47_Sizeof/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 173) | struct ASTnode type ASTnode (line 185) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 196) | struct ASTnode type ASTnode (line 279) | struct ASTnode type ASTnode (line 280) | struct ASTnode type symtable (line 281) | struct symtable type ASTnode (line 335) | struct ASTnode type ASTnode (line 336) | struct ASTnode type ASTnode (line 337) | struct ASTnode FILE: 47_Sizeof/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 66) | struct symtable type symtable (line 66) | struct symtable type symtable (line 68) | struct symtable type symtable (line 77) | struct symtable type symtable (line 77) | struct symtable type symtable (line 79) | struct symtable type symtable (line 88) | struct symtable type symtable (line 88) | struct symtable type symtable (line 90) | struct symtable type symtable (line 96) | struct symtable type symtable (line 96) | struct symtable type symtable (line 98) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 130) | struct symtable type symtable (line 130) | struct symtable type symtable (line 131) | struct symtable type symtable (line 139) | struct symtable type symtable (line 139) | struct symtable type symtable (line 149) | struct symtable type symtable (line 155) | struct symtable type symtable (line 156) | struct symtable type symtable (line 169) | struct symtable type symtable (line 170) | struct symtable type symtable (line 187) | struct symtable type symtable (line 193) | struct symtable type symtable (line 199) | struct symtable type symtable (line 205) | struct symtable type symtable (line 211) | struct symtable type symtable (line 217) | struct symtable function clear_symtable (line 222) | void clear_symtable(void) { function freeloclsyms (line 234) | void freeloclsyms(void) { FILE: 47_Sizeof/tests/err.input065.c type type (line 1) | enum type FILE: 47_Sizeof/tests/err.input066.c type value (line 1) | enum value FILE: 47_Sizeof/tests/input001.c function main (line 3) | void main() FILE: 47_Sizeof/tests/input002.c function main (line 3) | void main() FILE: 47_Sizeof/tests/input003.c function main (line 3) | void main() FILE: 47_Sizeof/tests/input004.c function main (line 3) | void main() FILE: 47_Sizeof/tests/input005.c function main (line 3) | void main() FILE: 47_Sizeof/tests/input006.c function main (line 3) | void main() FILE: 47_Sizeof/tests/input007.c function main (line 3) | void main() FILE: 47_Sizeof/tests/input008.c function main (line 3) | void main() FILE: 47_Sizeof/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 47_Sizeof/tests/input010.c function main (line 3) | void main() FILE: 47_Sizeof/tests/input011.c function main (line 3) | int main() FILE: 47_Sizeof/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 47_Sizeof/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 47_Sizeof/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 47_Sizeof/tests/input015.c function main (line 3) | int main() { FILE: 47_Sizeof/tests/input016.c function main (line 8) | int main() { FILE: 47_Sizeof/tests/input017.c function main (line 3) | int main() { FILE: 47_Sizeof/tests/input018.c function main (line 3) | int main() FILE: 47_Sizeof/tests/input018a.c function main (line 8) | int main() FILE: 47_Sizeof/tests/input019.c function main (line 8) | int main() FILE: 47_Sizeof/tests/input020.c function main (line 6) | int main() { FILE: 47_Sizeof/tests/input021.c function main (line 6) | int main() { FILE: 47_Sizeof/tests/input022.c function main (line 8) | int main() { FILE: 47_Sizeof/tests/input023.c function main (line 6) | int main() { FILE: 47_Sizeof/tests/input024.c function main (line 6) | int main() { FILE: 47_Sizeof/tests/input025.c function main (line 7) | int main() FILE: 47_Sizeof/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 47_Sizeof/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 47_Sizeof/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 47_Sizeof/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 47_Sizeof/tests/input030.c function main (line 10) | int main() { FILE: 47_Sizeof/tests/input031.c function main (line 3) | int main() { FILE: 47_Sizeof/tests/input032.c function main (line 3) | int main() { FILE: 47_Sizeof/tests/input033.c function main (line 3) | int main() { FILE: 47_Sizeof/tests/input034.c function main (line 3) | int main() { FILE: 47_Sizeof/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 47_Sizeof/tests/input039.c function main (line 3) | int main() { int a; } FILE: 47_Sizeof/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 47_Sizeof/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 47_Sizeof/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 47_Sizeof/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 47_Sizeof/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 47_Sizeof/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 47_Sizeof/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 47_Sizeof/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 47_Sizeof/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 47_Sizeof/tests/input049.c function main (line 3) | int main() { FILE: 47_Sizeof/tests/input050.c function main (line 3) | int main() { FILE: 47_Sizeof/tests/input051.c function main (line 3) | int main() { FILE: 47_Sizeof/tests/input052.c function main (line 3) | int main() { FILE: 47_Sizeof/tests/input053.c function main (line 3) | int main() FILE: 47_Sizeof/tests/input054.c function main (line 3) | int main() FILE: 47_Sizeof/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 47_Sizeof/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 47_Sizeof/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 47_Sizeof/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 47_Sizeof/tests/input059.c function main (line 1) | int main() { FILE: 47_Sizeof/tests/input060.c function main (line 1) | int main() { FILE: 47_Sizeof/tests/input061.c function main (line 1) | int main() { FILE: 47_Sizeof/tests/input062.c function main (line 13) | int main() { FILE: 47_Sizeof/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 47_Sizeof/tests/input064.c type fred (line 1) | enum fred FILE: 47_Sizeof/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 47_Sizeof/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 47_Sizeof/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 47_Sizeof/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 47_Sizeof/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 47_Sizeof/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 47_Sizeof/tests/input071.c function main (line 3) | int main() { FILE: 47_Sizeof/tests/input072.c function main (line 1) | int main() { break; } FILE: 47_Sizeof/tests/input073.c function main (line 1) | int main() { continue; } FILE: 47_Sizeof/tests/input074.c function main (line 3) | int main() { FILE: 47_Sizeof/tests/input075.c function main (line 1) | int main() { FILE: 47_Sizeof/tests/input076.c function main (line 1) | int main() { FILE: 47_Sizeof/tests/input077.c function main (line 1) | int main() { FILE: 47_Sizeof/tests/input078.c function main (line 1) | int main() { FILE: 47_Sizeof/tests/input079.c function main (line 1) | int main() { FILE: 47_Sizeof/tests/input080.c function main (line 6) | int main() { FILE: 47_Sizeof/tests/input081.c function main (line 6) | int main() { FILE: 47_Sizeof/tests/input082.c function main (line 3) | int main() { FILE: 47_Sizeof/tests/input083.c function main (line 3) | int main() { FILE: 47_Sizeof/tests/input084.c function main (line 3) | int main() { FILE: 47_Sizeof/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 47_Sizeof/tests/input086.c function main (line 1) | int main() { FILE: 47_Sizeof/tests/input087.c type foo (line 1) | struct foo { FILE: 47_Sizeof/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 47_Sizeof/tests/input089.c function main (line 7) | int main() { FILE: 47_Sizeof/tests/input090.c function main (line 6) | int main() { FILE: 47_Sizeof/tests/input091.c function main (line 6) | int main() { FILE: 47_Sizeof/tests/input097.c function main (line 1) | int main() { FILE: 47_Sizeof/tests/input099.c function main (line 19) | int main() { FILE: 47_Sizeof/tests/input100.c function main (line 2) | int main() { FILE: 47_Sizeof/tests/input101.c function main (line 3) | int main() { FILE: 47_Sizeof/tests/input102.c function main (line 1) | int main() { FILE: 47_Sizeof/tests/input103.c function main (line 1) | int main() { FILE: 47_Sizeof/tests/input104.c function main (line 1) | int main() { FILE: 47_Sizeof/tests/input105.c function main (line 1) | int main() { FILE: 47_Sizeof/tests/input106.c function main (line 4) | int main() { FILE: 47_Sizeof/tests/input107.c function main (line 5) | int main() { FILE: 47_Sizeof/tests/input108.c function main (line 1) | int main() { FILE: 47_Sizeof/tests/input109.c function main (line 2) | int main() { FILE: 47_Sizeof/tests/input110.c function main (line 6) | int main() { FILE: 47_Sizeof/tests/input111.c function main (line 2) | int main() { FILE: 47_Sizeof/tests/input112.c function main (line 6) | int main() { FILE: 47_Sizeof/tests/input113.c function fred (line 4) | void fred(void) { function main (line 8) | int main(void) { FILE: 47_Sizeof/tests/input114.c function main (line 2) | int main() { FILE: 47_Sizeof/tests/input115.c type foo (line 2) | struct foo { int x; char y; long z; } type blah (line 3) | typedef struct foo blah; type symtable (line 6) | struct symtable { type ASTnode (line 23) | struct ASTnode { function main (line 36) | int main() { FILE: 47_Sizeof/tests/out.input030.c function main (line 10) | int main() { FILE: 47_Sizeof/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 47) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 47_Sizeof/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 48_Static/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int type) { function freeall_registers (line 110) | void freeall_registers(void) { function alloc_register (line 116) | static int alloc_register(void) { function free_register (line 129) | static void free_register(int reg) { function cgpreamble (line 136) | void cgpreamble() { function cgpostamble (line 166) | void cgpostamble() { function cgfuncpreamble (line 170) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 214) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 223) | int cgloadint(int value, int type) { function cgloadglob (line 235) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 284) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 331) | int cgloadglobstr(int label) { function cgadd (line 340) | int cgadd(int r1, int r2) { function cgsub (line 348) | int cgsub(int r1, int r2) { function cgmul (line 356) | int cgmul(int r1, int r2) { function cgdiv (line 364) | int cgdiv(int r1, int r2) { function cgand (line 373) | int cgand(int r1, int r2) { function cgor (line 379) | int cgor(int r1, int r2) { function cgxor (line 385) | int cgxor(int r1, int r2) { function cgshl (line 391) | int cgshl(int r1, int r2) { function cgshr (line 398) | int cgshr(int r1, int r2) { function cgnegate (line 406) | int cgnegate(int r) { function cginvert (line 412) | int cginvert(int r) { function cglognot (line 418) | int cglognot(int r) { function cgboolean (line 427) | int cgboolean(int r, int op, int label) { function cgcall (line 441) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 458) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 474) | int cgshlconst(int r, int val) { function cgstorglob (line 480) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 499) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 518) | void cgglobsym(struct symtable *node) { function cgglobstr (line 576) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 591) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 605) | void cglabel(int l) { function cgjump (line 610) | void cgjump(int l) { function cgcompare_and_jump (line 619) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 634) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 640) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 668) | int cgaddress(struct symtable *sym) { function cgderef (line 680) | int cgderef(int r, int type) { function cgstorderef (line 704) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 725) | void cgswitch(int reg, int casecount, int toplabel, FILE: 48_Static/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 48_Static/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | int newlocaloffset(int type) { function freeall_registers (line 101) | void freeall_registers(void) { function alloc_register (line 107) | static int alloc_register(void) { function free_register (line 120) | static void free_register(int reg) { function cgpreamble (line 127) | void cgpreamble() { function cgpostamble (line 164) | void cgpostamble() { function cgfuncpreamble (line 168) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 211) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 220) | int cgloadint(int value, int type) { function cgloadglob (line 232) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 284) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 336) | int cgloadglobstr(int label) { function cgadd (line 345) | int cgadd(int r1, int r2) { function cgsub (line 353) | int cgsub(int r1, int r2) { function cgmul (line 361) | int cgmul(int r1, int r2) { function cgdiv (line 369) | int cgdiv(int r1, int r2) { function cgand (line 378) | int cgand(int r1, int r2) { function cgor (line 384) | int cgor(int r1, int r2) { function cgxor (line 390) | int cgxor(int r1, int r2) { function cgshl (line 396) | int cgshl(int r1, int r2) { function cgshr (line 403) | int cgshr(int r1, int r2) { function cgnegate (line 411) | int cgnegate(int r) { function cginvert (line 417) | int cginvert(int r) { function cglognot (line 423) | int cglognot(int r) { function cgboolean (line 432) | int cgboolean(int r, int op, int label) { function cgcall (line 446) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 463) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 479) | int cgshlconst(int r, int val) { function cgstorglob (line 485) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 503) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 524) | void cgglobsym(struct symtable *node) { function cgglobstr (line 587) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 641) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 655) | void cglabel(int l) { function cgjump (line 660) | void cgjump(int l) { function cgcompare_and_jump (line 669) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 684) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 690) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 717) | int cgaddress(struct symtable *sym) { function cgderef (line 730) | int cgderef(int r, int type) { function cgstorderef (line 754) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 775) | void cgswitch(int reg, int casecount, int toplabel, FILE: 48_Static/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 97) | int parse_stars(int type) { function parse_cast (line 109) | int parse_cast(void) { function parse_literal (line 127) | int parse_literal(int type) { type symtable (line 166) | struct symtable type symtable (line 167) | struct symtable type ASTnode (line 169) | struct ASTnode type symtable (line 170) | struct symtable type ASTnode (line 171) | struct ASTnode type symtable (line 236) | struct symtable type symtable (line 237) | struct symtable type symtable (line 239) | struct symtable function param_declaration_list (line 336) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 394) | struct symtable type symtable (line 395) | struct symtable type ASTnode (line 397) | struct ASTnode type symtable (line 398) | struct symtable type symtable (line 486) | struct symtable type symtable (line 487) | struct symtable type symtable (line 488) | struct symtable type ASTnode (line 489) | struct ASTnode function enum_declaration (line 569) | static void enum_declaration(void) { function typedef_declaration (line 637) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 662) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 679) | struct symtable type symtable (line 679) | struct symtable type ASTnode (line 681) | struct ASTnode type symtable (line 682) | struct symtable function declaration_list (line 720) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 765) | void global_declarations(void) { FILE: 48_Static/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 27) | struct symtable type symtable (line 41) | struct symtable type symtable (line 42) | struct symtable type symtable (line 44) | struct symtable type symtable (line 45) | struct symtable type symtable (line 52) | struct symtable type symtable (line 54) | struct symtable type symtable (line 55) | struct symtable type symtable (line 56) | struct symtable type symtable (line 63) | struct symtable type symtable (line 64) | struct symtable type ASTnode (line 80) | struct ASTnode type ASTnode (line 81) | struct ASTnode type ASTnode (line 84) | struct ASTnode type symtable (line 101) | struct symtable type symtable (line 101) | struct symtable type symtable (line 102) | struct symtable type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 105) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 127) | struct symtable type symtable (line 130) | struct symtable type ASTnode (line 131) | struct ASTnode type symtable (line 139) | struct symtable type ASTnode (line 140) | struct ASTnode type ASTnode (line 140) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 143) | struct ASTnode FILE: 48_Static/defs.h type token (line 58) | struct token { type symtable (line 108) | struct symtable { type ASTnode (line 125) | struct ASTnode { FILE: 48_Static/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 47) | struct ASTnode type ASTnode (line 48) | struct ASTnode type symtable (line 49) | struct symtable type ASTnode (line 75) | struct ASTnode type ASTnode (line 76) | struct ASTnode type symtable (line 77) | struct symtable type ASTnode (line 113) | struct ASTnode type ASTnode (line 114) | struct ASTnode type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type ASTnode (line 167) | struct ASTnode type ASTnode (line 168) | struct ASTnode type symtable (line 169) | struct symtable type symtable (line 170) | struct symtable type ASTnode (line 221) | struct ASTnode type ASTnode (line 222) | struct ASTnode type symtable (line 226) | struct symtable function binastop (line 314) | static int binastop(int tokentype) { function rightassoc (line 323) | static int rightassoc(int tokentype) { function op_precedence (line 345) | static int op_precedence(int tokentype) { type ASTnode (line 365) | struct ASTnode type ASTnode (line 366) | struct ASTnode type ASTnode (line 466) | struct ASTnode type ASTnode (line 467) | struct ASTnode type ASTnode (line 468) | struct ASTnode FILE: 48_Static/gen.c function genlabel (line 10) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_funccall (line 140) | static int gen_funccall(struct ASTnode *n) { function genAST (line 168) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 369) | void genpreamble() { function genpostamble (line 372) | void genpostamble() { function genfreeregs (line 375) | void genfreeregs() { function genglobsym (line 378) | void genglobsym(struct symtable *node) { function genglobstr (line 381) | int genglobstr(char *strvalue) { function genprimsize (line 386) | int genprimsize(int type) { function genalign (line 389) | int genalign(int type, int offset, int direction) { FILE: 48_Static/main.c function do_link (line 107) | void do_link(char *outfilename, char *objlist[]) { function usage (line 136) | static void usage(char *prog) { function main (line 151) | int main(int argc, char *argv[]) { FILE: 48_Static/misc.c function match (line 13) | void match(int t, char *what) { function semi (line 22) | void semi(void) { function lbrace (line 27) | void lbrace(void) { function rbrace (line 32) | void rbrace(void) { function lparen (line 37) | void lparen(void) { function rparen (line 42) | void rparen(void) { function ident (line 47) | void ident(void) { function comma (line 52) | void comma(void) { function fatal (line 57) | void fatal(char *s) { function fatals (line 64) | void fatals(char *s1, char *s2) { function fatald (line 71) | void fatald(char *s, int d) { function fatalc (line 78) | void fatalc(char *s, int c) { FILE: 48_Static/opt.c type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 99) | struct ASTnode FILE: 48_Static/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 55) | static void putback(int c) { function skip (line 62) | static int skip(void) { function hexchar (line 73) | static int hexchar(void) { function scanch (line 96) | static int scanch(void) { function scanint (line 154) | static int scanint(int c) { function scanstr (line 184) | static int scanstr(char *buf) { function scanident (line 204) | static int scanident(int c, char *buf, int lim) { function keyword (line 229) | static int keyword(char *s) { function scan (line 321) | int scan(struct token *t) { FILE: 48_Static/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 173) | struct ASTnode type ASTnode (line 185) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 196) | struct ASTnode type ASTnode (line 279) | struct ASTnode type ASTnode (line 280) | struct ASTnode type symtable (line 281) | struct symtable type ASTnode (line 335) | struct ASTnode type ASTnode (line 336) | struct ASTnode type ASTnode (line 337) | struct ASTnode FILE: 48_Static/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 66) | struct symtable type symtable (line 66) | struct symtable type symtable (line 68) | struct symtable type symtable (line 77) | struct symtable type symtable (line 77) | struct symtable type symtable (line 79) | struct symtable type symtable (line 88) | struct symtable type symtable (line 88) | struct symtable type symtable (line 90) | struct symtable type symtable (line 96) | struct symtable type symtable (line 96) | struct symtable type symtable (line 98) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 130) | struct symtable type symtable (line 130) | struct symtable type symtable (line 131) | struct symtable type symtable (line 139) | struct symtable type symtable (line 139) | struct symtable type symtable (line 149) | struct symtable type symtable (line 155) | struct symtable type symtable (line 156) | struct symtable type symtable (line 169) | struct symtable type symtable (line 170) | struct symtable type symtable (line 187) | struct symtable type symtable (line 193) | struct symtable type symtable (line 199) | struct symtable type symtable (line 205) | struct symtable type symtable (line 211) | struct symtable type symtable (line 217) | struct symtable function clear_symtable (line 222) | void clear_symtable(void) { function freeloclsyms (line 234) | void freeloclsyms(void) { function freestaticsyms (line 241) | void freestaticsyms(void) { FILE: 48_Static/tests/err.input065.c type type (line 1) | enum type FILE: 48_Static/tests/err.input066.c type value (line 1) | enum value FILE: 48_Static/tests/input001.c function main (line 3) | void main() FILE: 48_Static/tests/input002.c function main (line 3) | void main() FILE: 48_Static/tests/input003.c function main (line 3) | void main() FILE: 48_Static/tests/input004.c function main (line 3) | void main() FILE: 48_Static/tests/input005.c function main (line 3) | void main() FILE: 48_Static/tests/input006.c function main (line 3) | void main() FILE: 48_Static/tests/input007.c function main (line 3) | void main() FILE: 48_Static/tests/input008.c function main (line 3) | void main() FILE: 48_Static/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 48_Static/tests/input010.c function main (line 3) | void main() FILE: 48_Static/tests/input011.c function main (line 3) | int main() FILE: 48_Static/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 48_Static/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 48_Static/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 48_Static/tests/input015.c function main (line 3) | int main() { FILE: 48_Static/tests/input016.c function main (line 8) | int main() { FILE: 48_Static/tests/input017.c function main (line 3) | int main() { FILE: 48_Static/tests/input018.c function main (line 3) | int main() FILE: 48_Static/tests/input018a.c function main (line 8) | int main() FILE: 48_Static/tests/input019.c function main (line 8) | int main() FILE: 48_Static/tests/input020.c function main (line 6) | int main() { FILE: 48_Static/tests/input021.c function main (line 6) | int main() { FILE: 48_Static/tests/input022.c function main (line 8) | int main() { FILE: 48_Static/tests/input023.c function main (line 6) | int main() { FILE: 48_Static/tests/input024.c function main (line 6) | int main() { FILE: 48_Static/tests/input025.c function main (line 7) | int main() FILE: 48_Static/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 48_Static/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 48_Static/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 48_Static/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 48_Static/tests/input030.c function main (line 10) | int main() { FILE: 48_Static/tests/input031.c function main (line 3) | int main() { FILE: 48_Static/tests/input032.c function main (line 3) | int main() { FILE: 48_Static/tests/input033.c function main (line 3) | int main() { FILE: 48_Static/tests/input034.c function main (line 3) | int main() { FILE: 48_Static/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 48_Static/tests/input039.c function main (line 3) | int main() { int a; } FILE: 48_Static/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 48_Static/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 48_Static/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 48_Static/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 48_Static/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 48_Static/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 48_Static/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 48_Static/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 48_Static/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 48_Static/tests/input049.c function main (line 3) | int main() { FILE: 48_Static/tests/input050.c function main (line 3) | int main() { FILE: 48_Static/tests/input051.c function main (line 3) | int main() { FILE: 48_Static/tests/input052.c function main (line 3) | int main() { FILE: 48_Static/tests/input053.c function main (line 3) | int main() FILE: 48_Static/tests/input054.c function main (line 3) | int main() FILE: 48_Static/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 48_Static/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 48_Static/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 48_Static/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 48_Static/tests/input059.c function main (line 1) | int main() { FILE: 48_Static/tests/input060.c function main (line 1) | int main() { FILE: 48_Static/tests/input061.c function main (line 1) | int main() { FILE: 48_Static/tests/input062.c function main (line 13) | int main() { FILE: 48_Static/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 48_Static/tests/input064.c type fred (line 1) | enum fred FILE: 48_Static/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 48_Static/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 48_Static/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 48_Static/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 48_Static/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 48_Static/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 48_Static/tests/input071.c function main (line 3) | int main() { FILE: 48_Static/tests/input072.c function main (line 1) | int main() { break; } FILE: 48_Static/tests/input073.c function main (line 1) | int main() { continue; } FILE: 48_Static/tests/input074.c function main (line 3) | int main() { FILE: 48_Static/tests/input075.c function main (line 1) | int main() { FILE: 48_Static/tests/input076.c function main (line 1) | int main() { FILE: 48_Static/tests/input077.c function main (line 1) | int main() { FILE: 48_Static/tests/input078.c function main (line 1) | int main() { FILE: 48_Static/tests/input079.c function main (line 1) | int main() { FILE: 48_Static/tests/input080.c function main (line 6) | int main() { FILE: 48_Static/tests/input081.c function main (line 6) | int main() { FILE: 48_Static/tests/input082.c function main (line 3) | int main() { FILE: 48_Static/tests/input083.c function main (line 3) | int main() { FILE: 48_Static/tests/input084.c function main (line 3) | int main() { FILE: 48_Static/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 48_Static/tests/input086.c function main (line 1) | int main() { FILE: 48_Static/tests/input087.c type foo (line 1) | struct foo { FILE: 48_Static/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 48_Static/tests/input089.c function main (line 7) | int main() { FILE: 48_Static/tests/input090.c function main (line 6) | int main() { FILE: 48_Static/tests/input091.c function main (line 6) | int main() { FILE: 48_Static/tests/input097.c function main (line 1) | int main() { FILE: 48_Static/tests/input099.c function main (line 19) | int main() { FILE: 48_Static/tests/input100.c function main (line 2) | int main() { FILE: 48_Static/tests/input101.c function main (line 3) | int main() { FILE: 48_Static/tests/input102.c function main (line 1) | int main() { FILE: 48_Static/tests/input103.c function main (line 1) | int main() { FILE: 48_Static/tests/input104.c function main (line 1) | int main() { FILE: 48_Static/tests/input105.c function main (line 1) | int main() { FILE: 48_Static/tests/input106.c function main (line 4) | int main() { FILE: 48_Static/tests/input107.c function main (line 5) | int main() { FILE: 48_Static/tests/input108.c function main (line 1) | int main() { FILE: 48_Static/tests/input109.c function main (line 2) | int main() { FILE: 48_Static/tests/input110.c function main (line 6) | int main() { FILE: 48_Static/tests/input111.c function main (line 2) | int main() { FILE: 48_Static/tests/input112.c function main (line 6) | int main() { FILE: 48_Static/tests/input113.c function fred (line 4) | void fred(void) { function main (line 8) | int main(void) { FILE: 48_Static/tests/input114.c function main (line 2) | int main() { FILE: 48_Static/tests/input115.c type foo (line 2) | struct foo { int x; char y; long z; } type blah (line 3) | typedef struct foo blah; type symtable (line 6) | struct symtable { type ASTnode (line 23) | struct ASTnode { function main (line 36) | int main() { FILE: 48_Static/tests/input116.c function fred (line 4) | static int fred(void) { return(counter++); } function main (line 6) | int main(void) { FILE: 48_Static/tests/input117.c function main (line 7) | int main(void) { FILE: 48_Static/tests/input118.c function main (line 1) | int main(void) { FILE: 48_Static/tests/out.input030.c function main (line 10) | int main() { FILE: 48_Static/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 48) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 48_Static/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 49_Ternary/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int type) { function freeall_registers (line 111) | void freeall_registers(int keepreg) { function alloc_register (line 120) | int alloc_register(void) { function free_register (line 133) | static void free_register(int reg) { function cgpreamble (line 140) | void cgpreamble() { function cgpostamble (line 170) | void cgpostamble() { function cgfuncpreamble (line 174) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 215) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 224) | int cgloadint(int value, int type) { function cgloadglob (line 236) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 285) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 332) | int cgloadglobstr(int label) { function cgadd (line 341) | int cgadd(int r1, int r2) { function cgsub (line 349) | int cgsub(int r1, int r2) { function cgmul (line 357) | int cgmul(int r1, int r2) { function cgdiv (line 365) | int cgdiv(int r1, int r2) { function cgand (line 374) | int cgand(int r1, int r2) { function cgor (line 380) | int cgor(int r1, int r2) { function cgxor (line 386) | int cgxor(int r1, int r2) { function cgshl (line 392) | int cgshl(int r1, int r2) { function cgshr (line 399) | int cgshr(int r1, int r2) { function cgnegate (line 407) | int cgnegate(int r) { function cginvert (line 413) | int cginvert(int r) { function cglognot (line 419) | int cglognot(int r) { function cgboolean (line 428) | int cgboolean(int r, int op, int label) { function cgcall (line 442) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 459) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 475) | int cgshlconst(int r, int val) { function cgstorglob (line 481) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 500) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 519) | void cgglobsym(struct symtable *node) { function cgglobstr (line 578) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 593) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 607) | void cglabel(int l) { function cgjump (line 612) | void cgjump(int l) { function cgcompare_and_jump (line 621) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 636) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 642) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 670) | int cgaddress(struct symtable *sym) { function cgderef (line 682) | int cgderef(int r, int type) { function cgstorderef (line 706) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 727) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 756) | void cgmove(int r1, int r2) { FILE: 49_Ternary/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 49_Ternary/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | int newlocaloffset(int type) { function freeall_registers (line 102) | void freeall_registers(int keepreg) { function alloc_register (line 111) | int alloc_register(void) { function free_register (line 124) | static void free_register(int reg) { function cgpreamble (line 131) | void cgpreamble() { function cgpostamble (line 168) | void cgpostamble() { function cgfuncpreamble (line 172) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 215) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 224) | int cgloadint(int value, int type) { function cgloadglob (line 236) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 288) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 340) | int cgloadglobstr(int label) { function cgadd (line 349) | int cgadd(int r1, int r2) { function cgsub (line 357) | int cgsub(int r1, int r2) { function cgmul (line 365) | int cgmul(int r1, int r2) { function cgdiv (line 373) | int cgdiv(int r1, int r2) { function cgand (line 382) | int cgand(int r1, int r2) { function cgor (line 388) | int cgor(int r1, int r2) { function cgxor (line 394) | int cgxor(int r1, int r2) { function cgshl (line 400) | int cgshl(int r1, int r2) { function cgshr (line 407) | int cgshr(int r1, int r2) { function cgnegate (line 415) | int cgnegate(int r) { function cginvert (line 421) | int cginvert(int r) { function cglognot (line 427) | int cglognot(int r) { function cgboolean (line 436) | int cgboolean(int r, int op, int label) { function cgcall (line 450) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 467) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 483) | int cgshlconst(int r, int val) { function cgstorglob (line 489) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 507) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 528) | void cgglobsym(struct symtable *node) { function cgglobstr (line 591) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 645) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 659) | void cglabel(int l) { function cgjump (line 664) | void cgjump(int l) { function cgcompare_and_jump (line 673) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 688) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 694) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 721) | int cgaddress(struct symtable *sym) { function cgderef (line 734) | int cgderef(int r, int type) { function cgstorderef (line 758) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 779) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 808) | void cgmove(int r1, int r2) { FILE: 49_Ternary/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 97) | int parse_stars(int type) { function parse_cast (line 109) | int parse_cast(void) { function parse_literal (line 127) | int parse_literal(int type) { type symtable (line 166) | struct symtable type symtable (line 167) | struct symtable type ASTnode (line 169) | struct ASTnode type symtable (line 170) | struct symtable type ASTnode (line 171) | struct ASTnode type symtable (line 236) | struct symtable type symtable (line 237) | struct symtable type symtable (line 239) | struct symtable function param_declaration_list (line 336) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 394) | struct symtable type symtable (line 395) | struct symtable type ASTnode (line 397) | struct ASTnode type symtable (line 398) | struct symtable type symtable (line 486) | struct symtable type symtable (line 487) | struct symtable type symtable (line 488) | struct symtable type ASTnode (line 489) | struct ASTnode function enum_declaration (line 569) | static void enum_declaration(void) { function typedef_declaration (line 637) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 662) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 679) | struct symtable type symtable (line 679) | struct symtable type ASTnode (line 681) | struct ASTnode type symtable (line 682) | struct symtable function declaration_list (line 720) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 765) | void global_declarations(void) { FILE: 49_Ternary/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 27) | struct symtable type symtable (line 42) | struct symtable type symtable (line 43) | struct symtable type symtable (line 45) | struct symtable type symtable (line 46) | struct symtable type symtable (line 53) | struct symtable type symtable (line 55) | struct symtable type symtable (line 56) | struct symtable type symtable (line 57) | struct symtable type symtable (line 64) | struct symtable type symtable (line 65) | struct symtable type ASTnode (line 82) | struct ASTnode type ASTnode (line 83) | struct ASTnode type ASTnode (line 86) | struct ASTnode type symtable (line 103) | struct symtable type symtable (line 103) | struct symtable type symtable (line 104) | struct symtable type symtable (line 105) | struct symtable type symtable (line 105) | struct symtable type symtable (line 107) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 108) | struct symtable type symtable (line 109) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 122) | struct symtable type symtable (line 123) | struct symtable type symtable (line 129) | struct symtable type symtable (line 132) | struct symtable type ASTnode (line 133) | struct ASTnode type symtable (line 141) | struct symtable type ASTnode (line 142) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 145) | struct ASTnode type ASTnode (line 145) | struct ASTnode FILE: 49_Ternary/defs.h type token (line 58) | struct token { type symtable (line 108) | struct symtable { type ASTnode (line 125) | struct ASTnode { FILE: 49_Ternary/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 49) | struct ASTnode type symtable (line 50) | struct symtable type ASTnode (line 76) | struct ASTnode type ASTnode (line 77) | struct ASTnode type symtable (line 78) | struct symtable type ASTnode (line 114) | struct ASTnode type ASTnode (line 115) | struct ASTnode type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type ASTnode (line 168) | struct ASTnode type ASTnode (line 169) | struct ASTnode type symtable (line 170) | struct symtable type symtable (line 171) | struct symtable type ASTnode (line 222) | struct ASTnode type ASTnode (line 223) | struct ASTnode type symtable (line 227) | struct symtable function binastop (line 317) | static int binastop(int tokentype) { function rightassoc (line 326) | static int rightassoc(int tokentype) { function op_precedence (line 349) | static int op_precedence(int tokentype) { type ASTnode (line 369) | struct ASTnode type ASTnode (line 370) | struct ASTnode type ASTnode (line 470) | struct ASTnode type ASTnode (line 471) | struct ASTnode type ASTnode (line 472) | struct ASTnode FILE: 49_Ternary/gen.c function genlabel (line 10) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_funccall (line 140) | static int gen_funccall(struct ASTnode *n) { function gen_ternary (line 166) | static int gen_ternary(struct ASTnode *n) { function genAST (line 206) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 412) | void genpreamble() { function genpostamble (line 415) | void genpostamble() { function genfreeregs (line 418) | void genfreeregs(int keepreg) { function genglobsym (line 421) | void genglobsym(struct symtable *node) { function genglobstr (line 424) | int genglobstr(char *strvalue) { function genprimsize (line 429) | int genprimsize(int type) { function genalign (line 432) | int genalign(int type, int offset, int direction) { FILE: 49_Ternary/main.c function do_link (line 107) | void do_link(char *outfilename, char *objlist[]) { function usage (line 136) | static void usage(char *prog) { function main (line 151) | int main(int argc, char *argv[]) { FILE: 49_Ternary/misc.c function match (line 13) | void match(int t, char *what) { function semi (line 22) | void semi(void) { function lbrace (line 27) | void lbrace(void) { function rbrace (line 32) | void rbrace(void) { function lparen (line 37) | void lparen(void) { function rparen (line 42) | void rparen(void) { function ident (line 47) | void ident(void) { function comma (line 52) | void comma(void) { function fatal (line 57) | void fatal(char *s) { function fatals (line 64) | void fatals(char *s1, char *s2) { function fatald (line 71) | void fatald(char *s, int d) { function fatalc (line 78) | void fatalc(char *s, int c) { FILE: 49_Ternary/opt.c type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 99) | struct ASTnode FILE: 49_Ternary/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 55) | static void putback(int c) { function skip (line 62) | static int skip(void) { function hexchar (line 73) | static int hexchar(void) { function scanch (line 96) | static int scanch(void) { function scanint (line 154) | static int scanint(int c) { function scanstr (line 184) | static int scanstr(char *buf) { function scanident (line 204) | static int scanident(int c, char *buf, int lim) { function keyword (line 229) | static int keyword(char *s) { function scan (line 321) | int scan(struct token *t) { FILE: 49_Ternary/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 173) | struct ASTnode type ASTnode (line 185) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 196) | struct ASTnode type ASTnode (line 279) | struct ASTnode type ASTnode (line 280) | struct ASTnode type symtable (line 281) | struct symtable type ASTnode (line 335) | struct ASTnode type ASTnode (line 336) | struct ASTnode type ASTnode (line 337) | struct ASTnode FILE: 49_Ternary/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 66) | struct symtable type symtable (line 66) | struct symtable type symtable (line 68) | struct symtable type symtable (line 77) | struct symtable type symtable (line 77) | struct symtable type symtable (line 79) | struct symtable type symtable (line 88) | struct symtable type symtable (line 88) | struct symtable type symtable (line 90) | struct symtable type symtable (line 96) | struct symtable type symtable (line 96) | struct symtable type symtable (line 98) | struct symtable type symtable (line 107) | struct symtable type symtable (line 108) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 130) | struct symtable type symtable (line 130) | struct symtable type symtable (line 131) | struct symtable type symtable (line 139) | struct symtable type symtable (line 139) | struct symtable type symtable (line 149) | struct symtable type symtable (line 155) | struct symtable type symtable (line 156) | struct symtable type symtable (line 169) | struct symtable type symtable (line 170) | struct symtable type symtable (line 187) | struct symtable type symtable (line 193) | struct symtable type symtable (line 199) | struct symtable type symtable (line 205) | struct symtable type symtable (line 211) | struct symtable type symtable (line 217) | struct symtable function clear_symtable (line 222) | void clear_symtable(void) { function freeloclsyms (line 234) | void freeloclsyms(void) { function freestaticsyms (line 241) | void freestaticsyms(void) { FILE: 49_Ternary/tests/err.input065.c type type (line 1) | enum type FILE: 49_Ternary/tests/err.input066.c type value (line 1) | enum value FILE: 49_Ternary/tests/input001.c function main (line 3) | void main() FILE: 49_Ternary/tests/input002.c function main (line 3) | void main() FILE: 49_Ternary/tests/input003.c function main (line 3) | void main() FILE: 49_Ternary/tests/input004.c function main (line 3) | void main() FILE: 49_Ternary/tests/input005.c function main (line 3) | void main() FILE: 49_Ternary/tests/input006.c function main (line 3) | void main() FILE: 49_Ternary/tests/input007.c function main (line 3) | void main() FILE: 49_Ternary/tests/input008.c function main (line 3) | void main() FILE: 49_Ternary/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 49_Ternary/tests/input010.c function main (line 3) | void main() FILE: 49_Ternary/tests/input011.c function main (line 3) | int main() FILE: 49_Ternary/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 49_Ternary/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 49_Ternary/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 49_Ternary/tests/input015.c function main (line 3) | int main() { FILE: 49_Ternary/tests/input016.c function main (line 8) | int main() { FILE: 49_Ternary/tests/input017.c function main (line 3) | int main() { FILE: 49_Ternary/tests/input018.c function main (line 3) | int main() FILE: 49_Ternary/tests/input018a.c function main (line 8) | int main() FILE: 49_Ternary/tests/input019.c function main (line 8) | int main() FILE: 49_Ternary/tests/input020.c function main (line 6) | int main() { FILE: 49_Ternary/tests/input021.c function main (line 6) | int main() { FILE: 49_Ternary/tests/input022.c function main (line 8) | int main() { FILE: 49_Ternary/tests/input023.c function main (line 6) | int main() { FILE: 49_Ternary/tests/input024.c function main (line 6) | int main() { FILE: 49_Ternary/tests/input025.c function main (line 7) | int main() FILE: 49_Ternary/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 49_Ternary/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 49_Ternary/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 49_Ternary/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 49_Ternary/tests/input030.c function main (line 10) | int main() { FILE: 49_Ternary/tests/input031.c function main (line 3) | int main() { FILE: 49_Ternary/tests/input032.c function main (line 3) | int main() { FILE: 49_Ternary/tests/input033.c function main (line 3) | int main() { FILE: 49_Ternary/tests/input034.c function main (line 3) | int main() { FILE: 49_Ternary/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 49_Ternary/tests/input039.c function main (line 3) | int main() { int a; } FILE: 49_Ternary/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 49_Ternary/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 49_Ternary/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 49_Ternary/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 49_Ternary/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 49_Ternary/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 49_Ternary/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 49_Ternary/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 49_Ternary/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 49_Ternary/tests/input049.c function main (line 3) | int main() { FILE: 49_Ternary/tests/input050.c function main (line 3) | int main() { FILE: 49_Ternary/tests/input051.c function main (line 3) | int main() { FILE: 49_Ternary/tests/input052.c function main (line 3) | int main() { FILE: 49_Ternary/tests/input053.c function main (line 3) | int main() FILE: 49_Ternary/tests/input054.c function main (line 3) | int main() FILE: 49_Ternary/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 49_Ternary/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 49_Ternary/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 49_Ternary/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 49_Ternary/tests/input059.c function main (line 1) | int main() { FILE: 49_Ternary/tests/input060.c function main (line 1) | int main() { FILE: 49_Ternary/tests/input061.c function main (line 1) | int main() { FILE: 49_Ternary/tests/input062.c function main (line 13) | int main() { FILE: 49_Ternary/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 49_Ternary/tests/input064.c type fred (line 1) | enum fred FILE: 49_Ternary/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 49_Ternary/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 49_Ternary/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 49_Ternary/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 49_Ternary/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 49_Ternary/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 49_Ternary/tests/input071.c function main (line 3) | int main() { FILE: 49_Ternary/tests/input072.c function main (line 1) | int main() { break; } FILE: 49_Ternary/tests/input073.c function main (line 1) | int main() { continue; } FILE: 49_Ternary/tests/input074.c function main (line 3) | int main() { FILE: 49_Ternary/tests/input075.c function main (line 1) | int main() { FILE: 49_Ternary/tests/input076.c function main (line 1) | int main() { FILE: 49_Ternary/tests/input077.c function main (line 1) | int main() { FILE: 49_Ternary/tests/input078.c function main (line 1) | int main() { FILE: 49_Ternary/tests/input079.c function main (line 1) | int main() { FILE: 49_Ternary/tests/input080.c function main (line 6) | int main() { FILE: 49_Ternary/tests/input081.c function main (line 6) | int main() { FILE: 49_Ternary/tests/input082.c function main (line 3) | int main() { FILE: 49_Ternary/tests/input083.c function main (line 3) | int main() { FILE: 49_Ternary/tests/input084.c function main (line 3) | int main() { FILE: 49_Ternary/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 49_Ternary/tests/input086.c function main (line 1) | int main() { FILE: 49_Ternary/tests/input087.c type foo (line 1) | struct foo { FILE: 49_Ternary/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 49_Ternary/tests/input089.c function main (line 7) | int main() { FILE: 49_Ternary/tests/input090.c function main (line 6) | int main() { FILE: 49_Ternary/tests/input091.c function main (line 6) | int main() { FILE: 49_Ternary/tests/input097.c function main (line 1) | int main() { FILE: 49_Ternary/tests/input099.c function main (line 19) | int main() { FILE: 49_Ternary/tests/input100.c function main (line 2) | int main() { FILE: 49_Ternary/tests/input101.c function main (line 3) | int main() { FILE: 49_Ternary/tests/input102.c function main (line 1) | int main() { FILE: 49_Ternary/tests/input103.c function main (line 1) | int main() { FILE: 49_Ternary/tests/input104.c function main (line 1) | int main() { FILE: 49_Ternary/tests/input105.c function main (line 1) | int main() { FILE: 49_Ternary/tests/input106.c function main (line 4) | int main() { FILE: 49_Ternary/tests/input107.c function main (line 5) | int main() { FILE: 49_Ternary/tests/input108.c function main (line 1) | int main() { FILE: 49_Ternary/tests/input109.c function main (line 2) | int main() { FILE: 49_Ternary/tests/input110.c function main (line 6) | int main() { FILE: 49_Ternary/tests/input111.c function main (line 2) | int main() { FILE: 49_Ternary/tests/input112.c function main (line 6) | int main() { FILE: 49_Ternary/tests/input113.c function fred (line 4) | void fred(void) { function main (line 8) | int main(void) { FILE: 49_Ternary/tests/input114.c function main (line 2) | int main() { FILE: 49_Ternary/tests/input115.c type foo (line 2) | struct foo { int x; char y; long z; } type blah (line 3) | typedef struct foo blah; type symtable (line 6) | struct symtable { type ASTnode (line 23) | struct ASTnode { function main (line 36) | int main() { FILE: 49_Ternary/tests/input116.c function fred (line 4) | static int fred(void) { return(counter++); } function main (line 6) | int main(void) { FILE: 49_Ternary/tests/input117.c function main (line 7) | int main(void) { FILE: 49_Ternary/tests/input118.c function main (line 1) | int main(void) { FILE: 49_Ternary/tests/input119.c function main (line 6) | int main() { FILE: 49_Ternary/tests/input120.c function main (line 6) | int main() { FILE: 49_Ternary/tests/input121.c function main (line 6) | int main() { FILE: 49_Ternary/tests/out.input030.c function main (line 10) | int main() { FILE: 49_Ternary/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 48) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 49_Ternary/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 50_Mop_up_pt1/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int type) { function freeall_registers (line 111) | void freeall_registers(int keepreg) { function alloc_register (line 120) | int alloc_register(void) { function free_register (line 133) | static void free_register(int reg) { function cgpreamble (line 140) | void cgpreamble() { function cgpostamble (line 170) | void cgpostamble() { function cgfuncpreamble (line 174) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 215) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 224) | int cgloadint(int value, int type) { function cgloadglob (line 236) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 285) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 332) | int cgloadglobstr(int label) { function cgadd (line 341) | int cgadd(int r1, int r2) { function cgsub (line 349) | int cgsub(int r1, int r2) { function cgmul (line 357) | int cgmul(int r1, int r2) { function cgdiv (line 365) | int cgdiv(int r1, int r2) { function cgand (line 374) | int cgand(int r1, int r2) { function cgor (line 380) | int cgor(int r1, int r2) { function cgxor (line 386) | int cgxor(int r1, int r2) { function cgshl (line 392) | int cgshl(int r1, int r2) { function cgshr (line 399) | int cgshr(int r1, int r2) { function cgnegate (line 407) | int cgnegate(int r) { function cginvert (line 413) | int cginvert(int r) { function cglognot (line 419) | int cglognot(int r) { function cglogor (line 428) | int cglogor(int r1, int r2) { function cglogand (line 455) | int cglogand(int r1, int r2) { function cgboolean (line 482) | int cgboolean(int r, int op, int label) { function cgcall (line 496) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 513) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 529) | int cgshlconst(int r, int val) { function cgstorglob (line 535) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 554) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 573) | void cgglobsym(struct symtable *node) { function cgglobstr (line 632) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 647) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 661) | void cglabel(int l) { function cgjump (line 666) | void cgjump(int l) { function cgcompare_and_jump (line 675) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 690) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 696) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 724) | int cgaddress(struct symtable *sym) { function cgderef (line 736) | int cgderef(int r, int type) { function cgstorderef (line 760) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 781) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 810) | void cgmove(int r1, int r2) { FILE: 50_Mop_up_pt1/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 50_Mop_up_pt1/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | int newlocaloffset(int type) { function freeall_registers (line 102) | void freeall_registers(int keepreg) { function alloc_register (line 111) | int alloc_register(void) { function free_register (line 124) | static void free_register(int reg) { function cgpreamble (line 131) | void cgpreamble() { function cgpostamble (line 168) | void cgpostamble() { function cgfuncpreamble (line 172) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 215) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 224) | int cgloadint(int value, int type) { function cgloadglob (line 236) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 288) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 340) | int cgloadglobstr(int label) { function cgadd (line 349) | int cgadd(int r1, int r2) { function cgsub (line 357) | int cgsub(int r1, int r2) { function cgmul (line 365) | int cgmul(int r1, int r2) { function cgdiv (line 373) | int cgdiv(int r1, int r2) { function cgand (line 382) | int cgand(int r1, int r2) { function cgor (line 388) | int cgor(int r1, int r2) { function cgxor (line 394) | int cgxor(int r1, int r2) { function cgshl (line 400) | int cgshl(int r1, int r2) { function cgshr (line 407) | int cgshr(int r1, int r2) { function cgnegate (line 415) | int cgnegate(int r) { function cginvert (line 421) | int cginvert(int r) { function cglognot (line 427) | int cglognot(int r) { function cglogor (line 436) | int cglogor(int r1, int r2) { function cglogand (line 463) | int cglogand(int r1, int r2) { function cgboolean (line 490) | int cgboolean(int r, int op, int label) { function cgcall (line 504) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 521) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 537) | int cgshlconst(int r, int val) { function cgstorglob (line 543) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 561) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 582) | void cgglobsym(struct symtable *node) { function cgglobstr (line 645) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 699) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 713) | void cglabel(int l) { function cgjump (line 718) | void cgjump(int l) { function cgcompare_and_jump (line 727) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 742) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 748) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 775) | int cgaddress(struct symtable *sym) { function cgderef (line 788) | int cgderef(int r, int type) { function cgstorderef (line 812) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 833) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 862) | void cgmove(int r1, int r2) { FILE: 50_Mop_up_pt1/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 97) | int parse_stars(int type) { function parse_cast (line 109) | int parse_cast(void) { function parse_literal (line 127) | int parse_literal(int type) { type symtable (line 166) | struct symtable type symtable (line 167) | struct symtable type ASTnode (line 169) | struct ASTnode type symtable (line 170) | struct symtable type ASTnode (line 171) | struct ASTnode type symtable (line 236) | struct symtable type symtable (line 237) | struct symtable type symtable (line 239) | struct symtable function param_declaration_list (line 336) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 394) | struct symtable type symtable (line 395) | struct symtable type ASTnode (line 397) | struct ASTnode type symtable (line 398) | struct symtable type symtable (line 487) | struct symtable type symtable (line 488) | struct symtable type symtable (line 489) | struct symtable type ASTnode (line 490) | struct ASTnode function enum_declaration (line 570) | static void enum_declaration(void) { function typedef_declaration (line 638) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 663) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 680) | struct symtable type symtable (line 680) | struct symtable type ASTnode (line 682) | struct ASTnode type symtable (line 683) | struct symtable function declaration_list (line 721) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 766) | void global_declarations(void) { FILE: 50_Mop_up_pt1/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 27) | struct symtable type symtable (line 42) | struct symtable type symtable (line 43) | struct symtable type symtable (line 45) | struct symtable type symtable (line 46) | struct symtable type symtable (line 53) | struct symtable type symtable (line 55) | struct symtable type symtable (line 56) | struct symtable type symtable (line 57) | struct symtable type symtable (line 64) | struct symtable type symtable (line 65) | struct symtable type ASTnode (line 84) | struct ASTnode type ASTnode (line 85) | struct ASTnode type ASTnode (line 88) | struct ASTnode type symtable (line 105) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 107) | struct symtable type symtable (line 109) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 122) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 125) | struct symtable type symtable (line 129) | struct symtable type symtable (line 133) | struct symtable type symtable (line 136) | struct symtable type ASTnode (line 137) | struct ASTnode type symtable (line 145) | struct symtable type ASTnode (line 146) | struct ASTnode type ASTnode (line 146) | struct ASTnode type ASTnode (line 149) | struct ASTnode type ASTnode (line 149) | struct ASTnode FILE: 50_Mop_up_pt1/defs.h type token (line 58) | struct token { type symtable (line 108) | struct symtable { type ASTnode (line 125) | struct ASTnode { FILE: 50_Mop_up_pt1/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 49) | struct ASTnode type symtable (line 50) | struct symtable type ASTnode (line 76) | struct ASTnode type ASTnode (line 77) | struct ASTnode type symtable (line 78) | struct symtable type ASTnode (line 114) | struct ASTnode type ASTnode (line 115) | struct ASTnode type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type ASTnode (line 168) | struct ASTnode type ASTnode (line 169) | struct ASTnode type symtable (line 170) | struct symtable type symtable (line 171) | struct symtable type ASTnode (line 224) | struct ASTnode type ASTnode (line 225) | struct ASTnode type symtable (line 229) | struct symtable function binastop (line 319) | static int binastop(int tokentype) { function rightassoc (line 328) | static int rightassoc(int tokentype) { function op_precedence (line 351) | static int op_precedence(int tokentype) { type ASTnode (line 371) | struct ASTnode type ASTnode (line 372) | struct ASTnode type ASTnode (line 472) | struct ASTnode type ASTnode (line 473) | struct ASTnode type ASTnode (line 474) | struct ASTnode FILE: 50_Mop_up_pt1/gen.c function genlabel (line 10) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_funccall (line 141) | static int gen_funccall(struct ASTnode *n) { function gen_ternary (line 167) | static int gen_ternary(struct ASTnode *n) { function genAST (line 207) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 417) | void genpreamble() { function genpostamble (line 420) | void genpostamble() { function genfreeregs (line 423) | void genfreeregs(int keepreg) { function genglobsym (line 426) | void genglobsym(struct symtable *node) { function genglobstr (line 429) | int genglobstr(char *strvalue) { function genprimsize (line 434) | int genprimsize(int type) { function genalign (line 437) | int genalign(int type, int offset, int direction) { FILE: 50_Mop_up_pt1/main.c function do_link (line 115) | void do_link(char *outfilename, char *objlist[]) { function usage (line 144) | static void usage(char *prog) { function main (line 160) | int main(int argc, char *argv[]) { FILE: 50_Mop_up_pt1/misc.c function match (line 13) | void match(int t, char *what) { function semi (line 22) | void semi(void) { function lbrace (line 27) | void lbrace(void) { function rbrace (line 32) | void rbrace(void) { function lparen (line 37) | void lparen(void) { function rparen (line 42) | void rparen(void) { function ident (line 47) | void ident(void) { function comma (line 52) | void comma(void) { function fatal (line 57) | void fatal(char *s) { function fatals (line 64) | void fatals(char *s1, char *s2) { function fatald (line 71) | void fatald(char *s, int d) { function fatalc (line 78) | void fatalc(char *s, int c) { FILE: 50_Mop_up_pt1/opt.c type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 99) | struct ASTnode FILE: 50_Mop_up_pt1/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 55) | static void putback(int c) { function skip (line 62) | static int skip(void) { function hexchar (line 73) | static int hexchar(void) { function scanch (line 96) | static int scanch(void) { function scanint (line 154) | static int scanint(int c) { function scanstr (line 184) | static int scanstr(char *buf) { function scanident (line 204) | static int scanident(int c, char *buf, int lim) { function keyword (line 229) | static int keyword(char *s) { function scan (line 321) | int scan(struct token *t) { FILE: 50_Mop_up_pt1/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 173) | struct ASTnode type ASTnode (line 185) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 196) | struct ASTnode type ASTnode (line 197) | struct ASTnode type ASTnode (line 287) | struct ASTnode type ASTnode (line 288) | struct ASTnode type symtable (line 289) | struct symtable type ASTnode (line 343) | struct ASTnode type ASTnode (line 344) | struct ASTnode type ASTnode (line 345) | struct ASTnode FILE: 50_Mop_up_pt1/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 66) | struct symtable type symtable (line 66) | struct symtable type symtable (line 68) | struct symtable type symtable (line 78) | struct symtable type symtable (line 78) | struct symtable type symtable (line 80) | struct symtable type symtable (line 89) | struct symtable type symtable (line 89) | struct symtable type symtable (line 91) | struct symtable type symtable (line 97) | struct symtable type symtable (line 97) | struct symtable type symtable (line 99) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 125) | struct symtable type symtable (line 126) | struct symtable type symtable (line 132) | struct symtable type symtable (line 132) | struct symtable type symtable (line 133) | struct symtable type symtable (line 141) | struct symtable type symtable (line 141) | struct symtable type symtable (line 152) | struct symtable type symtable (line 158) | struct symtable type symtable (line 159) | struct symtable type symtable (line 172) | struct symtable type symtable (line 173) | struct symtable type symtable (line 190) | struct symtable type symtable (line 196) | struct symtable type symtable (line 202) | struct symtable type symtable (line 208) | struct symtable type symtable (line 214) | struct symtable type symtable (line 220) | struct symtable function clear_symtable (line 225) | void clear_symtable(void) { function freeloclsyms (line 237) | void freeloclsyms(void) { function freestaticsyms (line 244) | void freestaticsyms(void) { function dumpsym (line 276) | static void dumpsym(struct symtable *sym, int indent) { function dumptable (line 393) | void dumptable(struct symtable *head, char *name, int indent) { function dumpsymtables (line 402) | void dumpsymtables(void) { FILE: 50_Mop_up_pt1/tests/err.input065.c type type (line 1) | enum type FILE: 50_Mop_up_pt1/tests/err.input066.c type value (line 1) | enum value FILE: 50_Mop_up_pt1/tests/input001.c function main (line 3) | void main() FILE: 50_Mop_up_pt1/tests/input002.c function main (line 3) | void main() FILE: 50_Mop_up_pt1/tests/input003.c function main (line 3) | void main() FILE: 50_Mop_up_pt1/tests/input004.c function main (line 3) | void main() FILE: 50_Mop_up_pt1/tests/input005.c function main (line 3) | void main() FILE: 50_Mop_up_pt1/tests/input006.c function main (line 3) | void main() FILE: 50_Mop_up_pt1/tests/input007.c function main (line 3) | void main() FILE: 50_Mop_up_pt1/tests/input008.c function main (line 3) | void main() FILE: 50_Mop_up_pt1/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 50_Mop_up_pt1/tests/input010.c function main (line 3) | void main() FILE: 50_Mop_up_pt1/tests/input011.c function main (line 3) | int main() FILE: 50_Mop_up_pt1/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 50_Mop_up_pt1/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 50_Mop_up_pt1/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 50_Mop_up_pt1/tests/input015.c function main (line 3) | int main() { FILE: 50_Mop_up_pt1/tests/input016.c function main (line 8) | int main() { FILE: 50_Mop_up_pt1/tests/input017.c function main (line 3) | int main() { FILE: 50_Mop_up_pt1/tests/input018.c function main (line 3) | int main() FILE: 50_Mop_up_pt1/tests/input018a.c function main (line 8) | int main() FILE: 50_Mop_up_pt1/tests/input019.c function main (line 8) | int main() FILE: 50_Mop_up_pt1/tests/input020.c function main (line 6) | int main() { FILE: 50_Mop_up_pt1/tests/input021.c function main (line 6) | int main() { FILE: 50_Mop_up_pt1/tests/input022.c function main (line 8) | int main() { FILE: 50_Mop_up_pt1/tests/input023.c function main (line 6) | int main() { FILE: 50_Mop_up_pt1/tests/input024.c function main (line 6) | int main() { FILE: 50_Mop_up_pt1/tests/input025.c function main (line 7) | int main() FILE: 50_Mop_up_pt1/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 50_Mop_up_pt1/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 50_Mop_up_pt1/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 50_Mop_up_pt1/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 50_Mop_up_pt1/tests/input030.c function main (line 10) | int main() { FILE: 50_Mop_up_pt1/tests/input031.c function main (line 3) | int main() { FILE: 50_Mop_up_pt1/tests/input032.c function main (line 3) | int main() { FILE: 50_Mop_up_pt1/tests/input033.c function main (line 3) | int main() { FILE: 50_Mop_up_pt1/tests/input034.c function main (line 3) | int main() { FILE: 50_Mop_up_pt1/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 50_Mop_up_pt1/tests/input039.c function main (line 3) | int main() { int a; } FILE: 50_Mop_up_pt1/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 50_Mop_up_pt1/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 50_Mop_up_pt1/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 50_Mop_up_pt1/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 50_Mop_up_pt1/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 50_Mop_up_pt1/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 50_Mop_up_pt1/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 50_Mop_up_pt1/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 50_Mop_up_pt1/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 50_Mop_up_pt1/tests/input049.c function main (line 3) | int main() { FILE: 50_Mop_up_pt1/tests/input050.c function main (line 3) | int main() { FILE: 50_Mop_up_pt1/tests/input051.c function main (line 3) | int main() { FILE: 50_Mop_up_pt1/tests/input052.c function main (line 3) | int main() { FILE: 50_Mop_up_pt1/tests/input053.c function main (line 3) | int main() FILE: 50_Mop_up_pt1/tests/input054.c function main (line 3) | int main() FILE: 50_Mop_up_pt1/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 50_Mop_up_pt1/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 50_Mop_up_pt1/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 50_Mop_up_pt1/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 50_Mop_up_pt1/tests/input059.c function main (line 1) | int main() { FILE: 50_Mop_up_pt1/tests/input060.c function main (line 1) | int main() { FILE: 50_Mop_up_pt1/tests/input061.c function main (line 1) | int main() { FILE: 50_Mop_up_pt1/tests/input062.c function main (line 13) | int main() { FILE: 50_Mop_up_pt1/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 50_Mop_up_pt1/tests/input064.c type fred (line 1) | enum fred FILE: 50_Mop_up_pt1/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 50_Mop_up_pt1/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 50_Mop_up_pt1/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 50_Mop_up_pt1/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 50_Mop_up_pt1/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 50_Mop_up_pt1/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 50_Mop_up_pt1/tests/input071.c function main (line 3) | int main() { FILE: 50_Mop_up_pt1/tests/input072.c function main (line 1) | int main() { break; } FILE: 50_Mop_up_pt1/tests/input073.c function main (line 1) | int main() { continue; } FILE: 50_Mop_up_pt1/tests/input074.c function main (line 3) | int main() { FILE: 50_Mop_up_pt1/tests/input075.c function main (line 1) | int main() { FILE: 50_Mop_up_pt1/tests/input076.c function main (line 1) | int main() { FILE: 50_Mop_up_pt1/tests/input077.c function main (line 1) | int main() { FILE: 50_Mop_up_pt1/tests/input078.c function main (line 1) | int main() { FILE: 50_Mop_up_pt1/tests/input079.c function main (line 1) | int main() { FILE: 50_Mop_up_pt1/tests/input080.c function main (line 6) | int main() { FILE: 50_Mop_up_pt1/tests/input081.c function main (line 6) | int main() { FILE: 50_Mop_up_pt1/tests/input082.c function main (line 3) | int main() { FILE: 50_Mop_up_pt1/tests/input083.c function main (line 3) | int main() { FILE: 50_Mop_up_pt1/tests/input084.c function main (line 3) | int main() { FILE: 50_Mop_up_pt1/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 50_Mop_up_pt1/tests/input086.c function main (line 1) | int main() { FILE: 50_Mop_up_pt1/tests/input087.c type foo (line 1) | struct foo { FILE: 50_Mop_up_pt1/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 50_Mop_up_pt1/tests/input089.c function main (line 7) | int main() { FILE: 50_Mop_up_pt1/tests/input090.c function main (line 6) | int main() { FILE: 50_Mop_up_pt1/tests/input091.c function main (line 6) | int main() { FILE: 50_Mop_up_pt1/tests/input097.c function main (line 1) | int main() { FILE: 50_Mop_up_pt1/tests/input099.c function main (line 19) | int main() { FILE: 50_Mop_up_pt1/tests/input100.c function main (line 2) | int main() { FILE: 50_Mop_up_pt1/tests/input101.c function main (line 3) | int main() { FILE: 50_Mop_up_pt1/tests/input102.c function main (line 1) | int main() { FILE: 50_Mop_up_pt1/tests/input103.c function main (line 1) | int main() { FILE: 50_Mop_up_pt1/tests/input104.c function main (line 1) | int main() { FILE: 50_Mop_up_pt1/tests/input105.c function main (line 1) | int main() { FILE: 50_Mop_up_pt1/tests/input106.c function main (line 4) | int main() { FILE: 50_Mop_up_pt1/tests/input107.c function main (line 5) | int main() { FILE: 50_Mop_up_pt1/tests/input108.c function main (line 1) | int main() { FILE: 50_Mop_up_pt1/tests/input109.c function main (line 2) | int main() { FILE: 50_Mop_up_pt1/tests/input110.c function main (line 6) | int main() { FILE: 50_Mop_up_pt1/tests/input111.c function main (line 2) | int main() { FILE: 50_Mop_up_pt1/tests/input112.c function main (line 6) | int main() { FILE: 50_Mop_up_pt1/tests/input113.c function fred (line 4) | void fred(void) { function main (line 8) | int main(void) { FILE: 50_Mop_up_pt1/tests/input114.c function main (line 2) | int main() { FILE: 50_Mop_up_pt1/tests/input115.c type foo (line 2) | struct foo { int x; char y; long z; } type blah (line 3) | typedef struct foo blah; type symtable (line 6) | struct symtable { type ASTnode (line 23) | struct ASTnode { function main (line 36) | int main() { FILE: 50_Mop_up_pt1/tests/input116.c function fred (line 4) | static int fred(void) { return(counter++); } function main (line 6) | int main(void) { FILE: 50_Mop_up_pt1/tests/input117.c function main (line 7) | int main(void) { FILE: 50_Mop_up_pt1/tests/input118.c function main (line 1) | int main(void) { FILE: 50_Mop_up_pt1/tests/input119.c function main (line 6) | int main() { FILE: 50_Mop_up_pt1/tests/input120.c function main (line 6) | int main() { FILE: 50_Mop_up_pt1/tests/input121.c function main (line 6) | int main() { FILE: 50_Mop_up_pt1/tests/input122.c function main (line 5) | int main() { FILE: 50_Mop_up_pt1/tests/input123.c function main (line 3) | int main() { FILE: 50_Mop_up_pt1/tests/out.input030.c function main (line 10) | int main() { FILE: 50_Mop_up_pt1/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 48) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 50_Mop_up_pt1/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 51_Arrays_pt2/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int type) { function freeall_registers (line 111) | void freeall_registers(int keepreg) { function alloc_register (line 120) | int alloc_register(void) { function free_register (line 135) | static void free_register(int reg) { function cgpreamble (line 142) | void cgpreamble() { function cgpostamble (line 172) | void cgpostamble() { function cgfuncpreamble (line 176) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 217) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 226) | int cgloadint(int value, int type) { function cgloadglob (line 238) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 287) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 334) | int cgloadglobstr(int label) { function cgadd (line 343) | int cgadd(int r1, int r2) { function cgsub (line 351) | int cgsub(int r1, int r2) { function cgmul (line 359) | int cgmul(int r1, int r2) { function cgdiv (line 367) | int cgdiv(int r1, int r2) { function cgand (line 376) | int cgand(int r1, int r2) { function cgor (line 382) | int cgor(int r1, int r2) { function cgxor (line 388) | int cgxor(int r1, int r2) { function cgshl (line 394) | int cgshl(int r1, int r2) { function cgshr (line 401) | int cgshr(int r1, int r2) { function cgnegate (line 409) | int cgnegate(int r) { function cginvert (line 415) | int cginvert(int r) { function cglognot (line 421) | int cglognot(int r) { function cglogor (line 430) | int cglogor(int r1, int r2) { function cglogand (line 457) | int cglogand(int r1, int r2) { function cgboolean (line 484) | int cgboolean(int r, int op, int label) { function cgcall (line 498) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 515) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 531) | int cgshlconst(int r, int val) { function cgstorglob (line 537) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 556) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 575) | void cgglobsym(struct symtable *node) { function cgglobstr (line 634) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 649) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 663) | void cglabel(int l) { function cgjump (line 668) | void cgjump(int l) { function cgcompare_and_jump (line 677) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 692) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 698) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 726) | int cgaddress(struct symtable *sym) { function cgderef (line 738) | int cgderef(int r, int type) { function cgstorderef (line 762) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 783) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 812) | void cgmove(int r1, int r2) { FILE: 51_Arrays_pt2/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 51_Arrays_pt2/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | int newlocaloffset(int type) { function freeall_registers (line 102) | void freeall_registers(int keepreg) { function alloc_register (line 111) | int alloc_register(void) { function free_register (line 126) | static void free_register(int reg) { function cgpreamble (line 133) | void cgpreamble() { function cgpostamble (line 170) | void cgpostamble() { function cgfuncpreamble (line 174) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 217) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 226) | int cgloadint(int value, int type) { function cgloadglob (line 238) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 290) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 342) | int cgloadglobstr(int label) { function cgadd (line 351) | int cgadd(int r1, int r2) { function cgsub (line 359) | int cgsub(int r1, int r2) { function cgmul (line 367) | int cgmul(int r1, int r2) { function cgdiv (line 375) | int cgdiv(int r1, int r2) { function cgand (line 384) | int cgand(int r1, int r2) { function cgor (line 390) | int cgor(int r1, int r2) { function cgxor (line 396) | int cgxor(int r1, int r2) { function cgshl (line 402) | int cgshl(int r1, int r2) { function cgshr (line 409) | int cgshr(int r1, int r2) { function cgnegate (line 417) | int cgnegate(int r) { function cginvert (line 423) | int cginvert(int r) { function cglognot (line 429) | int cglognot(int r) { function cglogor (line 438) | int cglogor(int r1, int r2) { function cglogand (line 465) | int cglogand(int r1, int r2) { function cgboolean (line 492) | int cgboolean(int r, int op, int label) { function cgcall (line 506) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 523) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 539) | int cgshlconst(int r, int val) { function cgstorglob (line 545) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 563) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 584) | void cgglobsym(struct symtable *node) { function cgglobstr (line 647) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 701) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 715) | void cglabel(int l) { function cgjump (line 720) | void cgjump(int l) { function cgcompare_and_jump (line 729) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 744) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 750) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 777) | int cgaddress(struct symtable *sym) { function cgderef (line 790) | int cgderef(int r, int type) { function cgstorderef (line 814) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 835) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 864) | void cgmove(int r1, int r2) { FILE: 51_Arrays_pt2/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 97) | int parse_stars(int type) { function parse_cast (line 109) | int parse_cast(void) { function parse_literal (line 127) | int parse_literal(int type) { type symtable (line 166) | struct symtable type symtable (line 167) | struct symtable type ASTnode (line 169) | struct ASTnode type symtable (line 170) | struct symtable type ASTnode (line 171) | struct ASTnode type symtable (line 236) | struct symtable type symtable (line 237) | struct symtable type symtable (line 239) | struct symtable function param_declaration_list (line 336) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 394) | struct symtable type symtable (line 395) | struct symtable type ASTnode (line 397) | struct ASTnode type symtable (line 398) | struct symtable type symtable (line 487) | struct symtable type symtable (line 488) | struct symtable type symtable (line 489) | struct symtable type ASTnode (line 490) | struct ASTnode function enum_declaration (line 570) | static void enum_declaration(void) { function typedef_declaration (line 638) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 663) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 680) | struct symtable type symtable (line 680) | struct symtable type ASTnode (line 682) | struct ASTnode type symtable (line 683) | struct symtable function declaration_list (line 721) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 766) | void global_declarations(void) { FILE: 51_Arrays_pt2/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type symtable (line 15) | struct symtable type ASTnode (line 16) | struct ASTnode type ASTnode (line 16) | struct ASTnode type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type ASTnode (line 22) | struct ASTnode type symtable (line 27) | struct symtable type symtable (line 42) | struct symtable type symtable (line 43) | struct symtable type symtable (line 45) | struct symtable type symtable (line 46) | struct symtable type symtable (line 53) | struct symtable type symtable (line 55) | struct symtable type symtable (line 56) | struct symtable type symtable (line 57) | struct symtable type symtable (line 64) | struct symtable type symtable (line 65) | struct symtable type ASTnode (line 84) | struct ASTnode type ASTnode (line 85) | struct ASTnode type ASTnode (line 88) | struct ASTnode type symtable (line 105) | struct symtable type symtable (line 105) | struct symtable type symtable (line 106) | struct symtable type symtable (line 107) | struct symtable type symtable (line 107) | struct symtable type symtable (line 109) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 122) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 125) | struct symtable type symtable (line 129) | struct symtable type symtable (line 133) | struct symtable type symtable (line 136) | struct symtable type ASTnode (line 137) | struct ASTnode type symtable (line 145) | struct symtable type ASTnode (line 146) | struct ASTnode type ASTnode (line 146) | struct ASTnode type ASTnode (line 149) | struct ASTnode type ASTnode (line 149) | struct ASTnode FILE: 51_Arrays_pt2/defs.h type token (line 58) | struct token { type symtable (line 108) | struct symtable { type ASTnode (line 125) | struct ASTnode { FILE: 51_Arrays_pt2/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 49) | struct ASTnode type symtable (line 50) | struct symtable type ASTnode (line 76) | struct ASTnode type ASTnode (line 77) | struct ASTnode type symtable (line 78) | struct symtable type ASTnode (line 123) | struct ASTnode type ASTnode (line 124) | struct ASTnode type symtable (line 125) | struct symtable type symtable (line 126) | struct symtable type symtable (line 127) | struct symtable type ASTnode (line 177) | struct ASTnode type ASTnode (line 178) | struct ASTnode type symtable (line 179) | struct symtable type symtable (line 180) | struct symtable type ASTnode (line 246) | struct ASTnode type ASTnode (line 247) | struct ASTnode type symtable (line 251) | struct symtable function binastop (line 341) | static int binastop(int tokentype) { function rightassoc (line 350) | static int rightassoc(int tokentype) { function op_precedence (line 373) | static int op_precedence(int tokentype) { type ASTnode (line 393) | struct ASTnode type ASTnode (line 394) | struct ASTnode type ASTnode (line 498) | struct ASTnode type ASTnode (line 499) | struct ASTnode type ASTnode (line 500) | struct ASTnode FILE: 51_Arrays_pt2/gen.c function genlabel (line 10) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_funccall (line 141) | static int gen_funccall(struct ASTnode *n) { function gen_ternary (line 167) | static int gen_ternary(struct ASTnode *n) { function genAST (line 207) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 417) | void genpreamble() { function genpostamble (line 420) | void genpostamble() { function genfreeregs (line 423) | void genfreeregs(int keepreg) { function genglobsym (line 426) | void genglobsym(struct symtable *node) { function genglobstr (line 429) | int genglobstr(char *strvalue) { function genprimsize (line 434) | int genprimsize(int type) { function genalign (line 437) | int genalign(int type, int offset, int direction) { FILE: 51_Arrays_pt2/main.c function do_link (line 115) | void do_link(char *outfilename, char *objlist[]) { function usage (line 144) | static void usage(char *prog) { function main (line 160) | int main(int argc, char *argv[]) { FILE: 51_Arrays_pt2/misc.c function match (line 13) | void match(int t, char *what) { function semi (line 22) | void semi(void) { function lbrace (line 27) | void lbrace(void) { function rbrace (line 32) | void rbrace(void) { function lparen (line 37) | void lparen(void) { function rparen (line 42) | void rparen(void) { function ident (line 47) | void ident(void) { function comma (line 52) | void comma(void) { function fatal (line 57) | void fatal(char *s) { function fatals (line 64) | void fatals(char *s1, char *s2) { function fatald (line 71) | void fatald(char *s, int d) { function fatalc (line 78) | void fatalc(char *s, int c) { FILE: 51_Arrays_pt2/opt.c type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 99) | struct ASTnode FILE: 51_Arrays_pt2/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 18) | static int next(void) { function putback (line 55) | static void putback(int c) { function skip (line 62) | static int skip(void) { function hexchar (line 73) | static int hexchar(void) { function scanch (line 96) | static int scanch(void) { function scanint (line 154) | static int scanint(int c) { function scanstr (line 184) | static int scanstr(char *buf) { function scanident (line 204) | static int scanident(int c, char *buf, int lim) { function keyword (line 229) | static int keyword(char *s) { function scan (line 321) | int scan(struct token *t) { FILE: 51_Arrays_pt2/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 67) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 142) | struct ASTnode type ASTnode (line 143) | struct ASTnode type ASTnode (line 173) | struct ASTnode type ASTnode (line 185) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 196) | struct ASTnode type ASTnode (line 197) | struct ASTnode type ASTnode (line 287) | struct ASTnode type ASTnode (line 288) | struct ASTnode type symtable (line 289) | struct symtable type ASTnode (line 343) | struct ASTnode type ASTnode (line 344) | struct ASTnode type ASTnode (line 345) | struct ASTnode FILE: 51_Arrays_pt2/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 66) | struct symtable type symtable (line 66) | struct symtable type symtable (line 68) | struct symtable type symtable (line 78) | struct symtable type symtable (line 78) | struct symtable type symtable (line 80) | struct symtable type symtable (line 89) | struct symtable type symtable (line 89) | struct symtable type symtable (line 91) | struct symtable type symtable (line 97) | struct symtable type symtable (line 97) | struct symtable type symtable (line 99) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 125) | struct symtable type symtable (line 126) | struct symtable type symtable (line 132) | struct symtable type symtable (line 132) | struct symtable type symtable (line 133) | struct symtable type symtable (line 141) | struct symtable type symtable (line 141) | struct symtable type symtable (line 152) | struct symtable type symtable (line 158) | struct symtable type symtable (line 159) | struct symtable type symtable (line 172) | struct symtable type symtable (line 173) | struct symtable type symtable (line 190) | struct symtable type symtable (line 196) | struct symtable type symtable (line 202) | struct symtable type symtable (line 208) | struct symtable type symtable (line 214) | struct symtable type symtable (line 220) | struct symtable function clear_symtable (line 225) | void clear_symtable(void) { function freeloclsyms (line 237) | void freeloclsyms(void) { function freestaticsyms (line 244) | void freestaticsyms(void) { function dumpsym (line 276) | static void dumpsym(struct symtable *sym, int indent) { function dumptable (line 393) | void dumptable(struct symtable *head, char *name, int indent) { function dumpsymtables (line 402) | void dumpsymtables(void) { FILE: 51_Arrays_pt2/tests/err.input065.c type type (line 1) | enum type FILE: 51_Arrays_pt2/tests/err.input066.c type value (line 1) | enum value FILE: 51_Arrays_pt2/tests/input001.c function main (line 3) | void main() FILE: 51_Arrays_pt2/tests/input002.c function main (line 3) | void main() FILE: 51_Arrays_pt2/tests/input003.c function main (line 3) | void main() FILE: 51_Arrays_pt2/tests/input004.c function main (line 3) | void main() FILE: 51_Arrays_pt2/tests/input005.c function main (line 3) | void main() FILE: 51_Arrays_pt2/tests/input006.c function main (line 3) | void main() FILE: 51_Arrays_pt2/tests/input007.c function main (line 3) | void main() FILE: 51_Arrays_pt2/tests/input008.c function main (line 3) | void main() FILE: 51_Arrays_pt2/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 51_Arrays_pt2/tests/input010.c function main (line 3) | void main() FILE: 51_Arrays_pt2/tests/input011.c function main (line 3) | int main() FILE: 51_Arrays_pt2/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 51_Arrays_pt2/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 51_Arrays_pt2/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 51_Arrays_pt2/tests/input015.c function main (line 3) | int main() { FILE: 51_Arrays_pt2/tests/input016.c function main (line 8) | int main() { FILE: 51_Arrays_pt2/tests/input017.c function main (line 3) | int main() { FILE: 51_Arrays_pt2/tests/input018.c function main (line 3) | int main() FILE: 51_Arrays_pt2/tests/input018a.c function main (line 8) | int main() FILE: 51_Arrays_pt2/tests/input019.c function main (line 8) | int main() FILE: 51_Arrays_pt2/tests/input020.c function main (line 6) | int main() { FILE: 51_Arrays_pt2/tests/input021.c function main (line 6) | int main() { FILE: 51_Arrays_pt2/tests/input022.c function main (line 8) | int main() { FILE: 51_Arrays_pt2/tests/input023.c function main (line 6) | int main() { FILE: 51_Arrays_pt2/tests/input024.c function main (line 6) | int main() { FILE: 51_Arrays_pt2/tests/input025.c function main (line 7) | int main() FILE: 51_Arrays_pt2/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 51_Arrays_pt2/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 51_Arrays_pt2/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 51_Arrays_pt2/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 51_Arrays_pt2/tests/input030.c function main (line 10) | int main() { FILE: 51_Arrays_pt2/tests/input031.c function main (line 3) | int main() { FILE: 51_Arrays_pt2/tests/input032.c function main (line 3) | int main() { FILE: 51_Arrays_pt2/tests/input033.c function main (line 3) | int main() { FILE: 51_Arrays_pt2/tests/input034.c function main (line 3) | int main() { FILE: 51_Arrays_pt2/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 51_Arrays_pt2/tests/input039.c function main (line 3) | int main() { int a; } FILE: 51_Arrays_pt2/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 51_Arrays_pt2/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 51_Arrays_pt2/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 51_Arrays_pt2/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 51_Arrays_pt2/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 51_Arrays_pt2/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 51_Arrays_pt2/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 51_Arrays_pt2/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 51_Arrays_pt2/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 51_Arrays_pt2/tests/input049.c function main (line 3) | int main() { FILE: 51_Arrays_pt2/tests/input050.c function main (line 3) | int main() { FILE: 51_Arrays_pt2/tests/input051.c function main (line 3) | int main() { FILE: 51_Arrays_pt2/tests/input052.c function main (line 3) | int main() { FILE: 51_Arrays_pt2/tests/input053.c function main (line 3) | int main() FILE: 51_Arrays_pt2/tests/input054.c function main (line 3) | int main() FILE: 51_Arrays_pt2/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 51_Arrays_pt2/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 51_Arrays_pt2/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 51_Arrays_pt2/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 51_Arrays_pt2/tests/input059.c function main (line 1) | int main() { FILE: 51_Arrays_pt2/tests/input060.c function main (line 1) | int main() { FILE: 51_Arrays_pt2/tests/input061.c function main (line 1) | int main() { FILE: 51_Arrays_pt2/tests/input062.c function main (line 13) | int main() { FILE: 51_Arrays_pt2/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 51_Arrays_pt2/tests/input064.c type fred (line 1) | enum fred FILE: 51_Arrays_pt2/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 51_Arrays_pt2/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 51_Arrays_pt2/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 51_Arrays_pt2/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 51_Arrays_pt2/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 51_Arrays_pt2/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 51_Arrays_pt2/tests/input071.c function main (line 3) | int main() { FILE: 51_Arrays_pt2/tests/input072.c function main (line 1) | int main() { break; } FILE: 51_Arrays_pt2/tests/input073.c function main (line 1) | int main() { continue; } FILE: 51_Arrays_pt2/tests/input074.c function main (line 3) | int main() { FILE: 51_Arrays_pt2/tests/input075.c function main (line 1) | int main() { FILE: 51_Arrays_pt2/tests/input076.c function main (line 1) | int main() { FILE: 51_Arrays_pt2/tests/input077.c function main (line 1) | int main() { FILE: 51_Arrays_pt2/tests/input078.c function main (line 1) | int main() { FILE: 51_Arrays_pt2/tests/input079.c function main (line 1) | int main() { FILE: 51_Arrays_pt2/tests/input080.c function main (line 6) | int main() { FILE: 51_Arrays_pt2/tests/input081.c function main (line 6) | int main() { FILE: 51_Arrays_pt2/tests/input082.c function main (line 3) | int main() { FILE: 51_Arrays_pt2/tests/input083.c function main (line 3) | int main() { FILE: 51_Arrays_pt2/tests/input084.c function main (line 3) | int main() { FILE: 51_Arrays_pt2/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 51_Arrays_pt2/tests/input086.c function main (line 1) | int main() { FILE: 51_Arrays_pt2/tests/input087.c type foo (line 1) | struct foo { FILE: 51_Arrays_pt2/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 51_Arrays_pt2/tests/input089.c function main (line 7) | int main() { FILE: 51_Arrays_pt2/tests/input090.c function main (line 6) | int main() { FILE: 51_Arrays_pt2/tests/input091.c function main (line 6) | int main() { FILE: 51_Arrays_pt2/tests/input097.c function main (line 1) | int main() { FILE: 51_Arrays_pt2/tests/input099.c function main (line 19) | int main() { FILE: 51_Arrays_pt2/tests/input100.c function main (line 2) | int main() { FILE: 51_Arrays_pt2/tests/input101.c function main (line 3) | int main() { FILE: 51_Arrays_pt2/tests/input102.c function main (line 1) | int main() { FILE: 51_Arrays_pt2/tests/input103.c function main (line 1) | int main() { FILE: 51_Arrays_pt2/tests/input104.c function main (line 1) | int main() { FILE: 51_Arrays_pt2/tests/input105.c function main (line 1) | int main() { FILE: 51_Arrays_pt2/tests/input106.c function main (line 4) | int main() { FILE: 51_Arrays_pt2/tests/input107.c function main (line 5) | int main() { FILE: 51_Arrays_pt2/tests/input108.c function main (line 1) | int main() { FILE: 51_Arrays_pt2/tests/input109.c function main (line 2) | int main() { FILE: 51_Arrays_pt2/tests/input110.c function main (line 6) | int main() { FILE: 51_Arrays_pt2/tests/input111.c function main (line 2) | int main() { FILE: 51_Arrays_pt2/tests/input112.c function main (line 6) | int main() { FILE: 51_Arrays_pt2/tests/input113.c function fred (line 4) | void fred(void) { function main (line 8) | int main(void) { FILE: 51_Arrays_pt2/tests/input114.c function main (line 2) | int main() { FILE: 51_Arrays_pt2/tests/input115.c type foo (line 2) | struct foo { int x; char y; long z; } type blah (line 3) | typedef struct foo blah; type symtable (line 6) | struct symtable { type ASTnode (line 23) | struct ASTnode { function main (line 36) | int main() { FILE: 51_Arrays_pt2/tests/input116.c function fred (line 4) | static int fred(void) { return(counter++); } function main (line 6) | int main(void) { FILE: 51_Arrays_pt2/tests/input117.c function main (line 7) | int main(void) { FILE: 51_Arrays_pt2/tests/input118.c function main (line 1) | int main(void) { FILE: 51_Arrays_pt2/tests/input119.c function main (line 6) | int main() { FILE: 51_Arrays_pt2/tests/input120.c function main (line 6) | int main() { FILE: 51_Arrays_pt2/tests/input121.c function main (line 6) | int main() { FILE: 51_Arrays_pt2/tests/input122.c function main (line 5) | int main() { FILE: 51_Arrays_pt2/tests/input123.c function main (line 3) | int main() { FILE: 51_Arrays_pt2/tests/input124.c function main (line 5) | int main() { FILE: 51_Arrays_pt2/tests/input125.c function main (line 7) | int main() { FILE: 51_Arrays_pt2/tests/input126.c function main (line 5) | int main() { FILE: 51_Arrays_pt2/tests/input127.c function fred (line 5) | void fred(int *ptr) { // Receive a pointer function main (line 9) | int main() { FILE: 51_Arrays_pt2/tests/out.input030.c function main (line 10) | int main() { FILE: 51_Arrays_pt2/tree.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 10) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type symtable (line 13) | struct symtable type ASTnode (line 14) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 17) | struct ASTnode type ASTnode (line 34) | struct ASTnode type symtable (line 35) | struct symtable type ASTnode (line 40) | struct ASTnode type ASTnode (line 40) | struct ASTnode type symtable (line 41) | struct symtable function gendumplabel (line 48) | static int gendumplabel(void) { function dumpAST (line 54) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 51_Arrays_pt2/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode FILE: 52_Pointers_pt2/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int type) { function freeall_registers (line 111) | void freeall_registers(int keepreg) { function alloc_register (line 120) | int alloc_register(void) { function free_register (line 135) | static void free_register(int reg) { function cgpreamble (line 142) | void cgpreamble() { function cgpostamble (line 172) | void cgpostamble() { function cgfuncpreamble (line 176) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 217) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 226) | int cgloadint(int value, int type) { function cgloadglob (line 238) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 287) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 336) | int cgloadglobstr(int label) { function cgadd (line 345) | int cgadd(int r1, int r2) { function cgsub (line 353) | int cgsub(int r1, int r2) { function cgmul (line 361) | int cgmul(int r1, int r2) { function cgdiv (line 369) | int cgdiv(int r1, int r2) { function cgand (line 378) | int cgand(int r1, int r2) { function cgor (line 384) | int cgor(int r1, int r2) { function cgxor (line 390) | int cgxor(int r1, int r2) { function cgshl (line 396) | int cgshl(int r1, int r2) { function cgshr (line 403) | int cgshr(int r1, int r2) { function cgnegate (line 411) | int cgnegate(int r) { function cginvert (line 417) | int cginvert(int r) { function cglognot (line 423) | int cglognot(int r) { function cglogor (line 432) | int cglogor(int r1, int r2) { function cglogand (line 459) | int cglogand(int r1, int r2) { function cgboolean (line 486) | int cgboolean(int r, int op, int label) { function cgcall (line 500) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 517) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 533) | int cgshlconst(int r, int val) { function cgstorglob (line 539) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 558) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 579) | void cgglobsym(struct symtable *node) { function cgglobstr (line 638) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 653) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 667) | void cglabel(int l) { function cgjump (line 672) | void cgjump(int l) { function cgcompare_and_jump (line 681) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 696) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 702) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 730) | int cgaddress(struct symtable *sym) { function cgderef (line 742) | int cgderef(int r, int type) { function cgstorderef (line 766) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 787) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 816) | void cgmove(int r1, int r2) { FILE: 52_Pointers_pt2/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 52_Pointers_pt2/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | int newlocaloffset(int type) { function freeall_registers (line 102) | void freeall_registers(int keepreg) { function alloc_register (line 111) | int alloc_register(void) { function free_register (line 126) | static void free_register(int reg) { function cgpreamble (line 133) | void cgpreamble() { function cgpostamble (line 170) | void cgpostamble() { function cgfuncpreamble (line 174) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 217) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 226) | int cgloadint(int value, int type) { function cgloadglob (line 238) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 290) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 342) | int cgloadglobstr(int label) { function cgadd (line 351) | int cgadd(int r1, int r2) { function cgsub (line 359) | int cgsub(int r1, int r2) { function cgmul (line 367) | int cgmul(int r1, int r2) { function cgdiv (line 375) | int cgdiv(int r1, int r2) { function cgand (line 384) | int cgand(int r1, int r2) { function cgor (line 390) | int cgor(int r1, int r2) { function cgxor (line 396) | int cgxor(int r1, int r2) { function cgshl (line 402) | int cgshl(int r1, int r2) { function cgshr (line 409) | int cgshr(int r1, int r2) { function cgnegate (line 417) | int cgnegate(int r) { function cginvert (line 423) | int cginvert(int r) { function cglognot (line 429) | int cglognot(int r) { function cglogor (line 438) | int cglogor(int r1, int r2) { function cglogand (line 465) | int cglogand(int r1, int r2) { function cgboolean (line 492) | int cgboolean(int r, int op, int label) { function cgcall (line 506) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 523) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 539) | int cgshlconst(int r, int val) { function cgstorglob (line 545) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 563) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 584) | void cgglobsym(struct symtable *node) { function cgglobstr (line 647) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 701) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 715) | void cglabel(int l) { function cgjump (line 720) | void cgjump(int l) { function cgcompare_and_jump (line 729) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 744) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 750) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 777) | int cgaddress(struct symtable *sym) { function cgderef (line 790) | int cgderef(int r, int type) { function cgstorderef (line 814) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 835) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 864) | void cgmove(int r1, int r2) { FILE: 52_Pointers_pt2/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 97) | int parse_stars(int type) { function parse_cast (line 109) | int parse_cast(struct symtable **ctype) { function parse_literal (line 126) | int parse_literal(int type) { type symtable (line 163) | struct symtable type symtable (line 164) | struct symtable type ASTnode (line 165) | struct ASTnode type symtable (line 166) | struct symtable type ASTnode (line 167) | struct ASTnode type symtable (line 231) | struct symtable type symtable (line 232) | struct symtable type symtable (line 234) | struct symtable function param_declaration_list (line 328) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 387) | struct symtable type symtable (line 388) | struct symtable type ASTnode (line 390) | struct ASTnode type symtable (line 391) | struct symtable type symtable (line 479) | struct symtable type symtable (line 480) | struct symtable type symtable (line 481) | struct symtable type ASTnode (line 482) | struct ASTnode function enum_declaration (line 562) | static void enum_declaration(void) { function typedef_declaration (line 630) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 655) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 672) | struct symtable type symtable (line 672) | struct symtable type ASTnode (line 673) | struct ASTnode type symtable (line 674) | struct symtable function declaration_list (line 712) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 757) | void global_declarations(void) { FILE: 52_Pointers_pt2/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type symtable (line 16) | struct symtable type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type symtable (line 19) | struct symtable type ASTnode (line 20) | struct ASTnode type symtable (line 21) | struct symtable type ASTnode (line 22) | struct ASTnode type ASTnode (line 26) | struct ASTnode type symtable (line 31) | struct symtable type symtable (line 46) | struct symtable type symtable (line 47) | struct symtable type symtable (line 49) | struct symtable type symtable (line 50) | struct symtable type symtable (line 57) | struct symtable type symtable (line 59) | struct symtable type symtable (line 60) | struct symtable type symtable (line 61) | struct symtable type symtable (line 68) | struct symtable type symtable (line 69) | struct symtable type ASTnode (line 88) | struct ASTnode type ASTnode (line 89) | struct ASTnode type ASTnode (line 92) | struct ASTnode type symtable (line 109) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 111) | struct symtable type symtable (line 113) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 122) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 125) | struct symtable type symtable (line 126) | struct symtable type symtable (line 127) | struct symtable type symtable (line 128) | struct symtable type symtable (line 129) | struct symtable type symtable (line 133) | struct symtable type symtable (line 137) | struct symtable type symtable (line 139) | struct symtable type symtable (line 140) | struct symtable type ASTnode (line 141) | struct ASTnode type symtable (line 149) | struct symtable type ASTnode (line 150) | struct ASTnode type ASTnode (line 150) | struct ASTnode type symtable (line 151) | struct symtable type ASTnode (line 154) | struct ASTnode type ASTnode (line 154) | struct ASTnode FILE: 52_Pointers_pt2/defs.h type token (line 58) | struct token { type symtable (line 108) | struct symtable { type ASTnode (line 125) | struct ASTnode { FILE: 52_Pointers_pt2/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 49) | struct ASTnode type ASTnode (line 50) | struct ASTnode type symtable (line 51) | struct symtable type ASTnode (line 78) | struct ASTnode type ASTnode (line 78) | struct ASTnode type ASTnode (line 79) | struct ASTnode type ASTnode (line 116) | struct ASTnode type ASTnode (line 116) | struct ASTnode type ASTnode (line 117) | struct ASTnode type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type ASTnode (line 168) | struct ASTnode type ASTnode (line 169) | struct ASTnode type symtable (line 171) | struct symtable type ASTnode (line 214) | struct ASTnode type ASTnode (line 215) | struct ASTnode type symtable (line 216) | struct symtable type symtable (line 217) | struct symtable type symtable (line 221) | struct symtable type ASTnode (line 304) | struct ASTnode type ASTnode (line 305) | struct ASTnode function binastop (line 367) | static int binastop(int tokentype) { function rightassoc (line 376) | static int rightassoc(int tokentype) { function op_precedence (line 399) | static int op_precedence(int tokentype) { type ASTnode (line 419) | struct ASTnode type ASTnode (line 420) | struct ASTnode type ASTnode (line 526) | struct ASTnode type ASTnode (line 527) | struct ASTnode type ASTnode (line 528) | struct ASTnode FILE: 52_Pointers_pt2/gen.c function genlabel (line 10) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_funccall (line 142) | static int gen_funccall(struct ASTnode *n) { function gen_ternary (line 168) | static int gen_ternary(struct ASTnode *n) { function genAST (line 208) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 418) | void genpreamble() { function genpostamble (line 421) | void genpostamble() { function genfreeregs (line 424) | void genfreeregs(int keepreg) { function genglobsym (line 427) | void genglobsym(struct symtable *node) { function genglobstr (line 430) | int genglobstr(char *strvalue) { function genprimsize (line 435) | int genprimsize(int type) { function genalign (line 438) | int genalign(int type, int offset, int direction) { FILE: 52_Pointers_pt2/main.c function do_link (line 117) | void do_link(char *outfilename, char *objlist[]) { function usage (line 146) | static void usage(char *prog) { function main (line 162) | int main(int argc, char *argv[]) { FILE: 52_Pointers_pt2/misc.c function match (line 13) | void match(int t, char *what) { function semi (line 22) | void semi(void) { function lbrace (line 27) | void lbrace(void) { function rbrace (line 32) | void rbrace(void) { function lparen (line 37) | void lparen(void) { function rparen (line 42) | void rparen(void) { function ident (line 47) | void ident(void) { function comma (line 52) | void comma(void) { function fatal (line 57) | void fatal(char *s) { function fatals (line 64) | void fatals(char *s1, char *s2) { function fatald (line 71) | void fatald(char *s, int d) { function fatalc (line 78) | void fatalc(char *s, int c) { FILE: 52_Pointers_pt2/opt.c type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 98) | struct ASTnode FILE: 52_Pointers_pt2/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 19) | static int next(void) { function putback (line 61) | static void putback(int c) { function skip (line 68) | static int skip(void) { function hexchar (line 79) | static int hexchar(void) { function scanch (line 102) | static int scanch(void) { function scanint (line 160) | static int scanint(int c) { function scanstr (line 190) | static int scanstr(char *buf) { function scanident (line 210) | static int scanident(int c, char *buf, int lim) { function keyword (line 235) | static int keyword(char *s) { function scan (line 327) | int scan(struct token *t) { FILE: 52_Pointers_pt2/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 69) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 102) | struct ASTnode type ASTnode (line 103) | struct ASTnode type ASTnode (line 145) | struct ASTnode type ASTnode (line 146) | struct ASTnode type ASTnode (line 176) | struct ASTnode type ASTnode (line 188) | struct ASTnode type ASTnode (line 198) | struct ASTnode type ASTnode (line 199) | struct ASTnode type ASTnode (line 200) | struct ASTnode type ASTnode (line 297) | struct ASTnode type ASTnode (line 298) | struct ASTnode type symtable (line 299) | struct symtable type ASTnode (line 357) | struct ASTnode type ASTnode (line 358) | struct ASTnode type ASTnode (line 359) | struct ASTnode FILE: 52_Pointers_pt2/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 66) | struct symtable type symtable (line 66) | struct symtable type symtable (line 68) | struct symtable type symtable (line 78) | struct symtable type symtable (line 78) | struct symtable type symtable (line 80) | struct symtable type symtable (line 89) | struct symtable type symtable (line 89) | struct symtable type symtable (line 91) | struct symtable type symtable (line 97) | struct symtable type symtable (line 97) | struct symtable type symtable (line 99) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 125) | struct symtable type symtable (line 126) | struct symtable type symtable (line 132) | struct symtable type symtable (line 132) | struct symtable type symtable (line 133) | struct symtable type symtable (line 141) | struct symtable type symtable (line 141) | struct symtable type symtable (line 152) | struct symtable type symtable (line 158) | struct symtable type symtable (line 159) | struct symtable type symtable (line 172) | struct symtable type symtable (line 173) | struct symtable type symtable (line 190) | struct symtable type symtable (line 196) | struct symtable type symtable (line 202) | struct symtable type symtable (line 208) | struct symtable type symtable (line 214) | struct symtable type symtable (line 220) | struct symtable function clear_symtable (line 225) | void clear_symtable(void) { function freeloclsyms (line 237) | void freeloclsyms(void) { function freestaticsyms (line 244) | void freestaticsyms(void) { function dumpsym (line 276) | static void dumpsym(struct symtable *sym, int indent) { function dumptable (line 393) | void dumptable(struct symtable *head, char *name, int indent) { function dumpsymtables (line 402) | void dumpsymtables(void) { FILE: 52_Pointers_pt2/tests/err.input065.c type type (line 1) | enum type FILE: 52_Pointers_pt2/tests/err.input066.c type value (line 1) | enum value FILE: 52_Pointers_pt2/tests/input001.c function main (line 3) | void main() FILE: 52_Pointers_pt2/tests/input002.c function main (line 3) | void main() FILE: 52_Pointers_pt2/tests/input003.c function main (line 3) | void main() FILE: 52_Pointers_pt2/tests/input004.c function main (line 3) | void main() FILE: 52_Pointers_pt2/tests/input005.c function main (line 3) | void main() FILE: 52_Pointers_pt2/tests/input006.c function main (line 3) | void main() FILE: 52_Pointers_pt2/tests/input007.c function main (line 3) | void main() FILE: 52_Pointers_pt2/tests/input008.c function main (line 3) | void main() FILE: 52_Pointers_pt2/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 52_Pointers_pt2/tests/input010.c function main (line 3) | void main() FILE: 52_Pointers_pt2/tests/input011.c function main (line 3) | int main() FILE: 52_Pointers_pt2/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 52_Pointers_pt2/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 52_Pointers_pt2/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 52_Pointers_pt2/tests/input015.c function main (line 3) | int main() { FILE: 52_Pointers_pt2/tests/input016.c function main (line 8) | int main() { FILE: 52_Pointers_pt2/tests/input017.c function main (line 3) | int main() { FILE: 52_Pointers_pt2/tests/input018.c function main (line 3) | int main() FILE: 52_Pointers_pt2/tests/input018a.c function main (line 8) | int main() FILE: 52_Pointers_pt2/tests/input019.c function main (line 8) | int main() FILE: 52_Pointers_pt2/tests/input020.c function main (line 6) | int main() { FILE: 52_Pointers_pt2/tests/input021.c function main (line 6) | int main() { FILE: 52_Pointers_pt2/tests/input022.c function main (line 8) | int main() { FILE: 52_Pointers_pt2/tests/input023.c function main (line 6) | int main() { FILE: 52_Pointers_pt2/tests/input024.c function main (line 6) | int main() { FILE: 52_Pointers_pt2/tests/input025.c function main (line 7) | int main() FILE: 52_Pointers_pt2/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 52_Pointers_pt2/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 52_Pointers_pt2/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 52_Pointers_pt2/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 52_Pointers_pt2/tests/input030.c function main (line 10) | int main() { FILE: 52_Pointers_pt2/tests/input031.c function main (line 3) | int main() { FILE: 52_Pointers_pt2/tests/input032.c function main (line 3) | int main() { FILE: 52_Pointers_pt2/tests/input033.c function main (line 3) | int main() { FILE: 52_Pointers_pt2/tests/input034.c function main (line 3) | int main() { FILE: 52_Pointers_pt2/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 52_Pointers_pt2/tests/input039.c function main (line 3) | int main() { int a; } FILE: 52_Pointers_pt2/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 52_Pointers_pt2/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 52_Pointers_pt2/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 52_Pointers_pt2/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 52_Pointers_pt2/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 52_Pointers_pt2/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 52_Pointers_pt2/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 52_Pointers_pt2/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 52_Pointers_pt2/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 52_Pointers_pt2/tests/input049.c function main (line 3) | int main() { FILE: 52_Pointers_pt2/tests/input050.c function main (line 3) | int main() { FILE: 52_Pointers_pt2/tests/input051.c function main (line 3) | int main() { FILE: 52_Pointers_pt2/tests/input052.c function main (line 3) | int main() { FILE: 52_Pointers_pt2/tests/input053.c function main (line 3) | int main() FILE: 52_Pointers_pt2/tests/input054.c function main (line 3) | int main() FILE: 52_Pointers_pt2/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 52_Pointers_pt2/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 52_Pointers_pt2/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 52_Pointers_pt2/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 52_Pointers_pt2/tests/input059.c function main (line 1) | int main() { FILE: 52_Pointers_pt2/tests/input060.c function main (line 1) | int main() { FILE: 52_Pointers_pt2/tests/input061.c function main (line 1) | int main() { FILE: 52_Pointers_pt2/tests/input062.c function main (line 13) | int main() { FILE: 52_Pointers_pt2/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 52_Pointers_pt2/tests/input064.c type fred (line 1) | enum fred FILE: 52_Pointers_pt2/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 52_Pointers_pt2/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 52_Pointers_pt2/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 52_Pointers_pt2/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 52_Pointers_pt2/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 52_Pointers_pt2/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 52_Pointers_pt2/tests/input071.c function main (line 3) | int main() { FILE: 52_Pointers_pt2/tests/input072.c function main (line 1) | int main() { break; } FILE: 52_Pointers_pt2/tests/input073.c function main (line 1) | int main() { continue; } FILE: 52_Pointers_pt2/tests/input074.c function main (line 3) | int main() { FILE: 52_Pointers_pt2/tests/input075.c function main (line 1) | int main() { FILE: 52_Pointers_pt2/tests/input076.c function main (line 1) | int main() { FILE: 52_Pointers_pt2/tests/input077.c function main (line 1) | int main() { FILE: 52_Pointers_pt2/tests/input078.c function main (line 1) | int main() { FILE: 52_Pointers_pt2/tests/input079.c function main (line 1) | int main() { FILE: 52_Pointers_pt2/tests/input080.c function main (line 6) | int main() { FILE: 52_Pointers_pt2/tests/input081.c function main (line 6) | int main() { FILE: 52_Pointers_pt2/tests/input082.c function main (line 3) | int main() { FILE: 52_Pointers_pt2/tests/input083.c function main (line 3) | int main() { FILE: 52_Pointers_pt2/tests/input084.c function main (line 3) | int main() { FILE: 52_Pointers_pt2/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 52_Pointers_pt2/tests/input086.c function main (line 1) | int main() { FILE: 52_Pointers_pt2/tests/input087.c type foo (line 1) | struct foo { FILE: 52_Pointers_pt2/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 52_Pointers_pt2/tests/input089.c function main (line 7) | int main() { FILE: 52_Pointers_pt2/tests/input090.c function main (line 6) | int main() { FILE: 52_Pointers_pt2/tests/input091.c function main (line 6) | int main() { FILE: 52_Pointers_pt2/tests/input097.c function main (line 1) | int main() { FILE: 52_Pointers_pt2/tests/input099.c function main (line 19) | int main() { FILE: 52_Pointers_pt2/tests/input100.c function main (line 2) | int main() { FILE: 52_Pointers_pt2/tests/input101.c function main (line 3) | int main() { FILE: 52_Pointers_pt2/tests/input102.c function main (line 1) | int main() { FILE: 52_Pointers_pt2/tests/input103.c function main (line 1) | int main() { FILE: 52_Pointers_pt2/tests/input104.c function main (line 1) | int main() { FILE: 52_Pointers_pt2/tests/input105.c function main (line 1) | int main() { FILE: 52_Pointers_pt2/tests/input106.c function main (line 4) | int main() { FILE: 52_Pointers_pt2/tests/input107.c function main (line 5) | int main() { FILE: 52_Pointers_pt2/tests/input108.c function main (line 1) | int main() { FILE: 52_Pointers_pt2/tests/input109.c function main (line 2) | int main() { FILE: 52_Pointers_pt2/tests/input110.c function main (line 6) | int main() { FILE: 52_Pointers_pt2/tests/input111.c function main (line 2) | int main() { FILE: 52_Pointers_pt2/tests/input112.c function main (line 6) | int main() { FILE: 52_Pointers_pt2/tests/input113.c function fred (line 4) | void fred(void) { function main (line 8) | int main(void) { FILE: 52_Pointers_pt2/tests/input114.c function main (line 2) | int main() { FILE: 52_Pointers_pt2/tests/input115.c type foo (line 2) | struct foo { int x; char y; long z; } type blah (line 3) | typedef struct foo blah; type symtable (line 6) | struct symtable { type ASTnode (line 23) | struct ASTnode { function main (line 36) | int main() { FILE: 52_Pointers_pt2/tests/input116.c function fred (line 4) | static int fred(void) { return(counter++); } function main (line 6) | int main(void) { FILE: 52_Pointers_pt2/tests/input117.c function main (line 7) | int main(void) { FILE: 52_Pointers_pt2/tests/input118.c function main (line 1) | int main(void) { FILE: 52_Pointers_pt2/tests/input119.c function main (line 6) | int main() { FILE: 52_Pointers_pt2/tests/input120.c function main (line 6) | int main() { FILE: 52_Pointers_pt2/tests/input121.c function main (line 6) | int main() { FILE: 52_Pointers_pt2/tests/input122.c function main (line 5) | int main() { FILE: 52_Pointers_pt2/tests/input123.c function main (line 3) | int main() { FILE: 52_Pointers_pt2/tests/input124.c function main (line 5) | int main() { FILE: 52_Pointers_pt2/tests/input125.c function main (line 7) | int main() { FILE: 52_Pointers_pt2/tests/input126.c function main (line 5) | int main() { FILE: 52_Pointers_pt2/tests/input127.c function fred (line 5) | void fred(int *ptr) { // Receive a pointer function main (line 9) | int main() { FILE: 52_Pointers_pt2/tests/input128.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 52_Pointers_pt2/tests/input129.c function main (line 5) | int main() { FILE: 52_Pointers_pt2/tests/out.input030.c function main (line 10) | int main() { FILE: 52_Pointers_pt2/tree.c type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 36) | struct ASTnode type symtable (line 37) | struct symtable type symtable (line 38) | struct symtable type ASTnode (line 43) | struct ASTnode type symtable (line 44) | struct symtable type ASTnode (line 45) | struct ASTnode type symtable (line 46) | struct symtable function gendumplabel (line 53) | static int gendumplabel(void) { function dumpAST (line 59) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 52_Pointers_pt2/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode type symtable (line 50) | struct symtable FILE: 53_Mop_up_pt2/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int type) { function freeall_registers (line 111) | void freeall_registers(int keepreg) { function alloc_register (line 120) | int alloc_register(void) { function free_register (line 135) | static void free_register(int reg) { function cgpreamble (line 142) | void cgpreamble() { function cgpostamble (line 172) | void cgpostamble() { function cgfuncpreamble (line 176) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 217) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 226) | int cgloadint(int value, int type) { function cgloadglob (line 238) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 287) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 336) | int cgloadglobstr(int label) { function cgadd (line 345) | int cgadd(int r1, int r2) { function cgsub (line 353) | int cgsub(int r1, int r2) { function cgmul (line 361) | int cgmul(int r1, int r2) { function cgdiv (line 369) | int cgdiv(int r1, int r2) { function cgand (line 378) | int cgand(int r1, int r2) { function cgor (line 384) | int cgor(int r1, int r2) { function cgxor (line 390) | int cgxor(int r1, int r2) { function cgshl (line 396) | int cgshl(int r1, int r2) { function cgshr (line 403) | int cgshr(int r1, int r2) { function cgnegate (line 411) | int cgnegate(int r) { function cginvert (line 417) | int cginvert(int r) { function cglognot (line 423) | int cglognot(int r) { function cglogor (line 432) | int cglogor(int r1, int r2) { function cglogand (line 459) | int cglogand(int r1, int r2) { function cgboolean (line 486) | int cgboolean(int r, int op, int label) { function cgcall (line 500) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 517) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 533) | int cgshlconst(int r, int val) { function cgstorglob (line 539) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 558) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 579) | void cgglobsym(struct symtable *node) { function cgglobstr (line 639) | void cgglobstr(int l, char *strvalue, int append) { function cgglobstrend (line 648) | void cgglobstrend(void) { function cgcompare_and_set (line 658) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 672) | void cglabel(int l) { function cgjump (line 677) | void cgjump(int l) { function cgcompare_and_jump (line 686) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 701) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 707) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 739) | int cgaddress(struct symtable *sym) { function cgderef (line 751) | int cgderef(int r, int type) { function cgstorderef (line 775) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 796) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 825) | void cgmove(int r1, int r2) { FILE: 53_Mop_up_pt2/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 53_Mop_up_pt2/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | int newlocaloffset(int type) { function freeall_registers (line 102) | void freeall_registers(int keepreg) { function alloc_register (line 111) | int alloc_register(void) { function free_register (line 126) | static void free_register(int reg) { function cgpreamble (line 133) | void cgpreamble() { function cgpostamble (line 170) | void cgpostamble() { function cgfuncpreamble (line 174) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 217) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 226) | int cgloadint(int value, int type) { function cgloadglob (line 238) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 290) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 342) | int cgloadglobstr(int label) { function cgadd (line 351) | int cgadd(int r1, int r2) { function cgsub (line 359) | int cgsub(int r1, int r2) { function cgmul (line 367) | int cgmul(int r1, int r2) { function cgdiv (line 375) | int cgdiv(int r1, int r2) { function cgand (line 384) | int cgand(int r1, int r2) { function cgor (line 390) | int cgor(int r1, int r2) { function cgxor (line 396) | int cgxor(int r1, int r2) { function cgshl (line 402) | int cgshl(int r1, int r2) { function cgshr (line 409) | int cgshr(int r1, int r2) { function cgnegate (line 417) | int cgnegate(int r) { function cginvert (line 423) | int cginvert(int r) { function cglognot (line 429) | int cglognot(int r) { function cglogor (line 438) | int cglogor(int r1, int r2) { function cglogand (line 465) | int cglogand(int r1, int r2) { function cgboolean (line 492) | int cgboolean(int r, int op, int label) { function cgcall (line 506) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 523) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 539) | int cgshlconst(int r, int val) { function cgstorglob (line 545) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 563) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 584) | void cgglobsym(struct symtable *node) { function cgglobstr (line 648) | void cgglobstr(int l, char *strvalue, int append) { function cgglobstrend (line 657) | void cgglobstrend(void) { function cgcompare_and_set (line 667) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 681) | void cglabel(int l) { function cgjump (line 686) | void cgjump(int l) { function cgcompare_and_jump (line 695) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 710) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 716) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 746) | int cgaddress(struct symtable *sym) { function cgderef (line 759) | int cgderef(int r, int type) { function cgstorderef (line 783) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 804) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 833) | void cgmove(int r1, int r2) { FILE: 53_Mop_up_pt2/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 97) | int parse_stars(int type) { function parse_cast (line 109) | int parse_cast(struct symtable **ctype) { function parse_literal (line 126) | int parse_literal(int type) { function is_new_symbol (line 163) | int is_new_symbol(struct symtable *sym, int class, type symtable (line 197) | struct symtable type symtable (line 198) | struct symtable type ASTnode (line 199) | struct ASTnode type symtable (line 200) | struct symtable type ASTnode (line 201) | struct ASTnode type symtable (line 268) | struct symtable type symtable (line 269) | struct symtable type symtable (line 271) | struct symtable function param_declaration_list (line 368) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 427) | struct symtable type symtable (line 428) | struct symtable type ASTnode (line 430) | struct ASTnode type symtable (line 431) | struct symtable type symtable (line 519) | struct symtable type symtable (line 520) | struct symtable type symtable (line 521) | struct symtable type ASTnode (line 522) | struct ASTnode function enum_declaration (line 602) | static void enum_declaration(void) { function typedef_declaration (line 670) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 695) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 712) | struct symtable type symtable (line 712) | struct symtable type ASTnode (line 713) | struct ASTnode type symtable (line 714) | struct symtable function declaration_list (line 750) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 795) | void global_declarations(void) { FILE: 53_Mop_up_pt2/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type symtable (line 16) | struct symtable type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type symtable (line 19) | struct symtable type ASTnode (line 20) | struct ASTnode type symtable (line 21) | struct symtable type ASTnode (line 22) | struct ASTnode type ASTnode (line 26) | struct ASTnode type symtable (line 31) | struct symtable type symtable (line 47) | struct symtable type symtable (line 48) | struct symtable type symtable (line 50) | struct symtable type symtable (line 51) | struct symtable type symtable (line 58) | struct symtable type symtable (line 60) | struct symtable type symtable (line 61) | struct symtable type symtable (line 62) | struct symtable type symtable (line 70) | struct symtable type symtable (line 71) | struct symtable type ASTnode (line 90) | struct ASTnode type ASTnode (line 91) | struct ASTnode type ASTnode (line 94) | struct ASTnode type symtable (line 111) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 113) | struct symtable type symtable (line 115) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 122) | struct symtable type symtable (line 122) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 125) | struct symtable type symtable (line 126) | struct symtable type symtable (line 127) | struct symtable type symtable (line 128) | struct symtable type symtable (line 129) | struct symtable type symtable (line 130) | struct symtable type symtable (line 131) | struct symtable type symtable (line 135) | struct symtable type symtable (line 139) | struct symtable type symtable (line 141) | struct symtable type symtable (line 142) | struct symtable type ASTnode (line 143) | struct ASTnode type symtable (line 151) | struct symtable type ASTnode (line 152) | struct ASTnode type ASTnode (line 152) | struct ASTnode type symtable (line 153) | struct symtable type ASTnode (line 156) | struct ASTnode type ASTnode (line 156) | struct ASTnode FILE: 53_Mop_up_pt2/defs.h type token (line 58) | struct token { type symtable (line 108) | struct symtable { type ASTnode (line 125) | struct ASTnode { FILE: 53_Mop_up_pt2/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 49) | struct ASTnode type ASTnode (line 50) | struct ASTnode type symtable (line 51) | struct symtable type ASTnode (line 78) | struct ASTnode type ASTnode (line 78) | struct ASTnode type ASTnode (line 79) | struct ASTnode type ASTnode (line 116) | struct ASTnode type ASTnode (line 116) | struct ASTnode type ASTnode (line 117) | struct ASTnode type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type ASTnode (line 168) | struct ASTnode type ASTnode (line 169) | struct ASTnode type symtable (line 171) | struct symtable type ASTnode (line 214) | struct ASTnode type ASTnode (line 215) | struct ASTnode type symtable (line 216) | struct symtable type symtable (line 217) | struct symtable type symtable (line 221) | struct symtable type ASTnode (line 315) | struct ASTnode type ASTnode (line 316) | struct ASTnode function binastop (line 378) | static int binastop(int tokentype) { function rightassoc (line 387) | static int rightassoc(int tokentype) { function op_precedence (line 410) | static int op_precedence(int tokentype) { type ASTnode (line 430) | struct ASTnode type ASTnode (line 431) | struct ASTnode type ASTnode (line 537) | struct ASTnode type ASTnode (line 538) | struct ASTnode type ASTnode (line 539) | struct ASTnode FILE: 53_Mop_up_pt2/gen.c function genlabel (line 10) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_funccall (line 142) | static int gen_funccall(struct ASTnode *n) { function gen_ternary (line 168) | static int gen_ternary(struct ASTnode *n) { function genAST (line 208) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 421) | void genpreamble() { function genpostamble (line 424) | void genpostamble() { function genfreeregs (line 427) | void genfreeregs(int keepreg) { function genglobsym (line 430) | void genglobsym(struct symtable *node) { function genglobstr (line 437) | int genglobstr(char *strvalue, int append) { function genglobstrend (line 442) | void genglobstrend(void) { function genprimsize (line 445) | int genprimsize(int type) { function genalign (line 448) | int genalign(int type, int offset, int direction) { FILE: 53_Mop_up_pt2/main.c function do_link (line 117) | void do_link(char *outfilename, char *objlist[]) { function usage (line 146) | static void usage(char *prog) { function main (line 162) | int main(int argc, char *argv[]) { FILE: 53_Mop_up_pt2/misc.c function match (line 13) | void match(int t, char *what) { function semi (line 22) | void semi(void) { function lbrace (line 27) | void lbrace(void) { function rbrace (line 32) | void rbrace(void) { function lparen (line 37) | void lparen(void) { function rparen (line 42) | void rparen(void) { function ident (line 47) | void ident(void) { function comma (line 52) | void comma(void) { function fatal (line 57) | void fatal(char *s) { function fatals (line 64) | void fatals(char *s1, char *s2) { function fatald (line 71) | void fatald(char *s, int d) { function fatalc (line 78) | void fatalc(char *s, int c) { FILE: 53_Mop_up_pt2/opt.c type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 98) | struct ASTnode FILE: 53_Mop_up_pt2/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 19) | static int next(void) { function putback (line 61) | static void putback(int c) { function skip (line 68) | static int skip(void) { function hexchar (line 79) | static int hexchar(void) { function scanch (line 102) | static int scanch(void) { function scanint (line 160) | static int scanint(int c) { function scanstr (line 190) | static int scanstr(char *buf) { function scanident (line 210) | static int scanident(int c, char *buf, int lim) { function keyword (line 235) | static int keyword(char *s) { function scan (line 327) | int scan(struct token *t) { FILE: 53_Mop_up_pt2/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 69) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 102) | struct ASTnode type ASTnode (line 103) | struct ASTnode type ASTnode (line 145) | struct ASTnode type ASTnode (line 146) | struct ASTnode type ASTnode (line 186) | struct ASTnode type ASTnode (line 198) | struct ASTnode type ASTnode (line 208) | struct ASTnode type ASTnode (line 209) | struct ASTnode type ASTnode (line 210) | struct ASTnode type ASTnode (line 307) | struct ASTnode type ASTnode (line 308) | struct ASTnode type symtable (line 309) | struct symtable type ASTnode (line 371) | struct ASTnode type ASTnode (line 372) | struct ASTnode type ASTnode (line 373) | struct ASTnode FILE: 53_Mop_up_pt2/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 66) | struct symtable type symtable (line 66) | struct symtable type symtable (line 68) | struct symtable type symtable (line 78) | struct symtable type symtable (line 78) | struct symtable type symtable (line 80) | struct symtable type symtable (line 89) | struct symtable type symtable (line 89) | struct symtable type symtable (line 91) | struct symtable type symtable (line 97) | struct symtable type symtable (line 97) | struct symtable type symtable (line 99) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 125) | struct symtable type symtable (line 126) | struct symtable type symtable (line 132) | struct symtable type symtable (line 132) | struct symtable type symtable (line 133) | struct symtable type symtable (line 141) | struct symtable type symtable (line 141) | struct symtable type symtable (line 152) | struct symtable type symtable (line 158) | struct symtable type symtable (line 159) | struct symtable type symtable (line 172) | struct symtable type symtable (line 173) | struct symtable type symtable (line 190) | struct symtable type symtable (line 196) | struct symtable type symtable (line 202) | struct symtable type symtable (line 208) | struct symtable type symtable (line 214) | struct symtable type symtable (line 220) | struct symtable function clear_symtable (line 225) | void clear_symtable(void) { function freeloclsyms (line 237) | void freeloclsyms(void) { function freestaticsyms (line 244) | void freestaticsyms(void) { function dumpsym (line 276) | static void dumpsym(struct symtable *sym, int indent) { function dumptable (line 393) | void dumptable(struct symtable *head, char *name, int indent) { function dumpsymtables (line 402) | void dumpsymtables(void) { FILE: 53_Mop_up_pt2/tests/err.input065.c type type (line 1) | enum type FILE: 53_Mop_up_pt2/tests/err.input066.c type value (line 1) | enum value FILE: 53_Mop_up_pt2/tests/input001.c function main (line 3) | void main() FILE: 53_Mop_up_pt2/tests/input002.c function main (line 3) | void main() FILE: 53_Mop_up_pt2/tests/input003.c function main (line 3) | void main() FILE: 53_Mop_up_pt2/tests/input004.c function main (line 3) | void main() FILE: 53_Mop_up_pt2/tests/input005.c function main (line 3) | void main() FILE: 53_Mop_up_pt2/tests/input006.c function main (line 3) | void main() FILE: 53_Mop_up_pt2/tests/input007.c function main (line 3) | void main() FILE: 53_Mop_up_pt2/tests/input008.c function main (line 3) | void main() FILE: 53_Mop_up_pt2/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 53_Mop_up_pt2/tests/input010.c function main (line 3) | void main() FILE: 53_Mop_up_pt2/tests/input011.c function main (line 3) | int main() FILE: 53_Mop_up_pt2/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 53_Mop_up_pt2/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 53_Mop_up_pt2/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 53_Mop_up_pt2/tests/input015.c function main (line 3) | int main() { FILE: 53_Mop_up_pt2/tests/input016.c function main (line 8) | int main() { FILE: 53_Mop_up_pt2/tests/input017.c function main (line 3) | int main() { FILE: 53_Mop_up_pt2/tests/input018.c function main (line 3) | int main() FILE: 53_Mop_up_pt2/tests/input018a.c function main (line 8) | int main() FILE: 53_Mop_up_pt2/tests/input019.c function main (line 8) | int main() FILE: 53_Mop_up_pt2/tests/input020.c function main (line 6) | int main() { FILE: 53_Mop_up_pt2/tests/input021.c function main (line 6) | int main() { FILE: 53_Mop_up_pt2/tests/input022.c function main (line 8) | int main() { FILE: 53_Mop_up_pt2/tests/input023.c function main (line 6) | int main() { FILE: 53_Mop_up_pt2/tests/input024.c function main (line 6) | int main() { FILE: 53_Mop_up_pt2/tests/input025.c function main (line 7) | int main() FILE: 53_Mop_up_pt2/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 53_Mop_up_pt2/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 53_Mop_up_pt2/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 53_Mop_up_pt2/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 53_Mop_up_pt2/tests/input030.c function main (line 10) | int main() { FILE: 53_Mop_up_pt2/tests/input031.c function main (line 3) | int main() { FILE: 53_Mop_up_pt2/tests/input032.c function main (line 3) | int main() { FILE: 53_Mop_up_pt2/tests/input033.c function main (line 3) | int main() { FILE: 53_Mop_up_pt2/tests/input034.c function main (line 3) | int main() { FILE: 53_Mop_up_pt2/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 53_Mop_up_pt2/tests/input039.c function main (line 3) | int main() { int a; } FILE: 53_Mop_up_pt2/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 53_Mop_up_pt2/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 53_Mop_up_pt2/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 53_Mop_up_pt2/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 53_Mop_up_pt2/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 53_Mop_up_pt2/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 53_Mop_up_pt2/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 53_Mop_up_pt2/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 53_Mop_up_pt2/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 53_Mop_up_pt2/tests/input049.c function main (line 3) | int main() { FILE: 53_Mop_up_pt2/tests/input050.c function main (line 3) | int main() { FILE: 53_Mop_up_pt2/tests/input051.c function main (line 3) | int main() { FILE: 53_Mop_up_pt2/tests/input052.c function main (line 3) | int main() { FILE: 53_Mop_up_pt2/tests/input053.c function main (line 3) | int main() FILE: 53_Mop_up_pt2/tests/input054.c function main (line 3) | int main() FILE: 53_Mop_up_pt2/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 53_Mop_up_pt2/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 53_Mop_up_pt2/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 53_Mop_up_pt2/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 53_Mop_up_pt2/tests/input059.c function main (line 1) | int main() { FILE: 53_Mop_up_pt2/tests/input060.c function main (line 1) | int main() { FILE: 53_Mop_up_pt2/tests/input061.c function main (line 1) | int main() { FILE: 53_Mop_up_pt2/tests/input062.c function main (line 13) | int main() { FILE: 53_Mop_up_pt2/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 53_Mop_up_pt2/tests/input064.c type fred (line 1) | enum fred FILE: 53_Mop_up_pt2/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 53_Mop_up_pt2/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 53_Mop_up_pt2/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 53_Mop_up_pt2/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 53_Mop_up_pt2/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 53_Mop_up_pt2/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 53_Mop_up_pt2/tests/input071.c function main (line 3) | int main() { FILE: 53_Mop_up_pt2/tests/input072.c function main (line 1) | int main() { break; } FILE: 53_Mop_up_pt2/tests/input073.c function main (line 1) | int main() { continue; } FILE: 53_Mop_up_pt2/tests/input074.c function main (line 3) | int main() { FILE: 53_Mop_up_pt2/tests/input075.c function main (line 1) | int main() { FILE: 53_Mop_up_pt2/tests/input076.c function main (line 1) | int main() { FILE: 53_Mop_up_pt2/tests/input077.c function main (line 1) | int main() { FILE: 53_Mop_up_pt2/tests/input078.c function main (line 1) | int main() { FILE: 53_Mop_up_pt2/tests/input079.c function main (line 1) | int main() { FILE: 53_Mop_up_pt2/tests/input080.c function main (line 6) | int main() { FILE: 53_Mop_up_pt2/tests/input081.c function main (line 6) | int main() { FILE: 53_Mop_up_pt2/tests/input082.c function main (line 3) | int main() { FILE: 53_Mop_up_pt2/tests/input083.c function main (line 3) | int main() { FILE: 53_Mop_up_pt2/tests/input084.c function main (line 3) | int main() { FILE: 53_Mop_up_pt2/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 53_Mop_up_pt2/tests/input086.c function main (line 1) | int main() { FILE: 53_Mop_up_pt2/tests/input087.c type foo (line 1) | struct foo { FILE: 53_Mop_up_pt2/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 53_Mop_up_pt2/tests/input089.c function main (line 7) | int main() { FILE: 53_Mop_up_pt2/tests/input090.c function main (line 6) | int main() { FILE: 53_Mop_up_pt2/tests/input091.c function main (line 6) | int main() { FILE: 53_Mop_up_pt2/tests/input097.c function main (line 1) | int main() { FILE: 53_Mop_up_pt2/tests/input099.c function main (line 19) | int main() { FILE: 53_Mop_up_pt2/tests/input100.c function main (line 2) | int main() { FILE: 53_Mop_up_pt2/tests/input101.c function main (line 3) | int main() { FILE: 53_Mop_up_pt2/tests/input102.c function main (line 1) | int main() { FILE: 53_Mop_up_pt2/tests/input103.c function main (line 1) | int main() { FILE: 53_Mop_up_pt2/tests/input104.c function main (line 1) | int main() { FILE: 53_Mop_up_pt2/tests/input105.c function main (line 1) | int main() { FILE: 53_Mop_up_pt2/tests/input106.c function main (line 4) | int main() { FILE: 53_Mop_up_pt2/tests/input107.c function main (line 5) | int main() { FILE: 53_Mop_up_pt2/tests/input108.c function main (line 1) | int main() { FILE: 53_Mop_up_pt2/tests/input109.c function main (line 2) | int main() { FILE: 53_Mop_up_pt2/tests/input110.c function main (line 6) | int main() { FILE: 53_Mop_up_pt2/tests/input111.c function main (line 2) | int main() { FILE: 53_Mop_up_pt2/tests/input112.c function main (line 6) | int main() { FILE: 53_Mop_up_pt2/tests/input113.c function fred (line 4) | void fred(void) { function main (line 8) | int main(void) { FILE: 53_Mop_up_pt2/tests/input114.c function main (line 2) | int main() { FILE: 53_Mop_up_pt2/tests/input115.c type foo (line 2) | struct foo { int x; char y; long z; } type blah (line 3) | typedef struct foo blah; type symtable (line 6) | struct symtable { type ASTnode (line 23) | struct ASTnode { function main (line 36) | int main() { FILE: 53_Mop_up_pt2/tests/input116.c function fred (line 4) | static int fred(void) { return(counter++); } function main (line 6) | int main(void) { FILE: 53_Mop_up_pt2/tests/input117.c function main (line 7) | int main(void) { FILE: 53_Mop_up_pt2/tests/input118.c function main (line 1) | int main(void) { FILE: 53_Mop_up_pt2/tests/input119.c function main (line 6) | int main() { FILE: 53_Mop_up_pt2/tests/input120.c function main (line 6) | int main() { FILE: 53_Mop_up_pt2/tests/input121.c function main (line 6) | int main() { FILE: 53_Mop_up_pt2/tests/input122.c function main (line 5) | int main() { FILE: 53_Mop_up_pt2/tests/input123.c function main (line 3) | int main() { FILE: 53_Mop_up_pt2/tests/input124.c function main (line 5) | int main() { FILE: 53_Mop_up_pt2/tests/input125.c function main (line 7) | int main() { FILE: 53_Mop_up_pt2/tests/input126.c function main (line 5) | int main() { FILE: 53_Mop_up_pt2/tests/input127.c function fred (line 5) | void fred(int *ptr) { // Receive a pointer function main (line 9) | int main() { FILE: 53_Mop_up_pt2/tests/input128.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 53_Mop_up_pt2/tests/input129.c function main (line 5) | int main() { FILE: 53_Mop_up_pt2/tests/input130.c function main (line 5) | int main() { FILE: 53_Mop_up_pt2/tests/input131.c function donothing (line 3) | void donothing() { } function main (line 5) | int main() { FILE: 53_Mop_up_pt2/tests/input132.c function main (line 7) | int main() { return(0); } FILE: 53_Mop_up_pt2/tests/input133.c function main (line 9) | void main() { printf("OK\n"); } FILE: 53_Mop_up_pt2/tests/input134.c function main (line 6) | int main() { FILE: 53_Mop_up_pt2/tests/input135.c function fred (line 3) | void fred() { function main (line 10) | int main() { FILE: 53_Mop_up_pt2/tests/input136.c function main (line 3) | int main() { FILE: 53_Mop_up_pt2/tests/out.input030.c function main (line 10) | int main() { FILE: 53_Mop_up_pt2/tree.c type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 36) | struct ASTnode type symtable (line 37) | struct symtable type symtable (line 38) | struct symtable type ASTnode (line 43) | struct ASTnode type symtable (line 44) | struct symtable type ASTnode (line 45) | struct ASTnode type symtable (line 46) | struct symtable function gendumplabel (line 53) | static int gendumplabel(void) { function dumpAST (line 59) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 53_Mop_up_pt2/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode type symtable (line 50) | struct symtable FILE: 54_Reg_Spills/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int type) { function pushreg (line 109) | static void pushreg(int r) { function popreg (line 113) | static void popreg(int r) { function freeall_registers (line 120) | void freeall_registers(int keepreg) { function alloc_register (line 136) | int alloc_register(void) { function free_register (line 156) | static void free_register(int reg) { function spill_all_regs (line 174) | void spill_all_regs(void) { function unspill_all_regs (line 182) | static void unspill_all_regs(void) { function cgpreamble (line 190) | void cgpreamble() { function cgpostamble (line 220) | void cgpostamble() { function cgfuncpreamble (line 224) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 265) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 275) | int cgloadint(int value, int type) { function cgloadglob (line 287) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 336) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 385) | int cgloadglobstr(int label) { function cgadd (line 394) | int cgadd(int r1, int r2) { function cgsub (line 402) | int cgsub(int r1, int r2) { function cgmul (line 410) | int cgmul(int r1, int r2) { function cgdiv (line 418) | int cgdiv(int r1, int r2) { function cgand (line 427) | int cgand(int r1, int r2) { function cgor (line 433) | int cgor(int r1, int r2) { function cgxor (line 439) | int cgxor(int r1, int r2) { function cgshl (line 445) | int cgshl(int r1, int r2) { function cgshr (line 452) | int cgshr(int r1, int r2) { function cgnegate (line 460) | int cgnegate(int r) { function cginvert (line 466) | int cginvert(int r) { function cglognot (line 472) | int cglognot(int r) { function cgloadboolean (line 481) | void cgloadboolean(int r, int val) { function cgboolean (line 488) | int cgboolean(int r, int op, int label) { function cgcall (line 509) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 532) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 549) | int cgshlconst(int r, int val) { function cgstorglob (line 555) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 574) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 595) | void cgglobsym(struct symtable *node) { function cgglobstr (line 655) | void cgglobstr(int l, char *strvalue, int append) { function cgglobstrend (line 664) | void cgglobstrend(void) { function cgcompare_and_set (line 674) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 688) | void cglabel(int l) { function cgjump (line 693) | void cgjump(int l) { function cgcompare_and_jump (line 702) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 717) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 723) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 755) | int cgaddress(struct symtable *sym) { function cgderef (line 767) | int cgderef(int r, int type) { function cgstorderef (line 790) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 811) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 840) | void cgmove(int r1, int r2) { FILE: 54_Reg_Spills/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 54_Reg_Spills/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | int newlocaloffset(int type) { function pushreg (line 101) | static void pushreg(int r) { function popreg (line 105) | static void popreg(int r) { function freeall_registers (line 111) | void freeall_registers(int keepreg) { function alloc_register (line 127) | int alloc_register(void) { function free_register (line 146) | static void free_register(int reg) { function spill_all_regs (line 163) | void spill_all_regs(void) { function unspill_all_regs (line 171) | static void unspill_all_regs(void) { function cgpreamble (line 179) | void cgpreamble() { function cgpostamble (line 216) | void cgpostamble() { function cgfuncpreamble (line 220) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 263) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 273) | int cgloadint(int value, int type) { function cgloadglob (line 285) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 337) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 389) | int cgloadglobstr(int label) { function cgadd (line 398) | int cgadd(int r1, int r2) { function cgsub (line 406) | int cgsub(int r1, int r2) { function cgmul (line 414) | int cgmul(int r1, int r2) { function cgdiv (line 422) | int cgdiv(int r1, int r2) { function cgand (line 431) | int cgand(int r1, int r2) { function cgor (line 437) | int cgor(int r1, int r2) { function cgxor (line 443) | int cgxor(int r1, int r2) { function cgshl (line 449) | int cgshl(int r1, int r2) { function cgshr (line 456) | int cgshr(int r1, int r2) { function cgnegate (line 464) | int cgnegate(int r) { function cginvert (line 470) | int cginvert(int r) { function cglognot (line 476) | int cglognot(int r) { function cgloadboolean (line 485) | void cgloadboolean(int r, int val) { function cgboolean (line 491) | int cgboolean(int r, int op, int label) { function cgcall (line 512) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 533) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 550) | int cgshlconst(int r, int val) { function cgstorglob (line 556) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 574) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 595) | void cgglobsym(struct symtable *node) { function cgglobstr (line 659) | void cgglobstr(int l, char *strvalue, int append) { function cgglobstrend (line 668) | void cgglobstrend(void) { function cgcompare_and_set (line 678) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 692) | void cglabel(int l) { function cgjump (line 697) | void cgjump(int l) { function cgcompare_and_jump (line 706) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 721) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 727) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 757) | int cgaddress(struct symtable *sym) { function cgderef (line 770) | int cgderef(int r, int type) { function cgstorderef (line 793) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 814) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 843) | void cgmove(int r1, int r2) { FILE: 54_Reg_Spills/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 97) | int parse_stars(int type) { function parse_cast (line 109) | int parse_cast(struct symtable **ctype) { function parse_literal (line 126) | int parse_literal(int type) { function is_new_symbol (line 163) | int is_new_symbol(struct symtable *sym, int class, type symtable (line 197) | struct symtable type symtable (line 198) | struct symtable type ASTnode (line 199) | struct ASTnode type symtable (line 200) | struct symtable type ASTnode (line 201) | struct ASTnode type symtable (line 268) | struct symtable type symtable (line 269) | struct symtable type symtable (line 271) | struct symtable function param_declaration_list (line 368) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 427) | struct symtable type symtable (line 428) | struct symtable type ASTnode (line 430) | struct ASTnode type symtable (line 431) | struct symtable type symtable (line 519) | struct symtable type symtable (line 520) | struct symtable type symtable (line 521) | struct symtable type ASTnode (line 522) | struct ASTnode function enum_declaration (line 602) | static void enum_declaration(void) { function typedef_declaration (line 670) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 695) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 712) | struct symtable type symtable (line 712) | struct symtable type ASTnode (line 713) | struct ASTnode type symtable (line 714) | struct symtable function declaration_list (line 750) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 796) | void global_declarations(void) { FILE: 54_Reg_Spills/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type symtable (line 16) | struct symtable type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type symtable (line 19) | struct symtable type ASTnode (line 20) | struct ASTnode type symtable (line 21) | struct symtable type ASTnode (line 22) | struct ASTnode type ASTnode (line 26) | struct ASTnode type symtable (line 31) | struct symtable type symtable (line 48) | struct symtable type symtable (line 49) | struct symtable type symtable (line 51) | struct symtable type symtable (line 52) | struct symtable type symtable (line 59) | struct symtable type symtable (line 61) | struct symtable type symtable (line 62) | struct symtable type symtable (line 63) | struct symtable type symtable (line 71) | struct symtable type symtable (line 72) | struct symtable type ASTnode (line 90) | struct ASTnode type ASTnode (line 91) | struct ASTnode type ASTnode (line 94) | struct ASTnode type symtable (line 111) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 113) | struct symtable type symtable (line 115) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 122) | struct symtable type symtable (line 122) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 125) | struct symtable type symtable (line 126) | struct symtable type symtable (line 127) | struct symtable type symtable (line 128) | struct symtable type symtable (line 129) | struct symtable type symtable (line 130) | struct symtable type symtable (line 131) | struct symtable type symtable (line 135) | struct symtable type symtable (line 139) | struct symtable type symtable (line 141) | struct symtable type symtable (line 142) | struct symtable type ASTnode (line 143) | struct ASTnode type symtable (line 151) | struct symtable type ASTnode (line 152) | struct ASTnode type ASTnode (line 152) | struct ASTnode type symtable (line 153) | struct symtable type ASTnode (line 156) | struct ASTnode type ASTnode (line 156) | struct ASTnode FILE: 54_Reg_Spills/defs.h type token (line 58) | struct token { type symtable (line 108) | struct symtable { type ASTnode (line 125) | struct ASTnode { FILE: 54_Reg_Spills/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 49) | struct ASTnode type ASTnode (line 50) | struct ASTnode type symtable (line 51) | struct symtable type ASTnode (line 78) | struct ASTnode type ASTnode (line 78) | struct ASTnode type ASTnode (line 79) | struct ASTnode type ASTnode (line 116) | struct ASTnode type ASTnode (line 116) | struct ASTnode type ASTnode (line 117) | struct ASTnode type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type ASTnode (line 168) | struct ASTnode type ASTnode (line 169) | struct ASTnode type symtable (line 171) | struct symtable type ASTnode (line 214) | struct ASTnode type ASTnode (line 215) | struct ASTnode type symtable (line 216) | struct symtable type symtable (line 217) | struct symtable type symtable (line 221) | struct symtable type ASTnode (line 315) | struct ASTnode type ASTnode (line 316) | struct ASTnode function binastop (line 378) | static int binastop(int tokentype) { function rightassoc (line 387) | static int rightassoc(int tokentype) { function op_precedence (line 410) | static int op_precedence(int tokentype) { type ASTnode (line 430) | struct ASTnode type ASTnode (line 431) | struct ASTnode type ASTnode (line 537) | struct ASTnode type ASTnode (line 538) | struct ASTnode type ASTnode (line 539) | struct ASTnode FILE: 54_Reg_Spills/gen.c function genlabel (line 10) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_logandor (line 140) | static int gen_logandor(struct ASTnode *n) { function gen_funccall (line 178) | static int gen_funccall(struct ASTnode *n) { function gen_ternary (line 206) | static int gen_ternary(struct ASTnode *n) { function genAST (line 246) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 459) | void genpreamble() { function genpostamble (line 462) | void genpostamble() { function genfreeregs (line 465) | void genfreeregs(int keepreg) { function genglobsym (line 468) | void genglobsym(struct symtable *node) { function genglobstr (line 475) | int genglobstr(char *strvalue, int append) { function genglobstrend (line 480) | void genglobstrend(void) { function genprimsize (line 483) | int genprimsize(int type) { function genalign (line 486) | int genalign(int type, int offset, int direction) { FILE: 54_Reg_Spills/main.c function do_link (line 117) | void do_link(char *outfilename, char *objlist[]) { function usage (line 146) | static void usage(char *prog) { function main (line 162) | int main(int argc, char *argv[]) { FILE: 54_Reg_Spills/misc.c function match (line 13) | void match(int t, char *what) { function semi (line 22) | void semi(void) { function lbrace (line 27) | void lbrace(void) { function rbrace (line 32) | void rbrace(void) { function lparen (line 37) | void lparen(void) { function rparen (line 42) | void rparen(void) { function ident (line 47) | void ident(void) { function comma (line 52) | void comma(void) { function fatal (line 57) | void fatal(char *s) { function fatals (line 64) | void fatals(char *s1, char *s2) { function fatald (line 71) | void fatald(char *s, int d) { function fatalc (line 78) | void fatalc(char *s, int c) { FILE: 54_Reg_Spills/opt.c type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 98) | struct ASTnode FILE: 54_Reg_Spills/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 19) | static int next(void) { function putback (line 61) | static void putback(int c) { function skip (line 68) | static int skip(void) { function hexchar (line 79) | static int hexchar(void) { function scanch (line 102) | static int scanch(void) { function scanint (line 160) | static int scanint(int c) { function scanstr (line 190) | static int scanstr(char *buf) { function scanident (line 210) | static int scanident(int c, char *buf, int lim) { function keyword (line 235) | static int keyword(char *s) { function scan (line 327) | int scan(struct token *t) { FILE: 54_Reg_Spills/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 69) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 102) | struct ASTnode type ASTnode (line 103) | struct ASTnode type ASTnode (line 145) | struct ASTnode type ASTnode (line 146) | struct ASTnode type ASTnode (line 183) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 205) | struct ASTnode type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode type ASTnode (line 304) | struct ASTnode type ASTnode (line 305) | struct ASTnode type symtable (line 306) | struct symtable type ASTnode (line 368) | struct ASTnode type ASTnode (line 369) | struct ASTnode type ASTnode (line 370) | struct ASTnode FILE: 54_Reg_Spills/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 66) | struct symtable type symtable (line 66) | struct symtable type symtable (line 68) | struct symtable type symtable (line 78) | struct symtable type symtable (line 78) | struct symtable type symtable (line 80) | struct symtable type symtable (line 89) | struct symtable type symtable (line 89) | struct symtable type symtable (line 91) | struct symtable type symtable (line 97) | struct symtable type symtable (line 97) | struct symtable type symtable (line 99) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 125) | struct symtable type symtable (line 126) | struct symtable type symtable (line 132) | struct symtable type symtable (line 132) | struct symtable type symtable (line 133) | struct symtable type symtable (line 141) | struct symtable type symtable (line 141) | struct symtable type symtable (line 152) | struct symtable type symtable (line 158) | struct symtable type symtable (line 159) | struct symtable type symtable (line 172) | struct symtable type symtable (line 173) | struct symtable type symtable (line 190) | struct symtable type symtable (line 196) | struct symtable type symtable (line 202) | struct symtable type symtable (line 208) | struct symtable type symtable (line 214) | struct symtable type symtable (line 220) | struct symtable function clear_symtable (line 225) | void clear_symtable(void) { function freeloclsyms (line 237) | void freeloclsyms(void) { function freestaticsyms (line 244) | void freestaticsyms(void) { function dumpsym (line 276) | static void dumpsym(struct symtable *sym, int indent) { function dumptable (line 393) | void dumptable(struct symtable *head, char *name, int indent) { function dumpsymtables (line 402) | void dumpsymtables(void) { FILE: 54_Reg_Spills/tests/err.input065.c type type (line 1) | enum type FILE: 54_Reg_Spills/tests/err.input066.c type value (line 1) | enum value FILE: 54_Reg_Spills/tests/input001.c function main (line 3) | void main() FILE: 54_Reg_Spills/tests/input002.c function main (line 3) | void main() FILE: 54_Reg_Spills/tests/input003.c function main (line 3) | void main() FILE: 54_Reg_Spills/tests/input004.c function main (line 3) | void main() FILE: 54_Reg_Spills/tests/input005.c function main (line 3) | void main() FILE: 54_Reg_Spills/tests/input006.c function main (line 3) | void main() FILE: 54_Reg_Spills/tests/input007.c function main (line 3) | void main() FILE: 54_Reg_Spills/tests/input008.c function main (line 3) | void main() FILE: 54_Reg_Spills/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 54_Reg_Spills/tests/input010.c function main (line 3) | void main() FILE: 54_Reg_Spills/tests/input011.c function main (line 3) | int main() FILE: 54_Reg_Spills/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 54_Reg_Spills/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 54_Reg_Spills/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 54_Reg_Spills/tests/input015.c function main (line 3) | int main() { FILE: 54_Reg_Spills/tests/input016.c function main (line 8) | int main() { FILE: 54_Reg_Spills/tests/input017.c function main (line 3) | int main() { FILE: 54_Reg_Spills/tests/input018.c function main (line 3) | int main() FILE: 54_Reg_Spills/tests/input018a.c function main (line 8) | int main() FILE: 54_Reg_Spills/tests/input019.c function main (line 8) | int main() FILE: 54_Reg_Spills/tests/input020.c function main (line 6) | int main() { FILE: 54_Reg_Spills/tests/input021.c function main (line 6) | int main() { FILE: 54_Reg_Spills/tests/input022.c function main (line 8) | int main() { FILE: 54_Reg_Spills/tests/input023.c function main (line 6) | int main() { FILE: 54_Reg_Spills/tests/input024.c function main (line 6) | int main() { FILE: 54_Reg_Spills/tests/input025.c function main (line 7) | int main() FILE: 54_Reg_Spills/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 54_Reg_Spills/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 54_Reg_Spills/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 54_Reg_Spills/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 54_Reg_Spills/tests/input030.c function main (line 10) | int main() { FILE: 54_Reg_Spills/tests/input031.c function main (line 3) | int main() { FILE: 54_Reg_Spills/tests/input032.c function main (line 3) | int main() { FILE: 54_Reg_Spills/tests/input033.c function main (line 3) | int main() { FILE: 54_Reg_Spills/tests/input034.c function main (line 3) | int main() { FILE: 54_Reg_Spills/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 54_Reg_Spills/tests/input039.c function main (line 3) | int main() { int a; } FILE: 54_Reg_Spills/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 54_Reg_Spills/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 54_Reg_Spills/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 54_Reg_Spills/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 54_Reg_Spills/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 54_Reg_Spills/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 54_Reg_Spills/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 54_Reg_Spills/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 54_Reg_Spills/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 54_Reg_Spills/tests/input049.c function main (line 3) | int main() { FILE: 54_Reg_Spills/tests/input050.c function main (line 3) | int main() { FILE: 54_Reg_Spills/tests/input051.c function main (line 3) | int main() { FILE: 54_Reg_Spills/tests/input052.c function main (line 3) | int main() { FILE: 54_Reg_Spills/tests/input053.c function main (line 3) | int main() FILE: 54_Reg_Spills/tests/input054.c function main (line 3) | int main() FILE: 54_Reg_Spills/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 54_Reg_Spills/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 54_Reg_Spills/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 54_Reg_Spills/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 54_Reg_Spills/tests/input059.c function main (line 1) | int main() { FILE: 54_Reg_Spills/tests/input060.c function main (line 1) | int main() { FILE: 54_Reg_Spills/tests/input061.c function main (line 1) | int main() { FILE: 54_Reg_Spills/tests/input062.c function main (line 13) | int main() { FILE: 54_Reg_Spills/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 54_Reg_Spills/tests/input064.c type fred (line 1) | enum fred FILE: 54_Reg_Spills/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 54_Reg_Spills/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 54_Reg_Spills/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 54_Reg_Spills/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 54_Reg_Spills/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 54_Reg_Spills/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 54_Reg_Spills/tests/input071.c function main (line 3) | int main() { FILE: 54_Reg_Spills/tests/input072.c function main (line 1) | int main() { break; } FILE: 54_Reg_Spills/tests/input073.c function main (line 1) | int main() { continue; } FILE: 54_Reg_Spills/tests/input074.c function main (line 3) | int main() { FILE: 54_Reg_Spills/tests/input075.c function main (line 1) | int main() { FILE: 54_Reg_Spills/tests/input076.c function main (line 1) | int main() { FILE: 54_Reg_Spills/tests/input077.c function main (line 1) | int main() { FILE: 54_Reg_Spills/tests/input078.c function main (line 1) | int main() { FILE: 54_Reg_Spills/tests/input079.c function main (line 1) | int main() { FILE: 54_Reg_Spills/tests/input080.c function main (line 6) | int main() { FILE: 54_Reg_Spills/tests/input081.c function main (line 6) | int main() { FILE: 54_Reg_Spills/tests/input082.c function main (line 3) | int main() { FILE: 54_Reg_Spills/tests/input083.c function main (line 3) | int main() { FILE: 54_Reg_Spills/tests/input084.c function main (line 3) | int main() { FILE: 54_Reg_Spills/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 54_Reg_Spills/tests/input086.c function main (line 1) | int main() { FILE: 54_Reg_Spills/tests/input087.c type foo (line 1) | struct foo { FILE: 54_Reg_Spills/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 54_Reg_Spills/tests/input089.c function main (line 7) | int main() { FILE: 54_Reg_Spills/tests/input090.c function main (line 6) | int main() { FILE: 54_Reg_Spills/tests/input091.c function main (line 6) | int main() { FILE: 54_Reg_Spills/tests/input097.c function main (line 1) | int main() { FILE: 54_Reg_Spills/tests/input099.c function main (line 19) | int main() { FILE: 54_Reg_Spills/tests/input100.c function main (line 2) | int main() { FILE: 54_Reg_Spills/tests/input101.c function main (line 3) | int main() { FILE: 54_Reg_Spills/tests/input102.c function main (line 1) | int main() { FILE: 54_Reg_Spills/tests/input103.c function main (line 1) | int main() { FILE: 54_Reg_Spills/tests/input104.c function main (line 1) | int main() { FILE: 54_Reg_Spills/tests/input105.c function main (line 1) | int main() { FILE: 54_Reg_Spills/tests/input106.c function main (line 4) | int main() { FILE: 54_Reg_Spills/tests/input107.c function main (line 5) | int main() { FILE: 54_Reg_Spills/tests/input108.c function main (line 1) | int main() { FILE: 54_Reg_Spills/tests/input109.c function main (line 2) | int main() { FILE: 54_Reg_Spills/tests/input110.c function main (line 6) | int main() { FILE: 54_Reg_Spills/tests/input111.c function main (line 2) | int main() { FILE: 54_Reg_Spills/tests/input112.c function main (line 6) | int main() { FILE: 54_Reg_Spills/tests/input113.c function fred (line 4) | void fred(void) { function main (line 8) | int main(void) { FILE: 54_Reg_Spills/tests/input114.c function main (line 2) | int main() { FILE: 54_Reg_Spills/tests/input115.c type foo (line 2) | struct foo { int x; char y; long z; } type blah (line 3) | typedef struct foo blah; type symtable (line 6) | struct symtable { type ASTnode (line 23) | struct ASTnode { function main (line 36) | int main() { FILE: 54_Reg_Spills/tests/input116.c function fred (line 4) | static int fred(void) { return(counter++); } function main (line 6) | int main(void) { FILE: 54_Reg_Spills/tests/input117.c function main (line 7) | int main(void) { FILE: 54_Reg_Spills/tests/input118.c function main (line 1) | int main(void) { FILE: 54_Reg_Spills/tests/input119.c function main (line 6) | int main() { FILE: 54_Reg_Spills/tests/input120.c function main (line 6) | int main() { FILE: 54_Reg_Spills/tests/input121.c function main (line 6) | int main() { FILE: 54_Reg_Spills/tests/input122.c function main (line 5) | int main() { FILE: 54_Reg_Spills/tests/input123.c function main (line 3) | int main() { FILE: 54_Reg_Spills/tests/input124.c function main (line 5) | int main() { FILE: 54_Reg_Spills/tests/input125.c function main (line 7) | int main() { FILE: 54_Reg_Spills/tests/input126.c function main (line 5) | int main() { FILE: 54_Reg_Spills/tests/input127.c function fred (line 5) | void fred(int *ptr) { // Receive a pointer function main (line 9) | int main() { FILE: 54_Reg_Spills/tests/input128.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 54_Reg_Spills/tests/input129.c function main (line 5) | int main() { FILE: 54_Reg_Spills/tests/input130.c function main (line 5) | int main() { FILE: 54_Reg_Spills/tests/input131.c function donothing (line 3) | void donothing() { } function main (line 5) | int main() { FILE: 54_Reg_Spills/tests/input132.c function main (line 7) | int main() { return(0); } FILE: 54_Reg_Spills/tests/input133.c function main (line 9) | void main() { printf("OK\n"); } FILE: 54_Reg_Spills/tests/input134.c function main (line 6) | int main() { FILE: 54_Reg_Spills/tests/input135.c function fred (line 3) | void fred() { function main (line 10) | int main() { FILE: 54_Reg_Spills/tests/input136.c function add (line 3) | int add(int x, int y) { function main (line 7) | int main() { FILE: 54_Reg_Spills/tests/input137.c function main (line 5) | int main() { FILE: 54_Reg_Spills/tests/input138.c function main (line 8) | int main() { FILE: 54_Reg_Spills/tests/input139.c function same (line 3) | int same(int x) { return(x); } function main (line 5) | int main() { FILE: 54_Reg_Spills/tests/out.input030.c function main (line 10) | int main() { FILE: 54_Reg_Spills/tree.c type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 36) | struct ASTnode type symtable (line 37) | struct symtable type symtable (line 38) | struct symtable type ASTnode (line 43) | struct ASTnode type symtable (line 44) | struct symtable type ASTnode (line 45) | struct ASTnode type symtable (line 46) | struct symtable function gendumplabel (line 53) | static int gendumplabel(void) { function dumpAST (line 59) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 54_Reg_Spills/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode type symtable (line 50) | struct symtable FILE: 56_Local_Arrays/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int size) { function pushreg (line 109) | static void pushreg(int r) { function popreg (line 113) | static void popreg(int r) { function freeall_registers (line 120) | void freeall_registers(int keepreg) { function alloc_register (line 136) | int alloc_register(void) { function free_register (line 156) | static void free_register(int reg) { function spill_all_regs (line 174) | void spill_all_regs(void) { function unspill_all_regs (line 182) | static void unspill_all_regs(void) { function cgpreamble (line 190) | void cgpreamble() { function cgpostamble (line 220) | void cgpostamble() { function cgfuncpreamble (line 224) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 265) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 275) | int cgloadint(int value, int type) { function cgloadglob (line 287) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 336) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 385) | int cgloadglobstr(int label) { function cgadd (line 394) | int cgadd(int r1, int r2) { function cgsub (line 402) | int cgsub(int r1, int r2) { function cgmul (line 410) | int cgmul(int r1, int r2) { function cgdiv (line 418) | int cgdiv(int r1, int r2) { function cgand (line 427) | int cgand(int r1, int r2) { function cgor (line 433) | int cgor(int r1, int r2) { function cgxor (line 439) | int cgxor(int r1, int r2) { function cgshl (line 445) | int cgshl(int r1, int r2) { function cgshr (line 452) | int cgshr(int r1, int r2) { function cgnegate (line 460) | int cgnegate(int r) { function cginvert (line 466) | int cginvert(int r) { function cglognot (line 472) | int cglognot(int r) { function cgloadboolean (line 481) | void cgloadboolean(int r, int val) { function cgboolean (line 488) | int cgboolean(int r, int op, int label) { function cgcall (line 509) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 532) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 549) | int cgshlconst(int r, int val) { function cgstorglob (line 555) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 574) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 595) | void cgglobsym(struct symtable *node) { function cgglobstr (line 655) | void cgglobstr(int l, char *strvalue, int append) { function cgglobstrend (line 664) | void cgglobstrend(void) { function cgcompare_and_set (line 674) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 688) | void cglabel(int l) { function cgjump (line 693) | void cgjump(int l) { function cgcompare_and_jump (line 702) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 717) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 723) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 755) | int cgaddress(struct symtable *sym) { function cgderef (line 767) | int cgderef(int r, int type) { function cgstorderef (line 790) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 812) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 841) | void cgmove(int r1, int r2) { FILE: 56_Local_Arrays/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 56_Local_Arrays/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | int newlocaloffset(int size) { function pushreg (line 101) | static void pushreg(int r) { function popreg (line 105) | static void popreg(int r) { function freeall_registers (line 111) | void freeall_registers(int keepreg) { function alloc_register (line 127) | int alloc_register(void) { function free_register (line 146) | static void free_register(int reg) { function spill_all_regs (line 163) | void spill_all_regs(void) { function unspill_all_regs (line 171) | static void unspill_all_regs(void) { function cgpreamble (line 179) | void cgpreamble() { function cgpostamble (line 216) | void cgpostamble() { function cgfuncpreamble (line 220) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 263) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 273) | int cgloadint(int value, int type) { function cgloadglob (line 285) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 337) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 389) | int cgloadglobstr(int label) { function cgadd (line 398) | int cgadd(int r1, int r2) { function cgsub (line 406) | int cgsub(int r1, int r2) { function cgmul (line 414) | int cgmul(int r1, int r2) { function cgdiv (line 422) | int cgdiv(int r1, int r2) { function cgand (line 431) | int cgand(int r1, int r2) { function cgor (line 437) | int cgor(int r1, int r2) { function cgxor (line 443) | int cgxor(int r1, int r2) { function cgshl (line 449) | int cgshl(int r1, int r2) { function cgshr (line 456) | int cgshr(int r1, int r2) { function cgnegate (line 464) | int cgnegate(int r) { function cginvert (line 470) | int cginvert(int r) { function cglognot (line 476) | int cglognot(int r) { function cgloadboolean (line 485) | void cgloadboolean(int r, int val) { function cgboolean (line 491) | int cgboolean(int r, int op, int label) { function cgcall (line 512) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 533) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 550) | int cgshlconst(int r, int val) { function cgstorglob (line 556) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 574) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 595) | void cgglobsym(struct symtable *node) { function cgglobstr (line 659) | void cgglobstr(int l, char *strvalue, int append) { function cgglobstrend (line 668) | void cgglobstrend(void) { function cgcompare_and_set (line 678) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 692) | void cglabel(int l) { function cgjump (line 697) | void cgjump(int l) { function cgcompare_and_jump (line 706) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 721) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 727) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 757) | int cgaddress(struct symtable *sym) { function cgderef (line 770) | int cgderef(int r, int type) { function cgstorderef (line 793) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 815) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 844) | void cgmove(int r1, int r2) { FILE: 56_Local_Arrays/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 97) | int parse_stars(int type) { function parse_cast (line 109) | int parse_cast(struct symtable **ctype) { function parse_literal (line 126) | int parse_literal(int type) { function is_new_symbol (line 163) | int is_new_symbol(struct symtable *sym, int class, type symtable (line 197) | struct symtable type symtable (line 198) | struct symtable type ASTnode (line 199) | struct ASTnode type symtable (line 200) | struct symtable type ASTnode (line 201) | struct ASTnode type symtable (line 268) | struct symtable type symtable (line 269) | struct symtable type symtable (line 271) | struct symtable function param_declaration_list (line 376) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 435) | struct symtable type symtable (line 436) | struct symtable type ASTnode (line 438) | struct ASTnode type symtable (line 439) | struct symtable type symtable (line 527) | struct symtable type symtable (line 528) | struct symtable type symtable (line 529) | struct symtable type ASTnode (line 530) | struct ASTnode function enum_declaration (line 610) | static void enum_declaration(void) { function typedef_declaration (line 678) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 703) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 720) | struct symtable type symtable (line 720) | struct symtable type ASTnode (line 721) | struct ASTnode type symtable (line 722) | struct symtable function declaration_list (line 759) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 805) | void global_declarations(void) { FILE: 56_Local_Arrays/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type symtable (line 16) | struct symtable type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type symtable (line 19) | struct symtable type ASTnode (line 20) | struct ASTnode type symtable (line 21) | struct symtable type ASTnode (line 22) | struct ASTnode type ASTnode (line 26) | struct ASTnode type symtable (line 31) | struct symtable type symtable (line 48) | struct symtable type symtable (line 49) | struct symtable type symtable (line 51) | struct symtable type symtable (line 52) | struct symtable type symtable (line 59) | struct symtable type symtable (line 61) | struct symtable type symtable (line 62) | struct symtable type symtable (line 63) | struct symtable type symtable (line 71) | struct symtable type symtable (line 72) | struct symtable type ASTnode (line 90) | struct ASTnode type ASTnode (line 91) | struct ASTnode type ASTnode (line 94) | struct ASTnode type symtable (line 111) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 113) | struct symtable type symtable (line 115) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 122) | struct symtable type symtable (line 122) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 125) | struct symtable type symtable (line 126) | struct symtable type symtable (line 127) | struct symtable type symtable (line 128) | struct symtable type symtable (line 129) | struct symtable type symtable (line 130) | struct symtable type symtable (line 131) | struct symtable type symtable (line 135) | struct symtable type symtable (line 139) | struct symtable type symtable (line 141) | struct symtable type symtable (line 142) | struct symtable type ASTnode (line 143) | struct ASTnode type symtable (line 151) | struct symtable type ASTnode (line 152) | struct ASTnode type ASTnode (line 152) | struct ASTnode type symtable (line 153) | struct symtable type ASTnode (line 156) | struct ASTnode type ASTnode (line 156) | struct ASTnode FILE: 56_Local_Arrays/defs.h type token (line 58) | struct token { type symtable (line 108) | struct symtable { type ASTnode (line 125) | struct ASTnode { FILE: 56_Local_Arrays/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 49) | struct ASTnode type ASTnode (line 50) | struct ASTnode type symtable (line 51) | struct symtable type ASTnode (line 78) | struct ASTnode type ASTnode (line 78) | struct ASTnode type ASTnode (line 79) | struct ASTnode type ASTnode (line 116) | struct ASTnode type ASTnode (line 116) | struct ASTnode type ASTnode (line 117) | struct ASTnode type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type ASTnode (line 168) | struct ASTnode type ASTnode (line 169) | struct ASTnode type symtable (line 171) | struct symtable type ASTnode (line 214) | struct ASTnode type ASTnode (line 215) | struct ASTnode type symtable (line 216) | struct symtable type symtable (line 217) | struct symtable type symtable (line 221) | struct symtable type ASTnode (line 315) | struct ASTnode type ASTnode (line 316) | struct ASTnode function binastop (line 378) | static int binastop(int tokentype) { function rightassoc (line 387) | static int rightassoc(int tokentype) { function op_precedence (line 410) | static int op_precedence(int tokentype) { type ASTnode (line 430) | struct ASTnode type ASTnode (line 431) | struct ASTnode type ASTnode (line 537) | struct ASTnode type ASTnode (line 538) | struct ASTnode type ASTnode (line 539) | struct ASTnode FILE: 56_Local_Arrays/gen.c function genlabel (line 10) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_logandor (line 140) | static int gen_logandor(struct ASTnode *n) { function gen_funccall (line 178) | static int gen_funccall(struct ASTnode *n) { function gen_ternary (line 206) | static int gen_ternary(struct ASTnode *n) { function genAST (line 246) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 459) | void genpreamble() { function genpostamble (line 462) | void genpostamble() { function genfreeregs (line 465) | void genfreeregs(int keepreg) { function genglobsym (line 468) | void genglobsym(struct symtable *node) { function genglobstr (line 475) | int genglobstr(char *strvalue, int append) { function genglobstrend (line 480) | void genglobstrend(void) { function genprimsize (line 483) | int genprimsize(int type) { function genalign (line 486) | int genalign(int type, int offset, int direction) { FILE: 56_Local_Arrays/main.c function do_link (line 117) | void do_link(char *outfilename, char *objlist[]) { function usage (line 146) | static void usage(char *prog) { function main (line 162) | int main(int argc, char *argv[]) { FILE: 56_Local_Arrays/misc.c function match (line 13) | void match(int t, char *what) { function semi (line 22) | void semi(void) { function lbrace (line 27) | void lbrace(void) { function rbrace (line 32) | void rbrace(void) { function lparen (line 37) | void lparen(void) { function rparen (line 42) | void rparen(void) { function ident (line 47) | void ident(void) { function comma (line 52) | void comma(void) { function fatal (line 57) | void fatal(char *s) { function fatals (line 64) | void fatals(char *s1, char *s2) { function fatald (line 71) | void fatald(char *s, int d) { function fatalc (line 78) | void fatalc(char *s, int c) { FILE: 56_Local_Arrays/opt.c type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 98) | struct ASTnode FILE: 56_Local_Arrays/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 19) | static int next(void) { function putback (line 61) | static void putback(int c) { function skip (line 68) | static int skip(void) { function hexchar (line 79) | static int hexchar(void) { function scanch (line 102) | static int scanch(void) { function scanint (line 160) | static int scanint(int c) { function scanstr (line 190) | static int scanstr(char *buf) { function scanident (line 210) | static int scanident(int c, char *buf, int lim) { function keyword (line 235) | static int keyword(char *s) { function scan (line 327) | int scan(struct token *t) { FILE: 56_Local_Arrays/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 69) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 102) | struct ASTnode type ASTnode (line 103) | struct ASTnode type ASTnode (line 145) | struct ASTnode type ASTnode (line 146) | struct ASTnode type ASTnode (line 183) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 205) | struct ASTnode type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode type ASTnode (line 304) | struct ASTnode type ASTnode (line 305) | struct ASTnode type symtable (line 306) | struct symtable type ASTnode (line 368) | struct ASTnode type ASTnode (line 369) | struct ASTnode type ASTnode (line 370) | struct ASTnode FILE: 56_Local_Arrays/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 66) | struct symtable type symtable (line 66) | struct symtable type symtable (line 68) | struct symtable type symtable (line 78) | struct symtable type symtable (line 78) | struct symtable type symtable (line 80) | struct symtable type symtable (line 89) | struct symtable type symtable (line 89) | struct symtable type symtable (line 91) | struct symtable type symtable (line 97) | struct symtable type symtable (line 97) | struct symtable type symtable (line 99) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 125) | struct symtable type symtable (line 126) | struct symtable type symtable (line 132) | struct symtable type symtable (line 132) | struct symtable type symtable (line 133) | struct symtable type symtable (line 141) | struct symtable type symtable (line 141) | struct symtable type symtable (line 152) | struct symtable type symtable (line 158) | struct symtable type symtable (line 159) | struct symtable type symtable (line 172) | struct symtable type symtable (line 173) | struct symtable type symtable (line 190) | struct symtable type symtable (line 196) | struct symtable type symtable (line 202) | struct symtable type symtable (line 208) | struct symtable type symtable (line 214) | struct symtable type symtable (line 220) | struct symtable function clear_symtable (line 225) | void clear_symtable(void) { function freeloclsyms (line 237) | void freeloclsyms(void) { function freestaticsyms (line 244) | void freestaticsyms(void) { function dumpsym (line 276) | static void dumpsym(struct symtable *sym, int indent) { function dumptable (line 393) | void dumptable(struct symtable *head, char *name, int indent) { function dumpsymtables (line 402) | void dumpsymtables(void) { FILE: 56_Local_Arrays/tests/err.input065.c type type (line 1) | enum type FILE: 56_Local_Arrays/tests/err.input066.c type value (line 1) | enum value FILE: 56_Local_Arrays/tests/input001.c function main (line 3) | void main() FILE: 56_Local_Arrays/tests/input002.c function main (line 3) | void main() FILE: 56_Local_Arrays/tests/input003.c function main (line 3) | void main() FILE: 56_Local_Arrays/tests/input004.c function main (line 3) | void main() FILE: 56_Local_Arrays/tests/input005.c function main (line 3) | void main() FILE: 56_Local_Arrays/tests/input006.c function main (line 3) | void main() FILE: 56_Local_Arrays/tests/input007.c function main (line 3) | void main() FILE: 56_Local_Arrays/tests/input008.c function main (line 3) | void main() FILE: 56_Local_Arrays/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 56_Local_Arrays/tests/input010.c function main (line 3) | void main() FILE: 56_Local_Arrays/tests/input011.c function main (line 3) | int main() FILE: 56_Local_Arrays/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 56_Local_Arrays/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 56_Local_Arrays/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 56_Local_Arrays/tests/input015.c function main (line 3) | int main() { FILE: 56_Local_Arrays/tests/input016.c function main (line 8) | int main() { FILE: 56_Local_Arrays/tests/input017.c function main (line 3) | int main() { FILE: 56_Local_Arrays/tests/input018.c function main (line 3) | int main() FILE: 56_Local_Arrays/tests/input018a.c function main (line 8) | int main() FILE: 56_Local_Arrays/tests/input019.c function main (line 8) | int main() FILE: 56_Local_Arrays/tests/input020.c function main (line 6) | int main() { FILE: 56_Local_Arrays/tests/input021.c function main (line 6) | int main() { FILE: 56_Local_Arrays/tests/input022.c function main (line 8) | int main() { FILE: 56_Local_Arrays/tests/input023.c function main (line 6) | int main() { FILE: 56_Local_Arrays/tests/input024.c function main (line 6) | int main() { FILE: 56_Local_Arrays/tests/input025.c function main (line 7) | int main() FILE: 56_Local_Arrays/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 56_Local_Arrays/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 56_Local_Arrays/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 56_Local_Arrays/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 56_Local_Arrays/tests/input030.c function main (line 10) | int main() { FILE: 56_Local_Arrays/tests/input031.c function main (line 3) | int main() { FILE: 56_Local_Arrays/tests/input032.c function main (line 3) | int main() { FILE: 56_Local_Arrays/tests/input033.c function main (line 3) | int main() { FILE: 56_Local_Arrays/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 56_Local_Arrays/tests/input039.c function main (line 3) | int main() { int a; } FILE: 56_Local_Arrays/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 56_Local_Arrays/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 56_Local_Arrays/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 56_Local_Arrays/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 56_Local_Arrays/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 56_Local_Arrays/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 56_Local_Arrays/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 56_Local_Arrays/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 56_Local_Arrays/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 56_Local_Arrays/tests/input049.c function main (line 3) | int main() { FILE: 56_Local_Arrays/tests/input050.c function main (line 3) | int main() { FILE: 56_Local_Arrays/tests/input051.c function main (line 3) | int main() { FILE: 56_Local_Arrays/tests/input052.c function main (line 3) | int main() { FILE: 56_Local_Arrays/tests/input053.c function main (line 3) | int main() FILE: 56_Local_Arrays/tests/input054.c function main (line 3) | int main() FILE: 56_Local_Arrays/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 56_Local_Arrays/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 56_Local_Arrays/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 56_Local_Arrays/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 56_Local_Arrays/tests/input059.c function main (line 1) | int main() { FILE: 56_Local_Arrays/tests/input060.c function main (line 1) | int main() { FILE: 56_Local_Arrays/tests/input061.c function main (line 1) | int main() { FILE: 56_Local_Arrays/tests/input062.c function main (line 13) | int main() { FILE: 56_Local_Arrays/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 56_Local_Arrays/tests/input064.c type fred (line 1) | enum fred FILE: 56_Local_Arrays/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 56_Local_Arrays/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 56_Local_Arrays/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 56_Local_Arrays/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 56_Local_Arrays/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 56_Local_Arrays/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 56_Local_Arrays/tests/input071.c function main (line 3) | int main() { FILE: 56_Local_Arrays/tests/input072.c function main (line 1) | int main() { break; } FILE: 56_Local_Arrays/tests/input073.c function main (line 1) | int main() { continue; } FILE: 56_Local_Arrays/tests/input074.c function main (line 3) | int main() { FILE: 56_Local_Arrays/tests/input075.c function main (line 1) | int main() { FILE: 56_Local_Arrays/tests/input076.c function main (line 1) | int main() { FILE: 56_Local_Arrays/tests/input077.c function main (line 1) | int main() { FILE: 56_Local_Arrays/tests/input078.c function main (line 1) | int main() { FILE: 56_Local_Arrays/tests/input079.c function main (line 1) | int main() { FILE: 56_Local_Arrays/tests/input080.c function main (line 6) | int main() { FILE: 56_Local_Arrays/tests/input081.c function main (line 6) | int main() { FILE: 56_Local_Arrays/tests/input082.c function main (line 3) | int main() { FILE: 56_Local_Arrays/tests/input083.c function main (line 3) | int main() { FILE: 56_Local_Arrays/tests/input084.c function main (line 3) | int main() { FILE: 56_Local_Arrays/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 56_Local_Arrays/tests/input086.c function main (line 1) | int main() { FILE: 56_Local_Arrays/tests/input087.c type foo (line 1) | struct foo { FILE: 56_Local_Arrays/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 56_Local_Arrays/tests/input089.c function main (line 7) | int main() { FILE: 56_Local_Arrays/tests/input090.c function main (line 6) | int main() { FILE: 56_Local_Arrays/tests/input091.c function main (line 6) | int main() { FILE: 56_Local_Arrays/tests/input099.c function main (line 19) | int main() { FILE: 56_Local_Arrays/tests/input100.c function main (line 2) | int main() { FILE: 56_Local_Arrays/tests/input101.c function main (line 3) | int main() { FILE: 56_Local_Arrays/tests/input102.c function main (line 1) | int main() { FILE: 56_Local_Arrays/tests/input103.c function main (line 1) | int main() { FILE: 56_Local_Arrays/tests/input104.c function main (line 1) | int main() { FILE: 56_Local_Arrays/tests/input105.c function main (line 1) | int main() { FILE: 56_Local_Arrays/tests/input106.c function main (line 4) | int main() { FILE: 56_Local_Arrays/tests/input107.c function main (line 5) | int main() { FILE: 56_Local_Arrays/tests/input108.c function main (line 1) | int main() { FILE: 56_Local_Arrays/tests/input109.c function main (line 2) | int main() { FILE: 56_Local_Arrays/tests/input110.c function main (line 6) | int main() { FILE: 56_Local_Arrays/tests/input111.c function main (line 2) | int main() { FILE: 56_Local_Arrays/tests/input112.c function main (line 6) | int main() { FILE: 56_Local_Arrays/tests/input113.c function fred (line 4) | void fred(void) { function main (line 8) | int main(void) { FILE: 56_Local_Arrays/tests/input114.c function main (line 2) | int main() { FILE: 56_Local_Arrays/tests/input115.c type foo (line 2) | struct foo { int x; char y; long z; } type blah (line 3) | typedef struct foo blah; type symtable (line 6) | struct symtable { type ASTnode (line 23) | struct ASTnode { function main (line 36) | int main() { FILE: 56_Local_Arrays/tests/input116.c function fred (line 4) | static int fred(void) { return(counter++); } function main (line 6) | int main(void) { FILE: 56_Local_Arrays/tests/input117.c function main (line 7) | int main(void) { FILE: 56_Local_Arrays/tests/input118.c function main (line 1) | int main(void) { FILE: 56_Local_Arrays/tests/input119.c function main (line 6) | int main() { FILE: 56_Local_Arrays/tests/input120.c function main (line 6) | int main() { FILE: 56_Local_Arrays/tests/input121.c function main (line 6) | int main() { FILE: 56_Local_Arrays/tests/input122.c function main (line 5) | int main() { FILE: 56_Local_Arrays/tests/input123.c function main (line 3) | int main() { FILE: 56_Local_Arrays/tests/input124.c function main (line 5) | int main() { FILE: 56_Local_Arrays/tests/input125.c function main (line 7) | int main() { FILE: 56_Local_Arrays/tests/input126.c function main (line 5) | int main() { FILE: 56_Local_Arrays/tests/input127.c function fred (line 5) | void fred(int *ptr) { // Receive a pointer function main (line 9) | int main() { FILE: 56_Local_Arrays/tests/input128.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 56_Local_Arrays/tests/input129.c function main (line 5) | int main() { FILE: 56_Local_Arrays/tests/input130.c function main (line 5) | int main() { FILE: 56_Local_Arrays/tests/input131.c function donothing (line 3) | void donothing() { } function main (line 5) | int main() { FILE: 56_Local_Arrays/tests/input132.c function main (line 7) | int main() { return(0); } FILE: 56_Local_Arrays/tests/input133.c function main (line 9) | void main() { printf("OK\n"); } FILE: 56_Local_Arrays/tests/input134.c function main (line 6) | int main() { FILE: 56_Local_Arrays/tests/input135.c function fred (line 3) | void fred() { function main (line 10) | int main() { FILE: 56_Local_Arrays/tests/input136.c function add (line 3) | int add(int x, int y) { function main (line 7) | int main() { FILE: 56_Local_Arrays/tests/input137.c function main (line 5) | int main() { FILE: 56_Local_Arrays/tests/input138.c function main (line 8) | int main() { FILE: 56_Local_Arrays/tests/input139.c function same (line 3) | int same(int x) { return(x); } function main (line 5) | int main() { FILE: 56_Local_Arrays/tests/input140.c function main (line 3) | int main() { FILE: 56_Local_Arrays/tests/input141.c function foo (line 4) | int foo(int mary[6]) { return(5); } FILE: 56_Local_Arrays/tests/out.input030.c function main (line 10) | int main() { FILE: 56_Local_Arrays/tree.c type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 36) | struct ASTnode type symtable (line 37) | struct symtable type symtable (line 38) | struct symtable type ASTnode (line 43) | struct ASTnode type symtable (line 44) | struct symtable type ASTnode (line 45) | struct ASTnode type symtable (line 46) | struct symtable function gendumplabel (line 53) | static int gendumplabel(void) { function dumpAST (line 59) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 56_Local_Arrays/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode type symtable (line 50) | struct symtable FILE: 57_Mop_up_pt3/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int size) { function pushreg (line 109) | static void pushreg(int r) { function popreg (line 113) | static void popreg(int r) { function freeall_registers (line 120) | void freeall_registers(int keepreg) { function alloc_register (line 137) | int alloc_register(void) { function free_register (line 158) | static void free_register(int reg) { function spill_all_regs (line 177) | void spill_all_regs(void) { function unspill_all_regs (line 185) | static void unspill_all_regs(void) { function cgpreamble (line 193) | void cgpreamble() { function cgpostamble (line 223) | void cgpostamble() { function cgfuncpreamble (line 227) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 268) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 278) | int cgloadint(int value, int type) { function cgloadglob (line 290) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 339) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 388) | int cgloadglobstr(int label) { function cgadd (line 397) | int cgadd(int r1, int r2) { function cgsub (line 405) | int cgsub(int r1, int r2) { function cgmul (line 413) | int cgmul(int r1, int r2) { function cgdiv (line 421) | int cgdiv(int r1, int r2) { function cgand (line 430) | int cgand(int r1, int r2) { function cgor (line 436) | int cgor(int r1, int r2) { function cgxor (line 442) | int cgxor(int r1, int r2) { function cgshl (line 448) | int cgshl(int r1, int r2) { function cgshr (line 455) | int cgshr(int r1, int r2) { function cgnegate (line 463) | int cgnegate(int r) { function cginvert (line 469) | int cginvert(int r) { function cglognot (line 475) | int cglognot(int r) { function cgloadboolean (line 484) | void cgloadboolean(int r, int val) { function cgboolean (line 491) | int cgboolean(int r, int op, int label) { function cgcall (line 512) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 535) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 552) | int cgshlconst(int r, int val) { function cgstorglob (line 558) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 577) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 598) | void cgglobsym(struct symtable *node) { function cgglobstr (line 658) | void cgglobstr(int l, char *strvalue, int append) { function cgglobstrend (line 667) | void cgglobstrend(void) { function cgcompare_and_set (line 677) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 691) | void cglabel(int l) { function cgjump (line 696) | void cgjump(int l) { function cgcompare_and_jump (line 705) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 720) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 726) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 758) | int cgaddress(struct symtable *sym) { function cgderef (line 770) | int cgderef(int r, int type) { function cgstorderef (line 793) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 815) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 844) | void cgmove(int r1, int r2) { FILE: 57_Mop_up_pt3/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 57_Mop_up_pt3/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | int newlocaloffset(int size) { function pushreg (line 101) | static void pushreg(int r) { function popreg (line 105) | static void popreg(int r) { function freeall_registers (line 111) | void freeall_registers(int keepreg) { function alloc_register (line 128) | int alloc_register(void) { function free_register (line 148) | static void free_register(int reg) { function spill_all_regs (line 166) | void spill_all_regs(void) { function unspill_all_regs (line 174) | static void unspill_all_regs(void) { function cgpreamble (line 182) | void cgpreamble() { function cgpostamble (line 212) | void cgpostamble() { function cgfuncpreamble (line 216) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 259) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 269) | int cgloadint(int value, int type) { function cgloadglob (line 281) | int cgloadglob(struct symtable *sym, int op) { function cgloadlocal (line 333) | int cgloadlocal(struct symtable *sym, int op) { function cgloadglobstr (line 385) | int cgloadglobstr(int label) { function cgadd (line 394) | int cgadd(int r1, int r2) { function cgsub (line 402) | int cgsub(int r1, int r2) { function cgmul (line 410) | int cgmul(int r1, int r2) { function cgdiv (line 418) | int cgdiv(int r1, int r2) { function cgand (line 427) | int cgand(int r1, int r2) { function cgor (line 433) | int cgor(int r1, int r2) { function cgxor (line 439) | int cgxor(int r1, int r2) { function cgshl (line 445) | int cgshl(int r1, int r2) { function cgshr (line 452) | int cgshr(int r1, int r2) { function cgnegate (line 460) | int cgnegate(int r) { function cginvert (line 466) | int cginvert(int r) { function cglognot (line 472) | int cglognot(int r) { function cgloadboolean (line 481) | void cgloadboolean(int r, int val) { function cgboolean (line 487) | int cgboolean(int r, int op, int label) { function cgcall (line 508) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 529) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 546) | int cgshlconst(int r, int val) { function cgstorglob (line 552) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 570) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 591) | void cgglobsym(struct symtable *node) { function cgglobstr (line 655) | void cgglobstr(int l, char *strvalue, int append) { function cgglobstrend (line 664) | void cgglobstrend(void) { function cgcompare_and_set (line 674) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 688) | void cglabel(int l) { function cgjump (line 693) | void cgjump(int l) { function cgcompare_and_jump (line 702) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 717) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 723) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 753) | int cgaddress(struct symtable *sym) { function cgderef (line 766) | int cgderef(int r, int type) { function cgstorderef (line 789) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 811) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 840) | void cgmove(int r1, int r2) { FILE: 57_Mop_up_pt3/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 97) | int parse_stars(int type) { function parse_cast (line 109) | int parse_cast(struct symtable **ctype) { function parse_literal (line 126) | int parse_literal(int type) { function is_new_symbol (line 163) | int is_new_symbol(struct symtable *sym, int class, type symtable (line 197) | struct symtable type symtable (line 198) | struct symtable type ASTnode (line 199) | struct ASTnode type symtable (line 200) | struct symtable type ASTnode (line 201) | struct ASTnode type symtable (line 268) | struct symtable type symtable (line 269) | struct symtable type symtable (line 271) | struct symtable function param_declaration_list (line 376) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 435) | struct symtable type symtable (line 436) | struct symtable type ASTnode (line 438) | struct ASTnode type symtable (line 439) | struct symtable type symtable (line 527) | struct symtable type symtable (line 528) | struct symtable type symtable (line 529) | struct symtable type ASTnode (line 530) | struct ASTnode function enum_declaration (line 610) | static void enum_declaration(void) { function typedef_declaration (line 678) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 703) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 720) | struct symtable type symtable (line 720) | struct symtable type ASTnode (line 721) | struct ASTnode type symtable (line 722) | struct symtable function declaration_list (line 759) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 805) | void global_declarations(void) { FILE: 57_Mop_up_pt3/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type symtable (line 16) | struct symtable type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type symtable (line 19) | struct symtable type ASTnode (line 20) | struct ASTnode type symtable (line 21) | struct symtable type ASTnode (line 22) | struct ASTnode type ASTnode (line 26) | struct ASTnode type symtable (line 31) | struct symtable type symtable (line 48) | struct symtable type symtable (line 49) | struct symtable type symtable (line 51) | struct symtable type symtable (line 52) | struct symtable type symtable (line 59) | struct symtable type symtable (line 61) | struct symtable type symtable (line 62) | struct symtable type symtable (line 63) | struct symtable type symtable (line 71) | struct symtable type symtable (line 72) | struct symtable type ASTnode (line 90) | struct ASTnode type ASTnode (line 91) | struct ASTnode type ASTnode (line 94) | struct ASTnode type symtable (line 111) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 113) | struct symtable type symtable (line 115) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 122) | struct symtable type symtable (line 122) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 125) | struct symtable type symtable (line 126) | struct symtable type symtable (line 127) | struct symtable type symtable (line 128) | struct symtable type symtable (line 129) | struct symtable type symtable (line 130) | struct symtable type symtable (line 131) | struct symtable type symtable (line 135) | struct symtable type symtable (line 139) | struct symtable type symtable (line 141) | struct symtable type symtable (line 142) | struct symtable type ASTnode (line 143) | struct ASTnode type symtable (line 151) | struct symtable type ASTnode (line 152) | struct ASTnode type ASTnode (line 152) | struct ASTnode type symtable (line 153) | struct symtable type ASTnode (line 156) | struct ASTnode type ASTnode (line 156) | struct ASTnode FILE: 57_Mop_up_pt3/defs.h type token (line 59) | struct token { type symtable (line 109) | struct symtable { type ASTnode (line 126) | struct ASTnode { FILE: 57_Mop_up_pt3/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 49) | struct ASTnode type ASTnode (line 50) | struct ASTnode type symtable (line 51) | struct symtable type ASTnode (line 78) | struct ASTnode type ASTnode (line 78) | struct ASTnode type ASTnode (line 79) | struct ASTnode type ASTnode (line 116) | struct ASTnode type ASTnode (line 116) | struct ASTnode type ASTnode (line 117) | struct ASTnode type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type ASTnode (line 168) | struct ASTnode type ASTnode (line 169) | struct ASTnode type symtable (line 171) | struct symtable type ASTnode (line 216) | struct ASTnode type ASTnode (line 217) | struct ASTnode type symtable (line 218) | struct symtable type symtable (line 219) | struct symtable type symtable (line 223) | struct symtable type ASTnode (line 317) | struct ASTnode type ASTnode (line 318) | struct ASTnode function binastop (line 380) | static int binastop(int tokentype) { function rightassoc (line 389) | static int rightassoc(int tokentype) { function op_precedence (line 412) | static int op_precedence(int tokentype) { type ASTnode (line 432) | struct ASTnode type ASTnode (line 433) | struct ASTnode type ASTnode (line 538) | struct ASTnode type ASTnode (line 539) | struct ASTnode type ASTnode (line 540) | struct ASTnode FILE: 57_Mop_up_pt3/gen.c function genlabel (line 10) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_logandor (line 140) | static int gen_logandor(struct ASTnode *n) { function gen_funccall (line 178) | static int gen_funccall(struct ASTnode *n) { function gen_ternary (line 206) | static int gen_ternary(struct ASTnode *n) { function genAST (line 246) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 460) | void genpreamble() { function genpostamble (line 463) | void genpostamble() { function genfreeregs (line 466) | void genfreeregs(int keepreg) { function genglobsym (line 469) | void genglobsym(struct symtable *node) { function genglobstr (line 476) | int genglobstr(char *strvalue, int append) { function genglobstrend (line 481) | void genglobstrend(void) { function genprimsize (line 484) | int genprimsize(int type) { function genalign (line 487) | int genalign(int type, int offset, int direction) { FILE: 57_Mop_up_pt3/main.c function do_link (line 117) | void do_link(char *outfilename, char **objlist) { function usage (line 146) | static void usage(char *prog) { function main (line 162) | int main(int argc, char *argv[]) { FILE: 57_Mop_up_pt3/misc.c function match (line 13) | void match(int t, char *what) { function semi (line 22) | void semi(void) { function lbrace (line 27) | void lbrace(void) { function rbrace (line 32) | void rbrace(void) { function lparen (line 37) | void lparen(void) { function rparen (line 42) | void rparen(void) { function ident (line 47) | void ident(void) { function comma (line 52) | void comma(void) { function fatal (line 57) | void fatal(char *s) { function fatals (line 64) | void fatals(char *s1, char *s2) { function fatald (line 71) | void fatald(char *s, int d) { function fatalc (line 78) | void fatalc(char *s, int c) { FILE: 57_Mop_up_pt3/opt.c type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 98) | struct ASTnode FILE: 57_Mop_up_pt3/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 19) | static int next(void) { function putback (line 61) | static void putback(int c) { function skip (line 68) | static int skip(void) { function hexchar (line 79) | static int hexchar(void) { function scanch (line 102) | static int scanch(void) { function scanint (line 160) | static int scanint(int c) { function scanstr (line 190) | static int scanstr(char *buf) { function scanident (line 210) | static int scanident(int c, char *buf, int lim) { function keyword (line 235) | static int keyword(char *s) { function scan (line 327) | int scan(struct token *t) { FILE: 57_Mop_up_pt3/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 69) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 102) | struct ASTnode type ASTnode (line 103) | struct ASTnode type ASTnode (line 145) | struct ASTnode type ASTnode (line 146) | struct ASTnode type ASTnode (line 183) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 205) | struct ASTnode type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode type ASTnode (line 304) | struct ASTnode type ASTnode (line 305) | struct ASTnode type symtable (line 306) | struct symtable type ASTnode (line 368) | struct ASTnode type ASTnode (line 369) | struct ASTnode type ASTnode (line 370) | struct ASTnode FILE: 57_Mop_up_pt3/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 66) | struct symtable type symtable (line 66) | struct symtable type symtable (line 68) | struct symtable type symtable (line 78) | struct symtable type symtable (line 78) | struct symtable type symtable (line 80) | struct symtable type symtable (line 89) | struct symtable type symtable (line 89) | struct symtable type symtable (line 91) | struct symtable type symtable (line 97) | struct symtable type symtable (line 97) | struct symtable type symtable (line 99) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 125) | struct symtable type symtable (line 126) | struct symtable type symtable (line 132) | struct symtable type symtable (line 132) | struct symtable type symtable (line 133) | struct symtable type symtable (line 141) | struct symtable type symtable (line 141) | struct symtable type symtable (line 152) | struct symtable type symtable (line 158) | struct symtable type symtable (line 159) | struct symtable type symtable (line 172) | struct symtable type symtable (line 173) | struct symtable type symtable (line 190) | struct symtable type symtable (line 196) | struct symtable type symtable (line 202) | struct symtable type symtable (line 208) | struct symtable type symtable (line 214) | struct symtable type symtable (line 220) | struct symtable function clear_symtable (line 225) | void clear_symtable(void) { function freeloclsyms (line 237) | void freeloclsyms(void) { function freestaticsyms (line 244) | void freestaticsyms(void) { function dumpsym (line 276) | static void dumpsym(struct symtable *sym, int indent) { function dumptable (line 393) | void dumptable(struct symtable *head, char *name, int indent) { function dumpsymtables (line 402) | void dumpsymtables(void) { FILE: 57_Mop_up_pt3/tests/err.input065.c type type (line 1) | enum type FILE: 57_Mop_up_pt3/tests/err.input066.c type value (line 1) | enum value FILE: 57_Mop_up_pt3/tests/input001.c function main (line 3) | void main() FILE: 57_Mop_up_pt3/tests/input002.c function main (line 3) | void main() FILE: 57_Mop_up_pt3/tests/input003.c function main (line 3) | void main() FILE: 57_Mop_up_pt3/tests/input004.c function main (line 3) | void main() FILE: 57_Mop_up_pt3/tests/input005.c function main (line 3) | void main() FILE: 57_Mop_up_pt3/tests/input006.c function main (line 3) | void main() FILE: 57_Mop_up_pt3/tests/input007.c function main (line 3) | void main() FILE: 57_Mop_up_pt3/tests/input008.c function main (line 3) | void main() FILE: 57_Mop_up_pt3/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 57_Mop_up_pt3/tests/input010.c function main (line 3) | void main() FILE: 57_Mop_up_pt3/tests/input011.c function main (line 3) | int main() FILE: 57_Mop_up_pt3/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 57_Mop_up_pt3/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 57_Mop_up_pt3/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 57_Mop_up_pt3/tests/input015.c function main (line 3) | int main() { FILE: 57_Mop_up_pt3/tests/input016.c function main (line 8) | int main() { FILE: 57_Mop_up_pt3/tests/input017.c function main (line 3) | int main() { FILE: 57_Mop_up_pt3/tests/input018.c function main (line 3) | int main() FILE: 57_Mop_up_pt3/tests/input018a.c function main (line 8) | int main() FILE: 57_Mop_up_pt3/tests/input019.c function main (line 8) | int main() FILE: 57_Mop_up_pt3/tests/input020.c function main (line 6) | int main() { FILE: 57_Mop_up_pt3/tests/input021.c function main (line 6) | int main() { FILE: 57_Mop_up_pt3/tests/input022.c function main (line 8) | int main() { FILE: 57_Mop_up_pt3/tests/input023.c function main (line 6) | int main() { FILE: 57_Mop_up_pt3/tests/input024.c function main (line 6) | int main() { FILE: 57_Mop_up_pt3/tests/input025.c function main (line 7) | int main() FILE: 57_Mop_up_pt3/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 57_Mop_up_pt3/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 57_Mop_up_pt3/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 57_Mop_up_pt3/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 57_Mop_up_pt3/tests/input030.c function main (line 10) | int main() { FILE: 57_Mop_up_pt3/tests/input031.c function main (line 3) | int main() { FILE: 57_Mop_up_pt3/tests/input032.c function main (line 3) | int main() { FILE: 57_Mop_up_pt3/tests/input033.c function main (line 3) | int main() { FILE: 57_Mop_up_pt3/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 57_Mop_up_pt3/tests/input039.c function main (line 3) | int main() { int a; } FILE: 57_Mop_up_pt3/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 57_Mop_up_pt3/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 57_Mop_up_pt3/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 57_Mop_up_pt3/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 57_Mop_up_pt3/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 57_Mop_up_pt3/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 57_Mop_up_pt3/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 57_Mop_up_pt3/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 57_Mop_up_pt3/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 57_Mop_up_pt3/tests/input049.c function main (line 3) | int main() { FILE: 57_Mop_up_pt3/tests/input050.c function main (line 3) | int main() { FILE: 57_Mop_up_pt3/tests/input051.c function main (line 3) | int main() { FILE: 57_Mop_up_pt3/tests/input052.c function main (line 3) | int main() { FILE: 57_Mop_up_pt3/tests/input053.c function main (line 3) | int main() FILE: 57_Mop_up_pt3/tests/input054.c function main (line 3) | int main() FILE: 57_Mop_up_pt3/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 57_Mop_up_pt3/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 57_Mop_up_pt3/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 57_Mop_up_pt3/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 57_Mop_up_pt3/tests/input059.c function main (line 1) | int main() { FILE: 57_Mop_up_pt3/tests/input060.c function main (line 1) | int main() { FILE: 57_Mop_up_pt3/tests/input061.c function main (line 1) | int main() { FILE: 57_Mop_up_pt3/tests/input062.c function main (line 13) | int main() { FILE: 57_Mop_up_pt3/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 57_Mop_up_pt3/tests/input064.c type fred (line 1) | enum fred FILE: 57_Mop_up_pt3/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 57_Mop_up_pt3/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 57_Mop_up_pt3/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 57_Mop_up_pt3/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 57_Mop_up_pt3/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 57_Mop_up_pt3/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 57_Mop_up_pt3/tests/input071.c function main (line 3) | int main() { FILE: 57_Mop_up_pt3/tests/input072.c function main (line 1) | int main() { break; } FILE: 57_Mop_up_pt3/tests/input073.c function main (line 1) | int main() { continue; } FILE: 57_Mop_up_pt3/tests/input074.c function main (line 3) | int main() { FILE: 57_Mop_up_pt3/tests/input075.c function main (line 1) | int main() { FILE: 57_Mop_up_pt3/tests/input076.c function main (line 1) | int main() { FILE: 57_Mop_up_pt3/tests/input077.c function main (line 1) | int main() { FILE: 57_Mop_up_pt3/tests/input078.c function main (line 1) | int main() { FILE: 57_Mop_up_pt3/tests/input079.c function main (line 1) | int main() { FILE: 57_Mop_up_pt3/tests/input080.c function main (line 6) | int main() { FILE: 57_Mop_up_pt3/tests/input081.c function main (line 6) | int main() { FILE: 57_Mop_up_pt3/tests/input082.c function main (line 3) | int main() { FILE: 57_Mop_up_pt3/tests/input083.c function main (line 3) | int main() { FILE: 57_Mop_up_pt3/tests/input084.c function main (line 3) | int main() { FILE: 57_Mop_up_pt3/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 57_Mop_up_pt3/tests/input086.c function main (line 1) | int main() { FILE: 57_Mop_up_pt3/tests/input087.c type foo (line 1) | struct foo { FILE: 57_Mop_up_pt3/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 57_Mop_up_pt3/tests/input089.c function main (line 7) | int main() { FILE: 57_Mop_up_pt3/tests/input090.c function main (line 6) | int main() { FILE: 57_Mop_up_pt3/tests/input091.c function main (line 6) | int main() { FILE: 57_Mop_up_pt3/tests/input099.c function main (line 19) | int main() { FILE: 57_Mop_up_pt3/tests/input100.c function main (line 2) | int main() { FILE: 57_Mop_up_pt3/tests/input101.c function main (line 3) | int main() { FILE: 57_Mop_up_pt3/tests/input102.c function main (line 1) | int main() { FILE: 57_Mop_up_pt3/tests/input103.c function main (line 1) | int main() { FILE: 57_Mop_up_pt3/tests/input104.c function main (line 1) | int main() { FILE: 57_Mop_up_pt3/tests/input105.c function main (line 1) | int main() { FILE: 57_Mop_up_pt3/tests/input106.c function main (line 4) | int main() { FILE: 57_Mop_up_pt3/tests/input107.c function main (line 5) | int main() { FILE: 57_Mop_up_pt3/tests/input108.c function main (line 1) | int main() { FILE: 57_Mop_up_pt3/tests/input109.c function main (line 2) | int main() { FILE: 57_Mop_up_pt3/tests/input110.c function main (line 6) | int main() { FILE: 57_Mop_up_pt3/tests/input111.c function main (line 2) | int main() { FILE: 57_Mop_up_pt3/tests/input112.c function main (line 6) | int main() { FILE: 57_Mop_up_pt3/tests/input113.c function fred (line 4) | void fred(void) { function main (line 8) | int main(void) { FILE: 57_Mop_up_pt3/tests/input114.c function main (line 2) | int main() { FILE: 57_Mop_up_pt3/tests/input115.c type foo (line 2) | struct foo { int x; char y; long z; } type blah (line 3) | typedef struct foo blah; type symtable (line 6) | struct symtable { type ASTnode (line 23) | struct ASTnode { function main (line 36) | int main() { FILE: 57_Mop_up_pt3/tests/input116.c function fred (line 4) | static int fred(void) { return(counter++); } function main (line 6) | int main(void) { FILE: 57_Mop_up_pt3/tests/input117.c function main (line 7) | int main(void) { FILE: 57_Mop_up_pt3/tests/input118.c function main (line 1) | int main(void) { FILE: 57_Mop_up_pt3/tests/input119.c function main (line 6) | int main() { FILE: 57_Mop_up_pt3/tests/input120.c function main (line 6) | int main() { FILE: 57_Mop_up_pt3/tests/input121.c function main (line 6) | int main() { FILE: 57_Mop_up_pt3/tests/input122.c function main (line 5) | int main() { FILE: 57_Mop_up_pt3/tests/input123.c function main (line 3) | int main() { FILE: 57_Mop_up_pt3/tests/input124.c function main (line 5) | int main() { FILE: 57_Mop_up_pt3/tests/input125.c function main (line 7) | int main() { FILE: 57_Mop_up_pt3/tests/input126.c function main (line 5) | int main() { FILE: 57_Mop_up_pt3/tests/input127.c function fred (line 5) | void fred(int *ptr) { // Receive a pointer function main (line 9) | int main() { FILE: 57_Mop_up_pt3/tests/input128.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 57_Mop_up_pt3/tests/input129.c function main (line 5) | int main() { FILE: 57_Mop_up_pt3/tests/input130.c function main (line 5) | int main() { FILE: 57_Mop_up_pt3/tests/input131.c function donothing (line 3) | void donothing() { } function main (line 5) | int main() { FILE: 57_Mop_up_pt3/tests/input132.c function main (line 7) | int main() { return(0); } FILE: 57_Mop_up_pt3/tests/input133.c function main (line 9) | void main() { printf("OK\n"); } FILE: 57_Mop_up_pt3/tests/input134.c function main (line 6) | int main() { FILE: 57_Mop_up_pt3/tests/input135.c function fred (line 3) | void fred() { function main (line 10) | int main() { FILE: 57_Mop_up_pt3/tests/input136.c function add (line 3) | int add(int x, int y) { function main (line 7) | int main() { FILE: 57_Mop_up_pt3/tests/input137.c function main (line 5) | int main() { FILE: 57_Mop_up_pt3/tests/input138.c function main (line 8) | int main() { FILE: 57_Mop_up_pt3/tests/input139.c function same (line 3) | int same(int x) { return(x); } function main (line 5) | int main() { FILE: 57_Mop_up_pt3/tests/input140.c function main (line 3) | int main() { FILE: 57_Mop_up_pt3/tests/input141.c function foo (line 4) | int foo(int mary[6]) { return(5); } FILE: 57_Mop_up_pt3/tests/input143.c function main (line 6) | int main() { FILE: 57_Mop_up_pt3/tests/input144.c function main (line 5) | int main() { FILE: 57_Mop_up_pt3/tests/input145.c function main (line 9) | int main() { FILE: 57_Mop_up_pt3/tests/out.input030.c function main (line 10) | int main() { FILE: 57_Mop_up_pt3/tree.c type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 36) | struct ASTnode type symtable (line 37) | struct symtable type symtable (line 38) | struct symtable type ASTnode (line 43) | struct ASTnode type symtable (line 44) | struct symtable type ASTnode (line 45) | struct ASTnode type symtable (line 46) | struct symtable function gendumplabel (line 53) | static int gendumplabel(void) { function dumpAST (line 59) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 57_Mop_up_pt3/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode type symtable (line 50) | struct symtable FILE: 58_Ptr_Increments/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int size) { function pushreg (line 109) | static void pushreg(int r) { function popreg (line 113) | static void popreg(int r) { function freeall_registers (line 120) | void freeall_registers(int keepreg) { function alloc_register (line 137) | int alloc_register(void) { function free_register (line 158) | static void free_register(int reg) { function spill_all_regs (line 177) | void spill_all_regs(void) { function unspill_all_regs (line 185) | static void unspill_all_regs(void) { function cgpreamble (line 193) | void cgpreamble() { function cgpostamble (line 223) | void cgpostamble() { function cgfuncpreamble (line 227) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 268) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 278) | int cgloadint(int value, int type) { function cgloadvar (line 290) | int cgloadvar(struct symtable *sym, int op) { function cgloadglobstr (line 363) | int cgloadglobstr(int label) { function cgadd (line 372) | int cgadd(int r1, int r2) { function cgsub (line 380) | int cgsub(int r1, int r2) { function cgmul (line 388) | int cgmul(int r1, int r2) { function cgdivmod (line 396) | int cgdivmod(int r1, int r2, int op) { function cgand (line 408) | int cgand(int r1, int r2) { function cgor (line 414) | int cgor(int r1, int r2) { function cgxor (line 420) | int cgxor(int r1, int r2) { function cgshl (line 426) | int cgshl(int r1, int r2) { function cgshr (line 433) | int cgshr(int r1, int r2) { function cgnegate (line 441) | int cgnegate(int r) { function cginvert (line 447) | int cginvert(int r) { function cglognot (line 453) | int cglognot(int r) { function cgloadboolean (line 462) | void cgloadboolean(int r, int val) { function cgboolean (line 469) | int cgboolean(int r, int op, int label) { function cgcall (line 490) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 513) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 530) | int cgshlconst(int r, int val) { function cgstorglob (line 536) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 555) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 576) | void cgglobsym(struct symtable *node) { function cgglobstr (line 636) | void cgglobstr(int l, char *strvalue, int append) { function cgglobstrend (line 645) | void cgglobstrend(void) { function cgcompare_and_set (line 655) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 669) | void cglabel(int l) { function cgjump (line 674) | void cgjump(int l) { function cgcompare_and_jump (line 683) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 698) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 704) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 736) | int cgaddress(struct symtable *sym) { function cgderef (line 748) | int cgderef(int r, int type) { function cgstorderef (line 771) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 793) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 822) | void cgmove(int r1, int r2) { FILE: 58_Ptr_Increments/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 58_Ptr_Increments/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | int newlocaloffset(int size) { function pushreg (line 101) | static void pushreg(int r) { function popreg (line 105) | static void popreg(int r) { function freeall_registers (line 111) | void freeall_registers(int keepreg) { function alloc_register (line 128) | int alloc_register(void) { function free_register (line 148) | static void free_register(int reg) { function spill_all_regs (line 166) | void spill_all_regs(void) { function unspill_all_regs (line 174) | static void unspill_all_regs(void) { function cgpreamble (line 182) | void cgpreamble() { function cgpostamble (line 212) | void cgpostamble() { function cgfuncpreamble (line 216) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 259) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 269) | int cgloadint(int value, int type) { function cgloadvar (line 281) | int cgloadvar(struct symtable *sym, int op) { function cgloadglobstr (line 354) | int cgloadglobstr(int label) { function cgadd (line 363) | int cgadd(int r1, int r2) { function cgsub (line 371) | int cgsub(int r1, int r2) { function cgmul (line 379) | int cgmul(int r1, int r2) { function cgdivmod (line 387) | int cgdivmod(int r1, int r2, int op) { function cgand (line 399) | int cgand(int r1, int r2) { function cgor (line 405) | int cgor(int r1, int r2) { function cgxor (line 411) | int cgxor(int r1, int r2) { function cgshl (line 417) | int cgshl(int r1, int r2) { function cgshr (line 424) | int cgshr(int r1, int r2) { function cgnegate (line 432) | int cgnegate(int r) { function cginvert (line 438) | int cginvert(int r) { function cglognot (line 444) | int cglognot(int r) { function cgloadboolean (line 453) | void cgloadboolean(int r, int val) { function cgboolean (line 459) | int cgboolean(int r, int op, int label) { function cgcall (line 480) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 501) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 518) | int cgshlconst(int r, int val) { function cgstorglob (line 524) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 542) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 563) | void cgglobsym(struct symtable *node) { function cgglobstr (line 627) | void cgglobstr(int l, char *strvalue, int append) { function cgglobstrend (line 636) | void cgglobstrend(void) { function cgcompare_and_set (line 646) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 660) | void cglabel(int l) { function cgjump (line 665) | void cgjump(int l) { function cgcompare_and_jump (line 674) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 689) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 695) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 725) | int cgaddress(struct symtable *sym) { function cgderef (line 738) | int cgderef(int r, int type) { function cgstorderef (line 761) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 783) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 812) | void cgmove(int r1, int r2) { FILE: 58_Ptr_Increments/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 97) | int parse_stars(int type) { function parse_cast (line 109) | int parse_cast(struct symtable **ctype) { function parse_literal (line 126) | int parse_literal(int type) { function is_new_symbol (line 163) | int is_new_symbol(struct symtable *sym, int class, type symtable (line 197) | struct symtable type symtable (line 198) | struct symtable type ASTnode (line 199) | struct ASTnode type symtable (line 200) | struct symtable type ASTnode (line 201) | struct ASTnode type symtable (line 268) | struct symtable type symtable (line 269) | struct symtable type symtable (line 271) | struct symtable function param_declaration_list (line 376) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 435) | struct symtable type symtable (line 436) | struct symtable type ASTnode (line 438) | struct ASTnode type symtable (line 439) | struct symtable type symtable (line 527) | struct symtable type symtable (line 528) | struct symtable type symtable (line 529) | struct symtable type ASTnode (line 530) | struct ASTnode function enum_declaration (line 610) | static void enum_declaration(void) { function typedef_declaration (line 678) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 703) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 720) | struct symtable type symtable (line 720) | struct symtable type ASTnode (line 721) | struct ASTnode type symtable (line 722) | struct symtable function declaration_list (line 759) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 805) | void global_declarations(void) { FILE: 58_Ptr_Increments/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type symtable (line 16) | struct symtable type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type symtable (line 19) | struct symtable type ASTnode (line 20) | struct ASTnode type symtable (line 21) | struct symtable type ASTnode (line 22) | struct ASTnode type ASTnode (line 26) | struct ASTnode type symtable (line 31) | struct symtable type symtable (line 48) | struct symtable type symtable (line 49) | struct symtable type symtable (line 51) | struct symtable type symtable (line 58) | struct symtable type symtable (line 60) | struct symtable type symtable (line 61) | struct symtable type symtable (line 62) | struct symtable type symtable (line 70) | struct symtable type symtable (line 71) | struct symtable type ASTnode (line 89) | struct ASTnode type ASTnode (line 90) | struct ASTnode type ASTnode (line 93) | struct ASTnode type symtable (line 110) | struct symtable type symtable (line 110) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 112) | struct symtable type symtable (line 114) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 121) | struct symtable type symtable (line 122) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 125) | struct symtable type symtable (line 126) | struct symtable type symtable (line 127) | struct symtable type symtable (line 128) | struct symtable type symtable (line 129) | struct symtable type symtable (line 130) | struct symtable type symtable (line 134) | struct symtable type symtable (line 138) | struct symtable type symtable (line 140) | struct symtable type symtable (line 141) | struct symtable type ASTnode (line 142) | struct ASTnode type symtable (line 150) | struct symtable type ASTnode (line 151) | struct ASTnode type ASTnode (line 151) | struct ASTnode type symtable (line 152) | struct symtable type ASTnode (line 155) | struct ASTnode type ASTnode (line 155) | struct ASTnode FILE: 58_Ptr_Increments/defs.h type token (line 59) | struct token { type symtable (line 110) | struct symtable { type ASTnode (line 127) | struct ASTnode { FILE: 58_Ptr_Increments/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 49) | struct ASTnode type ASTnode (line 50) | struct ASTnode type symtable (line 51) | struct symtable type ASTnode (line 78) | struct ASTnode type ASTnode (line 78) | struct ASTnode type ASTnode (line 79) | struct ASTnode type ASTnode (line 116) | struct ASTnode type ASTnode (line 116) | struct ASTnode type ASTnode (line 117) | struct ASTnode type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type ASTnode (line 168) | struct ASTnode type ASTnode (line 169) | struct ASTnode type symtable (line 171) | struct symtable type ASTnode (line 216) | struct ASTnode type ASTnode (line 217) | struct ASTnode type symtable (line 218) | struct symtable type symtable (line 219) | struct symtable type symtable (line 223) | struct symtable type ASTnode (line 317) | struct ASTnode type ASTnode (line 318) | struct ASTnode function binastop (line 380) | static int binastop(int tokentype) { function rightassoc (line 389) | static int rightassoc(int tokentype) { function op_precedence (line 413) | static int op_precedence(int tokentype) { type ASTnode (line 433) | struct ASTnode type ASTnode (line 434) | struct ASTnode type ASTnode (line 539) | struct ASTnode type ASTnode (line 540) | struct ASTnode type ASTnode (line 541) | struct ASTnode FILE: 58_Ptr_Increments/gen.c function genlabel (line 10) | int genlabel(void) { function genIF (line 16) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 58) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 84) | static int genSWITCH(struct ASTnode *n) { function gen_logandor (line 140) | static int gen_logandor(struct ASTnode *n) { function gen_funccall (line 178) | static int gen_funccall(struct ASTnode *n) { function gen_ternary (line 206) | static int gen_ternary(struct ASTnode *n) { function genAST (line 246) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 456) | void genpreamble() { function genpostamble (line 459) | void genpostamble() { function genfreeregs (line 462) | void genfreeregs(int keepreg) { function genglobsym (line 465) | void genglobsym(struct symtable *node) { function genglobstr (line 472) | int genglobstr(char *strvalue, int append) { function genglobstrend (line 477) | void genglobstrend(void) { function genprimsize (line 480) | int genprimsize(int type) { function genalign (line 483) | int genalign(int type, int offset, int direction) { FILE: 58_Ptr_Increments/main.c function do_link (line 117) | void do_link(char *outfilename, char **objlist) { function usage (line 146) | static void usage(char *prog) { function main (line 162) | int main(int argc, char **argv) { FILE: 58_Ptr_Increments/misc.c function match (line 13) | void match(int t, char *what) { function semi (line 22) | void semi(void) { function lbrace (line 27) | void lbrace(void) { function rbrace (line 32) | void rbrace(void) { function lparen (line 37) | void lparen(void) { function rparen (line 42) | void rparen(void) { function ident (line 47) | void ident(void) { function comma (line 52) | void comma(void) { function fatal (line 57) | void fatal(char *s) { function fatals (line 64) | void fatals(char *s1, char *s2) { function fatald (line 71) | void fatald(char *s, int d) { function fatalc (line 78) | void fatalc(char *s, int c) { FILE: 58_Ptr_Increments/opt.c type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 98) | struct ASTnode FILE: 58_Ptr_Increments/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 19) | static int next(void) { function putback (line 61) | static void putback(int c) { function skip (line 68) | static int skip(void) { function hexchar (line 79) | static int hexchar(void) { function scanch (line 102) | static int scanch(void) { function scanint (line 160) | static int scanint(int c) { function scanstr (line 190) | static int scanstr(char *buf) { function scanident (line 210) | static int scanident(int c, char *buf, int lim) { function keyword (line 235) | static int keyword(char *s) { function scan (line 327) | int scan(struct token *t) { FILE: 58_Ptr_Increments/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 69) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 102) | struct ASTnode type ASTnode (line 103) | struct ASTnode type ASTnode (line 145) | struct ASTnode type ASTnode (line 146) | struct ASTnode type ASTnode (line 183) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 205) | struct ASTnode type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode type ASTnode (line 304) | struct ASTnode type ASTnode (line 305) | struct ASTnode type symtable (line 306) | struct symtable type ASTnode (line 368) | struct ASTnode type ASTnode (line 369) | struct ASTnode type ASTnode (line 370) | struct ASTnode FILE: 58_Ptr_Increments/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 66) | struct symtable type symtable (line 66) | struct symtable type symtable (line 68) | struct symtable type symtable (line 78) | struct symtable type symtable (line 78) | struct symtable type symtable (line 80) | struct symtable type symtable (line 89) | struct symtable type symtable (line 89) | struct symtable type symtable (line 91) | struct symtable type symtable (line 97) | struct symtable type symtable (line 97) | struct symtable type symtable (line 99) | struct symtable type symtable (line 109) | struct symtable type symtable (line 110) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 125) | struct symtable type symtable (line 126) | struct symtable type symtable (line 132) | struct symtable type symtable (line 132) | struct symtable type symtable (line 133) | struct symtable type symtable (line 141) | struct symtable type symtable (line 141) | struct symtable type symtable (line 152) | struct symtable type symtable (line 158) | struct symtable type symtable (line 159) | struct symtable type symtable (line 172) | struct symtable type symtable (line 173) | struct symtable type symtable (line 190) | struct symtable type symtable (line 196) | struct symtable type symtable (line 202) | struct symtable type symtable (line 208) | struct symtable type symtable (line 214) | struct symtable type symtable (line 220) | struct symtable function clear_symtable (line 225) | void clear_symtable(void) { function freeloclsyms (line 237) | void freeloclsyms(void) { function freestaticsyms (line 244) | void freestaticsyms(void) { function dumpsym (line 276) | static void dumpsym(struct symtable *sym, int indent) { function dumptable (line 393) | void dumptable(struct symtable *head, char *name, int indent) { function dumpsymtables (line 402) | void dumpsymtables(void) { FILE: 58_Ptr_Increments/tests/err.input065.c type type (line 1) | enum type FILE: 58_Ptr_Increments/tests/err.input066.c type value (line 1) | enum value FILE: 58_Ptr_Increments/tests/input001.c function main (line 3) | void main() FILE: 58_Ptr_Increments/tests/input002.c function main (line 3) | void main() FILE: 58_Ptr_Increments/tests/input003.c function main (line 3) | void main() FILE: 58_Ptr_Increments/tests/input004.c function main (line 3) | void main() FILE: 58_Ptr_Increments/tests/input005.c function main (line 3) | void main() FILE: 58_Ptr_Increments/tests/input006.c function main (line 3) | void main() FILE: 58_Ptr_Increments/tests/input007.c function main (line 3) | void main() FILE: 58_Ptr_Increments/tests/input008.c function main (line 3) | void main() FILE: 58_Ptr_Increments/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 58_Ptr_Increments/tests/input010.c function main (line 3) | void main() FILE: 58_Ptr_Increments/tests/input011.c function main (line 3) | int main() FILE: 58_Ptr_Increments/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 58_Ptr_Increments/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 58_Ptr_Increments/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 58_Ptr_Increments/tests/input015.c function main (line 3) | int main() { FILE: 58_Ptr_Increments/tests/input016.c function main (line 8) | int main() { FILE: 58_Ptr_Increments/tests/input017.c function main (line 3) | int main() { FILE: 58_Ptr_Increments/tests/input018.c function main (line 3) | int main() FILE: 58_Ptr_Increments/tests/input018a.c function main (line 8) | int main() FILE: 58_Ptr_Increments/tests/input019.c function main (line 8) | int main() FILE: 58_Ptr_Increments/tests/input020.c function main (line 6) | int main() { FILE: 58_Ptr_Increments/tests/input021.c function main (line 6) | int main() { FILE: 58_Ptr_Increments/tests/input022.c function main (line 8) | int main() { FILE: 58_Ptr_Increments/tests/input023.c function main (line 6) | int main() { FILE: 58_Ptr_Increments/tests/input024.c function main (line 6) | int main() { FILE: 58_Ptr_Increments/tests/input025.c function main (line 7) | int main() FILE: 58_Ptr_Increments/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 58_Ptr_Increments/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 58_Ptr_Increments/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 58_Ptr_Increments/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 58_Ptr_Increments/tests/input030.c function main (line 10) | int main() { FILE: 58_Ptr_Increments/tests/input031.c function main (line 3) | int main() { FILE: 58_Ptr_Increments/tests/input032.c function main (line 3) | int main() { FILE: 58_Ptr_Increments/tests/input033.c function main (line 3) | int main() { FILE: 58_Ptr_Increments/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 58_Ptr_Increments/tests/input039.c function main (line 3) | int main() { int a; } FILE: 58_Ptr_Increments/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 58_Ptr_Increments/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 58_Ptr_Increments/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 58_Ptr_Increments/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 58_Ptr_Increments/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 58_Ptr_Increments/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 58_Ptr_Increments/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 58_Ptr_Increments/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 58_Ptr_Increments/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 58_Ptr_Increments/tests/input049.c function main (line 3) | int main() { FILE: 58_Ptr_Increments/tests/input050.c function main (line 3) | int main() { FILE: 58_Ptr_Increments/tests/input051.c function main (line 3) | int main() { FILE: 58_Ptr_Increments/tests/input052.c function main (line 3) | int main() { FILE: 58_Ptr_Increments/tests/input053.c function main (line 3) | int main() FILE: 58_Ptr_Increments/tests/input054.c function main (line 3) | int main() FILE: 58_Ptr_Increments/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 58_Ptr_Increments/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 58_Ptr_Increments/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 58_Ptr_Increments/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 58_Ptr_Increments/tests/input059.c function main (line 1) | int main() { FILE: 58_Ptr_Increments/tests/input060.c function main (line 1) | int main() { FILE: 58_Ptr_Increments/tests/input061.c function main (line 1) | int main() { FILE: 58_Ptr_Increments/tests/input062.c function main (line 13) | int main() { FILE: 58_Ptr_Increments/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 58_Ptr_Increments/tests/input064.c type fred (line 1) | enum fred FILE: 58_Ptr_Increments/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 58_Ptr_Increments/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 58_Ptr_Increments/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 58_Ptr_Increments/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 58_Ptr_Increments/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 58_Ptr_Increments/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 58_Ptr_Increments/tests/input071.c function main (line 3) | int main() { FILE: 58_Ptr_Increments/tests/input072.c function main (line 1) | int main() { break; } FILE: 58_Ptr_Increments/tests/input073.c function main (line 1) | int main() { continue; } FILE: 58_Ptr_Increments/tests/input074.c function main (line 3) | int main() { FILE: 58_Ptr_Increments/tests/input075.c function main (line 1) | int main() { FILE: 58_Ptr_Increments/tests/input076.c function main (line 1) | int main() { FILE: 58_Ptr_Increments/tests/input077.c function main (line 1) | int main() { FILE: 58_Ptr_Increments/tests/input078.c function main (line 1) | int main() { FILE: 58_Ptr_Increments/tests/input079.c function main (line 1) | int main() { FILE: 58_Ptr_Increments/tests/input080.c function main (line 6) | int main() { FILE: 58_Ptr_Increments/tests/input081.c function main (line 6) | int main() { FILE: 58_Ptr_Increments/tests/input082.c function main (line 3) | int main() { FILE: 58_Ptr_Increments/tests/input083.c function main (line 3) | int main() { FILE: 58_Ptr_Increments/tests/input084.c function main (line 3) | int main() { FILE: 58_Ptr_Increments/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 58_Ptr_Increments/tests/input086.c function main (line 1) | int main() { FILE: 58_Ptr_Increments/tests/input087.c type foo (line 1) | struct foo { FILE: 58_Ptr_Increments/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 58_Ptr_Increments/tests/input089.c function main (line 7) | int main() { FILE: 58_Ptr_Increments/tests/input090.c function main (line 6) | int main() { FILE: 58_Ptr_Increments/tests/input091.c function main (line 6) | int main() { FILE: 58_Ptr_Increments/tests/input099.c function main (line 19) | int main() { FILE: 58_Ptr_Increments/tests/input100.c function main (line 2) | int main() { FILE: 58_Ptr_Increments/tests/input101.c function main (line 3) | int main() { FILE: 58_Ptr_Increments/tests/input102.c function main (line 1) | int main() { FILE: 58_Ptr_Increments/tests/input103.c function main (line 1) | int main() { FILE: 58_Ptr_Increments/tests/input104.c function main (line 1) | int main() { FILE: 58_Ptr_Increments/tests/input105.c function main (line 1) | int main() { FILE: 58_Ptr_Increments/tests/input106.c function main (line 4) | int main() { FILE: 58_Ptr_Increments/tests/input107.c function main (line 5) | int main() { FILE: 58_Ptr_Increments/tests/input108.c function main (line 1) | int main() { FILE: 58_Ptr_Increments/tests/input109.c function main (line 2) | int main() { FILE: 58_Ptr_Increments/tests/input110.c function main (line 6) | int main() { FILE: 58_Ptr_Increments/tests/input111.c function main (line 2) | int main() { FILE: 58_Ptr_Increments/tests/input112.c function main (line 6) | int main() { FILE: 58_Ptr_Increments/tests/input113.c function fred (line 4) | void fred(void) { function main (line 8) | int main(void) { FILE: 58_Ptr_Increments/tests/input114.c function main (line 2) | int main() { FILE: 58_Ptr_Increments/tests/input115.c type foo (line 2) | struct foo { int x; char y; long z; } type blah (line 3) | typedef struct foo blah; type symtable (line 6) | struct symtable { type ASTnode (line 23) | struct ASTnode { function main (line 36) | int main() { FILE: 58_Ptr_Increments/tests/input116.c function fred (line 4) | static int fred(void) { return(counter++); } function main (line 6) | int main(void) { FILE: 58_Ptr_Increments/tests/input117.c function main (line 7) | int main(void) { FILE: 58_Ptr_Increments/tests/input118.c function main (line 1) | int main(void) { FILE: 58_Ptr_Increments/tests/input119.c function main (line 6) | int main() { FILE: 58_Ptr_Increments/tests/input120.c function main (line 6) | int main() { FILE: 58_Ptr_Increments/tests/input121.c function main (line 6) | int main() { FILE: 58_Ptr_Increments/tests/input122.c function main (line 5) | int main() { FILE: 58_Ptr_Increments/tests/input123.c function main (line 3) | int main() { FILE: 58_Ptr_Increments/tests/input124.c function main (line 5) | int main() { FILE: 58_Ptr_Increments/tests/input125.c function main (line 7) | int main() { FILE: 58_Ptr_Increments/tests/input126.c function main (line 5) | int main() { FILE: 58_Ptr_Increments/tests/input127.c function fred (line 5) | void fred(int *ptr) { // Receive a pointer function main (line 9) | int main() { FILE: 58_Ptr_Increments/tests/input128.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 58_Ptr_Increments/tests/input129.c function main (line 5) | int main() { FILE: 58_Ptr_Increments/tests/input130.c function main (line 5) | int main() { FILE: 58_Ptr_Increments/tests/input131.c function donothing (line 3) | void donothing() { } function main (line 5) | int main() { FILE: 58_Ptr_Increments/tests/input132.c function main (line 7) | int main() { return(0); } FILE: 58_Ptr_Increments/tests/input133.c function main (line 9) | void main() { printf("OK\n"); } FILE: 58_Ptr_Increments/tests/input134.c function main (line 6) | int main() { FILE: 58_Ptr_Increments/tests/input135.c function fred (line 3) | void fred() { function main (line 10) | int main() { FILE: 58_Ptr_Increments/tests/input136.c function add (line 3) | int add(int x, int y) { function main (line 7) | int main() { FILE: 58_Ptr_Increments/tests/input137.c function main (line 5) | int main() { FILE: 58_Ptr_Increments/tests/input138.c function main (line 8) | int main() { FILE: 58_Ptr_Increments/tests/input139.c function same (line 3) | int same(int x) { return(x); } function main (line 5) | int main() { FILE: 58_Ptr_Increments/tests/input140.c function main (line 3) | int main() { FILE: 58_Ptr_Increments/tests/input141.c function foo (line 4) | int foo(int mary[6]) { return(5); } FILE: 58_Ptr_Increments/tests/input143.c function main (line 6) | int main() { FILE: 58_Ptr_Increments/tests/input144.c function main (line 5) | int main() { FILE: 58_Ptr_Increments/tests/input145.c function main (line 9) | int main() { FILE: 58_Ptr_Increments/tests/input146.c function main (line 9) | int main() { FILE: 58_Ptr_Increments/tests/input147.c function main (line 5) | int main() { FILE: 58_Ptr_Increments/tests/out.input030.c function main (line 10) | int main() { FILE: 58_Ptr_Increments/tree.c type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 36) | struct ASTnode type symtable (line 37) | struct symtable type symtable (line 38) | struct symtable type ASTnode (line 43) | struct ASTnode type symtable (line 44) | struct symtable type ASTnode (line 45) | struct ASTnode type symtable (line 46) | struct symtable function gendumplabel (line 53) | static int gendumplabel(void) { function dumpAST (line 59) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 58_Ptr_Increments/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode type symtable (line 50) | struct symtable FILE: 59_WDIW_pt1/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int size) { function pushreg (line 109) | static void pushreg(int r) { function popreg (line 113) | static void popreg(int r) { function freeall_registers (line 120) | void freeall_registers(int keepreg) { function alloc_register (line 137) | int alloc_register(void) { function free_register (line 158) | static void free_register(int reg) { function spill_all_regs (line 176) | void spill_all_regs(void) { function unspill_all_regs (line 184) | static void unspill_all_regs(void) { function cgpreamble (line 192) | void cgpreamble(char *filename) { function cgpostamble (line 227) | void cgpostamble() { function cgfuncpreamble (line 231) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 272) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 282) | int cgloadint(int value, int type) { function cgloadvar (line 294) | int cgloadvar(struct symtable *sym, int op) { function cgloadglobstr (line 389) | int cgloadglobstr(int label) { function cgadd (line 398) | int cgadd(int r1, int r2) { function cgsub (line 406) | int cgsub(int r1, int r2) { function cgmul (line 414) | int cgmul(int r1, int r2) { function cgdivmod (line 422) | int cgdivmod(int r1, int r2, int op) { function cgand (line 434) | int cgand(int r1, int r2) { function cgor (line 440) | int cgor(int r1, int r2) { function cgxor (line 446) | int cgxor(int r1, int r2) { function cgshl (line 452) | int cgshl(int r1, int r2) { function cgshr (line 459) | int cgshr(int r1, int r2) { function cgnegate (line 467) | int cgnegate(int r) { function cginvert (line 473) | int cginvert(int r) { function cglognot (line 479) | int cglognot(int r) { function cgloadboolean (line 488) | void cgloadboolean(int r, int val) { function cgboolean (line 495) | int cgboolean(int r, int op, int label) { function cgcall (line 516) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 539) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 556) | int cgshlconst(int r, int val) { function cgstorglob (line 562) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 581) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 600) | void cgglobsym(struct symtable *node) { function cgglobstr (line 660) | void cgglobstr(int l, char *strvalue, int append) { function cgglobstrend (line 669) | void cgglobstrend(void) { function cgcompare_and_set (line 679) | int cgcompare_and_set(int ASTop, int r1, int r2, int type) { function cglabel (line 704) | void cglabel(int l) { function cgjump (line 709) | void cgjump(int l) { function cgcompare_and_jump (line 718) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label, int type) { function cgwiden (line 743) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 749) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 781) | int cgaddress(struct symtable *sym) { function cgderef (line 794) | int cgderef(int r, int type) { function cgstorderef (line 817) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 839) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 868) | void cgmove(int r1, int r2) { function cglinenum (line 872) | void cglinenum(int line) { FILE: 59_WDIW_pt1/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 59_WDIW_pt1/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int size) { function pushreg (line 107) | static void pushreg(int r) { function popreg (line 111) | static void popreg(int r) { function freeall_registers (line 118) | void freeall_registers(int keepreg) { function alloc_register (line 135) | int alloc_register(void) { function free_register (line 155) | static void free_register(int reg) { function spill_all_regs (line 173) | void spill_all_regs(void) { function unspill_all_regs (line 181) | static void unspill_all_regs(void) { function cgpreamble (line 189) | void cgpreamble(char *filename) { function cgpostamble (line 220) | void cgpostamble() { function cgfuncpreamble (line 224) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 270) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 280) | int cgloadint(int value, int type) { function cgloadvar (line 292) | int cgloadvar(struct symtable *sym, int op) { function cgloadglobstr (line 392) | int cgloadglobstr(int label) { function cgadd (line 401) | int cgadd(int r1, int r2) { function cgsub (line 409) | int cgsub(int r1, int r2) { function cgmul (line 417) | int cgmul(int r1, int r2) { function cgdivmod (line 425) | int cgdivmod(int r1, int r2, int op) { function cgand (line 437) | int cgand(int r1, int r2) { function cgor (line 443) | int cgor(int r1, int r2) { function cgxor (line 449) | int cgxor(int r1, int r2) { function cgshl (line 455) | int cgshl(int r1, int r2) { function cgshr (line 462) | int cgshr(int r1, int r2) { function cgnegate (line 470) | int cgnegate(int r) { function cginvert (line 476) | int cginvert(int r) { function cglognot (line 482) | int cglognot(int r) { function cgloadboolean (line 491) | void cgloadboolean(int r, int val) { function cgboolean (line 497) | int cgboolean(int r, int op, int label) { function cgcall (line 518) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 543) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 560) | int cgshlconst(int r, int val) { function cgstorglob (line 566) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 588) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 609) | void cgglobsym(struct symtable *node) { function cgglobstr (line 673) | void cgglobstr(int l, char *strvalue, int append) { function cgglobstrend (line 682) | void cgglobstrend(void) { function cgcompare_and_set (line 692) | int cgcompare_and_set(int ASTop, int r1, int r2, int type) { function cglabel (line 716) | void cglabel(int l) { function cgjump (line 721) | void cgjump(int l) { function cgcompare_and_jump (line 730) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label, int type) { function cgwiden (line 755) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 761) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 791) | int cgaddress(struct symtable *sym) { function cgderef (line 810) | int cgderef(int r, int type) { function cgstorderef (line 833) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 855) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 884) | void cgmove(int r1, int r2) { function cglinenum (line 888) | void cglinenum(int line) { FILE: 59_WDIW_pt1/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 97) | int parse_stars(int type) { function parse_cast (line 109) | int parse_cast(struct symtable **ctype) { function parse_literal (line 126) | int parse_literal(int type) { function is_new_symbol (line 163) | int is_new_symbol(struct symtable *sym, int class, type symtable (line 197) | struct symtable type symtable (line 198) | struct symtable type ASTnode (line 199) | struct ASTnode type symtable (line 200) | struct symtable type ASTnode (line 201) | struct ASTnode type symtable (line 268) | struct symtable type symtable (line 269) | struct symtable type symtable (line 271) | struct symtable function param_declaration_list (line 376) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 435) | struct symtable type symtable (line 436) | struct symtable type ASTnode (line 438) | struct ASTnode type symtable (line 439) | struct symtable type symtable (line 529) | struct symtable type symtable (line 530) | struct symtable type symtable (line 531) | struct symtable type ASTnode (line 532) | struct ASTnode function enum_declaration (line 612) | static void enum_declaration(void) { function typedef_declaration (line 680) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 705) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 722) | struct symtable type symtable (line 722) | struct symtable type ASTnode (line 723) | struct ASTnode type symtable (line 724) | struct symtable function declaration_list (line 761) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 807) | void global_declarations(void) { FILE: 59_WDIW_pt1/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type symtable (line 16) | struct symtable type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type symtable (line 19) | struct symtable type ASTnode (line 20) | struct ASTnode type symtable (line 21) | struct symtable type ASTnode (line 22) | struct ASTnode type ASTnode (line 26) | struct ASTnode type symtable (line 31) | struct symtable type symtable (line 48) | struct symtable type symtable (line 49) | struct symtable type symtable (line 51) | struct symtable type symtable (line 58) | struct symtable type symtable (line 60) | struct symtable type symtable (line 61) | struct symtable type symtable (line 62) | struct symtable type symtable (line 70) | struct symtable type symtable (line 71) | struct symtable type ASTnode (line 90) | struct ASTnode type ASTnode (line 91) | struct ASTnode type ASTnode (line 94) | struct ASTnode type symtable (line 111) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 113) | struct symtable type symtable (line 115) | struct symtable type symtable (line 115) | struct symtable type symtable (line 116) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 122) | struct symtable type symtable (line 122) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 125) | struct symtable type symtable (line 126) | struct symtable type symtable (line 127) | struct symtable type symtable (line 128) | struct symtable type symtable (line 129) | struct symtable type symtable (line 130) | struct symtable type symtable (line 131) | struct symtable type symtable (line 135) | struct symtable type symtable (line 139) | struct symtable type symtable (line 141) | struct symtable type symtable (line 142) | struct symtable type ASTnode (line 143) | struct ASTnode type symtable (line 151) | struct symtable type ASTnode (line 152) | struct ASTnode type ASTnode (line 152) | struct ASTnode type symtable (line 153) | struct symtable type ASTnode (line 156) | struct ASTnode type ASTnode (line 156) | struct ASTnode FILE: 59_WDIW_pt1/defs.h type token (line 59) | struct token { type symtable (line 110) | struct symtable { type ASTnode (line 130) | struct ASTnode { FILE: 59_WDIW_pt1/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 49) | struct ASTnode type ASTnode (line 50) | struct ASTnode type symtable (line 51) | struct symtable type ASTnode (line 78) | struct ASTnode type ASTnode (line 78) | struct ASTnode type ASTnode (line 79) | struct ASTnode type ASTnode (line 116) | struct ASTnode type ASTnode (line 116) | struct ASTnode type ASTnode (line 117) | struct ASTnode type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type ASTnode (line 168) | struct ASTnode type ASTnode (line 169) | struct ASTnode type symtable (line 171) | struct symtable type ASTnode (line 216) | struct ASTnode type ASTnode (line 217) | struct ASTnode type symtable (line 218) | struct symtable type symtable (line 219) | struct symtable type symtable (line 223) | struct symtable type ASTnode (line 317) | struct ASTnode type ASTnode (line 318) | struct ASTnode function binastop (line 380) | static int binastop(int tokentype) { function rightassoc (line 389) | static int rightassoc(int tokentype) { function op_precedence (line 413) | static int op_precedence(int tokentype) { type ASTnode (line 433) | struct ASTnode type ASTnode (line 434) | struct ASTnode type ASTnode (line 541) | struct ASTnode type ASTnode (line 542) | struct ASTnode type ASTnode (line 543) | struct ASTnode FILE: 59_WDIW_pt1/gen.c function genlabel (line 10) | int genlabel(void) { function update_line (line 14) | static void update_line(struct ASTnode *n) { function genIF (line 25) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 67) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 93) | static int genSWITCH(struct ASTnode *n) { function gen_logandor (line 149) | static int gen_logandor(struct ASTnode *n) { function gen_funccall (line 187) | static int gen_funccall(struct ASTnode *n) { function gen_ternary (line 215) | static int gen_ternary(struct ASTnode *n) { function genAST (line 255) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 471) | void genpreamble(char *filename) { function genpostamble (line 474) | void genpostamble() { function genfreeregs (line 477) | void genfreeregs(int keepreg) { function genglobsym (line 480) | void genglobsym(struct symtable *node) { function genglobstr (line 487) | int genglobstr(char *strvalue, int append) { function genglobstrend (line 492) | void genglobstrend(void) { function genprimsize (line 495) | int genprimsize(int type) { function genalign (line 498) | int genalign(int type, int offset, int direction) { FILE: 59_WDIW_pt1/main.c function do_link (line 126) | void do_link(char *outfilename, char **objlist) { function usage (line 155) | static void usage(char *prog) { function main (line 171) | int main(int argc, char **argv) { FILE: 59_WDIW_pt1/misc.c function match (line 13) | void match(int t, char *what) { function semi (line 22) | void semi(void) { function lbrace (line 27) | void lbrace(void) { function rbrace (line 32) | void rbrace(void) { function lparen (line 37) | void lparen(void) { function rparen (line 42) | void rparen(void) { function ident (line 47) | void ident(void) { function comma (line 52) | void comma(void) { function fatal (line 57) | void fatal(char *s) { function fatals (line 64) | void fatals(char *s1, char *s2) { function fatald (line 71) | void fatald(char *s, int d) { function fatalc (line 78) | void fatalc(char *s, int c) { FILE: 59_WDIW_pt1/opt.c type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 98) | struct ASTnode FILE: 59_WDIW_pt1/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 19) | static int next(void) { function putback (line 61) | static void putback(int c) { function skip (line 68) | static int skip(void) { function hexchar (line 79) | static int hexchar(void) { function scanch (line 102) | static int scanch(void) { function scanint (line 160) | static int scanint(int c) { function scanstr (line 190) | static int scanstr(char *buf) { function scanident (line 210) | static int scanident(int c, char *buf, int lim) { function keyword (line 235) | static int keyword(char *s) { function scan (line 327) | int scan(struct token *t) { FILE: 59_WDIW_pt1/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 69) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 102) | struct ASTnode type ASTnode (line 103) | struct ASTnode type ASTnode (line 145) | struct ASTnode type ASTnode (line 146) | struct ASTnode type ASTnode (line 183) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 205) | struct ASTnode type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode type ASTnode (line 304) | struct ASTnode type ASTnode (line 305) | struct ASTnode type symtable (line 306) | struct symtable type ASTnode (line 372) | struct ASTnode type ASTnode (line 373) | struct ASTnode type ASTnode (line 374) | struct ASTnode FILE: 59_WDIW_pt1/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 69) | struct symtable type symtable (line 69) | struct symtable type symtable (line 71) | struct symtable type symtable (line 81) | struct symtable type symtable (line 81) | struct symtable type symtable (line 83) | struct symtable type symtable (line 92) | struct symtable type symtable (line 92) | struct symtable type symtable (line 94) | struct symtable type symtable (line 100) | struct symtable type symtable (line 100) | struct symtable type symtable (line 102) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 128) | struct symtable type symtable (line 129) | struct symtable type symtable (line 135) | struct symtable type symtable (line 135) | struct symtable type symtable (line 136) | struct symtable type symtable (line 144) | struct symtable type symtable (line 144) | struct symtable type symtable (line 155) | struct symtable type symtable (line 161) | struct symtable type symtable (line 162) | struct symtable type symtable (line 175) | struct symtable type symtable (line 176) | struct symtable type symtable (line 193) | struct symtable type symtable (line 199) | struct symtable type symtable (line 205) | struct symtable type symtable (line 211) | struct symtable type symtable (line 217) | struct symtable type symtable (line 223) | struct symtable function clear_symtable (line 228) | void clear_symtable(void) { function freeloclsyms (line 240) | void freeloclsyms(void) { function freestaticsyms (line 247) | void freestaticsyms(void) { function dumpsym (line 279) | static void dumpsym(struct symtable *sym, int indent) { function dumptable (line 396) | void dumptable(struct symtable *head, char *name, int indent) { function dumpsymtables (line 405) | void dumpsymtables(void) { FILE: 59_WDIW_pt1/tests/err.input065.c type type (line 1) | enum type FILE: 59_WDIW_pt1/tests/err.input066.c type value (line 1) | enum value FILE: 59_WDIW_pt1/tests/input001.c function main (line 3) | void main() FILE: 59_WDIW_pt1/tests/input002.c function main (line 3) | void main() FILE: 59_WDIW_pt1/tests/input003.c function main (line 3) | void main() FILE: 59_WDIW_pt1/tests/input004.c function main (line 3) | void main() FILE: 59_WDIW_pt1/tests/input005.c function main (line 3) | void main() FILE: 59_WDIW_pt1/tests/input006.c function main (line 3) | void main() FILE: 59_WDIW_pt1/tests/input007.c function main (line 3) | void main() FILE: 59_WDIW_pt1/tests/input008.c function main (line 3) | void main() FILE: 59_WDIW_pt1/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 59_WDIW_pt1/tests/input010.c function main (line 3) | void main() FILE: 59_WDIW_pt1/tests/input011.c function main (line 3) | int main() FILE: 59_WDIW_pt1/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 59_WDIW_pt1/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 59_WDIW_pt1/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 59_WDIW_pt1/tests/input015.c function main (line 3) | int main() { FILE: 59_WDIW_pt1/tests/input016.c function main (line 8) | int main() { FILE: 59_WDIW_pt1/tests/input017.c function main (line 3) | int main() { FILE: 59_WDIW_pt1/tests/input018.c function main (line 3) | int main() FILE: 59_WDIW_pt1/tests/input018a.c function main (line 8) | int main() FILE: 59_WDIW_pt1/tests/input019.c function main (line 8) | int main() FILE: 59_WDIW_pt1/tests/input020.c function main (line 6) | int main() { FILE: 59_WDIW_pt1/tests/input021.c function main (line 6) | int main() { FILE: 59_WDIW_pt1/tests/input022.c function main (line 8) | int main() { FILE: 59_WDIW_pt1/tests/input023.c function main (line 6) | int main() { FILE: 59_WDIW_pt1/tests/input024.c function main (line 6) | int main() { FILE: 59_WDIW_pt1/tests/input025.c function main (line 7) | int main() FILE: 59_WDIW_pt1/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 59_WDIW_pt1/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 59_WDIW_pt1/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 59_WDIW_pt1/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 59_WDIW_pt1/tests/input030.c function main (line 10) | int main() { FILE: 59_WDIW_pt1/tests/input031.c function main (line 3) | int main() { FILE: 59_WDIW_pt1/tests/input032.c function main (line 3) | int main() { FILE: 59_WDIW_pt1/tests/input033.c function main (line 3) | int main() { FILE: 59_WDIW_pt1/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 59_WDIW_pt1/tests/input039.c function main (line 3) | int main() { int a; } FILE: 59_WDIW_pt1/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 59_WDIW_pt1/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 59_WDIW_pt1/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 59_WDIW_pt1/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 59_WDIW_pt1/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 59_WDIW_pt1/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 59_WDIW_pt1/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 59_WDIW_pt1/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 59_WDIW_pt1/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 59_WDIW_pt1/tests/input049.c function main (line 3) | int main() { FILE: 59_WDIW_pt1/tests/input050.c function main (line 3) | int main() { FILE: 59_WDIW_pt1/tests/input051.c function main (line 3) | int main() { FILE: 59_WDIW_pt1/tests/input052.c function main (line 3) | int main() { FILE: 59_WDIW_pt1/tests/input053.c function main (line 3) | int main() FILE: 59_WDIW_pt1/tests/input054.c function main (line 3) | int main() FILE: 59_WDIW_pt1/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 59_WDIW_pt1/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 59_WDIW_pt1/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 59_WDIW_pt1/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 59_WDIW_pt1/tests/input059.c function main (line 1) | int main() { FILE: 59_WDIW_pt1/tests/input060.c function main (line 1) | int main() { FILE: 59_WDIW_pt1/tests/input061.c function main (line 1) | int main() { FILE: 59_WDIW_pt1/tests/input062.c function main (line 13) | int main() { FILE: 59_WDIW_pt1/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 59_WDIW_pt1/tests/input064.c type fred (line 1) | enum fred FILE: 59_WDIW_pt1/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 59_WDIW_pt1/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 59_WDIW_pt1/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 59_WDIW_pt1/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 59_WDIW_pt1/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 59_WDIW_pt1/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 59_WDIW_pt1/tests/input071.c function main (line 3) | int main() { FILE: 59_WDIW_pt1/tests/input072.c function main (line 1) | int main() { break; } FILE: 59_WDIW_pt1/tests/input073.c function main (line 1) | int main() { continue; } FILE: 59_WDIW_pt1/tests/input074.c function main (line 3) | int main() { FILE: 59_WDIW_pt1/tests/input075.c function main (line 1) | int main() { FILE: 59_WDIW_pt1/tests/input076.c function main (line 1) | int main() { FILE: 59_WDIW_pt1/tests/input077.c function main (line 1) | int main() { FILE: 59_WDIW_pt1/tests/input078.c function main (line 1) | int main() { FILE: 59_WDIW_pt1/tests/input079.c function main (line 1) | int main() { FILE: 59_WDIW_pt1/tests/input080.c function main (line 6) | int main() { FILE: 59_WDIW_pt1/tests/input081.c function main (line 6) | int main() { FILE: 59_WDIW_pt1/tests/input082.c function main (line 3) | int main() { FILE: 59_WDIW_pt1/tests/input083.c function main (line 3) | int main() { FILE: 59_WDIW_pt1/tests/input084.c function main (line 3) | int main() { FILE: 59_WDIW_pt1/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 59_WDIW_pt1/tests/input086.c function main (line 1) | int main() { FILE: 59_WDIW_pt1/tests/input087.c type foo (line 1) | struct foo { FILE: 59_WDIW_pt1/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 59_WDIW_pt1/tests/input089.c function main (line 7) | int main() { FILE: 59_WDIW_pt1/tests/input090.c function main (line 6) | int main() { FILE: 59_WDIW_pt1/tests/input091.c function main (line 6) | int main() { FILE: 59_WDIW_pt1/tests/input099.c function main (line 19) | int main() { FILE: 59_WDIW_pt1/tests/input100.c function main (line 2) | int main() { FILE: 59_WDIW_pt1/tests/input101.c function main (line 3) | int main() { FILE: 59_WDIW_pt1/tests/input102.c function main (line 1) | int main() { FILE: 59_WDIW_pt1/tests/input103.c function main (line 1) | int main() { FILE: 59_WDIW_pt1/tests/input104.c function main (line 1) | int main() { FILE: 59_WDIW_pt1/tests/input105.c function main (line 1) | int main() { FILE: 59_WDIW_pt1/tests/input106.c function main (line 4) | int main() { FILE: 59_WDIW_pt1/tests/input107.c function main (line 5) | int main() { FILE: 59_WDIW_pt1/tests/input108.c function main (line 1) | int main() { FILE: 59_WDIW_pt1/tests/input109.c function main (line 2) | int main() { FILE: 59_WDIW_pt1/tests/input110.c function main (line 6) | int main() { FILE: 59_WDIW_pt1/tests/input111.c function main (line 2) | int main() { FILE: 59_WDIW_pt1/tests/input112.c function main (line 6) | int main() { FILE: 59_WDIW_pt1/tests/input113.c function fred (line 4) | void fred(void) { function main (line 8) | int main(void) { FILE: 59_WDIW_pt1/tests/input114.c function main (line 2) | int main() { FILE: 59_WDIW_pt1/tests/input115.c type foo (line 2) | struct foo { int x; char y; long z; } type blah (line 3) | typedef struct foo blah; type symtable (line 6) | struct symtable { type ASTnode (line 23) | struct ASTnode { function main (line 36) | int main() { FILE: 59_WDIW_pt1/tests/input116.c function fred (line 4) | static int fred(void) { return(counter++); } function main (line 6) | int main(void) { FILE: 59_WDIW_pt1/tests/input117.c function main (line 7) | int main(void) { FILE: 59_WDIW_pt1/tests/input118.c function main (line 1) | int main(void) { FILE: 59_WDIW_pt1/tests/input119.c function main (line 6) | int main() { FILE: 59_WDIW_pt1/tests/input120.c function main (line 6) | int main() { FILE: 59_WDIW_pt1/tests/input121.c function main (line 6) | int main() { FILE: 59_WDIW_pt1/tests/input122.c function main (line 5) | int main() { FILE: 59_WDIW_pt1/tests/input123.c function main (line 3) | int main() { FILE: 59_WDIW_pt1/tests/input124.c function main (line 5) | int main() { FILE: 59_WDIW_pt1/tests/input125.c function main (line 7) | int main() { FILE: 59_WDIW_pt1/tests/input126.c function main (line 5) | int main() { FILE: 59_WDIW_pt1/tests/input127.c function fred (line 5) | void fred(int *ptr) { // Receive a pointer function main (line 9) | int main() { FILE: 59_WDIW_pt1/tests/input128.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 59_WDIW_pt1/tests/input129.c function main (line 5) | int main() { FILE: 59_WDIW_pt1/tests/input130.c function main (line 5) | int main() { FILE: 59_WDIW_pt1/tests/input131.c function donothing (line 3) | void donothing() { } function main (line 5) | int main() { FILE: 59_WDIW_pt1/tests/input132.c function main (line 7) | int main() { return(0); } FILE: 59_WDIW_pt1/tests/input133.c function main (line 9) | void main() { printf("OK\n"); } FILE: 59_WDIW_pt1/tests/input134.c function main (line 6) | int main() { FILE: 59_WDIW_pt1/tests/input135.c function fred (line 3) | void fred() { function main (line 10) | int main() { FILE: 59_WDIW_pt1/tests/input136.c function add (line 3) | int add(int x, int y) { function main (line 7) | int main() { FILE: 59_WDIW_pt1/tests/input137.c function main (line 5) | int main() { FILE: 59_WDIW_pt1/tests/input138.c function main (line 8) | int main() { FILE: 59_WDIW_pt1/tests/input139.c function same (line 3) | int same(int x) { return(x); } function main (line 5) | int main() { FILE: 59_WDIW_pt1/tests/input140.c function main (line 3) | int main() { FILE: 59_WDIW_pt1/tests/input141.c function foo (line 4) | int foo(int mary[6]) { return(5); } FILE: 59_WDIW_pt1/tests/input143.c function main (line 6) | int main() { FILE: 59_WDIW_pt1/tests/input144.c function main (line 5) | int main() { FILE: 59_WDIW_pt1/tests/input145.c function main (line 9) | int main() { FILE: 59_WDIW_pt1/tests/input146.c function main (line 9) | int main() { FILE: 59_WDIW_pt1/tests/input147.c function main (line 5) | int main() { FILE: 59_WDIW_pt1/tests/input148.c function main (line 6) | int main() { FILE: 59_WDIW_pt1/tests/out.input030.c function main (line 10) | int main() { FILE: 59_WDIW_pt1/tree.c type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 37) | struct ASTnode type symtable (line 38) | struct symtable type symtable (line 39) | struct symtable type ASTnode (line 44) | struct ASTnode type symtable (line 45) | struct symtable type ASTnode (line 46) | struct ASTnode type symtable (line 47) | struct symtable function gendumplabel (line 54) | static int gendumplabel(void) { function dumpAST (line 60) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 59_WDIW_pt1/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode type symtable (line 50) | struct symtable FILE: 60_TripleTest/cg.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int size) { function pushreg (line 109) | static void pushreg(int r) { function popreg (line 113) | static void popreg(int r) { function freeall_registers (line 120) | void freeall_registers(int keepreg) { function alloc_register (line 137) | int alloc_register(void) { function cgfreereg (line 158) | void cgfreereg(int reg) { function spill_all_regs (line 176) | void spill_all_regs(void) { function unspill_all_regs (line 184) | static void unspill_all_regs(void) { function cgpreamble (line 192) | void cgpreamble(char *filename) { function cgpostamble (line 227) | void cgpostamble() { function cgfuncpreamble (line 231) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 272) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 282) | int cgloadint(int value, int type) { function cgloadvar (line 294) | int cgloadvar(struct symtable *sym, int op) { function cgloadglobstr (line 389) | int cgloadglobstr(int label) { function cgadd (line 398) | int cgadd(int r1, int r2) { function cgsub (line 406) | int cgsub(int r1, int r2) { function cgmul (line 414) | int cgmul(int r1, int r2) { function cgdivmod (line 422) | int cgdivmod(int r1, int r2, int op) { function cgand (line 434) | int cgand(int r1, int r2) { function cgor (line 440) | int cgor(int r1, int r2) { function cgxor (line 446) | int cgxor(int r1, int r2) { function cgshl (line 452) | int cgshl(int r1, int r2) { function cgshr (line 459) | int cgshr(int r1, int r2) { function cgnegate (line 467) | int cgnegate(int r) { function cginvert (line 473) | int cginvert(int r) { function cglognot (line 479) | int cglognot(int r) { function cgloadboolean (line 488) | void cgloadboolean(int r, int val) { function cgboolean (line 495) | int cgboolean(int r, int op, int label) { function cgcall (line 516) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 539) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 556) | int cgshlconst(int r, int val) { function cgstorglob (line 562) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 581) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 600) | void cgglobsym(struct symtable *node) { function cgglobstr (line 660) | void cgglobstr(int l, char *strvalue, int append) { function cgglobstrend (line 669) | void cgglobstrend(void) { function cgcompare_and_set (line 679) | int cgcompare_and_set(int ASTop, int r1, int r2, int type) { function cglabel (line 704) | void cglabel(int l) { function cgjump (line 709) | void cgjump(int l) { function cgcompare_and_jump (line 718) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label, int type) { function cgwiden (line 744) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 750) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 782) | int cgaddress(struct symtable *sym) { function cgderef (line 795) | int cgderef(int r, int type) { function cgstorderef (line 818) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 840) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 869) | void cgmove(int r1, int r2) { function cglinenum (line 873) | void cglinenum(int line) { FILE: 60_TripleTest/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 60_TripleTest/cgn.c function cgtextseg (line 11) | void cgtextseg() { function cgdataseg (line 18) | void cgdataseg() { function cgprimsize (line 27) | int cgprimsize(int type) { function cgalign (line 49) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 79) | static int newlocaloffset(int size) { function pushreg (line 107) | static void pushreg(int r) { function popreg (line 111) | static void popreg(int r) { function freeall_registers (line 118) | void freeall_registers(int keepreg) { function alloc_register (line 135) | int alloc_register(void) { function cgfreereg (line 155) | void cgfreereg(int reg) { function spill_all_regs (line 173) | void spill_all_regs(void) { function unspill_all_regs (line 181) | static void unspill_all_regs(void) { function cgpreamble (line 189) | void cgpreamble(char *filename) { function cgpostamble (line 220) | void cgpostamble() { function cgfuncpreamble (line 224) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 270) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 280) | int cgloadint(int value, int type) { function cgloadvar (line 292) | int cgloadvar(struct symtable *sym, int op) { function cgloadglobstr (line 392) | int cgloadglobstr(int label) { function cgadd (line 401) | int cgadd(int r1, int r2) { function cgsub (line 409) | int cgsub(int r1, int r2) { function cgmul (line 417) | int cgmul(int r1, int r2) { function cgdivmod (line 425) | int cgdivmod(int r1, int r2, int op) { function cgand (line 437) | int cgand(int r1, int r2) { function cgor (line 443) | int cgor(int r1, int r2) { function cgxor (line 449) | int cgxor(int r1, int r2) { function cgshl (line 455) | int cgshl(int r1, int r2) { function cgshr (line 462) | int cgshr(int r1, int r2) { function cgnegate (line 470) | int cgnegate(int r) { function cginvert (line 476) | int cginvert(int r) { function cglognot (line 482) | int cglognot(int r) { function cgloadboolean (line 491) | void cgloadboolean(int r, int val) { function cgboolean (line 497) | int cgboolean(int r, int op, int label) { function cgcall (line 518) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 543) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 560) | int cgshlconst(int r, int val) { function cgstorglob (line 566) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 588) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 609) | void cgglobsym(struct symtable *node) { function cgglobstr (line 673) | void cgglobstr(int l, char *strvalue, int append) { function cgglobstrend (line 682) | void cgglobstrend(void) { function cgcompare_and_set (line 692) | int cgcompare_and_set(int ASTop, int r1, int r2, int type) { function cglabel (line 716) | void cglabel(int l) { function cgjump (line 721) | void cgjump(int l) { function cgcompare_and_jump (line 730) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label, int type) { function cgwiden (line 756) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 762) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 792) | int cgaddress(struct symtable *sym) { function cgderef (line 811) | int cgderef(int r, int type) { function cgstorderef (line 834) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 856) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 885) | void cgmove(int r1, int r2) { function cglinenum (line 889) | void cglinenum(int line) { FILE: 60_TripleTest/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 97) | int parse_stars(int type) { function parse_cast (line 109) | int parse_cast(struct symtable **ctype) { function parse_literal (line 126) | int parse_literal(int type) { function is_new_symbol (line 163) | int is_new_symbol(struct symtable *sym, int class, type symtable (line 197) | struct symtable type symtable (line 198) | struct symtable type ASTnode (line 199) | struct ASTnode type symtable (line 200) | struct symtable type ASTnode (line 201) | struct ASTnode type symtable (line 268) | struct symtable type symtable (line 269) | struct symtable type symtable (line 271) | struct symtable function param_declaration_list (line 376) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 435) | struct symtable type symtable (line 436) | struct symtable type ASTnode (line 438) | struct ASTnode type symtable (line 439) | struct symtable type symtable (line 529) | struct symtable type symtable (line 530) | struct symtable type symtable (line 531) | struct symtable type ASTnode (line 532) | struct ASTnode function enum_declaration (line 612) | static void enum_declaration(void) { function typedef_declaration (line 680) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 705) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 722) | struct symtable type symtable (line 722) | struct symtable type ASTnode (line 723) | struct ASTnode type symtable (line 724) | struct symtable function declaration_list (line 761) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 807) | void global_declarations(void) { FILE: 60_TripleTest/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type symtable (line 16) | struct symtable type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type symtable (line 19) | struct symtable type ASTnode (line 20) | struct ASTnode type symtable (line 21) | struct symtable type ASTnode (line 22) | struct ASTnode type ASTnode (line 26) | struct ASTnode type symtable (line 31) | struct symtable type symtable (line 49) | struct symtable type symtable (line 50) | struct symtable type symtable (line 52) | struct symtable type symtable (line 59) | struct symtable type symtable (line 61) | struct symtable type symtable (line 62) | struct symtable type symtable (line 63) | struct symtable type symtable (line 71) | struct symtable type symtable (line 72) | struct symtable type ASTnode (line 91) | struct ASTnode type ASTnode (line 92) | struct ASTnode type ASTnode (line 95) | struct ASTnode type symtable (line 112) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 114) | struct symtable type symtable (line 116) | struct symtable type symtable (line 116) | struct symtable type symtable (line 117) | struct symtable type symtable (line 117) | struct symtable type symtable (line 118) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 121) | struct symtable type symtable (line 121) | struct symtable type symtable (line 122) | struct symtable type symtable (line 123) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 125) | struct symtable type symtable (line 126) | struct symtable type symtable (line 127) | struct symtable type symtable (line 128) | struct symtable type symtable (line 129) | struct symtable type symtable (line 130) | struct symtable type symtable (line 131) | struct symtable type symtable (line 132) | struct symtable type symtable (line 136) | struct symtable type symtable (line 140) | struct symtable type symtable (line 142) | struct symtable type symtable (line 143) | struct symtable type ASTnode (line 144) | struct ASTnode type symtable (line 152) | struct symtable type ASTnode (line 153) | struct ASTnode type ASTnode (line 153) | struct ASTnode type symtable (line 154) | struct symtable type ASTnode (line 157) | struct ASTnode type ASTnode (line 157) | struct ASTnode FILE: 60_TripleTest/defs.h type token (line 59) | struct token { type symtable (line 110) | struct symtable { type ASTnode (line 130) | struct ASTnode { FILE: 60_TripleTest/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 49) | struct ASTnode type ASTnode (line 50) | struct ASTnode type symtable (line 51) | struct symtable type ASTnode (line 78) | struct ASTnode type ASTnode (line 78) | struct ASTnode type ASTnode (line 79) | struct ASTnode type ASTnode (line 116) | struct ASTnode type ASTnode (line 116) | struct ASTnode type ASTnode (line 117) | struct ASTnode type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type ASTnode (line 168) | struct ASTnode type ASTnode (line 169) | struct ASTnode type symtable (line 171) | struct symtable type ASTnode (line 216) | struct ASTnode type ASTnode (line 217) | struct ASTnode type symtable (line 218) | struct symtable type symtable (line 219) | struct symtable type symtable (line 223) | struct symtable type ASTnode (line 317) | struct ASTnode type ASTnode (line 318) | struct ASTnode function binastop (line 380) | static int binastop(int tokentype) { function rightassoc (line 389) | static int rightassoc(int tokentype) { function op_precedence (line 413) | static int op_precedence(int tokentype) { type ASTnode (line 433) | struct ASTnode type ASTnode (line 434) | struct ASTnode type ASTnode (line 541) | struct ASTnode type ASTnode (line 542) | struct ASTnode type ASTnode (line 543) | struct ASTnode FILE: 60_TripleTest/gen.c function genlabel (line 10) | int genlabel(void) { function update_line (line 14) | static void update_line(struct ASTnode *n) { function genIF (line 25) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 67) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 93) | static int genSWITCH(struct ASTnode *n) { function gen_logandor (line 149) | static int gen_logandor(struct ASTnode *n) { function gen_funccall (line 187) | static int gen_funccall(struct ASTnode *n) { function gen_ternary (line 215) | static int gen_ternary(struct ASTnode *n) { function genAST (line 253) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 469) | void genpreamble(char *filename) { function genpostamble (line 472) | void genpostamble() { function genfreeregs (line 475) | void genfreeregs(int keepreg) { function genglobsym (line 478) | void genglobsym(struct symtable *node) { function genglobstr (line 485) | int genglobstr(char *strvalue, int append) { function genglobstrend (line 490) | void genglobstrend(void) { function genprimsize (line 493) | int genprimsize(int type) { function genalign (line 496) | int genalign(int type, int offset, int direction) { FILE: 60_TripleTest/main.c function do_link (line 126) | void do_link(char *outfilename, char **objlist) { function usage (line 155) | static void usage(char *prog) { function main (line 171) | int main(int argc, char **argv) { FILE: 60_TripleTest/misc.c function match (line 13) | void match(int t, char *what) { function semi (line 22) | void semi(void) { function lbrace (line 27) | void lbrace(void) { function rbrace (line 32) | void rbrace(void) { function lparen (line 37) | void lparen(void) { function rparen (line 42) | void rparen(void) { function ident (line 47) | void ident(void) { function comma (line 52) | void comma(void) { function fatal (line 57) | void fatal(char *s) { function fatals (line 64) | void fatals(char *s1, char *s2) { function fatald (line 71) | void fatald(char *s, int d) { function fatalc (line 78) | void fatalc(char *s, int c) { FILE: 60_TripleTest/opt.c type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 98) | struct ASTnode FILE: 60_TripleTest/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 19) | static int next(void) { function putback (line 61) | static void putback(int c) { function skip (line 68) | static int skip(void) { function hexchar (line 79) | static int hexchar(void) { function scanch (line 102) | static int scanch(void) { function scanint (line 160) | static int scanint(int c) { function scanstr (line 190) | static int scanstr(char *buf) { function scanident (line 210) | static int scanident(int c, char *buf, int lim) { function keyword (line 235) | static int keyword(char *s) { function scan (line 327) | int scan(struct token *t) { FILE: 60_TripleTest/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 69) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 102) | struct ASTnode type ASTnode (line 103) | struct ASTnode type ASTnode (line 145) | struct ASTnode type ASTnode (line 146) | struct ASTnode type ASTnode (line 183) | struct ASTnode type ASTnode (line 195) | struct ASTnode type ASTnode (line 205) | struct ASTnode type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode type ASTnode (line 304) | struct ASTnode type ASTnode (line 305) | struct ASTnode type symtable (line 306) | struct symtable type ASTnode (line 372) | struct ASTnode type ASTnode (line 373) | struct ASTnode type ASTnode (line 374) | struct ASTnode FILE: 60_TripleTest/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 69) | struct symtable type symtable (line 69) | struct symtable type symtable (line 71) | struct symtable type symtable (line 81) | struct symtable type symtable (line 81) | struct symtable type symtable (line 83) | struct symtable type symtable (line 92) | struct symtable type symtable (line 92) | struct symtable type symtable (line 94) | struct symtable type symtable (line 100) | struct symtable type symtable (line 100) | struct symtable type symtable (line 102) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type symtable (line 128) | struct symtable type symtable (line 129) | struct symtable type symtable (line 135) | struct symtable type symtable (line 135) | struct symtable type symtable (line 136) | struct symtable type symtable (line 144) | struct symtable type symtable (line 144) | struct symtable type symtable (line 155) | struct symtable type symtable (line 161) | struct symtable type symtable (line 162) | struct symtable type symtable (line 175) | struct symtable type symtable (line 176) | struct symtable type symtable (line 193) | struct symtable type symtable (line 199) | struct symtable type symtable (line 205) | struct symtable type symtable (line 211) | struct symtable type symtable (line 217) | struct symtable type symtable (line 223) | struct symtable function clear_symtable (line 228) | void clear_symtable(void) { function freeloclsyms (line 240) | void freeloclsyms(void) { function freestaticsyms (line 247) | void freestaticsyms(void) { function dumpsym (line 279) | static void dumpsym(struct symtable *sym, int indent) { function dumptable (line 396) | void dumptable(struct symtable *head, char *name, int indent) { function dumpsymtables (line 405) | void dumpsymtables(void) { FILE: 60_TripleTest/tests/err.input065.c type type (line 1) | enum type FILE: 60_TripleTest/tests/err.input066.c type value (line 1) | enum value FILE: 60_TripleTest/tests/input001.c function main (line 3) | void main() FILE: 60_TripleTest/tests/input002.c function main (line 3) | void main() FILE: 60_TripleTest/tests/input003.c function main (line 3) | void main() FILE: 60_TripleTest/tests/input004.c function main (line 3) | void main() FILE: 60_TripleTest/tests/input005.c function main (line 3) | void main() FILE: 60_TripleTest/tests/input006.c function main (line 3) | void main() FILE: 60_TripleTest/tests/input007.c function main (line 3) | void main() FILE: 60_TripleTest/tests/input008.c function main (line 3) | void main() FILE: 60_TripleTest/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 60_TripleTest/tests/input010.c function main (line 3) | void main() FILE: 60_TripleTest/tests/input011.c function main (line 3) | int main() FILE: 60_TripleTest/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 60_TripleTest/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 60_TripleTest/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 60_TripleTest/tests/input015.c function main (line 3) | int main() { FILE: 60_TripleTest/tests/input016.c function main (line 8) | int main() { FILE: 60_TripleTest/tests/input017.c function main (line 3) | int main() { FILE: 60_TripleTest/tests/input018.c function main (line 3) | int main() FILE: 60_TripleTest/tests/input018a.c function main (line 8) | int main() FILE: 60_TripleTest/tests/input019.c function main (line 8) | int main() FILE: 60_TripleTest/tests/input020.c function main (line 6) | int main() { FILE: 60_TripleTest/tests/input021.c function main (line 6) | int main() { FILE: 60_TripleTest/tests/input022.c function main (line 8) | int main() { FILE: 60_TripleTest/tests/input023.c function main (line 6) | int main() { FILE: 60_TripleTest/tests/input024.c function main (line 6) | int main() { FILE: 60_TripleTest/tests/input025.c function main (line 7) | int main() FILE: 60_TripleTest/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 60_TripleTest/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 60_TripleTest/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 60_TripleTest/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 60_TripleTest/tests/input030.c function main (line 10) | int main() { FILE: 60_TripleTest/tests/input031.c function main (line 3) | int main() { FILE: 60_TripleTest/tests/input032.c function main (line 3) | int main() { FILE: 60_TripleTest/tests/input033.c function main (line 3) | int main() { FILE: 60_TripleTest/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 60_TripleTest/tests/input039.c function main (line 3) | int main() { int a; } FILE: 60_TripleTest/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 60_TripleTest/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 60_TripleTest/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 60_TripleTest/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 60_TripleTest/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 60_TripleTest/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 60_TripleTest/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 60_TripleTest/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 60_TripleTest/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 60_TripleTest/tests/input049.c function main (line 3) | int main() { FILE: 60_TripleTest/tests/input050.c function main (line 3) | int main() { FILE: 60_TripleTest/tests/input051.c function main (line 3) | int main() { FILE: 60_TripleTest/tests/input052.c function main (line 3) | int main() { FILE: 60_TripleTest/tests/input053.c function main (line 3) | int main() FILE: 60_TripleTest/tests/input054.c function main (line 3) | int main() FILE: 60_TripleTest/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 60_TripleTest/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 60_TripleTest/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 60_TripleTest/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 60_TripleTest/tests/input059.c function main (line 1) | int main() { FILE: 60_TripleTest/tests/input060.c function main (line 1) | int main() { FILE: 60_TripleTest/tests/input061.c function main (line 1) | int main() { FILE: 60_TripleTest/tests/input062.c function main (line 13) | int main() { FILE: 60_TripleTest/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 60_TripleTest/tests/input064.c type fred (line 1) | enum fred FILE: 60_TripleTest/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 60_TripleTest/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 60_TripleTest/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 60_TripleTest/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 60_TripleTest/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 60_TripleTest/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 60_TripleTest/tests/input071.c function main (line 3) | int main() { FILE: 60_TripleTest/tests/input072.c function main (line 1) | int main() { break; } FILE: 60_TripleTest/tests/input073.c function main (line 1) | int main() { continue; } FILE: 60_TripleTest/tests/input074.c function main (line 3) | int main() { FILE: 60_TripleTest/tests/input075.c function main (line 1) | int main() { FILE: 60_TripleTest/tests/input076.c function main (line 1) | int main() { FILE: 60_TripleTest/tests/input077.c function main (line 1) | int main() { FILE: 60_TripleTest/tests/input078.c function main (line 1) | int main() { FILE: 60_TripleTest/tests/input079.c function main (line 1) | int main() { FILE: 60_TripleTest/tests/input080.c function main (line 6) | int main() { FILE: 60_TripleTest/tests/input081.c function main (line 6) | int main() { FILE: 60_TripleTest/tests/input082.c function main (line 3) | int main() { FILE: 60_TripleTest/tests/input083.c function main (line 3) | int main() { FILE: 60_TripleTest/tests/input084.c function main (line 3) | int main() { FILE: 60_TripleTest/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 60_TripleTest/tests/input086.c function main (line 1) | int main() { FILE: 60_TripleTest/tests/input087.c type foo (line 1) | struct foo { FILE: 60_TripleTest/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 60_TripleTest/tests/input089.c function main (line 7) | int main() { FILE: 60_TripleTest/tests/input090.c function main (line 6) | int main() { FILE: 60_TripleTest/tests/input091.c function main (line 6) | int main() { FILE: 60_TripleTest/tests/input099.c function main (line 19) | int main() { FILE: 60_TripleTest/tests/input100.c function main (line 2) | int main() { FILE: 60_TripleTest/tests/input101.c function main (line 3) | int main() { FILE: 60_TripleTest/tests/input102.c function main (line 1) | int main() { FILE: 60_TripleTest/tests/input103.c function main (line 1) | int main() { FILE: 60_TripleTest/tests/input104.c function main (line 1) | int main() { FILE: 60_TripleTest/tests/input105.c function main (line 1) | int main() { FILE: 60_TripleTest/tests/input106.c function main (line 4) | int main() { FILE: 60_TripleTest/tests/input107.c function main (line 5) | int main() { FILE: 60_TripleTest/tests/input108.c function main (line 1) | int main() { FILE: 60_TripleTest/tests/input109.c function main (line 2) | int main() { FILE: 60_TripleTest/tests/input110.c function main (line 6) | int main() { FILE: 60_TripleTest/tests/input111.c function main (line 2) | int main() { FILE: 60_TripleTest/tests/input112.c function main (line 6) | int main() { FILE: 60_TripleTest/tests/input113.c function fred (line 4) | void fred(void) { function main (line 8) | int main(void) { FILE: 60_TripleTest/tests/input114.c function main (line 2) | int main() { FILE: 60_TripleTest/tests/input115.c type foo (line 2) | struct foo { int x; char y; long z; } type blah (line 3) | typedef struct foo blah; type symtable (line 6) | struct symtable { type ASTnode (line 23) | struct ASTnode { function main (line 36) | int main() { FILE: 60_TripleTest/tests/input116.c function fred (line 4) | static int fred(void) { return(counter++); } function main (line 6) | int main(void) { FILE: 60_TripleTest/tests/input117.c function main (line 7) | int main(void) { FILE: 60_TripleTest/tests/input118.c function main (line 1) | int main(void) { FILE: 60_TripleTest/tests/input119.c function main (line 6) | int main() { FILE: 60_TripleTest/tests/input120.c function main (line 6) | int main() { FILE: 60_TripleTest/tests/input121.c function main (line 6) | int main() { FILE: 60_TripleTest/tests/input122.c function main (line 5) | int main() { FILE: 60_TripleTest/tests/input123.c function main (line 3) | int main() { FILE: 60_TripleTest/tests/input124.c function main (line 5) | int main() { FILE: 60_TripleTest/tests/input125.c function main (line 7) | int main() { FILE: 60_TripleTest/tests/input126.c function main (line 5) | int main() { FILE: 60_TripleTest/tests/input127.c function fred (line 5) | void fred(int *ptr) { // Receive a pointer function main (line 9) | int main() { FILE: 60_TripleTest/tests/input128.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 60_TripleTest/tests/input129.c function main (line 5) | int main() { FILE: 60_TripleTest/tests/input130.c function main (line 5) | int main() { FILE: 60_TripleTest/tests/input131.c function donothing (line 3) | void donothing() { } function main (line 5) | int main() { FILE: 60_TripleTest/tests/input132.c function main (line 7) | int main() { return(0); } FILE: 60_TripleTest/tests/input133.c function main (line 9) | void main() { printf("OK\n"); } FILE: 60_TripleTest/tests/input134.c function main (line 6) | int main() { FILE: 60_TripleTest/tests/input135.c function fred (line 3) | void fred() { function main (line 10) | int main() { FILE: 60_TripleTest/tests/input136.c function add (line 3) | int add(int x, int y) { function main (line 7) | int main() { FILE: 60_TripleTest/tests/input137.c function main (line 5) | int main() { FILE: 60_TripleTest/tests/input138.c function main (line 8) | int main() { FILE: 60_TripleTest/tests/input139.c function same (line 3) | int same(int x) { return(x); } function main (line 5) | int main() { FILE: 60_TripleTest/tests/input140.c function main (line 3) | int main() { FILE: 60_TripleTest/tests/input141.c function foo (line 4) | int foo(int mary[6]) { return(5); } FILE: 60_TripleTest/tests/input143.c function main (line 6) | int main() { FILE: 60_TripleTest/tests/input144.c function main (line 5) | int main() { FILE: 60_TripleTest/tests/input145.c function main (line 9) | int main() { FILE: 60_TripleTest/tests/input146.c function main (line 9) | int main() { FILE: 60_TripleTest/tests/input147.c function main (line 5) | int main() { FILE: 60_TripleTest/tests/input148.c function main (line 6) | int main() { FILE: 60_TripleTest/tests/input149.c function newlocaloffset (line 5) | static int newlocaloffset(int size) { function main (line 10) | int main() { FILE: 60_TripleTest/tests/out.input030.c function main (line 10) | int main() { FILE: 60_TripleTest/tree.c type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 37) | struct ASTnode type symtable (line 38) | struct symtable type symtable (line 39) | struct symtable type ASTnode (line 44) | struct ASTnode type symtable (line 45) | struct symtable type ASTnode (line 46) | struct ASTnode type symtable (line 47) | struct symtable function gendumplabel (line 54) | static int gendumplabel(void) { function dumpAST (line 60) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 60_TripleTest/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode type symtable (line 50) | struct symtable FILE: 62_Cleanup/cg.c function cgtextseg (line 12) | void cgtextseg() { function cgdataseg (line 20) | void cgdataseg() { function cgprimsize (line 29) | int cgprimsize(int type) { function cgalign (line 51) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 78) | static int newlocaloffset(int size) { function pushreg (line 109) | static void pushreg(int r) { function popreg (line 113) | static void popreg(int r) { function cgfreeallregs (line 120) | void cgfreeallregs(int keepreg) { function cgallocreg (line 137) | int cgallocreg(void) { function cgfreereg (line 158) | void cgfreereg(int reg) { function cgspillregs (line 176) | void cgspillregs(void) { function cgunspillregs (line 184) | static void cgunspillregs(void) { function cgpreamble (line 193) | void cgpreamble(char *filename) { function cgpostamble (line 228) | void cgpostamble() { function cgfuncpreamble (line 232) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 273) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 283) | int cgloadint(int value, int type) { function cgloadvar (line 295) | int cgloadvar(struct symtable *sym, int op) { function cgloadglobstr (line 393) | int cgloadglobstr(int label) { function cgadd (line 402) | int cgadd(int r1, int r2) { function cgsub (line 410) | int cgsub(int r1, int r2) { function cgmul (line 418) | int cgmul(int r1, int r2) { function cgdivmod (line 426) | int cgdivmod(int r1, int r2, int op) { function cgand (line 439) | int cgand(int r1, int r2) { function cgor (line 446) | int cgor(int r1, int r2) { function cgxor (line 453) | int cgxor(int r1, int r2) { function cgshl (line 460) | int cgshl(int r1, int r2) { function cgshr (line 468) | int cgshr(int r1, int r2) { function cgnegate (line 476) | int cgnegate(int r) { function cginvert (line 482) | int cginvert(int r) { function cglognot (line 488) | int cglognot(int r) { function cgloadboolean (line 497) | void cgloadboolean(int r, int val) { function cgboolean (line 503) | int cgboolean(int r, int op, int label) { function cgcall (line 524) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 547) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 564) | int cgshlconst(int r, int val) { function cgstorglob (line 570) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 589) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 608) | void cgglobsym(struct symtable *node) { function cgglobstr (line 668) | void cgglobstr(int l, char *strvalue, int append) { function cgglobstrend (line 678) | void cgglobstrend(void) { function cgcompare_and_set (line 688) | int cgcompare_and_set(int ASTop, int r1, int r2, int type) { function cglabel (line 714) | void cglabel(int l) { function cgjump (line 719) | void cgjump(int l) { function cgcompare_and_jump (line 728) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label, int type) { function cgwiden (line 755) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 761) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 792) | int cgaddress(struct symtable *sym) { function cgderef (line 805) | int cgderef(int r, int type) { function cgstorderef (line 828) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 850) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 879) | void cgmove(int r1, int r2) { function cglinenum (line 886) | void cglinenum(int line) { FILE: 62_Cleanup/cg_arm.c function freeall_registers (line 14) | void freeall_registers(void) { function alloc_register (line 20) | static int alloc_register(void) { function free_register (line 33) | static void free_register(int reg) { function set_int_offset (line 48) | static void set_int_offset(int val) { function cgpreamble (line 71) | void cgpreamble() { function cgpostamble (line 77) | void cgpostamble() { function cgfuncpreamble (line 94) | void cgfuncpreamble(int id) { function cgfuncpostamble (line 106) | void cgfuncpostamble(int id) { function cgloadint (line 113) | int cgloadint(int value, int type) { function set_var_offset (line 129) | static void set_var_offset(int id) { function cgloadglob (line 146) | int cgloadglob(int id) { function cgadd (line 172) | int cgadd(int r1, int r2) { function cgsub (line 181) | int cgsub(int r1, int r2) { function cgmul (line 190) | int cgmul(int r1, int r2) { function cgdiv (line 199) | int cgdiv(int r1, int r2) { function cgcall (line 213) | int cgcall(int r, int id) { function cgshlconst (line 221) | int cgshlconst(int r, int val) { function cgstorglob (line 227) | int cgstorglob(int r, int id) { function cgprimsize (line 251) | int cgprimsize(int type) { function cgglobsym (line 267) | void cgglobsym(int id) { function cgcompare_and_set (line 296) | int cgcompare_and_set(int ASTop, int r1, int r2) { function cglabel (line 311) | void cglabel(int l) { function cgjump (line 316) | void cgjump(int l) { function cgcompare_and_jump (line 325) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label) { function cgwiden (line 340) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 346) | void cgreturn(int reg, int id) { function cgaddress (line 353) | int cgaddress(int id) { function cgderef (line 365) | int cgderef(int r, int type) { function cgstorderef (line 379) | int cgstorderef(int r1, int r2, int type) { FILE: 62_Cleanup/cgn.c function cgtextseg (line 35) | void cgtextseg() { function cgdataseg (line 43) | void cgdataseg() { function cglabel (line 51) | void cglabel(int l) { function cgprimsize (line 57) | int cgprimsize(int type) { function cgstorlocal (line 74) | int cgstorlocal(int r, struct symtable *sym) { function cgalign (line 100) | int cgalign(int type, int offset, int direction) { function newlocaloffset (line 126) | static int newlocaloffset(int size) { function pushreg (line 134) | static void pushreg(int r) { function popreg (line 138) | static void popreg(int r) { function cgfreeallregs (line 145) | void cgfreeallregs(int keepreg) { function cgallocreg (line 162) | int cgallocreg(void) { function cgfreereg (line 182) | void cgfreereg(int reg) { function cgspillregs (line 200) | void cgspillregs(void) { function cgunspillregs (line 208) | static void cgunspillregs(void) { function cgpreamble (line 217) | void cgpreamble(char *filename) { function cgpostamble (line 248) | void cgpostamble() { function cgfuncpreamble (line 252) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 298) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 308) | int cgloadint(int value, int type) { function cgloadvar (line 320) | int cgloadvar(struct symtable *sym, int op) { function cgloadglobstr (line 421) | int cgloadglobstr(int label) { function cgadd (line 430) | int cgadd(int r1, int r2) { function cgsub (line 438) | int cgsub(int r1, int r2) { function cgmul (line 446) | int cgmul(int r1, int r2) { function cgdivmod (line 454) | int cgdivmod(int r1, int r2, int op) { function cgand (line 467) | int cgand(int r1, int r2) { function cgor (line 474) | int cgor(int r1, int r2) { function cgxor (line 481) | int cgxor(int r1, int r2) { function cgshl (line 488) | int cgshl(int r1, int r2) { function cgshr (line 496) | int cgshr(int r1, int r2) { function cgnegate (line 504) | int cgnegate(int r) { function cginvert (line 510) | int cginvert(int r) { function cglognot (line 516) | int cglognot(int r) { function cgloadboolean (line 525) | void cgloadboolean(int r, int val) { function cgboolean (line 531) | int cgboolean(int r, int op, int label) { function cgcall (line 552) | int cgcall(struct symtable *sym, int numargs) { function cgcopyarg (line 579) | void cgcopyarg(int r, int argposn) { function cgshlconst (line 596) | int cgshlconst(int r, int val) { function cgstorglob (line 602) | int cgstorglob(int r, struct symtable *sym) { function cgglobsym (line 624) | void cgglobsym(struct symtable *node) { function cgglobstr (line 688) | void cgglobstr(int l, char *strvalue, int append) { function cgglobstrend (line 698) | void cgglobstrend(void) { function cgcompare_and_set (line 708) | int cgcompare_and_set(int ASTop, int r1, int r2, int type) { function cgjump (line 733) | void cgjump(int l) { function cgcompare_and_jump (line 742) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label, int type) { function cgwiden (line 769) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 775) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 805) | int cgaddress(struct symtable *sym) { function cgderef (line 823) | int cgderef(int r, int type) { function cgstorderef (line 846) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 868) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 897) | void cgmove(int r1, int r2) { function cglinenum (line 904) | void cglinenum(int line) { FILE: 62_Cleanup/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 97) | int parse_stars(int type) { function parse_cast (line 109) | int parse_cast(struct symtable **ctype) { function parse_literal (line 126) | int parse_literal(int type) { function is_new_symbol (line 165) | static int is_new_symbol(struct symtable *sym, int class, type symtable (line 199) | struct symtable type symtable (line 200) | struct symtable type ASTnode (line 201) | struct ASTnode type symtable (line 202) | struct symtable type ASTnode (line 203) | struct ASTnode type symtable (line 271) | struct symtable type symtable (line 272) | struct symtable type symtable (line 274) | struct symtable function param_declaration_list (line 383) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 442) | struct symtable type symtable (line 443) | struct symtable type ASTnode (line 445) | struct ASTnode type symtable (line 446) | struct symtable type symtable (line 539) | struct symtable type symtable (line 540) | struct symtable type symtable (line 541) | struct symtable type ASTnode (line 542) | struct ASTnode function enum_declaration (line 624) | static void enum_declaration(void) { function typedef_declaration (line 695) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 720) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 737) | struct symtable type symtable (line 737) | struct symtable type ASTnode (line 738) | struct ASTnode type symtable (line 739) | struct symtable function declaration_list (line 777) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 825) | void global_declarations(void) { FILE: 62_Cleanup/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type symtable (line 16) | struct symtable type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type symtable (line 19) | struct symtable type ASTnode (line 20) | struct ASTnode type symtable (line 21) | struct symtable type ASTnode (line 22) | struct ASTnode type ASTnode (line 26) | struct ASTnode type symtable (line 31) | struct symtable type symtable (line 49) | struct symtable type symtable (line 50) | struct symtable type symtable (line 52) | struct symtable type symtable (line 59) | struct symtable type symtable (line 61) | struct symtable type symtable (line 62) | struct symtable type symtable (line 63) | struct symtable type symtable (line 71) | struct symtable type symtable (line 72) | struct symtable type ASTnode (line 91) | struct ASTnode type ASTnode (line 92) | struct ASTnode type ASTnode (line 95) | struct ASTnode type symtable (line 112) | struct symtable type symtable (line 112) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 114) | struct symtable type symtable (line 116) | struct symtable type symtable (line 116) | struct symtable type symtable (line 118) | struct symtable type symtable (line 118) | struct symtable type symtable (line 120) | struct symtable type symtable (line 120) | struct symtable type symtable (line 122) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 124) | struct symtable type symtable (line 126) | struct symtable type symtable (line 127) | struct symtable type symtable (line 127) | struct symtable type symtable (line 128) | struct symtable type symtable (line 129) | struct symtable type symtable (line 130) | struct symtable type symtable (line 131) | struct symtable type symtable (line 132) | struct symtable type symtable (line 133) | struct symtable type symtable (line 134) | struct symtable type symtable (line 135) | struct symtable type symtable (line 136) | struct symtable type symtable (line 140) | struct symtable type symtable (line 144) | struct symtable type symtable (line 146) | struct symtable type symtable (line 147) | struct symtable type ASTnode (line 148) | struct ASTnode type symtable (line 156) | struct symtable type ASTnode (line 157) | struct ASTnode type ASTnode (line 157) | struct ASTnode type symtable (line 158) | struct symtable type ASTnode (line 161) | struct ASTnode type ASTnode (line 161) | struct ASTnode FILE: 62_Cleanup/defs.h type token (line 59) | struct token { type symtable (line 110) | struct symtable { type ASTnode (line 130) | struct ASTnode { FILE: 62_Cleanup/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 49) | struct ASTnode type ASTnode (line 50) | struct ASTnode type symtable (line 51) | struct symtable type ASTnode (line 79) | struct ASTnode type ASTnode (line 79) | struct ASTnode type ASTnode (line 80) | struct ASTnode type ASTnode (line 117) | struct ASTnode type ASTnode (line 117) | struct ASTnode type ASTnode (line 118) | struct ASTnode type symtable (line 119) | struct symtable type symtable (line 120) | struct symtable type ASTnode (line 169) | struct ASTnode type ASTnode (line 170) | struct ASTnode type symtable (line 172) | struct symtable type ASTnode (line 217) | struct ASTnode type ASTnode (line 218) | struct ASTnode type symtable (line 219) | struct symtable type symtable (line 220) | struct symtable type symtable (line 224) | struct symtable type ASTnode (line 320) | struct ASTnode type ASTnode (line 321) | struct ASTnode function binastop (line 383) | static int binastop(int tokentype) { function rightassoc (line 392) | static int rightassoc(int tokentype) { function op_precedence (line 416) | static int op_precedence(int tokentype) { type ASTnode (line 436) | struct ASTnode type ASTnode (line 437) | struct ASTnode type ASTnode (line 544) | struct ASTnode type ASTnode (line 545) | struct ASTnode type ASTnode (line 546) | struct ASTnode FILE: 62_Cleanup/gen.c function genlabel (line 10) | int genlabel(void) { function update_line (line 14) | static void update_line(struct ASTnode *n) { function genIF (line 25) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 67) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 93) | static int genSWITCH(struct ASTnode *n) { function gen_logandor (line 149) | static int gen_logandor(struct ASTnode *n) { function gen_funccall (line 187) | static int gen_funccall(struct ASTnode *n) { function gen_ternary (line 215) | static int gen_ternary(struct ASTnode *n) { function genAST (line 253) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 475) | void genpreamble(char *filename) { function genpostamble (line 478) | void genpostamble() { function genfreeregs (line 481) | void genfreeregs(int keepreg) { function genglobsym (line 484) | void genglobsym(struct symtable *node) { function genglobstr (line 491) | int genglobstr(char *strvalue, int append) { function genglobstrend (line 496) | void genglobstrend(void) { function genprimsize (line 499) | int genprimsize(int type) { function genalign (line 502) | int genalign(int type, int offset, int direction) { FILE: 62_Cleanup/main.c function do_link (line 129) | void do_link(char *outfilename, char **objlist) { function usage (line 158) | static void usage(char *prog) { function main (line 174) | int main(int argc, char **argv) { FILE: 62_Cleanup/misc.c function match (line 13) | void match(int t, char *what) { function semi (line 22) | void semi(void) { function lbrace (line 27) | void lbrace(void) { function rbrace (line 32) | void rbrace(void) { function lparen (line 37) | void lparen(void) { function rparen (line 42) | void rparen(void) { function ident (line 47) | void ident(void) { function comma (line 52) | void comma(void) { function fatal (line 57) | void fatal(char *s) { function fatals (line 64) | void fatals(char *s1, char *s2) { function fatald (line 71) | void fatald(char *s, int d) { function fatalc (line 78) | void fatalc(char *s, int c) { FILE: 62_Cleanup/opt.c type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 99) | struct ASTnode type ASTnode (line 99) | struct ASTnode FILE: 62_Cleanup/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 19) | static int next(void) { function putback (line 61) | static void putback(int c) { function skip (line 68) | static int skip(void) { function hexchar (line 79) | static int hexchar(void) { function scanch (line 106) | static int scanch(void) { function scanint (line 166) | static int scanint(int c) { function scanstr (line 197) | static int scanstr(char *buf) { function scanident (line 218) | static int scanident(int c, char *buf, int lim) { function keyword (line 244) | static int keyword(char *s) { function scan (line 336) | int scan(struct token *t) { FILE: 62_Cleanup/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 69) | struct ASTnode type ASTnode (line 70) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 102) | struct ASTnode type ASTnode (line 103) | struct ASTnode type ASTnode (line 104) | struct ASTnode type ASTnode (line 146) | struct ASTnode type ASTnode (line 147) | struct ASTnode type ASTnode (line 184) | struct ASTnode type ASTnode (line 196) | struct ASTnode type ASTnode (line 206) | struct ASTnode type ASTnode (line 207) | struct ASTnode type ASTnode (line 208) | struct ASTnode type ASTnode (line 306) | struct ASTnode type ASTnode (line 307) | struct ASTnode type symtable (line 308) | struct symtable type ASTnode (line 374) | struct ASTnode type ASTnode (line 375) | struct ASTnode type ASTnode (line 376) | struct ASTnode FILE: 62_Cleanup/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 69) | struct symtable type symtable (line 69) | struct symtable type symtable (line 71) | struct symtable type symtable (line 81) | struct symtable type symtable (line 81) | struct symtable type symtable (line 83) | struct symtable type symtable (line 93) | struct symtable type symtable (line 93) | struct symtable type symtable (line 95) | struct symtable type symtable (line 101) | struct symtable type symtable (line 101) | struct symtable type symtable (line 103) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 121) | struct symtable type symtable (line 122) | struct symtable type symtable (line 130) | struct symtable type symtable (line 131) | struct symtable type symtable (line 137) | struct symtable type symtable (line 137) | struct symtable type symtable (line 138) | struct symtable type symtable (line 146) | struct symtable type symtable (line 146) | struct symtable type symtable (line 157) | struct symtable type symtable (line 163) | struct symtable type symtable (line 164) | struct symtable type symtable (line 177) | struct symtable type symtable (line 178) | struct symtable type symtable (line 195) | struct symtable type symtable (line 201) | struct symtable type symtable (line 207) | struct symtable type symtable (line 213) | struct symtable type symtable (line 219) | struct symtable type symtable (line 225) | struct symtable function clear_symtable (line 230) | void clear_symtable(void) { function freeloclsyms (line 242) | void freeloclsyms(void) { function freestaticsyms (line 249) | void freestaticsyms(void) { function dumpsym (line 281) | static void dumpsym(struct symtable *sym, int indent) { function dumptable (line 398) | void dumptable(struct symtable *head, char *name, int indent) { function dumpsymtables (line 407) | void dumpsymtables(void) { FILE: 62_Cleanup/tests/err.input065.c type type (line 1) | enum type FILE: 62_Cleanup/tests/err.input066.c type value (line 1) | enum value FILE: 62_Cleanup/tests/input001.c function main (line 3) | void main() FILE: 62_Cleanup/tests/input002.c function main (line 3) | void main() FILE: 62_Cleanup/tests/input003.c function main (line 3) | void main() FILE: 62_Cleanup/tests/input004.c function main (line 3) | void main() FILE: 62_Cleanup/tests/input005.c function main (line 3) | void main() FILE: 62_Cleanup/tests/input006.c function main (line 3) | void main() FILE: 62_Cleanup/tests/input007.c function main (line 3) | void main() FILE: 62_Cleanup/tests/input008.c function main (line 3) | void main() FILE: 62_Cleanup/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 62_Cleanup/tests/input010.c function main (line 3) | void main() FILE: 62_Cleanup/tests/input011.c function main (line 3) | int main() FILE: 62_Cleanup/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 62_Cleanup/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 62_Cleanup/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 62_Cleanup/tests/input015.c function main (line 3) | int main() { FILE: 62_Cleanup/tests/input016.c function main (line 8) | int main() { FILE: 62_Cleanup/tests/input017.c function main (line 3) | int main() { FILE: 62_Cleanup/tests/input018.c function main (line 3) | int main() FILE: 62_Cleanup/tests/input018a.c function main (line 8) | int main() FILE: 62_Cleanup/tests/input019.c function main (line 8) | int main() FILE: 62_Cleanup/tests/input020.c function main (line 6) | int main() { FILE: 62_Cleanup/tests/input021.c function main (line 6) | int main() { FILE: 62_Cleanup/tests/input022.c function main (line 8) | int main() { FILE: 62_Cleanup/tests/input023.c function main (line 6) | int main() { FILE: 62_Cleanup/tests/input024.c function main (line 6) | int main() { FILE: 62_Cleanup/tests/input025.c function main (line 7) | int main() FILE: 62_Cleanup/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 62_Cleanup/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 62_Cleanup/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 62_Cleanup/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 62_Cleanup/tests/input030.c function main (line 10) | int main() { FILE: 62_Cleanup/tests/input031.c function main (line 3) | int main() { FILE: 62_Cleanup/tests/input032.c function main (line 3) | int main() { FILE: 62_Cleanup/tests/input033.c function main (line 3) | int main() { FILE: 62_Cleanup/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 62_Cleanup/tests/input039.c function main (line 3) | int main() { int a; } FILE: 62_Cleanup/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 62_Cleanup/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 62_Cleanup/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 62_Cleanup/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 62_Cleanup/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 62_Cleanup/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 62_Cleanup/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 62_Cleanup/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 62_Cleanup/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 62_Cleanup/tests/input049.c function main (line 3) | int main() { FILE: 62_Cleanup/tests/input050.c function main (line 3) | int main() { FILE: 62_Cleanup/tests/input051.c function main (line 3) | int main() { FILE: 62_Cleanup/tests/input052.c function main (line 3) | int main() { FILE: 62_Cleanup/tests/input053.c function main (line 3) | int main() FILE: 62_Cleanup/tests/input054.c function main (line 3) | int main() FILE: 62_Cleanup/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 62_Cleanup/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 62_Cleanup/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 62_Cleanup/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 62_Cleanup/tests/input059.c function main (line 1) | int main() { FILE: 62_Cleanup/tests/input060.c function main (line 1) | int main() { FILE: 62_Cleanup/tests/input061.c function main (line 1) | int main() { FILE: 62_Cleanup/tests/input062.c function main (line 13) | int main() { FILE: 62_Cleanup/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 62_Cleanup/tests/input064.c type fred (line 1) | enum fred FILE: 62_Cleanup/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 62_Cleanup/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 62_Cleanup/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 62_Cleanup/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 62_Cleanup/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 62_Cleanup/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 62_Cleanup/tests/input071.c function main (line 3) | int main() { FILE: 62_Cleanup/tests/input072.c function main (line 1) | int main() { break; } FILE: 62_Cleanup/tests/input073.c function main (line 1) | int main() { continue; } FILE: 62_Cleanup/tests/input074.c function main (line 3) | int main() { FILE: 62_Cleanup/tests/input075.c function main (line 1) | int main() { FILE: 62_Cleanup/tests/input076.c function main (line 1) | int main() { FILE: 62_Cleanup/tests/input077.c function main (line 1) | int main() { FILE: 62_Cleanup/tests/input078.c function main (line 1) | int main() { FILE: 62_Cleanup/tests/input079.c function main (line 1) | int main() { FILE: 62_Cleanup/tests/input080.c function main (line 6) | int main() { FILE: 62_Cleanup/tests/input081.c function main (line 6) | int main() { FILE: 62_Cleanup/tests/input082.c function main (line 3) | int main() { FILE: 62_Cleanup/tests/input083.c function main (line 3) | int main() { FILE: 62_Cleanup/tests/input084.c function main (line 3) | int main() { FILE: 62_Cleanup/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 62_Cleanup/tests/input086.c function main (line 1) | int main() { FILE: 62_Cleanup/tests/input087.c type foo (line 1) | struct foo { FILE: 62_Cleanup/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 62_Cleanup/tests/input089.c function main (line 7) | int main() { FILE: 62_Cleanup/tests/input090.c function main (line 6) | int main() { FILE: 62_Cleanup/tests/input091.c function main (line 6) | int main() { FILE: 62_Cleanup/tests/input099.c function main (line 19) | int main() { FILE: 62_Cleanup/tests/input100.c function main (line 2) | int main() { FILE: 62_Cleanup/tests/input101.c function main (line 3) | int main() { FILE: 62_Cleanup/tests/input102.c function main (line 1) | int main() { FILE: 62_Cleanup/tests/input103.c function main (line 1) | int main() { FILE: 62_Cleanup/tests/input104.c function main (line 1) | int main() { FILE: 62_Cleanup/tests/input105.c function main (line 1) | int main() { FILE: 62_Cleanup/tests/input106.c function main (line 4) | int main() { FILE: 62_Cleanup/tests/input107.c function main (line 5) | int main() { FILE: 62_Cleanup/tests/input108.c function main (line 1) | int main() { FILE: 62_Cleanup/tests/input109.c function main (line 2) | int main() { FILE: 62_Cleanup/tests/input110.c function main (line 6) | int main() { FILE: 62_Cleanup/tests/input111.c function main (line 2) | int main() { FILE: 62_Cleanup/tests/input112.c function main (line 6) | int main() { FILE: 62_Cleanup/tests/input113.c function fred (line 4) | void fred(void) { function main (line 8) | int main(void) { FILE: 62_Cleanup/tests/input114.c function main (line 2) | int main() { FILE: 62_Cleanup/tests/input115.c type foo (line 2) | struct foo { int x; char y; long z; } type blah (line 3) | typedef struct foo blah; type symtable (line 6) | struct symtable { type ASTnode (line 23) | struct ASTnode { function main (line 36) | int main() { FILE: 62_Cleanup/tests/input116.c function fred (line 4) | static int fred(void) { return(counter++); } function main (line 6) | int main(void) { FILE: 62_Cleanup/tests/input117.c function main (line 7) | int main(void) { FILE: 62_Cleanup/tests/input118.c function main (line 1) | int main(void) { FILE: 62_Cleanup/tests/input119.c function main (line 6) | int main() { FILE: 62_Cleanup/tests/input120.c function main (line 6) | int main() { FILE: 62_Cleanup/tests/input121.c function main (line 6) | int main() { FILE: 62_Cleanup/tests/input122.c function main (line 5) | int main() { FILE: 62_Cleanup/tests/input123.c function main (line 3) | int main() { FILE: 62_Cleanup/tests/input124.c function main (line 5) | int main() { FILE: 62_Cleanup/tests/input125.c function main (line 7) | int main() { FILE: 62_Cleanup/tests/input126.c function main (line 5) | int main() { FILE: 62_Cleanup/tests/input127.c function fred (line 5) | void fred(int *ptr) { // Receive a pointer function main (line 9) | int main() { FILE: 62_Cleanup/tests/input128.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 62_Cleanup/tests/input129.c function main (line 5) | int main() { FILE: 62_Cleanup/tests/input130.c function main (line 5) | int main() { FILE: 62_Cleanup/tests/input131.c function donothing (line 3) | void donothing() { } function main (line 5) | int main() { FILE: 62_Cleanup/tests/input132.c function main (line 7) | int main() { return(0); } FILE: 62_Cleanup/tests/input133.c function main (line 9) | void main() { printf("OK\n"); } FILE: 62_Cleanup/tests/input134.c function main (line 6) | int main() { FILE: 62_Cleanup/tests/input135.c function fred (line 3) | void fred() { function main (line 10) | int main() { FILE: 62_Cleanup/tests/input136.c function add (line 3) | int add(int x, int y) { function main (line 7) | int main() { FILE: 62_Cleanup/tests/input137.c function main (line 5) | int main() { FILE: 62_Cleanup/tests/input138.c function main (line 8) | int main() { FILE: 62_Cleanup/tests/input139.c function same (line 3) | int same(int x) { return(x); } function main (line 5) | int main() { FILE: 62_Cleanup/tests/input140.c function main (line 3) | int main() { FILE: 62_Cleanup/tests/input141.c function foo (line 4) | int foo(int mary[6]) { return(5); } FILE: 62_Cleanup/tests/input143.c function main (line 6) | int main() { FILE: 62_Cleanup/tests/input144.c function main (line 5) | int main() { FILE: 62_Cleanup/tests/input145.c function main (line 9) | int main() { FILE: 62_Cleanup/tests/input146.c function main (line 9) | int main() { FILE: 62_Cleanup/tests/input147.c function main (line 5) | int main() { FILE: 62_Cleanup/tests/input148.c function main (line 6) | int main() { FILE: 62_Cleanup/tests/input149.c function newlocaloffset (line 5) | static int newlocaloffset(int size) { function main (line 10) | int main() { FILE: 62_Cleanup/tests/input150.c type Svalue (line 4) | struct Svalue { type IR (line 10) | struct IR { type foo (line 19) | struct foo { type IR (line 26) | struct IR type foo (line 27) | struct foo function main (line 29) | int main() { FILE: 62_Cleanup/tests/out.input030.c function main (line 10) | int main() { FILE: 62_Cleanup/tree.c type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 37) | struct ASTnode type symtable (line 38) | struct symtable type symtable (line 39) | struct symtable type ASTnode (line 44) | struct ASTnode type symtable (line 45) | struct symtable type ASTnode (line 46) | struct ASTnode type symtable (line 47) | struct symtable function gendumplabel (line 54) | static int gendumplabel(void) { function dumpAST (line 60) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 62_Cleanup/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode type symtable (line 50) | struct symtable FILE: 63_QBE/cg.c function cgtextseg (line 9) | void cgtextseg() { function cgdataseg (line 13) | void cgdataseg() { function cgqbetype (line 20) | char cgqbetype(int type) { function cgprimsize (line 40) | int cgprimsize(int type) { function cgalign (line 62) | int cgalign(int type, int offset, int direction) { function cgalloctemp (line 82) | int cgalloctemp(void) { function cgpreamble (line 88) | void cgpreamble(char *filename) { function cgpostamble (line 92) | void cgpostamble() { function cgfuncpreamble (line 100) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 173) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 185) | int cgloadint(int value, int type) { function cgloadvar (line 197) | int cgloadvar(struct symtable *sym, int op) { function cgloadglobstr (line 312) | int cgloadglobstr(int label) { function cgadd (line 321) | int cgadd(int r1, int r2, int type) { function cgsub (line 329) | int cgsub(int r1, int r2, int type) { function cgmul (line 337) | int cgmul(int r1, int r2, int type) { function cgdivmod (line 345) | int cgdivmod(int r1, int r2, int op, int type) { function cgand (line 356) | int cgand(int r1, int r2, int type) { function cgor (line 363) | int cgor(int r1, int r2, int type) { function cgxor (line 370) | int cgxor(int r1, int r2, int type) { function cgshl (line 377) | int cgshl(int r1, int r2, int type) { function cgshr (line 384) | int cgshr(int r1, int r2, int type) { function cgnegate (line 391) | int cgnegate(int r, int type) { function cginvert (line 397) | int cginvert(int r, int type) { function cglognot (line 403) | int cglognot(int r, int type) { function cgloadboolean (line 411) | void cgloadboolean(int r, int val, int type) { function cgboolean (line 417) | int cgboolean(int r, int op, int label, int type) { function cgcall (line 445) | int cgcall(struct symtable *sym, int numargs, int *arglist, int *typelis... function cgshlconst (line 471) | int cgshlconst(int r, int val, int type) { function cgstorglob (line 484) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 496) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 510) | void cgglobsym(struct symtable *node) { function cgglobstr (line 573) | void cgglobstr(int l, char *strvalue, int append) { function cgglobstrend (line 584) | void cgglobstrend(void) { function cgcompare_and_set (line 593) | int cgcompare_and_set(int ASTop, int r1, int r2, int type) { function cglabel (line 610) | void cglabel(int l) { function cgjump (line 615) | void cgjump(int l) { function cgcompare_and_jump (line 624) | int cgcompare_and_jump(int ASTop, int r1, int r2, int label, int type) { function cgwiden (line 649) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 667) | void cgreturn(int reg, struct symtable *sym) { function cgaddress (line 678) | int cgaddress(struct symtable *sym) { function cgderef (line 689) | int cgderef(int r, int type) { function cgstorderef (line 714) | int cgstorderef(int r1, int r2, int type) { function cgmove (line 735) | void cgmove(int r1, int r2, int type) { function cglinenum (line 742) | void cglinenum(int line) { function cgcast (line 748) | int cgcast(int t, int oldtype, int newtype) { FILE: 63_QBE/decl.c type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable function parse_type (line 16) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 97) | int parse_stars(int type) { function parse_cast (line 109) | int parse_cast(struct symtable **ctype) { function parse_literal (line 126) | int parse_literal(int type) { function is_new_symbol (line 163) | static int is_new_symbol(struct symtable *sym, int class, type symtable (line 197) | struct symtable type symtable (line 198) | struct symtable type ASTnode (line 199) | struct ASTnode type symtable (line 200) | struct symtable type ASTnode (line 201) | struct ASTnode type symtable (line 268) | struct symtable type symtable (line 269) | struct symtable type symtable (line 271) | struct symtable function param_declaration_list (line 378) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 436) | struct symtable type symtable (line 437) | struct symtable type ASTnode (line 439) | struct ASTnode type symtable (line 440) | struct symtable type symtable (line 529) | struct symtable type symtable (line 530) | struct symtable type symtable (line 531) | struct symtable type ASTnode (line 532) | struct ASTnode function enum_declaration (line 612) | static void enum_declaration(void) { function typedef_declaration (line 680) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 705) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 722) | struct symtable type symtable (line 722) | struct symtable type ASTnode (line 723) | struct ASTnode type symtable (line 724) | struct symtable function declaration_list (line 761) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 808) | void global_declarations(void) { FILE: 63_QBE/decl.h type token (line 5) | struct token type token (line 6) | struct token type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type symtable (line 16) | struct symtable type symtable (line 17) | struct symtable type ASTnode (line 18) | struct ASTnode type symtable (line 19) | struct symtable type ASTnode (line 20) | struct ASTnode type symtable (line 21) | struct symtable type ASTnode (line 22) | struct ASTnode type ASTnode (line 26) | struct ASTnode type symtable (line 31) | struct symtable type symtable (line 49) | struct symtable type symtable (line 50) | struct symtable type symtable (line 52) | struct symtable type symtable (line 59) | struct symtable type symtable (line 61) | struct symtable type symtable (line 62) | struct symtable type symtable (line 63) | struct symtable type symtable (line 71) | struct symtable type symtable (line 72) | struct symtable type ASTnode (line 92) | struct ASTnode type ASTnode (line 93) | struct ASTnode type ASTnode (line 96) | struct ASTnode type symtable (line 113) | struct symtable type symtable (line 113) | struct symtable type symtable (line 114) | struct symtable type symtable (line 115) | struct symtable type symtable (line 115) | struct symtable type symtable (line 117) | struct symtable type symtable (line 117) | struct symtable type symtable (line 119) | struct symtable type symtable (line 119) | struct symtable type symtable (line 121) | struct symtable type symtable (line 121) | struct symtable type symtable (line 123) | struct symtable type symtable (line 124) | struct symtable type symtable (line 125) | struct symtable type symtable (line 125) | struct symtable type symtable (line 127) | struct symtable type symtable (line 128) | struct symtable type symtable (line 128) | struct symtable type symtable (line 129) | struct symtable type symtable (line 130) | struct symtable type symtable (line 131) | struct symtable type symtable (line 132) | struct symtable type symtable (line 133) | struct symtable type symtable (line 134) | struct symtable type symtable (line 135) | struct symtable type symtable (line 136) | struct symtable type symtable (line 137) | struct symtable type symtable (line 141) | struct symtable type symtable (line 145) | struct symtable type symtable (line 147) | struct symtable type symtable (line 148) | struct symtable type ASTnode (line 149) | struct ASTnode type symtable (line 157) | struct symtable type ASTnode (line 158) | struct ASTnode type ASTnode (line 158) | struct ASTnode type symtable (line 159) | struct symtable type ASTnode (line 162) | struct ASTnode type ASTnode (line 162) | struct ASTnode FILE: 63_QBE/defs.h type token (line 55) | struct token { type symtable (line 106) | struct symtable { type ASTnode (line 124) | struct ASTnode { FILE: 63_QBE/expr.c type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type ASTnode (line 49) | struct ASTnode type ASTnode (line 50) | struct ASTnode type symtable (line 51) | struct symtable type ASTnode (line 78) | struct ASTnode type ASTnode (line 78) | struct ASTnode type ASTnode (line 79) | struct ASTnode type ASTnode (line 116) | struct ASTnode type ASTnode (line 116) | struct ASTnode type ASTnode (line 117) | struct ASTnode type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type ASTnode (line 167) | struct ASTnode type ASTnode (line 168) | struct ASTnode type symtable (line 170) | struct symtable type ASTnode (line 215) | struct ASTnode type ASTnode (line 216) | struct ASTnode type symtable (line 217) | struct symtable type symtable (line 218) | struct symtable type symtable (line 222) | struct symtable type ASTnode (line 318) | struct ASTnode type ASTnode (line 319) | struct ASTnode function binastop (line 381) | static int binastop(int tokentype) { function rightassoc (line 390) | static int rightassoc(int tokentype) { function op_precedence (line 414) | static int op_precedence(int tokentype) { type ASTnode (line 434) | struct ASTnode type ASTnode (line 435) | struct ASTnode type ASTnode (line 544) | struct ASTnode type ASTnode (line 545) | struct ASTnode type ASTnode (line 546) | struct ASTnode FILE: 63_QBE/gen.c function genlabel (line 10) | int genlabel(void) { function update_line (line 14) | static void update_line(struct ASTnode *n) { function genIF (line 25) | static int genIF(struct ASTnode *n, int looptoplabel, int loopendlabel) { function genWHILE (line 71) | static int genWHILE(struct ASTnode *n) { function genSWITCH (line 98) | static int genSWITCH(struct ASTnode *n) { function gen_logandor (line 165) | static int gen_logandor(struct ASTnode *n) { function gen_funccall (line 204) | static int gen_funccall(struct ASTnode *n) { function gen_ternary (line 243) | static int gen_ternary(struct ASTnode *n) { function genAST (line 281) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 500) | void genpreamble(char *filename) { function genpostamble (line 504) | void genpostamble() { function genglobsym (line 508) | void genglobsym(struct symtable *node) { function genglobstr (line 515) | int genglobstr(char *strvalue, int append) { function genglobstrend (line 520) | void genglobstrend(void) { function genprimsize (line 523) | int genprimsize(int type) { function genalign (line 526) | int genalign(int type, int offset, int direction) { FILE: 63_QBE/main.c function do_link (line 141) | void do_link(char *outfilename, char **objlist) { function usage (line 170) | static void usage(char *prog) { function main (line 186) | int main(int argc, char **argv) { FILE: 63_QBE/misc.c function match (line 13) | void match(int t, char *what) { function semi (line 22) | void semi(void) { function lbrace (line 27) | void lbrace(void) { function rbrace (line 32) | void rbrace(void) { function lparen (line 37) | void lparen(void) { function rparen (line 42) | void rparen(void) { function ident (line 47) | void ident(void) { function comma (line 52) | void comma(void) { function fatal (line 57) | void fatal(char *s) { function fatals (line 64) | void fatals(char *s1, char *s2) { function fatald (line 71) | void fatald(char *s, int d) { function fatalc (line 78) | void fatalc(char *s, int c) { FILE: 63_QBE/opt.c type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 48) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 74) | struct ASTnode type ASTnode (line 98) | struct ASTnode type ASTnode (line 98) | struct ASTnode FILE: 63_QBE/scan.c function chrpos (line 10) | static int chrpos(char *s, int c) { function next (line 19) | static int next(void) { function putback (line 61) | static void putback(int c) { function skip (line 68) | static int skip(void) { function hexchar (line 79) | static int hexchar(void) { function scanch (line 106) | static int scanch(void) { function scanint (line 166) | static int scanint(int c) { function scanstr (line 196) | static int scanstr(char *buf) { function scanident (line 217) | static int scanident(int c, char *buf, int lim) { function keyword (line 243) | static int keyword(char *s) { function scan (line 335) | int scan(struct token *t) { FILE: 63_QBE/stmt.c type ASTnode (line 9) | struct ASTnode type ASTnode (line 34) | struct ASTnode type ASTnode (line 35) | struct ASTnode type ASTnode (line 68) | struct ASTnode type ASTnode (line 69) | struct ASTnode type ASTnode (line 100) | struct ASTnode type ASTnode (line 101) | struct ASTnode type ASTnode (line 102) | struct ASTnode type ASTnode (line 103) | struct ASTnode type ASTnode (line 145) | struct ASTnode type ASTnode (line 146) | struct ASTnode type ASTnode (line 182) | struct ASTnode type ASTnode (line 194) | struct ASTnode type ASTnode (line 204) | struct ASTnode type ASTnode (line 205) | struct ASTnode type ASTnode (line 206) | struct ASTnode type ASTnode (line 304) | struct ASTnode type ASTnode (line 305) | struct ASTnode type symtable (line 306) | struct symtable type ASTnode (line 386) | struct ASTnode type ASTnode (line 387) | struct ASTnode type ASTnode (line 388) | struct ASTnode FILE: 63_QBE/sym.c function appendsym (line 9) | void appendsym(struct symtable **head, struct symtable **tail, type symtable (line 33) | struct symtable type symtable (line 33) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 37) | struct symtable type symtable (line 66) | struct symtable type symtable (line 66) | struct symtable type symtable (line 68) | struct symtable type symtable (line 78) | struct symtable type symtable (line 78) | struct symtable type symtable (line 80) | struct symtable type symtable (line 90) | struct symtable type symtable (line 90) | struct symtable type symtable (line 92) | struct symtable type symtable (line 98) | struct symtable type symtable (line 98) | struct symtable type symtable (line 100) | struct symtable type symtable (line 111) | struct symtable type symtable (line 112) | struct symtable type symtable (line 118) | struct symtable type symtable (line 119) | struct symtable type symtable (line 127) | struct symtable type symtable (line 128) | struct symtable type symtable (line 134) | struct symtable type symtable (line 134) | struct symtable type symtable (line 135) | struct symtable type symtable (line 143) | struct symtable type symtable (line 143) | struct symtable type symtable (line 154) | struct symtable type symtable (line 160) | struct symtable type symtable (line 161) | struct symtable type symtable (line 174) | struct symtable type symtable (line 175) | struct symtable type symtable (line 192) | struct symtable type symtable (line 198) | struct symtable type symtable (line 204) | struct symtable type symtable (line 210) | struct symtable type symtable (line 216) | struct symtable type symtable (line 222) | struct symtable function clear_symtable (line 227) | void clear_symtable(void) { function freeloclsyms (line 239) | void freeloclsyms(void) { function freestaticsyms (line 246) | void freestaticsyms(void) { function dumpsym (line 278) | static void dumpsym(struct symtable *sym, int indent) { function dumptable (line 395) | void dumptable(struct symtable *head, char *name, int indent) { function dumpsymtables (line 404) | void dumpsymtables(void) { FILE: 63_QBE/tests/err.input065.c type type (line 1) | enum type FILE: 63_QBE/tests/err.input066.c type value (line 1) | enum value FILE: 63_QBE/tests/input001.c function main (line 3) | void main() FILE: 63_QBE/tests/input002.c function main (line 3) | void main() FILE: 63_QBE/tests/input003.c function main (line 3) | void main() FILE: 63_QBE/tests/input004.c function main (line 3) | void main() FILE: 63_QBE/tests/input005.c function main (line 3) | void main() FILE: 63_QBE/tests/input006.c function main (line 3) | void main() FILE: 63_QBE/tests/input007.c function main (line 3) | void main() FILE: 63_QBE/tests/input008.c function main (line 3) | void main() FILE: 63_QBE/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 63_QBE/tests/input010.c function main (line 3) | void main() FILE: 63_QBE/tests/input011.c function main (line 3) | int main() FILE: 63_QBE/tests/input012.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 63_QBE/tests/input013.c function fred (line 3) | int fred() { function main (line 7) | void main() { FILE: 63_QBE/tests/input014.c function fred (line 3) | int fred() { function main (line 7) | int main() { FILE: 63_QBE/tests/input015.c function main (line 3) | int main() { FILE: 63_QBE/tests/input016.c function main (line 8) | int main() { FILE: 63_QBE/tests/input017.c function main (line 3) | int main() { FILE: 63_QBE/tests/input018.c function main (line 3) | int main() FILE: 63_QBE/tests/input018a.c function main (line 8) | int main() FILE: 63_QBE/tests/input019.c function main (line 8) | int main() FILE: 63_QBE/tests/input020.c function main (line 6) | int main() { FILE: 63_QBE/tests/input021.c function main (line 6) | int main() { FILE: 63_QBE/tests/input022.c function main (line 8) | int main() { FILE: 63_QBE/tests/input023.c function main (line 6) | int main() { FILE: 63_QBE/tests/input024.c function main (line 6) | int main() { FILE: 63_QBE/tests/input025.c function main (line 7) | int main() FILE: 63_QBE/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 63_QBE/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 63_QBE/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 63_QBE/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 63_QBE/tests/input030.c function main (line 10) | int main() { FILE: 63_QBE/tests/input031.c function main (line 3) | int main() { FILE: 63_QBE/tests/input032.c function main (line 3) | int main() { FILE: 63_QBE/tests/input033.c function main (line 3) | int main() { FILE: 63_QBE/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 63_QBE/tests/input039.c function main (line 3) | int main() { int a; } FILE: 63_QBE/tests/input040.c function main (line 3) | int main() { int a; a= 5; } FILE: 63_QBE/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 63_QBE/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 63_QBE/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 63_QBE/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 63_QBE/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 63_QBE/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 63_QBE/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 63_QBE/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 63_QBE/tests/input049.c function main (line 3) | int main() { FILE: 63_QBE/tests/input050.c function main (line 3) | int main() { FILE: 63_QBE/tests/input051.c function main (line 3) | int main() { FILE: 63_QBE/tests/input052.c function main (line 3) | int main() { FILE: 63_QBE/tests/input053.c function main (line 3) | int main() FILE: 63_QBE/tests/input054.c function main (line 3) | int main() FILE: 63_QBE/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 63_QBE/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 63_QBE/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 63_QBE/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 63_QBE/tests/input059.c function main (line 1) | int main() { FILE: 63_QBE/tests/input060.c function main (line 1) | int main() { FILE: 63_QBE/tests/input061.c function main (line 1) | int main() { FILE: 63_QBE/tests/input062.c function main (line 13) | int main() { FILE: 63_QBE/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 63_QBE/tests/input064.c type fred (line 1) | enum fred FILE: 63_QBE/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 63_QBE/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 63_QBE/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 63_QBE/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 63_QBE/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 63_QBE/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 63_QBE/tests/input071.c function main (line 3) | int main() { FILE: 63_QBE/tests/input072.c function main (line 1) | int main() { break; } FILE: 63_QBE/tests/input073.c function main (line 1) | int main() { continue; } FILE: 63_QBE/tests/input074.c function main (line 3) | int main() { FILE: 63_QBE/tests/input075.c function main (line 1) | int main() { FILE: 63_QBE/tests/input076.c function main (line 1) | int main() { FILE: 63_QBE/tests/input077.c function main (line 1) | int main() { FILE: 63_QBE/tests/input078.c function main (line 1) | int main() { FILE: 63_QBE/tests/input079.c function main (line 1) | int main() { FILE: 63_QBE/tests/input080.c function main (line 6) | int main() { FILE: 63_QBE/tests/input081.c function main (line 6) | int main() { FILE: 63_QBE/tests/input082.c function main (line 3) | int main() { FILE: 63_QBE/tests/input083.c function main (line 3) | int main() { FILE: 63_QBE/tests/input084.c function main (line 3) | int main() { FILE: 63_QBE/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 63_QBE/tests/input086.c function main (line 1) | int main() { FILE: 63_QBE/tests/input087.c type foo (line 1) | struct foo { FILE: 63_QBE/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 63_QBE/tests/input089.c function main (line 7) | int main() { FILE: 63_QBE/tests/input090.c function main (line 6) | int main() { FILE: 63_QBE/tests/input091.c function main (line 6) | int main() { FILE: 63_QBE/tests/input099.c function main (line 19) | int main() { FILE: 63_QBE/tests/input100.c function main (line 2) | int main() { FILE: 63_QBE/tests/input101.c function main (line 3) | int main() { FILE: 63_QBE/tests/input102.c function main (line 1) | int main() { FILE: 63_QBE/tests/input103.c function main (line 1) | int main() { FILE: 63_QBE/tests/input104.c function main (line 1) | int main() { FILE: 63_QBE/tests/input105.c function main (line 1) | int main() { FILE: 63_QBE/tests/input106.c function main (line 4) | int main() { FILE: 63_QBE/tests/input107.c function main (line 5) | int main() { FILE: 63_QBE/tests/input108.c function main (line 1) | int main() { FILE: 63_QBE/tests/input109.c function main (line 2) | int main() { FILE: 63_QBE/tests/input110.c function main (line 6) | int main() { FILE: 63_QBE/tests/input111.c function main (line 2) | int main() { FILE: 63_QBE/tests/input112.c function main (line 6) | int main() { FILE: 63_QBE/tests/input113.c function fred (line 4) | void fred(void) { function main (line 8) | int main(void) { FILE: 63_QBE/tests/input114.c function main (line 2) | int main() { FILE: 63_QBE/tests/input115.c type foo (line 2) | struct foo { int x; char y; long z; } type blah (line 3) | typedef struct foo blah; type symtable (line 6) | struct symtable { type ASTnode (line 23) | struct ASTnode { function main (line 36) | int main() { FILE: 63_QBE/tests/input116.c function fred (line 4) | static int fred(void) { return(counter++); } function main (line 6) | int main(void) { FILE: 63_QBE/tests/input117.c function main (line 7) | int main(void) { FILE: 63_QBE/tests/input118.c function main (line 1) | int main(void) { FILE: 63_QBE/tests/input119.c function main (line 6) | int main() { FILE: 63_QBE/tests/input120.c function main (line 6) | int main() { FILE: 63_QBE/tests/input121.c function main (line 6) | int main() { FILE: 63_QBE/tests/input122.c function main (line 5) | int main() { FILE: 63_QBE/tests/input123.c function main (line 3) | int main() { FILE: 63_QBE/tests/input124.c function main (line 5) | int main() { FILE: 63_QBE/tests/input125.c function main (line 7) | int main() { FILE: 63_QBE/tests/input126.c function main (line 5) | int main() { FILE: 63_QBE/tests/input127.c function fred (line 5) | void fred(int *ptr) { // Receive a pointer function main (line 9) | int main() { FILE: 63_QBE/tests/input128.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 63_QBE/tests/input129.c function main (line 5) | int main() { FILE: 63_QBE/tests/input130.c function main (line 5) | int main() { FILE: 63_QBE/tests/input131.c function donothing (line 3) | void donothing() { } function main (line 5) | int main() { FILE: 63_QBE/tests/input132.c function main (line 7) | int main() { return(0); } FILE: 63_QBE/tests/input133.c function main (line 9) | void main() { printf("OK\n"); } FILE: 63_QBE/tests/input134.c function main (line 6) | int main() { FILE: 63_QBE/tests/input135.c function fred (line 3) | void fred() { function main (line 10) | int main() { FILE: 63_QBE/tests/input136.c function add (line 3) | int add(int x, int y) { function main (line 7) | int main() { FILE: 63_QBE/tests/input137.c function main (line 5) | int main() { FILE: 63_QBE/tests/input138.c function main (line 8) | int main() { FILE: 63_QBE/tests/input139.c function same (line 3) | int same(int x) { return(x); } function main (line 5) | int main() { FILE: 63_QBE/tests/input140.c function main (line 3) | int main() { FILE: 63_QBE/tests/input141.c function foo (line 4) | int foo(int mary[6]) { return(5); } FILE: 63_QBE/tests/input143.c function main (line 6) | int main() { FILE: 63_QBE/tests/input144.c function main (line 5) | int main() { FILE: 63_QBE/tests/input145.c function main (line 9) | int main() { FILE: 63_QBE/tests/input146.c function main (line 9) | int main() { FILE: 63_QBE/tests/input147.c function main (line 5) | int main() { FILE: 63_QBE/tests/input148.c function main (line 6) | int main() { FILE: 63_QBE/tests/input149.c function newlocaloffset (line 5) | static int newlocaloffset(int size) { function main (line 10) | int main() { FILE: 63_QBE/tests/input150.c type Svalue (line 4) | struct Svalue { type IR (line 10) | struct IR { type foo (line 19) | struct foo { type IR (line 26) | struct IR type foo (line 27) | struct foo function main (line 29) | int main() { FILE: 63_QBE/tests/input151.c function main (line 3) | int main() { FILE: 63_QBE/tests/input152.c function fred (line 3) | void fred(int x) { function main (line 9) | int main() { FILE: 63_QBE/tests/input153.c function main (line 8) | int main() { FILE: 63_QBE/tests/input154.c function main (line 3) | int main() FILE: 63_QBE/tests/out.input030.c function main (line 10) | int main() { FILE: 63_QBE/tree.c type ASTnode (line 9) | struct ASTnode type symtable (line 10) | struct symtable type ASTnode (line 11) | struct ASTnode type ASTnode (line 12) | struct ASTnode type ASTnode (line 13) | struct ASTnode type symtable (line 14) | struct symtable type ASTnode (line 15) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 18) | struct ASTnode type ASTnode (line 37) | struct ASTnode type symtable (line 38) | struct symtable type symtable (line 39) | struct symtable type ASTnode (line 44) | struct ASTnode type symtable (line 45) | struct symtable type ASTnode (line 46) | struct ASTnode type symtable (line 47) | struct symtable function gendumplabel (line 54) | static int gendumplabel(void) { function dumpAST (line 75) | void dumpAST(struct ASTnode *n, int label, int level) { FILE: 63_QBE/types.c function inttype (line 10) | int inttype(int type) { function ptrtype (line 15) | int ptrtype(int type) { function pointer_to (line 21) | int pointer_to(int type) { function value_at (line 29) | int value_at(int type) { function typesize (line 37) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 49) | struct ASTnode type ASTnode (line 49) | struct ASTnode type symtable (line 50) | struct symtable FILE: 64_6809_Target/cg.h type symtable (line 11) | struct symtable type symtable (line 12) | struct symtable type symtable (line 14) | struct symtable type symtable (line 31) | struct symtable type symtable (line 33) | struct symtable type symtable (line 34) | struct symtable type symtable (line 35) | struct symtable type symtable (line 44) | struct symtable type symtable (line 45) | struct symtable FILE: 64_6809_Target/cg6809.c type Location (line 25) | struct Location { type Location (line 37) | struct Location function cgalloctemp (line 45) | static int cgalloctemp() { function cgfreealltemps (line 50) | static void cgfreealltemps() { function cgprimtype (line 68) | static int cgprimtype(int type) { function printlocation (line 80) | static void printlocation(int l, int offset, char rletter) { function save_d (line 124) | static void save_d(int l) { function stash_d (line 146) | static void stash_d() { function load_d (line 157) | static void load_d(int l) { function cgfreeall_locns (line 183) | static void cgfreeall_locns(int keepl) { function cgalloclocn (line 199) | static int cgalloclocn(int type, int primtype, char *name, long intval) { function cgfreelocn (line 223) | static void cgfreelocn(int l) { function cgfreeallregs (line 231) | void cgfreeallregs(int keepl) { function cgallocreg (line 235) | int cgallocreg(int type) { function cgfreereg (line 239) | void cgfreereg(int reg) { function pushlocn (line 244) | static void pushlocn(int l) { function cgtextseg (line 271) | void cgtextseg() { function cgdataseg (line 279) | void cgdataseg() { function cglitseg (line 287) | void cglitseg() { function newlocaloffset (line 299) | static int newlocaloffset(int size) { function cgpreamble (line 312) | void cgpreamble() { function cgpostamble (line 319) | void cgpostamble() { function cglabel (line 323) | void cglabel(int l) { function cgfuncpreamble (line 328) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 374) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 390) | int cgloadint(int value, int type) { function incdecsym (line 397) | static void incdecsym(struct symtable *sym, int offset) { function cgloadvar (line 431) | int cgloadvar(struct symtable *sym, int op) { function cgloadglobstr (line 470) | int cgloadglobstr(int label) { function cgadd (line 478) | int cgadd(int l1, int l2, int type) { function cgsub (line 505) | int cgsub(int l1, int l2, int type) { function cgbinhelper (line 533) | static int cgbinhelper(int l1, int l2, int type, function cgmul (line 573) | int cgmul(int r1, int r2, int type) { function cgdiv (line 579) | int cgdiv(int r1, int r2, int type) { function cgmod (line 585) | int cgmod(int r1, int r2, int type) { function cgbinop (line 590) | static int cgbinop(int l1, int l2, int type, char *op) { function cgand (line 620) | int cgand(int r1, int r2, int type) { function cgor (line 625) | int cgor(int r1, int r2, int type) { function cgxor (line 630) | int cgxor(int r1, int r2, int type) { function cginvert (line 635) | int cginvert(int l, int type) { function cgshl (line 663) | int cgshl(int r1, int r2, int type) { function cgshrconst (line 668) | int cgshrconst(int r1, int amount, int type) { function cgshr (line 712) | int cgshr(int r1, int r2, int type) { function cgnegate (line 727) | int cgnegate(int l, int type) { function cglognot (line 751) | int cglognot(int l, int type) { function cgloadboolean (line 791) | int cgloadboolean(int l, int val, int type) { function load_d_z (line 813) | static void load_d_z(int l, int type) { function cgboolean (line 840) | int cgboolean(int l, int op, int label, int type) { function cgcall (line 876) | int cgcall(struct symtable *sym, int numargs, int *arglist, int *typelis... function cgshlconst (line 910) | int cgshlconst(int l, int val, int type) { function cgstorglob (line 947) | int cgstorglob(int l, struct symtable *sym) { function cgstorlocal (line 967) | int cgstorlocal(int l, struct symtable *sym) { function cgglobsym (line 988) | void cgglobsym(struct symtable *node) { function cgglobstr (line 1048) | void cgglobstr(int l, char *strvalue) { function cgcompare_and_set (line 1063) | int cgcompare_and_set(int ASTop, int l1, int l2, int type) { function cgjump (line 1109) | void cgjump(int l) { function longcmp_and_jump (line 1123) | static void longcmp_and_jump(int ASTop, int parentASTop, function cgcompare_and_jump (line 1162) | int cgcompare_and_jump(int ASTop, int parentASTop, function cgwiden (line 1196) | int cgwiden(int l, int oldtype, int newtype) { function cgcast (line 1238) | int cgcast(int l, int oldtype, int newtype) { function cgreturn (line 1243) | void cgreturn(int l, struct symtable *sym) { function cgaddress (line 1252) | int cgaddress(struct symtable *sym) { function cgderef (line 1274) | int cgderef(int l, int type) { function cgstorderef (line 1304) | int cgstorderef(int l1, int l2, int type) { function cgswitch (line 1334) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 1361) | void cgmove(int l1, int l2, int type) { function cglinenum (line 1370) | void cglinenum(int line) { FILE: 64_6809_Target/cgen.c function allocateGlobals (line 16) | void allocateGlobals(void) { function main (line 59) | int main(int argc, char **argv) { FILE: 64_6809_Target/cgqbe.c type litlist (line 14) | struct litlist { type litlist (line 20) | struct litlist type litlist (line 21) | struct litlist function cgtextseg (line 24) | void cgtextseg() { function cgdataseg (line 28) | void cgdataseg() { function cglitseg (line 32) | void cglitseg() { function cgfreeallregs (line 36) | void cgfreeallregs(int keepreg) { function cgfreereg (line 39) | void cgfreereg(int reg) { function cgprimtype (line 46) | static int cgprimtype(int type) { function cgalloctemp (line 66) | int cgalloctemp(void) { function cgallocreg (line 70) | int cgallocreg(int type) { function cgpreamble (line 76) | void cgpreamble() { function cgpostamble (line 83) | void cgpostamble() { function cgfuncpreamble (line 92) | void cgfuncpreamble(struct symtable *sym) { function cgfuncpostamble (line 174) | void cgfuncpostamble(struct symtable *sym) { function cgloadint (line 186) | int cgloadint(int value, int type) { function cgloadvar (line 198) | int cgloadvar(struct symtable *sym, int op) { function cgloadglobstr (line 313) | int cgloadglobstr(int label) { function cgadd (line 322) | int cgadd(int r1, int r2, int type) { function cgsub (line 330) | int cgsub(int r1, int r2, int type) { function cgmul (line 338) | int cgmul(int r1, int r2, int type) { function cgdiv (line 346) | int cgdiv(int r1, int r2, int type) { function cgmod (line 354) | int cgmod(int r1, int r2, int type) { function cgand (line 361) | int cgand(int r1, int r2, int type) { function cgor (line 368) | int cgor(int r1, int r2, int type) { function cgxor (line 375) | int cgxor(int r1, int r2, int type) { function cgshl (line 382) | int cgshl(int r1, int r2, int type) { function cgshr (line 389) | int cgshr(int r1, int r2, int type) { function cgnegate (line 396) | int cgnegate(int r, int type) { function cginvert (line 402) | int cginvert(int r, int type) { function cglognot (line 408) | int cglognot(int r, int type) { function cgloadboolean (line 417) | int cgloadboolean(int r, int val, int type) { function cgboolean (line 427) | int cgboolean(int r, int op, int label, int type) { function cgcall (line 456) | int cgcall(struct symtable *sym, int numargs, int *arglist, int *typelis... function cgshlconst (line 482) | int cgshlconst(int r, int val, int type) { function cgstorglob (line 495) | int cgstorglob(int r, struct symtable *sym) { function cgstorlocal (line 507) | int cgstorlocal(int r, struct symtable *sym) { function cgglobsym (line 521) | void cgglobsym(struct symtable *node) { function cgglobstr (line 583) | void cgglobstr(int l, char *strvalue) { function cgmakeglobstrs (line 598) | static void cgmakeglobstrs() { function cgglobstrend (line 613) | void cgglobstrend(void) { function cgcompare_and_set (line 621) | int cgcompare_and_set(int ASTop, int r1, int r2, int type) { function cglabel (line 638) | void cglabel(int l) { function cgjump (line 643) | void cgjump(int l) { function cgcompare_and_jump (line 660) | int cgcompare_and_jump(int ASTop, int parentASTop, function cgwiden (line 691) | int cgwiden(int r, int oldtype, int newtype) { function cgreturn (line 709) | void cgreturn(int r, struct symtable *sym) { function cgaddress (line 719) | int cgaddress(struct symtable *sym) { function cgderef (line 730) | int cgderef(int r, int type) { function cgstorderef (line 755) | int cgstorderef(int r1, int r2, int type) { function cgswitch (line 777) | void cgswitch(int reg, int casecount, int toplabel, function cgmove (line 809) | void cgmove(int r1, int r2, int type) { function cglinenum (line 816) | void cglinenum(int line) { function cgcast (line 822) | int cgcast(int t, int oldtype, int newtype) { FILE: 64_6809_Target/cpeep.c type lnode (line 26) | struct lnode { type onode (line 31) | struct onode { function printlines (line 37) | void printlines(struct lnode *beg, struct lnode *end, FILE * out) { function printrule (line 43) | void printrule(struct onode *o, FILE * out) { function error (line 53) | void error(char *s) { function connect (line 63) | void connect(struct lnode *p1, struct lnode *p2) { type hnode (line 70) | struct hnode { type hnode (line 79) | struct hnode type hnode (line 91) | struct hnode type hnode (line 91) | struct hnode function insert (line 106) | void insert(char *s, struct lnode *p) { function getlst (line 119) | void getlst(FILE * fp, char *quit, struct lnode *p1, struct lnode *p2) { function getlst_1 (line 130) | void getlst_1(FILE * fp, char *quit, struct lnode *p1, struct lnode *p2) { function init (line 149) | void init(FILE * fp) { function check (line 185) | int check(char *pat, char **vars) { function check_eval (line 205) | int check_eval(char *pat, char **vars) { function match (line 221) | int match(char *ins, char *pat, char **vars) { type lnode (line 329) | struct lnode type lnode (line 329) | struct lnode type lnode (line 329) | struct lnode type lnode (line 329) | struct lnode type lnode (line 332) | struct lnode type lnode (line 357) | struct lnode type lnode (line 357) | struct lnode type lnode (line 357) | struct lnode type lnode (line 358) | struct lnode type lnode (line 359) | struct lnode type lnode (line 398) | struct lnode type lnode (line 398) | struct lnode type lnode (line 401) | struct lnode type onode (line 402) | struct onode type lnode (line 445) | struct lnode type lnode (line 456) | struct lnode type onode (line 457) | struct onode type onode (line 486) | struct onode type onode (line 487) | struct onode function usage (line 522) | void usage(char *name) { function main (line 528) | int main(int argc, char **argv) { function push (line 597) | void push(int l) { function pop (line 603) | int pop(void) { function top (line 609) | int top(void) { function rpn_eval (line 615) | int rpn_eval(char *expr, char **vars) { FILE: 64_6809_Target/decl.c type symtable (line 17) | struct symtable type symtable (line 18) | struct symtable type symtable (line 19) | struct symtable type symtable (line 21) | struct symtable type ASTnode (line 21) | struct ASTnode function parse_type (line 26) | int parse_type(struct symtable **ctype, int *class) { function parse_stars (line 108) | int parse_stars(int type) { function parse_cast (line 120) | int parse_cast(struct symtable **ctype) { function parse_literal (line 137) | int parse_literal(int type) { function is_new_symbol (line 190) | static int is_new_symbol(struct symtable *sym, int class, type symtable (line 224) | struct symtable type symtable (line 225) | struct symtable type ASTnode (line 226) | struct ASTnode type symtable (line 227) | struct symtable type ASTnode (line 228) | struct ASTnode type symtable (line 299) | struct symtable type symtable (line 300) | struct symtable type symtable (line 302) | struct symtable function param_declaration_list (line 407) | static int param_declaration_list(struct symtable *oldfuncsym, type symtable (line 485) | struct symtable type symtable (line 486) | struct symtable type ASTnode (line 488) | struct ASTnode type symtable (line 489) | struct symtable type symtable (line 580) | struct symtable type symtable (line 581) | struct symtable type symtable (line 582) | struct symtable type ASTnode (line 583) | struct ASTnode function enum_declaration (line 659) | static void enum_declaration(void) { function typedef_declaration (line 733) | static int typedef_declaration(struct symtable **ctype) { function type_of_typedef (line 758) | static int type_of_typedef(char *name, struct symtable **ctype) { type symtable (line 775) | struct symtable type symtable (line 775) | struct symtable type ASTnode (line 776) | struct ASTnode type symtable (line 777) | struct symtable function declaration_list (line 819) | int declaration_list(struct symtable **ctype, int class, int et1, int et2, function global_declarations (line 866) | void global_declarations(void) { FILE: 64_6809_Target/decl.h type symtable (line 2) | struct symtable type symtable (line 4) | struct symtable type symtable (line 6) | struct symtable type ASTnode (line 6) | struct ASTnode FILE: 64_6809_Target/defs.h type token (line 56) | struct token { type symtable (line 104) | struct symtable { type ASTnode (line 129) | struct ASTnode { FILE: 64_6809_Target/desym.c function deserialiseSym (line 36) | int deserialiseSym(struct symtable *sym, FILE *in) { type symtable (line 95) | struct symtable function dumpsym (line 98) | void dumpsym(struct symtable *sym, int indent) { function dumptable (line 217) | void dumptable(struct symtable *head, int indent) { function main (line 224) | int main(int argc, char **argv) { FILE: 64_6809_Target/detok.c function main (line 33) | int main(int argc, char **argv) { FILE: 64_6809_Target/detree.c function gendumplabel (line 16) | static int gendumplabel(void) { function dumpAST (line 37) | void dumpAST(struct ASTnode *n, int label, int level) { function main (line 143) | int main(int argc, char **argv) { FILE: 64_6809_Target/expr.c type ASTnode (line 27) | struct ASTnode type ASTnode (line 28) | struct ASTnode type ASTnode (line 29) | struct ASTnode type symtable (line 62) | struct symtable type ASTnode (line 62) | struct ASTnode type symtable (line 63) | struct symtable type symtable (line 64) | struct symtable type ASTnode (line 118) | struct ASTnode type ASTnode (line 119) | struct ASTnode type symtable (line 120) | struct symtable type ASTnode (line 148) | struct ASTnode type ASTnode (line 148) | struct ASTnode type ASTnode (line 149) | struct ASTnode type ASTnode (line 186) | struct ASTnode type ASTnode (line 186) | struct ASTnode type ASTnode (line 187) | struct ASTnode type symtable (line 188) | struct symtable type symtable (line 189) | struct symtable type ASTnode (line 238) | struct ASTnode type ASTnode (line 239) | struct ASTnode type symtable (line 241) | struct symtable type ASTnode (line 286) | struct ASTnode type ASTnode (line 287) | struct ASTnode type symtable (line 288) | struct symtable type symtable (line 291) | struct symtable type ASTnode (line 407) | struct ASTnode type ASTnode (line 408) | struct ASTnode function binastop (line 470) | static int binastop(int tokentype) { function rightassoc (line 479) | static int rightassoc(int tokentype) { function op_precedence (line 503) | static int op_precedence(int tokentype) { type ASTnode (line 523) | struct ASTnode type ASTnode (line 524) | struct ASTnode type ASTnode (line 633) | struct ASTnode type ASTnode (line 634) | struct ASTnode type ASTnode (line 635) | struct ASTnode FILE: 64_6809_Target/expr.h type ASTnode (line 2) | struct ASTnode type symtable (line 3) | struct symtable type ASTnode (line 3) | struct ASTnode type symtable (line 3) | struct symtable type symtable (line 3) | struct symtable type ASTnode (line 4) | struct ASTnode FILE: 64_6809_Target/gen.c type ASTnode (line 14) | struct ASTnode function genlabel (line 19) | int genlabel(void) { function genfreeregs (line 23) | void genfreeregs(int keepreg) { function update_line (line 27) | static void update_line(struct ASTnode *n) { function genIF (line 38) | static int genIF(struct ASTnode *n, struct ASTnode *nleft, function genWHILE (line 82) | static int genWHILE(struct ASTnode *n, struct ASTnode *nleft, function genSWITCH (line 109) | static int genSWITCH(struct ASTnode *n, int looptoplabel) { function gen_logor (line 200) | static int gen_logor(struct ASTnode *n, function gen_logand (line 273) | static int gen_logand(struct ASTnode *n, function gen_funccall (line 346) | static int gen_funccall(struct ASTnode *n) { function gen_ternary (line 405) | static int gen_ternary(struct ASTnode *n, struct ASTnode *nleft, function genAST (line 449) | int genAST(struct ASTnode *n, int iflabel, int looptoplabel, function genpreamble (line 768) | void genpreamble() { function genpostamble (line 772) | void genpostamble() { function genglobsym (line 776) | void genglobsym(struct symtable *node) { function genglobstr (line 781) | int genglobstr(char *strvalue) { FILE: 64_6809_Target/gen.h type ASTnode (line 3) | struct ASTnode type symtable (line 7) | struct symtable FILE: 64_6809_Target/include/6809/stdio.h type __stdio_file (line 15) | struct __stdio_file { type FILE (line 35) | typedef struct __stdio_file FILE; FILE: 64_6809_Target/include/6809/sys/types.h type off_t (line 5) | typedef int32_t off_t; FILE: 64_6809_Target/misc.c function fatal (line 11) | void fatal(char *s) { function fatals (line 16) | void fatals(char *s1, char *s2) { function fatald (line 21) | void fatald(char *s, int d) { function fatalc (line 26) | void fatalc(char *s, int c) { FILE: 64_6809_Target/opt.c type ASTnode (line 11) | struct ASTnode type ASTnode (line 11) | struct ASTnode type ASTnode (line 41) | struct ASTnode type ASTnode (line 41) | struct ASTnode type ASTnode (line 92) | struct ASTnode type ASTnode (line 92) | struct ASTnode FILE: 64_6809_Target/opt.h type ASTnode (line 2) | struct ASTnode type ASTnode (line 2) | struct ASTnode FILE: 64_6809_Target/parse.c function print_token (line 15) | void print_token(struct token *t) { function scan (line 42) | int scan(struct token *t) { function match (line 96) | void match(int t, char *what) { function semi (line 105) | void semi(void) { function lbrace (line 110) | void lbrace(void) { function rbrace (line 115) | void rbrace(void) { function lparen (line 120) | void lparen(void) { function rparen (line 125) | void rparen(void) { function ident (line 130) | void ident(void) { function comma (line 135) | void comma(void) { function serialiseAST (line 140) | void serialiseAST(struct ASTnode *tree) { function main (line 161) | int main(int argc, char **argv) { FILE: 64_6809_Target/parse.h type token (line 2) | struct token type ASTnode (line 11) | struct ASTnode FILE: 64_6809_Target/scan.c type token (line 14) | struct token type token (line 15) | struct token type token (line 18) | struct token function chrpos (line 22) | static int chrpos(char *s, int c) { function next (line 31) | static int next(void) { function putback (line 78) | static void putback(int c) { function skip (line 85) | static int skip(void) { function hexchar (line 96) | static int hexchar(void) { function scanch (line 124) | static int scanch(int *slash) { function scanint (line 186) | static int scanint(int c) { function scanstr (line 216) | static int scanstr(char *buf) { function scanident (line 240) | static int scanident(int c, char *buf, int lim) { function keyword (line 266) | static int keyword(char *s) { function scan (line 364) | int scan(struct token *t, int nocpp) { function main (line 595) | int main() { FILE: 64_6809_Target/stmt.c type ASTnode (line 17) | struct ASTnode type ASTnode (line 42) | struct ASTnode type ASTnode (line 43) | struct ASTnode type ASTnode (line 77) | struct ASTnode type ASTnode (line 78) | struct ASTnode type ASTnode (line 109) | struct ASTnode type ASTnode (line 110) | struct ASTnode type ASTnode (line 111) | struct ASTnode type ASTnode (line 112) | struct ASTnode type ASTnode (line 154) | struct ASTnode type ASTnode (line 155) | struct ASTnode type ASTnode (line 192) | struct ASTnode type ASTnode (line 204) | struct ASTnode type ASTnode (line 214) | struct ASTnode type ASTnode (line 215) | struct ASTnode type ASTnode (line 216) | struct ASTnode type ASTnode (line 319) | struct ASTnode type ASTnode (line 320) | struct ASTnode type symtable (line 321) | struct symtable type ASTnode (line 387) | struct ASTnode type ASTnode (line 388) | struct ASTnode type ASTnode (line 389) | struct ASTnode FILE: 64_6809_Target/stmt.h type ASTnode (line 2) | struct ASTnode FILE: 64_6809_Target/sym.c type symtable (line 27) | struct symtable type symtable (line 28) | struct symtable type symtable (line 29) | struct symtable type symtable (line 30) | struct symtable type symtable (line 31) | struct symtable type symtable (line 32) | struct symtable type symtable (line 35) | struct symtable function dumpsym (line 44) | static void dumpsym(struct symtable *sym, int indent) { function dumptable (line 112) | static void dumptable(struct symtable *head, int indent) { function dumpSymlists (line 118) | void dumpSymlists(void) { function appendSym (line 135) | static void appendSym(struct symtable **head, struct symtable **tail, type symtable (line 164) | struct symtable function serialiseSym (line 175) | static void serialiseSym(struct symtable *sym) { type symtable (line 221) | struct symtable type symtable (line 221) | struct symtable type symtable (line 225) | struct symtable type symtable (line 225) | struct symtable type symtable (line 225) | struct symtable type symtable (line 259) | struct symtable type symtable (line 259) | struct symtable type symtable (line 261) | struct symtable type symtable (line 274) | struct symtable type symtable (line 274) | struct symtable type symtable (line 276) | struct symtable type symtable (line 291) | struct symtable type symtable (line 291) | struct symtable type symtable (line 293) | struct symtable function flushSymtable (line 316) | void flushSymtable() { type symtable (line 344) | struct symtable function loadSym (line 352) | static int loadSym(struct symtable *sym, char *name, function findSyminfile (line 488) | static int findSyminfile(struct symtable *sym, char *name, int id, int s... type symtable (line 514) | struct symtable type symtable (line 515) | struct symtable type symtable (line 537) | struct symtable type symtable (line 538) | struct symtable type symtable (line 539) | struct symtable type symtable (line 590) | struct symtable type symtable (line 590) | struct symtable type symtable (line 629) | struct symtable type symtable (line 630) | struct symtable type symtable (line 640) | struct symtable type symtable (line 646) | struct symtable type symtable (line 652) | struct symtable type symtable (line 658) | struct symtable type symtable (line 664) | struct symtable type symtable (line 669) | struct symtable type symtable (line 669) | struct symtable type symtable (line 670) | struct symtable function freeSymtable (line 695) | void freeSymtable() { function loadGlobals (line 709) | void loadGlobals(void) { FILE: 64_6809_Target/sym.h type symtable (line 2) | struct symtable type symtable (line 2) | struct symtable type symtable (line 4) | struct symtable type symtable (line 4) | struct symtable type symtable (line 6) | struct symtable type symtable (line 6) | struct symtable type symtable (line 8) | struct symtable type symtable (line 9) | struct symtable type symtable (line 10) | struct symtable type symtable (line 11) | struct symtable type symtable (line 12) | struct symtable type symtable (line 13) | struct symtable type symtable (line 14) | struct symtable type symtable (line 15) | struct symtable type symtable (line 17) | struct symtable type symtable (line 17) | struct symtable type symtable (line 22) | struct symtable FILE: 64_6809_Target/targ6809.c function cgprimsize (line 11) | int cgprimsize(int type) { function cgalign (line 29) | int cgalign(int type, int offset, int direction) { function genprimsize (line 33) | int genprimsize(int type) { function genalign (line 37) | int genalign(int type, int offset, int direction) { function cgaddrint (line 44) | int cgaddrint(void) { FILE: 64_6809_Target/targqbe.c function cgprimsize (line 11) | int cgprimsize(int type) { function cgalign (line 33) | int cgalign(int type, int offset, int direction) { function genprimsize (line 51) | int genprimsize(int type) { function genalign (line 55) | int genalign(int type, int offset, int direction) { function cgaddrint (line 63) | int cgaddrint(void) { FILE: 64_6809_Target/tests/err.input065.c type type (line 1) | enum type FILE: 64_6809_Target/tests/err.input066.c type value (line 1) | enum value FILE: 64_6809_Target/tests/input001.c function main (line 3) | void main() FILE: 64_6809_Target/tests/input002.c function main (line 3) | void main() FILE: 64_6809_Target/tests/input003.c function main (line 3) | void main() FILE: 64_6809_Target/tests/input004.c function main (line 3) | void main() FILE: 64_6809_Target/tests/input005.c function main (line 3) | void main() FILE: 64_6809_Target/tests/input006.c function main (line 3) | void main() FILE: 64_6809_Target/tests/input007.c function main (line 3) | void main() FILE: 64_6809_Target/tests/input008.c function main (line 3) | void main() FILE: 64_6809_Target/tests/input009.c function main (line 3) | void main() function fred (line 11) | void fred() FILE: 64_6809_Target/tests/input010.c function main (line 3) | void main() FILE: 64_6809_Target/tests/input011.c function main (line 3) | int main() FILE: 64_6809_Target/tests/input012.c function fred (line 3) | int fred(int x) { function main (line 7) | void main() { FILE: 64_6809_Target/tests/input013.c function fred (line 3) | int fred(int x) { function main (line 7) | void main() { FILE: 64_6809_Target/tests/input014.c function fred (line 3) | int fred(int x) { function main (line 7) | int main() { FILE: 64_6809_Target/tests/input015.c function main (line 3) | int main() { FILE: 64_6809_Target/tests/input016.c function main (line 8) | int main() { FILE: 64_6809_Target/tests/input017.c function main (line 3) | int main() { FILE: 64_6809_Target/tests/input018.c function main (line 3) | int main() FILE: 64_6809_Target/tests/input018a.c function main (line 8) | int main() FILE: 64_6809_Target/tests/input019.c function main (line 8) | int main() FILE: 64_6809_Target/tests/input020.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input021.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input022.c function main (line 8) | int main() { FILE: 64_6809_Target/tests/input023.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input024.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input025.c function main (line 7) | int main() FILE: 64_6809_Target/tests/input026.c function main (line 3) | int main(int a, char b, long c, int d, int e, int f, int g, int h) { FILE: 64_6809_Target/tests/input027.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function param5 (line 9) | int param5(int a, int b, int c, int d, int e) { function param2 (line 14) | int param2(int a, int b) { function param0 (line 21) | int param0() { function main (line 28) | int main() { FILE: 64_6809_Target/tests/input028.c function param8 (line 3) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 9) | int fred(int a, int b, int c) { function main (line 13) | int main() { FILE: 64_6809_Target/tests/input029.c function param8 (line 7) | int param8(int a, int b, int c, int d, int e, int f, int g, int h) { function fred (line 13) | int fred(int a, int b, int c) { function main (line 17) | int main() { FILE: 64_6809_Target/tests/input030.c function main (line 10) | int main() { FILE: 64_6809_Target/tests/input031.c function main (line 3) | int main() { FILE: 64_6809_Target/tests/input032.c function main (line 3) | int main() { FILE: 64_6809_Target/tests/input033.c function main (line 3) | int main() { FILE: 64_6809_Target/tests/input035.c function fred (line 3) | int fred(int a, int b) { FILE: 64_6809_Target/tests/input039.c function main (line 3) | int main() { int a; } FILE: 64_6809_Target/tests/input041.c function fred (line 3) | void fred() { return(5); } FILE: 64_6809_Target/tests/input042.c function main (line 3) | int main() { fred(5); } FILE: 64_6809_Target/tests/input043.c function main (line 3) | int main() { int a; a= b[4]; } FILE: 64_6809_Target/tests/input044.c function main (line 3) | int main() { int a; a= z; } FILE: 64_6809_Target/tests/input045.c function main (line 3) | int main() { int a; a= &5; } FILE: 64_6809_Target/tests/input046.c function main (line 3) | int main() { int a; a= *5; } FILE: 64_6809_Target/tests/input047.c function main (line 3) | int main() { int a; a= ++5; } FILE: 64_6809_Target/tests/input048.c function main (line 3) | int main() { int a; a= --5; } FILE: 64_6809_Target/tests/input049.c function main (line 3) | int main() { FILE: 64_6809_Target/tests/input050.c function main (line 3) | int main() { FILE: 64_6809_Target/tests/input051.c function main (line 3) | int main() { FILE: 64_6809_Target/tests/input052.c function main (line 3) | int main() { FILE: 64_6809_Target/tests/input053.c function main (line 3) | int main() FILE: 64_6809_Target/tests/input054.c function main (line 3) | int main() FILE: 64_6809_Target/tests/input055.c function main (line 3) | int main(int argc, char **argv) { FILE: 64_6809_Target/tests/input056.c type foo (line 1) | struct foo { int x; } type mary (line 2) | struct mary FILE: 64_6809_Target/tests/input057.c type fred (line 1) | struct fred { int x; } type fred (line 2) | struct fred { char y; } FILE: 64_6809_Target/tests/input058.c type fred (line 3) | struct fred { type fred (line 9) | struct fred type fred (line 10) | struct fred function main (line 12) | int main() { FILE: 64_6809_Target/tests/input059.c function main (line 1) | int main() { FILE: 64_6809_Target/tests/input060.c function main (line 1) | int main() { FILE: 64_6809_Target/tests/input061.c function main (line 1) | int main() { FILE: 64_6809_Target/tests/input063.c type fred (line 3) | enum fred { apple=1, banana, carrot, pear=10, peach, mango, papaya } type jane (line 4) | enum jane { aple=1, bnana, crrot, par=10, pech, mago, paaya } type fred (line 6) | enum fred type jane (line 7) | enum jane type fred (line 8) | enum fred function main (line 10) | int main() { FILE: 64_6809_Target/tests/input064.c type fred (line 1) | enum fred FILE: 64_6809_Target/tests/input065.c type fred (line 1) | enum fred { x, y, z } type fred (line 2) | enum fred { a, b } FILE: 64_6809_Target/tests/input066.c type fred (line 1) | enum fred { x, y, z } type mary (line 2) | enum mary { a, b, z } FILE: 64_6809_Target/tests/input067.c type FOO (line 3) | typedef int FOO; type bar (line 6) | struct bar { int x; int y} type BAR (line 7) | typedef struct bar BAR; function main (line 10) | int main() { FILE: 64_6809_Target/tests/input068.c type FOO (line 1) | typedef int FOO; type FOO (line 2) | typedef char FOO; FILE: 64_6809_Target/tests/input069.c type FOO (line 1) | typedef int FOO; FILE: 64_6809_Target/tests/input070.c type FOO (line 3) | typedef int FOO; function main (line 5) | int main() { FILE: 64_6809_Target/tests/input071.c function main (line 3) | int main() { FILE: 64_6809_Target/tests/input072.c function main (line 1) | int main() { break; } FILE: 64_6809_Target/tests/input073.c function main (line 1) | int main() { continue; } FILE: 64_6809_Target/tests/input074.c function main (line 3) | int main() { FILE: 64_6809_Target/tests/input075.c function main (line 1) | int main() { FILE: 64_6809_Target/tests/input076.c function main (line 1) | int main() { FILE: 64_6809_Target/tests/input077.c function main (line 1) | int main() { FILE: 64_6809_Target/tests/input078.c function main (line 1) | int main() { FILE: 64_6809_Target/tests/input079.c function main (line 1) | int main() { FILE: 64_6809_Target/tests/input080.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input081.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input082.c function main (line 3) | int main() { FILE: 64_6809_Target/tests/input083.c function main (line 3) | int main() { FILE: 64_6809_Target/tests/input084.c function main (line 3) | int main() { FILE: 64_6809_Target/tests/input085.c function main (line 1) | int main(struct foo { int x; }; , int a) { FILE: 64_6809_Target/tests/input086.c function main (line 1) | int main() { FILE: 64_6809_Target/tests/input087.c type foo (line 1) | struct foo { FILE: 64_6809_Target/tests/input088.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 64_6809_Target/tests/input089.c function main (line 7) | int main() { FILE: 64_6809_Target/tests/input090.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input091.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input099.c function main (line 19) | int main() { FILE: 64_6809_Target/tests/input100.c function main (line 2) | int main() { FILE: 64_6809_Target/tests/input101.c function main (line 3) | int main() { FILE: 64_6809_Target/tests/input102.c function main (line 1) | int main() { FILE: 64_6809_Target/tests/input103.c function main (line 1) | int main() { FILE: 64_6809_Target/tests/input104.c function main (line 1) | int main() { FILE: 64_6809_Target/tests/input105.c function main (line 1) | int main() { FILE: 64_6809_Target/tests/input106.c function main (line 4) | int main() { FILE: 64_6809_Target/tests/input107.c function main (line 5) | int main() { FILE: 64_6809_Target/tests/input108.c function main (line 1) | int main() { FILE: 64_6809_Target/tests/input109.c function main (line 2) | int main() { FILE: 64_6809_Target/tests/input110.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input111.c function main (line 2) | int main() { FILE: 64_6809_Target/tests/input112.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input113.c function fred (line 4) | void fred(void) { function main (line 8) | int main(void) { FILE: 64_6809_Target/tests/input114.c function main (line 2) | int main() { FILE: 64_6809_Target/tests/input116.c function fred (line 4) | static int fred(void) { return(counter++); } function main (line 6) | int main(void) { FILE: 64_6809_Target/tests/input117.c function main (line 7) | int main(void) { FILE: 64_6809_Target/tests/input118.c function main (line 1) | int main(void) { FILE: 64_6809_Target/tests/input119.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input120.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input121.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input122.c function main (line 5) | int main() { FILE: 64_6809_Target/tests/input123.c function main (line 3) | int main() { FILE: 64_6809_Target/tests/input124.c function main (line 5) | int main() { FILE: 64_6809_Target/tests/input125.c function main (line 7) | int main() { FILE: 64_6809_Target/tests/input126.c function main (line 5) | int main() { FILE: 64_6809_Target/tests/input127.c function fred (line 5) | void fred(int *ptr) { // Receive a pointer function main (line 9) | int main() { FILE: 64_6809_Target/tests/input128.c type foo (line 3) | struct foo { type foo (line 8) | struct foo function main (line 10) | int main() { FILE: 64_6809_Target/tests/input129.c function main (line 5) | int main() { FILE: 64_6809_Target/tests/input130.c function main (line 5) | int main() { FILE: 64_6809_Target/tests/input131.c function donothing (line 3) | void donothing() { } function main (line 5) | int main() { FILE: 64_6809_Target/tests/input132.c function main (line 7) | int main() { return(0); } FILE: 64_6809_Target/tests/input133.c function main (line 9) | void main() { printf("OK\n"); } FILE: 64_6809_Target/tests/input134.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input135.c function fred (line 3) | void fred() { function main (line 10) | int main() { FILE: 64_6809_Target/tests/input136.c function add (line 3) | int add(int x, int y) { function main (line 7) | int main() { FILE: 64_6809_Target/tests/input137.c function main (line 5) | int main() { FILE: 64_6809_Target/tests/input138.c function main (line 8) | int main() { FILE: 64_6809_Target/tests/input139.c function same (line 3) | int same(int x) { return(x); } function main (line 5) | int main() { FILE: 64_6809_Target/tests/input140.c function main (line 3) | int main() { FILE: 64_6809_Target/tests/input141.c function foo (line 4) | int foo(int mary[6]) { return(5); } FILE: 64_6809_Target/tests/input143.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input145.c function main (line 9) | int main() { FILE: 64_6809_Target/tests/input146.c function main (line 9) | int main() { FILE: 64_6809_Target/tests/input147.c function main (line 5) | int main() { FILE: 64_6809_Target/tests/input148.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input149.c function newlocaloffset (line 5) | static int newlocaloffset(int size) { function main (line 10) | int main() { FILE: 64_6809_Target/tests/input150.c type Svalue (line 4) | struct Svalue { type IR (line 10) | struct IR { type foo (line 19) | struct foo { type IR (line 26) | struct IR type foo (line 27) | struct foo function main (line 29) | int main() { FILE: 64_6809_Target/tests/input151.c type Location (line 3) | struct Location { type Location (line 12) | struct Location function main (line 14) | int main() { FILE: 64_6809_Target/tests/input152.c function main (line 2) | int main() { FILE: 64_6809_Target/tests/input153.c function fred (line 18) | void fred(int class) { function main (line 30) | int main() { FILE: 64_6809_Target/tests/input154.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input155.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input156.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input157.c function main (line 3) | int main() { FILE: 64_6809_Target/tests/input159.c function inttype (line 8) | int inttype(int type) { function main (line 12) | int main() { FILE: 64_6809_Target/tests/input160.c function main (line 5) | int main() { FILE: 64_6809_Target/tests/input161.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input162.c function keyword (line 4) | void keyword(char *s) { function main (line 21) | int main() { FILE: 64_6809_Target/tests/input163.c function keyword (line 4) | int keyword(char *s) { function main (line 17) | int main() { FILE: 64_6809_Target/tests/input164.c function main (line 6) | int main() { FILE: 64_6809_Target/tests/input165.c function main (line 8) | int main() { FILE: 64_6809_Target/tests/input166.c function scanch (line 6) | int scanch(int *slash) { function main (line 22) | int main() { FILE: 64_6809_Target/tests/out.input030.c function main (line 10) | int main() { FILE: 64_6809_Target/tree.c type ASTnode (line 17) | struct ASTnode type symtable (line 18) | struct symtable type ASTnode (line 19) | struct ASTnode type ASTnode (line 20) | struct ASTnode type ASTnode (line 21) | struct ASTnode type symtable (line 22) | struct symtable type ASTnode (line 23) | struct ASTnode type ASTnode (line 26) | struct ASTnode type ASTnode (line 26) | struct ASTnode type ASTnode (line 66) | struct ASTnode type symtable (line 67) | struct symtable type symtable (line 68) | struct symtable type ASTnode (line 73) | struct ASTnode type symtable (line 74) | struct symtable type ASTnode (line 75) | struct ASTnode type symtable (line 76) | struct symtable function freeASTnode (line 81) | void freeASTnode(struct ASTnode *tree) { function freetree (line 91) | void freetree(struct ASTnode *tree, int freenames) { type ASTnode (line 116) | struct ASTnode type ASTnode (line 118) | struct ASTnode type ASTnode (line 145) | struct ASTnode type ASTnode (line 145) | struct ASTnode type ASTnode (line 151) | struct ASTnode function mkASTidxfile (line 202) | void mkASTidxfile(void) { FILE: 64_6809_Target/tree.h type ASTnode (line 2) | struct ASTnode type symtable (line 2) | struct symtable type ASTnode (line 2) | struct ASTnode type ASTnode (line 2) | struct ASTnode type ASTnode (line 2) | struct ASTnode type symtable (line 2) | struct symtable type ASTnode (line 3) | struct ASTnode type symtable (line 3) | struct symtable type symtable (line 3) | struct symtable type ASTnode (line 4) | struct ASTnode type symtable (line 4) | struct symtable type ASTnode (line 4) | struct ASTnode type symtable (line 4) | struct symtable type ASTnode (line 5) | struct ASTnode type ASTnode (line 6) | struct ASTnode type ASTnode (line 7) | struct ASTnode FILE: 64_6809_Target/types.c function inttype (line 13) | int inttype(int type) { function ptrtype (line 18) | int ptrtype(int type) { function pointer_to (line 24) | int pointer_to(int type) { function value_at (line 32) | int value_at(int type) { function typesize (line 40) | int typesize(int type, struct symtable *ctype) { type ASTnode (line 52) | struct ASTnode type ASTnode (line 52) | struct ASTnode type symtable (line 53) | struct symtable FILE: 64_6809_Target/types.h type symtable (line 6) | struct symtable type ASTnode (line 7) | struct ASTnode type ASTnode (line 7) | struct ASTnode type symtable (line 7) | struct symtable FILE: 64_6809_Target/wcc.c type filelist (line 23) | struct filelist { type filelist (line 51) | struct filelist type filelist (line 52) | struct filelist function addtmpname (line 67) | void addtmpname(char *name) { function Exit (line 77) | void Exit(int val) { function addobjname (line 87) | void addobjname(char *name) { function clear_cmdarg (line 97) | void clear_cmdarg(void) { function add_cmdarg (line 102) | void add_cmdarg(char *str) { function endswith (line 112) | int endswith(char *str, char ch) { function FILE (line 121) | FILE *fopenw(char *filename) { function run_command (line 164) | void run_command(char *in, char *out) { function do_link (line 375) | void do_link(void) { function set_phaseprograms (line 402) | void set_phaseprograms(char *cpuname) { function usage (line 425) | static void usage(char *prog) { function main (line 444) | int main(int argc, char **argv) {