-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompiler_cgen.h
50 lines (44 loc) · 1.83 KB
/
compiler_cgen.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
/* compiler_cgen.h
*
* Copyright (c) 2017 Brown Deer Technology, LLC. All Rights Reserved.
*
* This software was developed by Brown Deer Technology, LLC.
* For more information contact info@browndeertechnology.com
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 3 (GPLv3)
* as published by the Free Software Foundation.
*
* This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
*/
/* DAR */
#ifndef _COMPILER_CGEN_H
#define _COMPILER_CGEN_H
void cgen_program( FILE* fp, node_t* nptr );
void cgen_block( FILE* fp, node_t* nptr );
void cgen_stmt( FILE* fp, node_t* nptr );
void cgen_decl_stmt( FILE* fp, node_t* nptr );
void cgen_expr_stmt( FILE* fp, node_t* nptr );
void cgen_expr( FILE* fp, node_t* nptr );
void cgen_assign_stmt( FILE* fp, node_t* nptr );
void cgen_print_stmt( FILE* fp, node_t* nptr );
void cgen_input_stmt( FILE* fp, node_t* nptr );
void cgen_if_stmt( FILE* fp, node_t* nptr );
void cgen_switch_stmt( FILE* fp, node_t* nptr );
void cgen_case_stmt( FILE* fp, node_t* nptr );
void cgen_break_stmt( FILE* fp, node_t* nptr );
void cgen_for_stmt( FILE* fp, node_t* nptr );
void cgen_while_stmt( FILE* fp, node_t* nptr );
void cgen_barrier_stmt( FILE* fp, node_t* nptr );
void cgen_remote_stmt( FILE* fp, node_t* nptr );
void cgen_lock_stmt( FILE* fp, node_t* nptr );
void cgen_func_def( FILE* fp, node_t* nptr );
void cgen_func_expr( FILE* fp, node_t* nptr );
void cgen_return_stmt( FILE* fp, node_t* nptr );
#endif