Add support for getting the opcode of a constant expr