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
ssa_result_t
ssa_result_t
;
10
typedef
struct
target_emit_t
target_emit_t
;
11
typedef
struct
tree_t
tree_t
;
12
13
CT_BEGIN_API
14
15
CT_LOCAL
emit_result_t
debug_ssa
(
target_runtime_t
*runtime,
const
ssa_result_t
*ssa,
target_emit_t
*target);
16
CT_LOCAL
void
debug_tree
(
target_runtime_t
*runtime,
const
tree_t
*tree,
target_emit_t
*target);
17
18
CT_END_API
broker.h
compiler.h
debug_tree
CT_LOCAL void debug_tree(target_runtime_t *runtime, const tree_t *tree, target_emit_t *target)
Definition:
tree.c:129
debug_ssa
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
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
debug
include
debug
target.h
Generated by
1.9.1