#include <stdio.h>
#include "parm.h"
#include "stree/ststructs.mh"
#include "pass3/decl_pairs.h"
#include "pass3/is_local.h"
#include "sigs.h"
Go to the source code of this file.
Defines | |
#define | DEBUG |
#define | IFDEBUG(x) x |
#define | INCPOS if (++delbit >= WORDLENGTH) { delword++; delbit = 0; } |
#define | BITSET ((delv[delword] << delbit) < 0) |
Functions | |
char * | getname () |
NODE * | tsubst () |
NODE * | getcomp (NODE *sig, NODE *id, NODE *exp, NODE *csig, ctype, NODE *appl, boolean exact) |
int | tsig_length (NODE *tsig) |
NODE * | tsubst1 () |
NODE * | tsubst (NODE *p, NODE *tsig, NODE *expr, boolean substm1) |
NODE * | tsubst1 (NODE *p, NODE *tsig, NODE *expr, boolean substm1) |
void | inscomp (NODE *sig, NODE *id, NODE *csig, ctype) |
NODE * | delcomp (NODE *sig, int *delv) |
boolean | is_unique (NODE *sig, int ind) |
Variables | |
char *(* | inline_cnvt )() |
unsigned | indx_subscr |
int | stplinks [] |
int | stsize [] |
int | stsigs [] |
int | yynerrs |
int | comp_index |
FILE * | unparse_file |
NODE * | sig_const |
NODE * | substerr |
struct cn * | dontsubst |
int | tsubst_count |
boolean | changed_strings |
#define BITSET ((delv[delword] << delbit) < 0) |
Referenced by delcomp().
#define INCPOS if (++delbit >= WORDLENGTH) { delword++; delbit = 0; } |
Referenced by delcomp().
Definition at line 967 of file getcomp.c.
References addright(), BITSET, copynode(), dbgmsg, ERR_SIG, FALSE, IFDEBUG, INCPOS, indx_pconc, indx_sconc, NIL, TRUE, and WORDLENGTH.
Referenced by checksigs(), findapplsig(), and findmpsig().
NODE* getcomp | ( | NODE * | sig, | |
NODE * | id, | |||
NODE * | exp, | |||
NODE * | csig, | |||
ctype | , | |||
NODE * | appl, | |||
boolean | exact | |||
) |
Definition at line 59 of file getcomp.c.
References bitcnt(), comp_index, comp_st(), copynode(), dbgmsg, def_match(), ERR_SIG, FALSE, getname(), malloc, NIL, NINCR, sig_const, TRUE, tsubst(), unparse(), unparse_file, vfree, and WORDLENGTH.
Referenced by equiv_expr(), finddecl1(), findidsig(), findmpsig(), findsig(), fix_array_sig(), Gident(), Gpush_size(), is_const_init(), mk_put_selection(), and Vappl().
char* getname | ( | ) |
Definition at line 27 of file testvertex.c.
Definition at line 827 of file getcomp.c.
References add_dcse(), bitcnt(), comp_index, comp_st(), copylist(), dbgmsg, ERR_SIG, getname(), IFDEBUG, is_const(), mknode(), NIL, TRUE, tsubst(), and WORDLENGTH.
Referenced by findmpsig(), and findsig().
Definition at line 1069 of file getcomp.c.
References dbgmsg, ERR_SIG, getname(), IFDEBUG, TRUE, and WORDLENGTH.
Referenced by checksigs(), equiv_expr(), findidsig(), and findmpsig().
int tsig_length | ( | NODE * | tsig | ) |
Definition at line 281 of file getcomp.c.
References bitcnt(), dbgmsg, and length().
Referenced by amatch(), findmpsig(), type_constr(), and vacuous_arg().
Definition at line 333 of file getcomp.c.
References clr_dlist, tsubst1(), tsubst_count, unparse(), and unparse_file.
NODE* tsubst | ( | ) |
Referenced by findidsig(), findmpsig(), findsig(), getcomp(), and inscomp().
int comp_index |
Definition at line 33 of file getcomp.c.
Referenced by finddecl1(), findidsig(), findmpsig(), findsig(), getcomp(), inscomp(), and mk_put_selection().
Definition at line 55 of file findmpsig.c.
unsigned indx_subscr |
char*(* inline_cnvt)() |
int stplinks[] |
int stsigs[] |
int stsize[] |
Referenced by copynode(), mknode(), split(), subst1(), tsubst1(), and unshare1().
Definition at line 50 of file findapplsig.c.
int tsubst_count |
FILE* unparse_file |
int yynerrs |
Definition at line 31 of file testvertex.c.