Added hook for new_ir_mode() and new_ir_vector_mode()