#include "parm.h"#include <stdio.h>#include "stree/ststructs.mh"#include "codeutil.h"#include "../pass4/sigs.h"Go to the source code of this file.
Data Structures | |
| struct | blocks |
Defines | |
| #define | DEBUG |
| #define | IFVERBOSE(x) |
| #define | MAXOBJSZ 512 |
Functions | |
| void | Vfree_blocks () |
| void | realloc_blocks (NODE *block) |
| void | add_block (NODE *block) |
| Vallocwalk (NODE *p) | |
| static void | check_vacuous (NODE *p) |
| int | n_vacuous_params (NODE *p) |
| Vallocate (NODE *p, boolean unused_decl) | |
Variables | |
| FILE * | unparse_file |
| NODE * | Vcurrent_func |
| NODE * | Vcurrent_ar |
| int | Vstatic_level = -1 |
| int | Vnext_free |
| int | Vhigh_water |
| boolean | Vextent_limited |
| boolean | Vallocate_on_stack |
| boolean | Vcallcc |
| boolean | Nflag |
| boolean | Vflag |
| boolean | Gflag |
| boolean | Rflag |
| boolean | hflag |
| long | max_addr_regs |
| long | max_int_regs |
| long | n_addr_regs = 0 |
| long | n_int_regs = 0 |
| int | yynerrs |
| int | n_decls |
| struct blocks * | Vcurrent_blocks |
| static boolean | found_non_vacuous |
| static | n_vacuous |
| #define DEBUG |
Definition at line 1 of file allocate.c.
| #define IFVERBOSE | ( | x | ) |
Definition at line 16 of file allocate.c.
| #define MAXOBJSZ 512 |
Definition at line 25 of file allocate.c.
| void add_block | ( | NODE * | block | ) |
Definition at line 130 of file allocate.c.
References blocks::bl_block, blocks::bl_next, dbgmsg, is_empty, malloc, NIL, and Vcurrent_blocks.
Referenced by Vallocwalk().
| static void check_vacuous | ( | NODE * | p | ) | [static] |
Definition at line 529 of file allocate.c.
References found_non_vacuous, n_vacuous, TRUE, and vacuous_arg().
Referenced by n_vacuous_params().
| int n_vacuous_params | ( | NODE * | p | ) |
Definition at line 541 of file allocate.c.
References check_vacuous(), FALSE, found_non_vacuous, Gflag, maprlist(), and n_vacuous.
Referenced by compile_stub(), Gfind_inline(), Gfunc_body(), and Vallocate().
| void realloc_blocks | ( | NODE * | block | ) |
Definition at line 99 of file allocate.c.
References blocks::bl_block, blocks::bl_next, dbgmsg, getname(), NIL, Vcurrent_blocks, Vcurrent_func, and Vflag.
Referenced by Vallocwalk().
Definition at line 552 of file allocate.c.
References AR_FIRST_PARM, ASSERT, dbgmsg, errmsg0, FALSE, Gflag, has_sig, if(), IFVERBOSE, impure(), length(), MAXOBJSZ, n_addr_regs, n_int_regs, n_params, n_vacuous_params(), Nflag, NIL, sig, TRUE, v, Vallocate_on_stack, Vallocwalk(), Vcallcc, Vcurrent_ar, Vcurrent_blocks, Vcurrent_func, Vextent_limited, Vfree_blocks(), Vhigh_water, Vnext_free, and Vstatic_level.
Referenced by Vallocwalk(), Vgeneratecode(), and Vgeneratepcode().
| Vallocwalk | ( | NODE * | p | ) |
Definition at line 152 of file allocate.c.
References add_block(), AR_FIRST_PARM, avail_loc, dbgmsg, errmsg0, FALSE, getname(), Gflag, hflag, is_int_const(), length(), max_addr_regs, max_int_regs, MAXOBJSZ, n_addr_regs, n_decls, n_int_regs, NIL, realloc_blocks(), Rflag, TRUE, unparse(), unparse_file, v, Vallocate(), Vallocate_on_stack, Vcallcc, Vcurrent_ar, Vcurrent_blocks, Vcurrent_func, Vextent_limited, Vflag, Vhigh_water, Vnext_free, and Vstatic_level.
Referenced by Vallocate().
| void Vfree_blocks | ( | ) |
Definition at line 85 of file allocate.c.
References blocks::bl_next, free, NIL, and Vcurrent_blocks.
Referenced by Vallocate().
boolean found_non_vacuous [static] |
Definition at line 7 of file extract_sig.c.
| long max_addr_regs |
| long max_int_regs |
| long n_addr_regs = 0 |
| int n_decls |
| long n_int_regs = 0 |
n_vacuous [static] |
| FILE* unparse_file |
| struct blocks * Vcurrent_blocks |
Referenced by add_block(), realloc_blocks(), Vallocate(), Vallocwalk(), and Vfree_blocks().
Definition at line 29 of file allocate.c.
Referenced by realloc_blocks(), Vallocate(), and Vallocwalk().
Definition at line 6 of file extract_sig.c.
| int Vhigh_water |
| int Vnext_free |
| int Vstatic_level = -1 |
| int yynerrs |
Definition at line 31 of file testvertex.c.
1.5.4