DontBelieveMe / helix

"Compiler Optimisation Techniques" - BSc Computer Science Final Year Project (Sheffield Hallam University)
2 stars 0 forks source link

Move the matching predicate & utility functions from `instructions.h` to `mir.h` #27

Open DontBelieveMe opened 2 years ago

DontBelieveMe commented 2 years ago

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:

In fact, all of these are reasoning about values & not instructions... sigh