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
"
6
#include "
cthulhu/broker/broker.h
"
7
8
typedef
struct
target_runtime_t
target_runtime_t
;
9
typedef
struct
tree_t
tree_t
;
10
typedef
struct
ssa_result_t
ssa_result_t
;
11
typedef
struct
target_emit_t
target_emit_t
;
12
13
CT_BEGIN_API
14
15
CT_LOCAL
void
cfamily_tree
(
target_runtime_t
*runtime,
const
tree_t
*tree,
target_emit_t
*emit);
16
17
CT_LOCAL
emit_result_t
cfamily_ssa
(
target_runtime_t
*runtime,
const
ssa_result_t
*ssa,
target_emit_t
*emit);
18
19
CT_END_API
broker.h
cfamily_tree
CT_BEGIN_API CT_LOCAL void cfamily_tree(target_runtime_t *runtime, const tree_t *tree, target_emit_t *emit)
Definition:
tree.c:100
cfamily_ssa
CT_LOCAL emit_result_t cfamily_ssa(target_runtime_t *runtime, const ssa_result_t *ssa, target_emit_t *emit)
Definition:
emit.c:1140
compiler.h
CT_BEGIN_API
#define CT_BEGIN_API
Definition:
compiler.h:129
CT_LOCAL
#define CT_LOCAL
Definition:
compiler.h:166
CT_END_API
#define CT_END_API
Definition:
compiler.h:130
emit_result_t
Definition:
broker.h:223
ssa_result_t
Definition:
ssa.h:362
target_emit_t
Definition:
broker.h:308
target_runtime_t
Definition:
broker.h:298
tree_t
Definition:
tree.h:67
target
cfamily
include
cfamily-target
target.h
Generated by
1.9.1