C:/Users/Dennis/src/lang/russell.orig/src/sigio/sig_out.c File Reference

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

Go to the source code of this file.

Data Structures

struct  decl_entry

Defines

#define TRACE_DECL
#define IFTRACE_DECL(x)
#define EXTERN_LIMIT   5
#define add_decl(decl)
#define NONE   -1
#define LOCALREP   0
#define GLOBALREP   1
#define SELECTREP   2
#define CONSTR_UNKNOWN   0
#define CONSTR_AVAIL   1
#define SLINK_AVAIL   2

Functions

static get_decl_num (NODE *decl)
void sig_out1 ()
 put_string (FILE *Soutfile, char *s)
 put_name (FILE *Soutfile, NODE *p)
void sig_out (FILE *Soutfile, NODE *p)
void sig_out1 (FILE *Soutfile, NODE *p)

Variables

boolean Gflag
FILE * unparse_file
static NODEOuter_arg
struct decl_entrydecl_nums
static int decl_num = 0


Define Documentation

#define add_decl ( decl   ) 

Value:

{ \
    struct decl_entry * o = (struct decl_entry *) \
                                malloc(sizeof (struct decl_entry)); \
    o -> de_number = (++decl_num); \
    o -> de_decl = decl; \
    o -> de_next = decl_nums; \
    decl_nums = o; \
}

Definition at line 38 of file sig_out.c.

#define CONSTR_AVAIL   1

#define CONSTR_UNKNOWN   0

#define EXTERN_LIMIT   5

Definition at line 12 of file sig_out.c.

#define GLOBALREP   1

Definition at line 91 of file sig_out.c.

#define IFTRACE_DECL (  ) 

Definition at line 9 of file sig_out.c.

Referenced by sig_out1().

#define LOCALREP   0

Definition at line 90 of file sig_out.c.

#define NONE   -1

Definition at line 47 of file sig_out.c.

#define SELECTREP   2

Definition at line 92 of file sig_out.c.

#define SLINK_AVAIL   2

#define TRACE_DECL

Definition at line 1 of file sig_out.c.


Function Documentation

static get_decl_num ( NODE decl  )  [static]

Definition at line 50 of file sig_out.c.

References decl_entry::de_decl, decl_entry::de_next, decl_entry::de_number, decl_nums, NIL, and NONE.

Referenced by put_name().

put_name ( FILE *  Soutfile,
NODE p 
)

Definition at line 95 of file sig_out.c.

References dbgmsg, get_decl_num(), getname(), GLOBALREP, LOCALREP, NIL, NONE, put_string(), SELECTREP, and sig_out1().

Referenced by sig_out1().

put_string ( FILE *  Soutfile,
char *  s 
)

Definition at line 68 of file sig_out.c.

References NIL.

Referenced by put_name(), and sig_out1().

void sig_out ( FILE *  Soutfile,
NODE p 
)

Definition at line 167 of file sig_out.c.

References decl_nums, NIL, Outer_arg, and sig_out1().

Referenced by main().

void sig_out1 ( FILE *  Soutfile,
NODE p 
)

Definition at line 176 of file sig_out.c.

References add_decl, CONSTR_AVAIL, CONSTR_UNKNOWN, dbgmsg, decl_num, expand_str(), getname(), Gflag, IFTRACE_DECL, kindname(), length(), NIL, put_name(), put_RIC(), put_string(), sig_out1(), SLINK_AVAIL, unparse(), unparse_file, and v.

void sig_out1 (  ) 

Referenced by put_name(), sig_out(), and sig_out1().


Variable Documentation

int decl_num = 0 [static]

Definition at line 35 of file sig_out.c.

struct decl_entry * decl_nums

boolean Gflag

Definition at line 7 of file extract_sig.c.

Referenced by accessible(), findsig(), get_complexity(), infer_args(), main(), n_vacuous_params(), print_fcs(), reeval(), rmfiles(), sig_in1(), sig_out1(), Vallocate(), and Vallocwalk().

NODE* Outer_arg [static]

Definition at line 25 of file sig_out.c.

Referenced by sig_out().

FILE* unparse_file

Definition at line 6 of file unparse.c.


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