-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.h
81 lines (56 loc) · 2.23 KB
/
common.h
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/*
FILE NAME: common.h
Copyright (C) 1997-2016 Vladimir Makarov.
Written by Vladimir Makarov <vmakarov@gcc.gnu.org>
This file is part of the tool OKA.
This is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
TITLE: Include file of common things for all OKA (pipeline hazards
description translator)
DESCRIPTION: This header file contains definitions of macros
and external definitions of variables common for
all OKA (pipeline hazards description translator).
SPECIAL CONSIDERATION:
This file can not be included repeatedly.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "ird.h"
/* Standard designators for true and false values. */
#define FALSE 0
#define TRUE 1
/* Suffix which any pipeline hazards description file name must have.
If this macro value is changed then documentation of oka must be
changed. */
#define STANDARD_INPUT_FILE_SUFFIX ".oka"
/* This macro value is used for correct calculation of current position in
file when TAB character is processed. */
#define TAB_STOP 8
extern int cpp_flag;
extern int debug_flag;
extern int enum_flag;
extern int export_flag;
extern int no_minimization_flag;
extern int split_argument;
extern char *prefix;
extern int time_flag;
extern int v_flag;
extern char *description_name;
extern FILE *output_interface_file;
extern char *output_interface_file_name;
extern FILE *output_implementation_file;
extern char *output_implementation_file_name;
extern FILE *output_description_file;
extern char *output_description_file_name;
extern IR_node_t description;