aboutsummaryrefslogtreecommitdiff
path: root/backendC/CleanCompilerSources/dbprint.h
blob: 3eb0f3cc57b1a965c75cbc3b49eac7a7e48ae7ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#undef _COMPSTATS_

extern void PrintRuleNode (Node node,Bool brackets,int n_leading_spaces,File file);
extern void PrintRuleAlt (RuleAlts rulealt,int n_leading_spaces,File file);
extern void PrintNodeDef (NodeDefP def_p,int n_leading_spaces,File file);
extern void PrintNodeDefs (NodeDefs defs,int n_leading_spaces,File file);
extern void PrintImpRule (ImpRules rule,int n_leading_spaces,File file);
extern void PrintTypeNode (TypeNode node, File file);
extern void DPrintNodeId (NodeId nid, File file);
extern void DPrintNodeIdS (char *s,NodeId nid, File file);
extern void DPrintOccurrenceKind (OccurrenceKind kind, File file);
extern void PrintTypeAlt (TypeAlts type_alts, File file, Bool with_equats);
extern void PrintState (StateS state, File file);

extern void PrintRules (ImpRules rules,File file);

#ifdef _COMPSTATS_
extern unsigned long 
	NrNodeCells, 
	NrArgCells, 
	NrTypeNodeCells, 
	NrTypeArgCells,
	NrExpandedTypeNodeCells,
	NrExpandedTypeArgCells, 
	NrNodeIdCells,
	NrSymbolCells,
	NrBasicNodes;

extern void InitDB (void);

extern void PrintCompStats (void);
#endif