C:/Users/Dennis/src/lang/russell.orig/src/pass4/infer_args.c File Reference

#include <stdio.h>
#include "parm.h"
#include "stree/ststructs.mh"
#include "sigs.h"

Go to the source code of this file.

Defines

#define SIZE_SIZE   8
#define DUMMY   -2
#define is_dummy(id)   ((id) -> id_str_table_index == DUMMY)

Functions

boolean replace_arg ()
NODEmknode ()
NODEinfer_args (NODE *initial_args, NODE *params, NODE *void_decl, NODE *oper)
boolean replace_arg (NODE *args, NODE *old, NODE *new)

Variables

FILE * unparse_file
int next_pre
int yynerrs
unsigned indx_subscr
NODEvar_Void
NODEdiff_p
NODEdiff_q


Define Documentation

#define DUMMY   -2

Definition at line 9 of file infer_args.c.

Referenced by infer_args().

#define is_dummy ( id   )     ((id) -> id_str_table_index == DUMMY)

Definition at line 10 of file infer_args.c.

Referenced by infer_args(), and replace_arg().

#define SIZE_SIZE   8

Definition at line 8 of file infer_args.c.

Referenced by infer_args().


Function Documentation

NODE* infer_args ( NODE initial_args,
NODE params,
NODE void_decl,
NODE oper 
)

Definition at line 48 of file infer_args.c.

References addright(), comp_st(), copylist(), dbgmsg, diff_p, diff_q, DUMMY, ERR_SIG, errmsg0, FALSE, findsig(), Gflag, GMAXINTLEN, indx_subscr, is_dummy, is_empty, kindname(), length(), lock, malloc, MAXINTLEN, mknode(), n_args, n_params, NIL, replace_arg(), SIZE_SIZE, subst(), SUCCESS, TRUE, unlock, unshare(), val_Integer, var_Void, and vfree.

NODE* mknode (  ) 

Referenced by add_dcse(), bld_analyze(), cand_cond(), coerce(), copylist(), cor_cond(), expand_str(), findapplsig(), findmpsig(), findsig(), get_name(), Gpush_size(), infer_args(), initids(), inscomp(), main(), mk_put_selection(), mkappl2(), mkcompnm(), read_signature(), sig_in1(), split(), tsig_order(), and Vappl().

boolean replace_arg ( NODE args,
NODE old,
NODE new 
)

Definition at line 216 of file infer_args.c.

References FALSE, is_dummy, NIL, and TRUE.

boolean replace_arg (  ) 

Referenced by infer_args().


Variable Documentation

NODE* diff_p

Definition at line 65 of file comp_st.c.

Referenced by comp1_st(), comp_st(), def_match(), findidsig(), and infer_args().

NODE * diff_q

Definition at line 65 of file comp_st.c.

Referenced by comp1_st(), comp_st(), def_match(), findidsig(), and infer_args().

unsigned indx_subscr

Definition at line 14 of file initids.c.

Referenced by fix_array_sig(), infer_args(), and initids().

int next_pre

Definition at line 9 of file number.c.

Referenced by findsig(), and number().

FILE* unparse_file

Definition at line 6 of file unparse.c.

NODE* var_Void

Definition at line 85 of file initids.c.

Referenced by checksigs(), impure(), infer_args(), initids(), sigids(), and vacuous_arg().

int yynerrs

Definition at line 31 of file testvertex.c.


Generated on Fri Jan 25 10:39:50 2008 for russell by  doxygen 1.5.4