the symbol system will allow ops to reference each other via symbolic names, rather than just via their SSA output registers. this will allow for links between ops that are less strict than SSA. the two parts of the system are: - the symbol-table trait. ops with this trait can contain symbol ops. - the symbol interface. ops with this interface have the necessary attributes to be treated as symbols.
8 lines
251 B
C
8 lines
251 B
C
#include <mie/dialect/builtin.h>
|
|
#include <mie/interface/interface-definition.h>
|
|
#include <mie/macros.h>
|
|
|
|
MIE_INTERFACE_DEFINITION_BEGIN(mie_builtin_symbol, "symbol")
|
|
MIE_INTERFACE_DEFINITION_STRUCT(struct mie_symbol);
|
|
MIE_INTERFACE_DEFINITION_END()
|