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

#include <stdio.h>
#include "parm.h"
#include "arith.h"
#include "stree/ststructs.mh"
#include "stree/is_ptr.h"
#include "sigs.h"
#include "stree/Array.h"
#include "pass1/stt/sttdefs.h"

Go to the source code of this file.

Defines

#define TRACE
#define DEBUG
#define TRACE2
#define IFDEBUG(x)   x
#define UNDEFNAME   ((sttrelptr) 0)
#define init_inline(r)
#define ERR_NODE_DEFINED
#define err_return
#define return(p)   { return_val = p; goto findsig_out; }

Functions

void find_inline ()
void Gfind_inline ()
NODEfindsig (NODE *p, boolean dont_coerce)
NODEdeclsig (NODE *p)
void tl_findsig (NODE *p, boolean dont_coerce)

Variables

FILE * unparse_file
boolean Gflag
boolean Nflag
sttrelptr indx_New
sttrelptr indx_ValueOf
sttrelptr indx_assign
sttrelptr indx_equals
sttrelptr indx_ne
sttrelptr indx_Mk
sttrelptr indx_First
sttrelptr indx_Last
sttrelptr indx_Pred
sttrelptr indx_Succ
sttrelptr indx_Ord
sttrelptr indx_OrdInv
sttrelptr indx_Card
sttrelptr indx_In
sttrelptr indx_Out
NODEsig_New
NODEsig_ValueOf
NODEsig_assign
NODEsig_equals
NODEsig_const
NODEval_Boolean
NODEval_Integer
NODEval_Void
NODEsig_Signature
int yynerrs
int next_pre
NODEerr_node
char * err_msg
NODEcurr_tsig
NODEdeclerr
NODEsubsterr
int match_len
unsigned * match_delv
NODEfailed_asig
NODEfailed_psig
NODEfailed_comp
struct cndontsubst = NIL
int comp_index
boolean may_fail = FALSE
NODEreturn_val


Define Documentation

#define DEBUG

Definition at line 3 of file findsig.c.

#define ERR_NODE_DEFINED

Definition at line 75 of file findsig.c.

#define err_return

Value:

p -> signature = ERR_SIG; \
    p -> sig_done = SIG_DONE; \
    return(SUCCESS);

Definition at line 151 of file findsig.c.

Referenced by findsig().

#define IFDEBUG (  )     x

Definition at line 9 of file findsig.c.

#define init_inline (  ) 

Value:

(r) -> tsc_signature -> fsig_inline_code = \
        (*spcl_to_inline)((r) -> tsc_signature -> fsig_special);

Definition at line 66 of file findsig.c.

Referenced by findsig().

#define return (  )     { return_val = p; goto findsig_out; }

Definition at line 158 of file findsig.c.

#define TRACE

Definition at line 1 of file findsig.c.

#define TRACE2

Definition at line 5 of file findsig.c.

#define UNDEFNAME   ((sttrelptr) 0)

Definition at line 36 of file findsig.c.


Function Documentation

NODE* declsig ( NODE p  ) 

Definition at line 1432 of file findsig.c.

References dbgmsg, declerr, ERR_SIG, FALSE, findsig(), kindname(), may_fail, NIL, and SUCCESS.

void find_inline (  ) 

NODE* findsig ( NODE p,
boolean  dont_coerce 
)

Definition at line 161 of file findsig.c.

References addright(), amatch(), arg_list(), chgsig, clear_slink_known(), cn_cons(), coerce(), comp_index, comp_st(), copylist(), copynode(), dbgmsg, err_return, ERR_SIG, errmsg0, errmsg1, expand_str(), FALSE, find_inline(), findapplsig(), findidsig(), findmpsig(), findstdecl(), fixhints(), getcomp(), getname(), Gfind_inline(), Gflag, id_New, id_ValueOf, IFDEBUG, indx_assign, indx_Card, indx_equals, indx_First, indx_In, indx_Last, indx_Mk, indx_ne, indx_New, indx_Ord, indx_OrdInv, indx_Out, indx_Pred, indx_Succ, indx_ValueOf, init_inline, initsig, inscomp(), is_ptr, kindname(), length(), lock, match_delv, match_len, MAXSTRLEN, may_fail, mkcompnm(), mklist(), mknode(), next_pre, Nflag, NIL, on_dontsubst(), prefix(), prtree(), return_val, sig, sig_assign, sig_const, sig_equals, sig_New, sig_Signature, sig_structure(), sig_ValueOf, subst(), substerr, SUCCESS, TRUE, tsig_order(), tsubst(), UNDEFNAME, unlock, unparse(), unparse_file, vacuous_arg(), val_Boolean, val_Integer, val_Void, and vfree.

