Refactor increment and decrement operations codegen