Cthulhu  0.2.10
Cthulhu compiler collection
target.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: GPL-3.0-only
2 
3 #pragma once
4 
5 #include "core/compiler.h"
7 
9 typedef struct ssa_result_t ssa_result_t;
10 typedef struct target_emit_t target_emit_t;
11 typedef struct tree_t tree_t;
12 
14 
16 CT_LOCAL void debug_tree(target_runtime_t *runtime, const tree_t *tree, target_emit_t *target);
17 
CT_LOCAL void debug_tree(target_runtime_t *runtime, const tree_t *tree, target_emit_t *target)
Definition: tree.c:129
CT_BEGIN_API CT_LOCAL emit_result_t debug_ssa(target_runtime_t *runtime, const ssa_result_t *ssa, target_emit_t *target)
Definition: ssa.c:405
#define CT_BEGIN_API
Definition: compiler.h:129
#define CT_LOCAL
Definition: compiler.h:166
#define CT_END_API
Definition: compiler.h:130
Definition: tree.h:67