mie: add value type hierarchy definitions

every construct within Mie, such as constants, instructions, functions, and translation units, are sub-types of the generic mie_value struct.

mie_value will facilitate iterating through the IR, as well as converting the IR to/from different formats.
This commit is contained in:
2025-04-03 10:50:35 +01:00
parent df8d9689d1
commit e7f6d54fa2
9 changed files with 139 additions and 0 deletions

1
mie/value.c Normal file
View File

@@ -0,0 +1 @@
#include <mie/value.h>