7 #define NEW_EVENT(id, ...) const diagnostic_t kEvent_##id = __VA_ARGS__;
11 #define NEW_EVENT(id, ...) &kEvent_##id,
21 .author =
"Elliot Haisley",
22 .desc =
"LLVM output target",
27 .diagnostics = kDiagnosticTable,
28 .count =
sizeof(kDiagnosticTable) /
sizeof(
const diagnostic_t *)
#define CT_NEW_VERSION(major, minor, patch)
creates a new ctu_version_t from major, minor and patch
#define CT_TARGET_EXPORT(mod)
declares the entry point for a target driver module
CT_LOCAL emit_result_t llvm_ssa(target_runtime_t *runtime, const ssa_result_t *ssa, target_emit_t *emit)
CT_LOCAL void llvm_destroy(target_runtime_t *runtime)
CT_LOCAL void llvm_create(target_runtime_t *runtime)
CT_DRIVER_API const target_t kTargetLLVM
const char * id
unique id for the module
module_info_t info
information about the target