26 lines
579 B
C
26 lines
579 B
C
#ifndef _SELECT_BUILDER_H_
|
|
#define _SELECT_BUILDER_H_
|
|
|
|
#include <mie/ir/instr.h>
|
|
#include <mie/select/builder.h>
|
|
#include <mie/select/node.h>
|
|
#include <mie/select/opcode.h>
|
|
#include <mie/status.h>
|
|
|
|
struct mie_select_value;
|
|
struct mie_select_builder;
|
|
|
|
struct select_instr_type {
|
|
enum mie_status (*i_push)(struct mie_select_builder *, struct mie_instr *);
|
|
};
|
|
|
|
struct select_node_type {
|
|
};
|
|
|
|
extern const struct select_instr_type *select_type_for_instr(
|
|
enum mie_instr_type instr);
|
|
extern const struct select_node_type *select_type_for_node(
|
|
enum mie_select_opcode node);
|
|
|
|
#endif
|