It's a bit messy with them being in instructions.h - they are only there because it was the other file I had open at the time... that's laziness for you.
They should be moved to mir.h.
The functions (as it stands) are:
stringify_operand
is_const_int_with_value
is_global
is_int
is_register
is_basic_block
In fact, all of these are reasoning about values & not instructions... sigh
It's a bit messy with them being in
instructions.h
- they are only there because it was the other file I had open at the time... that's laziness for you.They should be moved to
mir.h
.The functions (as it stands) are:
stringify_operand
is_const_int_with_value
is_global
is_int
is_register
is_basic_block
In fact, all of these are reasoning about values & not instructions... sigh