Cthulhu  0.2.10
Cthulhu compiler collection
target.h File Reference
#include "core/compiler.h"
#include "cthulhu/broker/broker.h"
#include "events.inc"
Include dependency graph for target.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NEW_EVENT(id, ...)   CT_LOCAL extern const diagnostic_t kEvent_##id;
 

Functions

CT_LOCAL void llvm_create (target_runtime_t *runtime)
 
CT_LOCAL void llvm_destroy (target_runtime_t *runtime)
 
CT_LOCAL void llvm_tree (target_runtime_t *runtime, const tree_t *tree, target_emit_t *emit)
 
CT_LOCAL emit_result_t llvm_ssa (target_runtime_t *runtime, const ssa_result_t *ssa, target_emit_t *emit)
 

Macro Definition Documentation

◆ NEW_EVENT

#define NEW_EVENT (   id,
  ... 
)    CT_LOCAL extern const diagnostic_t kEvent_##id;

Definition at line 15 of file target.h.

Function Documentation

◆ llvm_create()

CT_LOCAL void llvm_create ( target_runtime_t runtime)

Definition at line 61 of file ssa.c.

◆ llvm_destroy()

CT_LOCAL void llvm_destroy ( target_runtime_t runtime)

Definition at line 86 of file ssa.c.

◆ llvm_ssa()

CT_LOCAL emit_result_t llvm_ssa ( target_runtime_t runtime,
const ssa_result_t ssa,
target_emit_t emit 
)

Definition at line 298 of file ssa.c.

◆ llvm_tree()

CT_LOCAL void llvm_tree ( target_runtime_t runtime,
const tree_t tree,
target_emit_t emit 
)