factored all optimization flags into ir_flag_t.def file