annotate gcc/brig/brig-c.h @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* brig-c.h -- Header file for brig input's gcc C interface.
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
2 Copyright (C) 2016-2018 Free Software Foundation, Inc.
111
kono
parents:
diff changeset
3 Contributed by Pekka Jaaskelainen <pekka.jaaskelainen@parmance.com>
kono
parents:
diff changeset
4 for General Processor Tech.
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 This file is part of GCC.
kono
parents:
diff changeset
7
kono
parents:
diff changeset
8 GCC is free software; you can redistribute it and/or modify it under
kono
parents:
diff changeset
9 the terms of the GNU General Public License as published by the Free
kono
parents:
diff changeset
10 Software Foundation; either version 3, or (at your option) any later
kono
parents:
diff changeset
11 version.
kono
parents:
diff changeset
12
kono
parents:
diff changeset
13 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
kono
parents:
diff changeset
14 WARRANTY; without even the implied warranty of MERCHANTABILITY or
kono
parents:
diff changeset
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
kono
parents:
diff changeset
16 for more details.
kono
parents:
diff changeset
17
kono
parents:
diff changeset
18 You should have received a copy of the GNU General Public License
kono
parents:
diff changeset
19 along with GCC; see the file COPYING3. If not see
kono
parents:
diff changeset
20 <http://www.gnu.org/licenses/>. */
kono
parents:
diff changeset
21
kono
parents:
diff changeset
22 #ifndef BRIG_BRIG_C_H
kono
parents:
diff changeset
23 #define BRIG_BRIG_C_H
kono
parents:
diff changeset
24
kono
parents:
diff changeset
25 #define BRIG_EXTERN_C
kono
parents:
diff changeset
26
kono
parents:
diff changeset
27 #include "machmode.h"
kono
parents:
diff changeset
28
kono
parents:
diff changeset
29 /* Functions defined in the Brig frontend proper called by the GCC
kono
parents:
diff changeset
30 interface. */
kono
parents:
diff changeset
31
kono
parents:
diff changeset
32 extern int brig_enable_dump (const char *);
kono
parents:
diff changeset
33 extern int brig_enable_optimize (const char *);
kono
parents:
diff changeset
34
kono
parents:
diff changeset
35 extern void brig_add_search_path (const char *);
kono
parents:
diff changeset
36
kono
parents:
diff changeset
37 extern void brig_create_brigbrig (int int_type_size, int pointer_size,
kono
parents:
diff changeset
38 const char *pkgpath, const char *prefix,
kono
parents:
diff changeset
39 const char *relative_import_path);
kono
parents:
diff changeset
40
kono
parents:
diff changeset
41 extern void brig_parse_input_files (const char **, unsigned int,
kono
parents:
diff changeset
42 bool only_check_syntax,
kono
parents:
diff changeset
43 bool require_return_statement);
kono
parents:
diff changeset
44 extern void brig_write_globals (void);
kono
parents:
diff changeset
45
kono
parents:
diff changeset
46 extern tree brig_type_for_size (unsigned int bits, int unsignedp);
kono
parents:
diff changeset
47 extern tree brig_type_for_mode (machine_mode, int unsignedp);
kono
parents:
diff changeset
48
kono
parents:
diff changeset
49 /* Functions defined in the GCC interface called by the Brig frontend
kono
parents:
diff changeset
50 proper. */
kono
parents:
diff changeset
51
kono
parents:
diff changeset
52 extern void brig_preserve_from_gc (tree);
kono
parents:
diff changeset
53
kono
parents:
diff changeset
54 extern const char *brig_localize_identifier (const char *);
kono
parents:
diff changeset
55
kono
parents:
diff changeset
56 extern unsigned int brig_field_alignment (tree);
kono
parents:
diff changeset
57
kono
parents:
diff changeset
58 extern void brig_trampoline_info (unsigned int *size, unsigned int *alignment);
kono
parents:
diff changeset
59
kono
parents:
diff changeset
60 extern void brig_imported_unsafe (void);
kono
parents:
diff changeset
61
kono
parents:
diff changeset
62 extern void brig_write_export_data (const char *, unsigned int);
kono
parents:
diff changeset
63
kono
parents:
diff changeset
64 extern const char *brig_read_export_data (int, off_t, char **, size_t *, int *);
kono
parents:
diff changeset
65
kono
parents:
diff changeset
66 #endif /* !defined (BRIG_BRIG_C_H) */