Referenced by checksigs(), declsig(), findapplsig(), finddecl1(), findidsig(), findmpsig(), findstdecl(), infer_args(), and tl_findsig().

void Gfind_inline (  ) 

void tl_findsig ( NODE p,
boolean  dont_coerce 
)

Definition at line 1499 of file findsig.c.

References chgsig, cn_del_hd(), ERR_SIG, errmsg0, errmsg1, findsig(), getname(), NIL, and SUCCESS.

Referenced by checksigs(), Gident(), mk_put_selection(), and Vappl().


Variable Documentation

int comp_index

Definition at line 33 of file getcomp.c.

NODE* curr_tsig

Definition at line 18 of file checksigs.c.

Referenced by checksigs(), and findidsig().

NODE* declerr

Definition at line 83 of file findsig.c.

struct cn* dontsubst = NIL

Definition at line 99 of file findsig.c.

char* err_msg

Definition at line 25 of file checksigs.c.

Referenced by checksigs().

NODE* err_node

Definition at line 23 of file checksigs.c.

Referenced by checksigs().

NODE* failed_asig

Definition at line 46 of file match.c.

NODE* failed_comp

Definition at line 45 of file match.c.

NODE* failed_psig

Definition at line 47 of file match.c.

boolean Gflag

Definition at line 7 of file extract_sig.c.

sttrelptr indx_assign

Definition at line 14 of file initids.c.

Referenced by findsig(), and initids().

sttrelptr indx_Card

Definition at line 14 of file initids.c.

Referenced by findsig(), and initids().

sttrelptr indx_equals

Definition at line 14 of file initids.c.

Referenced by findsig(), and initids().

sttrelptr indx_First

Definition at line 14 of file initids.c.

Referenced by findsig(), and initids().

sttrelptr indx_In

Definition at line 14 of file initids.c.

Referenced by findsig(), and initids().

sttrelptr indx_Last

Definition at line 14 of file initids.c.

Referenced by findsig(), and initids().

sttrelptr indx_Mk

Definition at line 65 of file initids.c.

Referenced by findsig(), and initids().

sttrelptr indx_ne

Definition at line 14 of file initids.c.

Referenced by findsig(), and initids().

sttrelptr indx_New

Definition at line 14 of file initids.c.

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

sttrelptr indx_Ord

Definition at line 14 of file initids.c.

Referenced by findsig(), and initids().

sttrelptr indx_OrdInv

Definition at line 14 of file initids.c.

Referenced by findsig(), and initids().

sttrelptr indx_Out

Definition at line 14 of file initids.c.

Referenced by findsig(), and initids().

sttrelptr indx_Pred

Definition at line 14 of file initids.c.

Referenced by findsig(), and initids().

sttrelptr indx_Succ

Definition at line 14 of file initids.c.

Referenced by findsig(), and initids().

sttrelptr indx_ValueOf

Definition at line 14 of file initids.c.

Referenced by coerce(), findsig(), fix_array_sig(), and initids().

unsigned* match_delv

Definition at line 41 of file match.c.

int match_len

Definition at line 42 of file match.c.

boolean may_fail = FALSE

Definition at line 113 of file findsig.c.

int next_pre

Definition at line 9 of file number.c.

boolean Nflag

Definition at line 131 of file main.c.

NODE* return_val

Definition at line 157 of file findsig.c.

Referenced by findsig().

NODE * sig_assign

NODE * sig_const

NODE * sig_equals

NODE* sig_New

NODE * sig_Signature

NODE * sig_ValueOf

NODE* substerr

Definition at line 85 of file findsig.c.

FILE* unparse_file

Definition at line 6 of file unparse.c.

NODE * val_Boolean

Definition at line 82 of file initids.c.

Referenced by checksigs(), findsig(), and initids().

NODE * val_Integer

Definition at line 82 of file initids.c.

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

NODE * val_Void

Definition at line 82 of file initids.c.

Referenced by checksigs(), findsig(), and initids().

int yynerrs

Definition at line 31 of file testvertex.c.


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