Also refactor the way we deal with multiplication and division in codegen.
Also refactor the way we deal with multiplication and division in codegen.