copy optimization settings from isa to codegenerator object