I had tried to install the function above as an "instruction optimizer", but I found that I did not get callbacks consistently. Sometimes my plugin would get called and could modify the microcode, and other times it wouldn't. So, I created this block optimizer instead, which simply calls the code above for all microcode instructions in a block.
source not stored for this graph (policy: none)
nothing calls this directly
no outgoing calls
no test coverage detected