rearrange some code to allow inferring instr info from the pattern of the instr,...