#ifndef __SCC_IR_BASE_H__ #define __SCC_IR_BASE_H__ #include "ir_def.h" void scc_ir_type_init(scc_ir_type_t *in, scc_ir_type_tag_t tag); void scc_ir_bblock_init(scc_ir_bblock_t *in, const char *label); void scc_ir_func_init(scc_ir_func_t *in, const char *name); // node name can be null ptr void scc_ir_node_init(scc_ir_node_t *in, const char *name, scc_ir_node_tag_t tag); void scc_ir_cprog_init(scc_ir_cprog_t *in); void scc_ir_cprog_drop(scc_ir_cprog_t *in); #endif /* __SCC_IR_BASE_H__ */