remove has_gate

gcc/
	* passes.c (dump_one_pass): don't check pass->has_gate.
	(execute_ipa_summary_passes): Likewise.
	(execute_one_pass): Likewise.
	(ipa_write_summaries_2): Likewise.
	(ipa_write_optimization_summaries_1): Likewise.
	(ipa_read_optimization_summaries_1): Likewise.
	(execute_ipa_stmt_fixups): Likewise.
	* tree-pass.h (pass_data::has_gate): Remove.
	* asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
	cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
	compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
	config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
	config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
	config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc,
	config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c,
	dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c,
	gimple-low.c, gimple-ssa-isolate-paths.c,
	gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c,
	ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c, ipa-inline.c,
	ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c,
	ira.c, jump.c, loop-init.c, lower-subreg.c, mode-switching.c,
	modulo-sched.c, omp-low.c, postreload-gcse.c, postreload.c, predict.c,
	recog.c, ree.c, reg-stack.c, regcprop.c, reginfo.c, regrename.c,
	reorg.c, sched-rgn.c, stack-ptr-mod.c, store-motion.c, tracer.c,
	trans-mem.c, tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c,
	tree-complex.c, tree-eh.c, tree-emutls.c, tree-if-conv.c,
	tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c,
	tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-profile.c,
	tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
	tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
	tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
	tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
	tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
	tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
	tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
	tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
	tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
	tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
	tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c:
	Adjust.

gcc/testsuite/
	* g++.dg/plugin/dumb_plugin.c, g++.dg/plugin/selfassign.c,
	gcc.dg/plugin/one_time_plugin.c, gcc.dg/plugin/selfassign.c: Adjust.

From-SVN: r209479
This commit is contained in:
Trevor Saunders 2014-04-17 12:36:56 +00:00 committed by Trevor Saunders
parent a23c217d73
commit 0481253d15
130 changed files with 58 additions and 250 deletions

View File

@ -1,3 +1,46 @@
2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
* passes.c (dump_one_pass): don't check pass->has_gate.
(execute_ipa_summary_passes): Likewise.
(execute_one_pass): Likewise.
(ipa_write_summaries_2): Likewise.
(ipa_write_optimization_summaries_1): Likewise.
(ipa_read_optimization_summaries_1): Likewise.
(execute_ipa_stmt_fixups): Likewise.
* tree-pass.h (pass_data::has_gate): Remove.
* asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc,
config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c,
dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c,
gimple-low.c, gimple-ssa-isolate-paths.c,
gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c,
ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c, ipa-inline.c,
ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c,
ira.c, jump.c, loop-init.c, lower-subreg.c, mode-switching.c,
modulo-sched.c, omp-low.c, postreload-gcse.c, postreload.c, predict.c,
recog.c, ree.c, reg-stack.c, regcprop.c, reginfo.c, regrename.c,
reorg.c, sched-rgn.c, stack-ptr-mod.c, store-motion.c, tracer.c,
trans-mem.c, tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c,
tree-complex.c, tree-eh.c, tree-emutls.c, tree-if-conv.c,
tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c,
tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-profile.c,
tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c:
Adjust.
2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
* pass_manager.h (pass_manager::register_dump_files_1): Remove declaration.

View File

@ -2485,7 +2485,6 @@ const pass_data pass_data_asan =
GIMPLE_PASS, /* type */
"asan", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
( PROP_ssa | PROP_cfg | PROP_gimple_leh ), /* properties_required */
@ -2531,7 +2530,6 @@ const pass_data pass_data_asan_O0 =
GIMPLE_PASS, /* type */
"asan0", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
( PROP_ssa | PROP_cfg | PROP_gimple_leh ), /* properties_required */
@ -2614,7 +2612,6 @@ const pass_data pass_data_sanopt =
GIMPLE_PASS, /* type */
"sanopt", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
( PROP_ssa | PROP_cfg | PROP_gimple_leh ), /* properties_required */

View File

@ -1513,7 +1513,6 @@ const pass_data pass_data_inc_dec =
RTL_PASS, /* type */
"auto_inc_dec", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_AUTO_INC_DEC, /* tv_id */
0, /* properties_required */

View File

@ -2338,7 +2338,6 @@ const pass_data pass_data_reorder_blocks =
RTL_PASS, /* type */
"bbro", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_REORDER_BLOCKS, /* tv_id */
0, /* properties_required */
@ -2511,7 +2510,6 @@ const pass_data pass_data_duplicate_computed_gotos =
RTL_PASS, /* type */
"compgotos", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_REORDER_BLOCKS, /* tv_id */
0, /* properties_required */
@ -2735,7 +2733,6 @@ const pass_data pass_data_partition_blocks =
RTL_PASS, /* type */
"bbpart", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_REORDER_BLOCKS, /* tv_id */
PROP_cfglayout, /* properties_required */

View File

@ -1515,7 +1515,6 @@ const pass_data pass_data_branch_target_load_optimize1 =
RTL_PASS, /* type */
"btl1", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */
@ -1584,7 +1583,6 @@ const pass_data pass_data_branch_target_load_optimize2 =
RTL_PASS, /* type */
"btl2", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */

View File

@ -3096,7 +3096,6 @@ const pass_data pass_data_jump =
RTL_PASS, /* type */
"jump", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_JUMP, /* tv_id */
0, /* properties_required */
@ -3140,7 +3139,6 @@ const pass_data pass_data_jump2 =
RTL_PASS, /* type */
"jump2", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_JUMP, /* tv_id */
0, /* properties_required */

View File

@ -5923,7 +5923,6 @@ const pass_data pass_data_expand =
RTL_PASS, /* type */
"expand", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_EXPAND, /* tv_id */
( PROP_ssa | PROP_gimple_leh | PROP_cfg

View File

@ -469,7 +469,6 @@ const pass_data pass_data_free_cfg =
RTL_PASS, /* type */
"*free_cfg", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */
@ -3495,7 +3494,6 @@ const pass_data pass_data_into_cfg_layout_mode =
RTL_PASS, /* type */
"into_cfglayout", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_CFG, /* tv_id */
0, /* properties_required */
@ -3532,7 +3530,6 @@ const pass_data pass_data_outof_cfg_layout_mode =
RTL_PASS, /* type */
"outof_cfglayout", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_CFG, /* tv_id */
0, /* properties_required */

View File

@ -388,7 +388,6 @@ const pass_data pass_data_build_cgraph_edges =
GIMPLE_PASS, /* type */
"*build_cgraph_edges", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
PROP_cfg, /* properties_required */
@ -522,7 +521,6 @@ const pass_data pass_data_rebuild_cgraph_edges =
GIMPLE_PASS, /* type */
"*rebuild_cgraph_edges", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_CGRAPH, /* tv_id */
PROP_cfg, /* properties_required */
@ -570,7 +568,6 @@ const pass_data pass_data_remove_cgraph_callee_edges =
GIMPLE_PASS, /* type */
"*remove_cgraph_callee_edges", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */

View File

@ -650,7 +650,6 @@ const pass_data pass_data_stack_adjustments =
RTL_PASS, /* type */
"csa", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_COMBINE_STACK_ADJUST, /* tv_id */
0, /* properties_required */

View File

@ -13897,7 +13897,6 @@ const pass_data pass_data_combine =
RTL_PASS, /* type */
"combine", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_COMBINE, /* tv_id */
PROP_cfglayout, /* properties_required */

View File

@ -659,7 +659,6 @@ const pass_data pass_data_compare_elim_after_reload =
RTL_PASS, /* type */
"cmpelim", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */

View File

@ -605,7 +605,6 @@ const pass_data pass_data_arc_ifcvt =
RTL_PASS,
"arc_ifcvt", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_IFCVT2, /* tv_id */
0, /* properties_required */
@ -644,7 +643,6 @@ const pass_data pass_data_arc_predicate_delay_insns =
RTL_PASS,
"arc_predicate_delay_insns", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_IFCVT2, /* tv_id */
0, /* properties_required */

View File

@ -78,7 +78,6 @@ const pass_data pass_data_mode_switch_use =
RTL_PASS, /* type */
"mode_switch_use", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */

View File

@ -168,7 +168,6 @@ const pass_data pass_data_resolve_sw_modes =
RTL_PASS, /* type */
"resolve_sw_modes", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_MODE_SWITCH, /* tv_id */
0, /* properties_required */

View File

@ -2526,7 +2526,6 @@ const pass_data pass_data_insert_vzeroupper =
RTL_PASS, /* type */
"vzeroupper", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */

View File

@ -16533,7 +16533,6 @@ const pass_data pass_data_mips_machine_reorg2 =
RTL_PASS, /* type */
"mach2", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_MACH_DEP, /* tv_id */
0, /* properties_required */

View File

@ -142,7 +142,6 @@ const pass_data pass_data_rl78_devirt =
RTL_PASS, /* type */
"devirt", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_MACH_DEP, /* tv_id */
0, /* properties_required */
@ -226,7 +225,6 @@ const pass_data pass_data_rl78_move_elim =
RTL_PASS, /* type */
"move_elim", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_MACH_DEP, /* tv_id */
0, /* properties_required */

View File

@ -8665,7 +8665,6 @@ const pass_data pass_data_s390_early_mach =
RTL_PASS, /* type */
"early_mach", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_MACH_DEP, /* tv_id */
0, /* properties_required */

View File

@ -138,7 +138,6 @@ const pass_data sh_optimize_sett_clrt::default_pass_data =
RTL_PASS, // type
"", // name (overwritten by the constructor)
OPTGROUP_NONE, // optinfo_flags
true, // has_gate
true, // has_execute
TV_OPTIMIZE, // tv_id
0, // properties_required

View File

@ -593,7 +593,6 @@ const pass_data sh_treg_combine::default_pass_data =
RTL_PASS, // type
"", // name (overwritten by the constructor)
OPTGROUP_NONE, // optinfo_flags
true, // has_gate
true, // has_execute
TV_OPTIMIZE, // tv_id
0, // properties_required

View File

@ -1129,7 +1129,6 @@ const pass_data pass_data_work_around_errata =
RTL_PASS, /* type */
"errata", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_MACH_DEP, /* tv_id */
0, /* properties_required */

View File

@ -1925,7 +1925,6 @@ const pass_data pass_data_rtl_cprop =
RTL_PASS, /* type */
"cprop", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_CPROP, /* tv_id */
PROP_cfglayout, /* properties_required */

View File

@ -7497,7 +7497,6 @@ const pass_data pass_data_cse =
RTL_PASS, /* type */
"cse1", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_CSE, /* tv_id */
0, /* properties_required */
@ -7577,7 +7576,6 @@ const pass_data pass_data_cse2 =
RTL_PASS, /* type */
"cse2", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_CSE2, /* tv_id */
0, /* properties_required */
@ -7655,7 +7653,6 @@ const pass_data pass_data_cse_after_global_opts =
RTL_PASS, /* type */
"cse_local", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_CSE, /* tv_id */
0, /* properties_required */

View File

@ -793,7 +793,6 @@ const pass_data pass_data_ud_rtl_dce =
RTL_PASS, /* type */
"ud_dce", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_DCE, /* tv_id */
0, /* properties_required */
@ -1226,7 +1225,6 @@ const pass_data pass_data_fast_rtl_dce =
RTL_PASS, /* type */
"rtl_dce", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_DCE, /* tv_id */
0, /* properties_required */

View File

@ -754,7 +754,6 @@ const pass_data pass_data_df_initialize_opt =
RTL_PASS, /* type */
"dfinit", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_DF_SCAN, /* tv_id */
0, /* properties_required */
@ -800,7 +799,6 @@ const pass_data pass_data_df_initialize_no_opt =
RTL_PASS, /* type */
"no-opt dfinit", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_DF_SCAN, /* tv_id */
0, /* properties_required */
@ -866,7 +864,6 @@ const pass_data pass_data_df_finish =
RTL_PASS, /* type */
"dfinish", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */

View File

@ -3733,7 +3733,6 @@ const pass_data pass_data_rtl_dse1 =
RTL_PASS, /* type */
"dse1", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_DSE1, /* tv_id */
0, /* properties_required */
@ -3771,7 +3770,6 @@ const pass_data pass_data_rtl_dse2 =
RTL_PASS, /* type */
"dse2", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_DSE2, /* tv_id */
0, /* properties_required */

View File

@ -3399,7 +3399,6 @@ const pass_data pass_data_dwarf2_frame =
RTL_PASS, /* type */
"dwarf2", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_FINAL, /* tv_id */
0, /* properties_required */

View File

@ -2008,7 +2008,6 @@ const pass_data pass_data_set_nothrow_function_flags =
RTL_PASS, /* type */
"nothrow", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */
@ -2639,7 +2638,6 @@ const pass_data pass_data_convert_to_eh_region_ranges =
RTL_PASS, /* type */
"eh_ranges", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */

View File

@ -854,7 +854,6 @@ const pass_data pass_data_compute_alignments =
RTL_PASS, /* type */
"alignments", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */
@ -4483,7 +4482,6 @@ const pass_data pass_data_final =
RTL_PASS, /* type */
"final", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_FINAL, /* tv_id */
0, /* properties_required */
@ -4529,7 +4527,6 @@ const pass_data pass_data_shorten_branches =
RTL_PASS, /* type */
"shorten", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_SHORTEN_BRANCH, /* tv_id */
0, /* properties_required */
@ -4693,7 +4690,6 @@ const pass_data pass_data_clean_state =
RTL_PASS, /* type */
"*clean_state", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_FINAL, /* tv_id */
0, /* properties_required */

View File

@ -1950,7 +1950,6 @@ const pass_data pass_data_instantiate_virtual_regs =
RTL_PASS, /* type */
"vregs", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */
@ -6949,7 +6948,6 @@ const pass_data pass_data_leaf_regs =
RTL_PASS, /* type */
"*leaf_regs", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */
@ -7009,7 +7007,6 @@ const pass_data pass_data_thread_prologue_and_epilogue =
RTL_PASS, /* type */
"pro_and_epilogue", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_THREAD_PROLOGUE_AND_EPILOGUE, /* tv_id */
0, /* properties_required */
@ -7229,7 +7226,6 @@ const pass_data pass_data_match_asm_constraints =
RTL_PASS, /* type */
"asmcons", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */

View File

@ -1490,7 +1490,6 @@ const pass_data pass_data_rtl_fwprop =
RTL_PASS, /* type */
"fwprop1", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_FWPROP, /* tv_id */
0, /* properties_required */
@ -1557,7 +1556,6 @@ const pass_data pass_data_rtl_fwprop_addr =
RTL_PASS, /* type */
"fwprop2", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_FWPROP, /* tv_id */
0, /* properties_required */

View File

@ -4220,7 +4220,6 @@ const pass_data pass_data_rtl_pre =
RTL_PASS, /* type */
"rtl pre", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_PRE, /* tv_id */
PROP_cfglayout, /* properties_required */
@ -4259,7 +4258,6 @@ const pass_data pass_data_rtl_hoist =
RTL_PASS, /* type */
"hoist", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_HOIST, /* tv_id */
PROP_cfglayout, /* properties_required */

View File

@ -163,7 +163,6 @@ const pass_data pass_data_lower_cf =
GIMPLE_PASS, /* type */
"lower", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
PROP_gimple_any, /* properties_required */

View File

@ -429,7 +429,6 @@ const pass_data pass_data_isolate_erroneous_paths =
GIMPLE_PASS, /* type */
"isolate-paths", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_ISOLATE_ERRONEOUS_PATHS, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */

View File

@ -3659,7 +3659,6 @@ const pass_data pass_data_strength_reduction =
GIMPLE_PASS, /* type */
"slsr", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_GIMPLE_SLSR, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */

View File

@ -357,7 +357,6 @@ const pass_data pass_data_graphite =
GIMPLE_PASS, /* type */
"graphite0", /* name */
OPTGROUP_LOOP, /* optinfo_flags */
true, /* has_gate */
false, /* has_execute */
TV_GRAPHITE, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */
@ -394,7 +393,6 @@ const pass_data pass_data_graphite_transforms =
GIMPLE_PASS, /* type */
"graphite", /* name */
OPTGROUP_LOOP, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_GRAPHITE_TRANSFORMS, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */

View File

@ -4545,7 +4545,6 @@ const pass_data pass_data_rtl_ifcvt =
RTL_PASS, /* type */
"ce1", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_IFCVT, /* tv_id */
0, /* properties_required */
@ -4600,7 +4599,6 @@ const pass_data pass_data_if_after_combine =
RTL_PASS, /* type */
"ce2", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_IFCVT, /* tv_id */
0, /* properties_required */
@ -4654,7 +4652,6 @@ const pass_data pass_data_if_after_reload =
RTL_PASS, /* type */
"ce3", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_IFCVT2, /* tv_id */
0, /* properties_required */

View File

@ -145,7 +145,6 @@ const pass_data pass_data_initialize_regs =
RTL_PASS, /* type */
"init-regs", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */

View File

@ -3779,7 +3779,6 @@ const pass_data pass_data_ipa_cp =
IPA_PASS, /* type */
"cp", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_IPA_CONSTANT_PROP, /* tv_id */
0, /* properties_required */

View File

@ -2113,7 +2113,6 @@ const pass_data pass_data_ipa_devirt =
IPA_PASS, /* type */
"devirt", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_IPA_DEVIRT, /* tv_id */
0, /* properties_required */

View File

@ -2920,7 +2920,6 @@ const pass_data pass_data_inline_parameters =
GIMPLE_PASS, /* type */
"inline_param", /* name */
OPTGROUP_INLINE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_INLINE_PARAMETERS, /* tv_id */
0, /* properties_required */

View File

@ -2340,7 +2340,6 @@ const pass_data pass_data_early_inline =
GIMPLE_PASS, /* type */
"einline", /* name */
OPTGROUP_INLINE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_EARLY_INLINING, /* tv_id */
PROP_ssa, /* properties_required */
@ -2377,7 +2376,6 @@ const pass_data pass_data_ipa_inline =
IPA_PASS, /* type */
"inline", /* name */
OPTGROUP_INLINE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_IPA_INLINING, /* tv_id */
0, /* properties_required */

View File

@ -724,7 +724,6 @@ const pass_data pass_data_ipa_profile =
IPA_PASS, /* type */
"profile_estimate", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_IPA_PROFILE, /* tv_id */
0, /* properties_required */

View File

@ -1515,7 +1515,6 @@ const pass_data pass_data_ipa_pure_const =
IPA_PASS, /* type */
"pure-const", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_IPA_PURE_CONST, /* tv_id */
0, /* properties_required */
@ -1699,7 +1698,6 @@ const pass_data pass_data_local_pure_const =
GIMPLE_PASS, /* type */
"local-pure-const", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_IPA_PURE_CONST, /* tv_id */
0, /* properties_required */
@ -1755,7 +1753,6 @@ const pass_data pass_data_warn_function_noreturn =
GIMPLE_PASS, /* type */
"*warn_function_noreturn", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
PROP_cfg, /* properties_required */

View File

@ -1163,7 +1163,6 @@ const pass_data pass_data_ipa_reference =
IPA_PASS, /* type */
"static-var", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_IPA_REFERENCE, /* tv_id */
0, /* properties_required */

View File

@ -1664,7 +1664,6 @@ const pass_data pass_data_split_functions =
GIMPLE_PASS, /* type */
"fnsplit", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_IPA_FNSPLIT, /* tv_id */
PROP_cfg, /* properties_required */
@ -1724,7 +1723,6 @@ const pass_data pass_data_feedback_split_functions =
GIMPLE_PASS, /* type */
"feedback_fnsplit", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_IPA_FNSPLIT, /* tv_id */
PROP_cfg, /* properties_required */

View File

@ -1206,7 +1206,6 @@ const pass_data pass_data_ipa_function_and_variable_visibility =
SIMPLE_IPA_PASS, /* type */
"visibility", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_CGRAPHOPT, /* tv_id */
0, /* properties_required */
@ -1255,7 +1254,6 @@ const pass_data pass_data_ipa_free_inline_summary =
SIMPLE_IPA_PASS, /* type */
"*free_inline_summary", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_IPA_FREE_INLINE_SUMMARY, /* tv_id */
0, /* properties_required */
@ -1311,7 +1309,6 @@ const pass_data pass_data_ipa_whole_program_visibility =
IPA_PASS, /* type */
"whole-program", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_CGRAPHOPT, /* tv_id */
0, /* properties_required */
@ -1644,7 +1641,6 @@ const pass_data pass_data_ipa_cdtor_merge =
IPA_PASS, /* type */
"cdtor", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_CGRAPHOPT, /* tv_id */
0, /* properties_required */

View File

@ -5562,7 +5562,6 @@ const pass_data pass_data_ira =
RTL_PASS, /* type */
"ira", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_IRA, /* tv_id */
0, /* properties_required */
@ -5606,7 +5605,6 @@ const pass_data pass_data_reload =
RTL_PASS, /* type */
"reload", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_RELOAD, /* tv_id */
0, /* properties_required */

View File

@ -146,7 +146,6 @@ const pass_data pass_data_cleanup_barriers =
RTL_PASS, /* type */
"barriers", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */

View File

@ -320,7 +320,6 @@ const pass_data pass_data_loop2 =
RTL_PASS, /* type */
"loop2", /* name */
OPTGROUP_LOOP, /* optinfo_flags */
true, /* has_gate */
false, /* has_execute */
TV_LOOP, /* tv_id */
0, /* properties_required */
@ -374,7 +373,6 @@ const pass_data pass_data_rtl_loop_init =
RTL_PASS, /* type */
"loop2_init", /* name */
OPTGROUP_LOOP, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_LOOP, /* tv_id */
0, /* properties_required */
@ -432,7 +430,6 @@ const pass_data pass_data_rtl_loop_done =
RTL_PASS, /* type */
"loop2_done", /* name */
OPTGROUP_LOOP, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_LOOP, /* tv_id */
0, /* properties_required */
@ -485,7 +482,6 @@ const pass_data pass_data_rtl_move_loop_invariants =
RTL_PASS, /* type */
"loop2_invariant", /* name */
OPTGROUP_LOOP, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_LOOP_MOVE_INVARIANTS, /* tv_id */
0, /* properties_required */
@ -540,7 +536,6 @@ const pass_data pass_data_rtl_unswitch =
RTL_PASS, /* type */
"loop2_unswitch", /* name */
OPTGROUP_LOOP, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_LOOP_UNSWITCH, /* tv_id */
0, /* properties_required */
@ -607,7 +602,6 @@ const pass_data pass_data_rtl_unroll_and_peel_loops =
RTL_PASS, /* type */
"loop2_unroll", /* name */
OPTGROUP_LOOP, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_LOOP_UNROLL, /* tv_id */
0, /* properties_required */
@ -667,7 +661,6 @@ const pass_data pass_data_rtl_doloop =
RTL_PASS, /* type */
"loop2_doloop", /* name */
OPTGROUP_LOOP, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_LOOP_DOLOOP, /* tv_id */
0, /* properties_required */

View File

@ -1720,7 +1720,6 @@ const pass_data pass_data_lower_subreg =
RTL_PASS, /* type */
"subreg1", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_LOWER_SUBREG, /* tv_id */
0, /* properties_required */
@ -1758,7 +1757,6 @@ const pass_data pass_data_lower_subreg2 =
RTL_PASS, /* type */
"subreg2", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_LOWER_SUBREG, /* tv_id */
0, /* properties_required */

View File

@ -816,7 +816,6 @@ const pass_data pass_data_mode_switching =
RTL_PASS, /* type */
"mode_sw", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_MODE_SWITCH, /* tv_id */
0, /* properties_required */

View File

@ -3362,7 +3362,6 @@ const pass_data pass_data_sms =
RTL_PASS, /* type */
"sms", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_SMS, /* tv_id */
0, /* properties_required */

View File

@ -8340,7 +8340,6 @@ const pass_data pass_data_expand_omp =
GIMPLE_PASS, /* type */
"ompexp", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
PROP_gimple_any, /* properties_required */
@ -10201,7 +10200,6 @@ const pass_data pass_data_lower_omp =
GIMPLE_PASS, /* type */
"omplower", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
PROP_gimple_any, /* properties_required */
@ -10632,7 +10630,6 @@ const pass_data pass_data_diagnose_omp_blocks =
GIMPLE_PASS, /* type */
"*diagnose_omp_blocks", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
PROP_gimple_any, /* properties_required */
@ -11797,7 +11794,6 @@ const pass_data pass_data_omp_simd_clone =
SIMPLE_IPA_PASS, /* type */
"simdclone", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
( PROP_ssa | PROP_cfg ), /* properties_required */

View File

@ -353,7 +353,6 @@ const pass_data pass_data_early_local_passes =
SIMPLE_IPA_PASS, /* type */
"early_local_cleanups", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_EARLY_LOCAL, /* tv_id */
0, /* properties_required */
@ -401,7 +400,6 @@ const pass_data pass_data_all_early_optimizations =
GIMPLE_PASS, /* type */
"early_optimizations", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
false, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */
@ -446,7 +444,6 @@ const pass_data pass_data_all_optimizations =
GIMPLE_PASS, /* type */
"*all_optimizations", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
false, /* has_execute */
TV_OPTIMIZE, /* tv_id */
0, /* properties_required */
@ -491,7 +488,6 @@ const pass_data pass_data_all_optimizations_g =
GIMPLE_PASS, /* type */
"*all_optimizations_g", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
false, /* has_execute */
TV_OPTIMIZE, /* tv_id */
0, /* properties_required */
@ -536,7 +532,6 @@ const pass_data pass_data_rest_of_compilation =
RTL_PASS, /* type */
"*rest_of_compilation", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
false, /* has_execute */
TV_REST_OF_COMPILATION, /* tv_id */
PROP_rtl, /* properties_required */
@ -579,7 +574,6 @@ const pass_data pass_data_postreload =
RTL_PASS, /* type */
"*all-postreload", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
false, /* has_execute */
TV_POSTRELOAD, /* tv_id */
PROP_rtl, /* properties_required */
@ -829,7 +823,7 @@ dump_one_pass (opt_pass *pass, int pass_indent)
const char *pn;
bool is_on, is_really_on;
is_on = pass->has_gate ? pass->gate () : true;
is_on = pass->gate ();
is_really_on = override_gate_status (pass, current_function_decl, is_on);
if (pass->static_pass_number <= 0)
@ -1982,7 +1976,7 @@ execute_ipa_summary_passes (ipa_opt_pass_d *ipa_pass)
/* Execute all of the IPA_PASSes in the list. */
if (ipa_pass->type == IPA_PASS
&& ((!pass->has_gate) || pass->gate ())
&& pass->gate ()
&& ipa_pass->generate_summary)
{
pass_init_dump_file (pass);
@ -2134,7 +2128,7 @@ execute_one_pass (opt_pass *pass)
/* Check whether gate check should be avoided.
User controls the value of the gate through the parameter "gate_status". */
gate_status = pass->has_gate ? pass->gate () : true;
gate_status = pass->gate ();
gate_status = override_gate_status (pass, current_function_decl, gate_status);
/* Override gate with plugin. */
@ -2280,7 +2274,7 @@ ipa_write_summaries_2 (opt_pass *pass, struct lto_out_decl_state *state)
gcc_assert (pass->type == SIMPLE_IPA_PASS || pass->type == IPA_PASS);
if (pass->type == IPA_PASS
&& ipa_pass->write_summary
&& ((!pass->has_gate) || pass->gate ()))
&& pass->gate ())
{
/* If a timevar is present, start it. */
if (pass->tv_id)
@ -2398,7 +2392,7 @@ ipa_write_optimization_summaries_1 (opt_pass *pass,
gcc_assert (pass->type == SIMPLE_IPA_PASS || pass->type == IPA_PASS);
if (pass->type == IPA_PASS
&& ipa_pass->write_optimization_summary
&& ((!pass->has_gate) || pass->gate ()))
&& pass->gate ())
{
/* If a timevar is present, start it. */
if (pass->tv_id)
@ -2476,7 +2470,7 @@ ipa_read_summaries_1 (opt_pass *pass)
gcc_assert (!cfun);
gcc_assert (pass->type == SIMPLE_IPA_PASS || pass->type == IPA_PASS);
if ((!pass->has_gate) || pass->gate ())
if (pass->gate ())
{
if (pass->type == IPA_PASS && ipa_pass->read_summary)
{
@ -2526,7 +2520,7 @@ ipa_read_optimization_summaries_1 (opt_pass *pass)
gcc_assert (!cfun);
gcc_assert (pass->type == SIMPLE_IPA_PASS || pass->type == IPA_PASS);
if ((!pass->has_gate) || pass->gate ())
if (pass->gate ())
{
if (pass->type == IPA_PASS && ipa_pass->read_optimization_summary)
{
@ -2603,7 +2597,7 @@ execute_ipa_stmt_fixups (opt_pass *pass,
{
/* Execute all of the IPA_PASSes in the list. */
if (pass->type == IPA_PASS
&& ((!pass->has_gate) || pass->gate ()))
&& pass->gate ())
{
ipa_opt_pass_d *ipa_pass = (ipa_opt_pass_d *) pass;

View File

@ -1331,7 +1331,6 @@ const pass_data pass_data_gcse2 =
RTL_PASS, /* type */
"gcse2", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_GCSE_AFTER_RELOAD, /* tv_id */
0, /* properties_required */

View File

@ -2346,7 +2346,6 @@ const pass_data pass_data_postreload_cse =
RTL_PASS, /* type */
"postreload", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_RELOAD_CSE_REGS, /* tv_id */
0, /* properties_required */

View File

@ -3160,7 +3160,6 @@ const pass_data pass_data_profile =
GIMPLE_PASS, /* type */
"profile_estimate", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_BRANCH_PROB, /* tv_id */
PROP_cfg, /* properties_required */
@ -3198,7 +3197,6 @@ const pass_data pass_data_strip_predict_hints =
GIMPLE_PASS, /* type */
"*strip_predict_hints", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_BRANCH_PROB, /* tv_id */
PROP_cfg, /* properties_required */

View File

@ -3832,7 +3832,6 @@ const pass_data pass_data_peephole2 =
RTL_PASS, /* type */
"peephole2", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_PEEPHOLE2, /* tv_id */
0, /* properties_required */
@ -3880,7 +3879,6 @@ const pass_data pass_data_split_all_insns =
RTL_PASS, /* type */
"split1", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */
@ -3931,7 +3929,6 @@ const pass_data pass_data_split_after_reload =
RTL_PASS, /* type */
"split2", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */
@ -3993,7 +3990,6 @@ const pass_data pass_data_split_before_regstack =
RTL_PASS, /* type */
"split3", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */
@ -4052,7 +4048,6 @@ const pass_data pass_data_split_before_sched2 =
RTL_PASS, /* type */
"split4", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */
@ -4102,7 +4097,6 @@ const pass_data pass_data_split_for_shorten_branches =
RTL_PASS, /* type */
"split5", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */

View File

@ -1108,7 +1108,6 @@ const pass_data pass_data_ree =
RTL_PASS, /* type */
"ree", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_REE, /* tv_id */
0, /* properties_required */

View File

@ -3302,7 +3302,6 @@ const pass_data pass_data_stack_regs =
RTL_PASS, /* type */
"*stack_regs", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
false, /* has_execute */
TV_REG_STACK, /* tv_id */
0, /* properties_required */
@ -3351,7 +3350,6 @@ const pass_data pass_data_stack_regs_run =
RTL_PASS, /* type */
"stack", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_REG_STACK, /* tv_id */
0, /* properties_required */

View File

@ -1261,7 +1261,6 @@ const pass_data pass_data_cprop_hardreg =
RTL_PASS, /* type */
"cprop_hardreg", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_CPROP_REGISTERS, /* tv_id */
0, /* properties_required */

View File

@ -968,7 +968,6 @@ const pass_data pass_data_reginfo_init =
RTL_PASS, /* type */
"reginfo", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */

View File

@ -1849,7 +1849,6 @@ const pass_data pass_data_regrename =
RTL_PASS, /* type */
"rnreg", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_RENAME_REGISTERS, /* tv_id */
0, /* properties_required */

View File

@ -3891,7 +3891,6 @@ const pass_data pass_data_delay_slots =
RTL_PASS, /* type */
"dbr", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_DBR_SCHED, /* tv_id */
0, /* properties_required */
@ -3944,7 +3943,6 @@ const pass_data pass_data_machine_reorg =
RTL_PASS, /* type */
"mach", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_MACH_DEP, /* tv_id */
0, /* properties_required */

View File

@ -3681,7 +3681,6 @@ const pass_data pass_data_live_range_shrinkage =
RTL_PASS, /* type */
"lr_shrinkage", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_LIVE_RANGE_SHRINKAGE, /* tv_id */
0, /* properties_required */
@ -3720,7 +3719,6 @@ const pass_data pass_data_sched =
RTL_PASS, /* type */
"sched1", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_SCHED, /* tv_id */
0, /* properties_required */
@ -3759,7 +3757,6 @@ const pass_data pass_data_sched2 =
RTL_PASS, /* type */
"sched2", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_SCHED2, /* tv_id */
0, /* properties_required */

View File

@ -97,7 +97,6 @@ const pass_data pass_data_stack_ptr_mod =
RTL_PASS, /* type */
"*stack_ptr_mod", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
0, /* properties_required */

View File

@ -1248,7 +1248,6 @@ const pass_data pass_data_rtl_store_motion =
RTL_PASS, /* type */
"store_motion", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_LSM, /* tv_id */
PROP_cfglayout, /* properties_required */

View File

@ -1,3 +1,8 @@
2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
* g++.dg/plugin/dumb_plugin.c, g++.dg/plugin/selfassign.c,
gcc.dg/plugin/one_time_plugin.c, gcc.dg/plugin/selfassign.c: Adjust.
2014-04-17 Jakub Jelinek <jakub@redhat.com>
PR target/60847

View File

@ -65,7 +65,6 @@ const pass_data pass_data_dumb_plugin_example =
GIMPLE_PASS, /* type */
"dumb_plugin_example", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
PROP_cfg, /* properties_required */

View File

@ -285,7 +285,6 @@ const pass_data pass_data_warn_self_assign =
GIMPLE_PASS, /* type */
"warn_self_assign", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
PROP_ssa, /* properties_required */

View File

@ -31,7 +31,6 @@ const pass_data pass_data_one_pass =
GIMPLE_PASS, /* type */
"cfg", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
PROP_gimple_any, /* properties_required */

View File

@ -285,7 +285,6 @@ const pass_data pass_data_warn_self_assign =
GIMPLE_PASS, /* type */
"warn_self_assign", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
PROP_ssa, /* properties_required */

View File

@ -411,7 +411,6 @@ const pass_data pass_data_tracer =
GIMPLE_PASS, /* type */
"tracer", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TRACER, /* tv_id */
0, /* properties_required */

View File

@ -846,7 +846,6 @@ const pass_data pass_data_diagnose_tm_blocks =
GIMPLE_PASS, /* type */
"*diagnose_tm_blocks", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TRANS_MEM, /* tv_id */
PROP_gimple_any, /* properties_required */
@ -1769,7 +1768,6 @@ const pass_data pass_data_lower_tm =
GIMPLE_PASS, /* type */
"tmlower", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TRANS_MEM, /* tv_id */
PROP_gimple_lcf, /* properties_required */
@ -2047,7 +2045,6 @@ const pass_data pass_data_tm_init =
GIMPLE_PASS, /* type */
"*tminit", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
false, /* has_execute */
TV_TRANS_MEM, /* tv_id */
( PROP_ssa | PROP_cfg ), /* properties_required */
@ -3023,7 +3020,6 @@ const pass_data pass_data_tm_mark =
GIMPLE_PASS, /* type */
"tmmark", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_TRANS_MEM, /* tv_id */
( PROP_ssa | PROP_cfg ), /* properties_required */
@ -3206,7 +3202,6 @@ const pass_data pass_data_tm_edges =
GIMPLE_PASS, /* type */
"tmedge", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_TRANS_MEM, /* tv_id */
( PROP_ssa | PROP_cfg ), /* properties_required */
@ -3947,7 +3942,6 @@ const pass_data pass_data_tm_memopt =
GIMPLE_PASS, /* type */
"tmmemopt", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TRANS_MEM, /* tv_id */
( PROP_ssa | PROP_cfg ), /* properties_required */
@ -5584,7 +5578,6 @@ const pass_data pass_data_ipa_tm =
SIMPLE_IPA_PASS, /* type */
"tmipa", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TRANS_MEM, /* tv_id */
( PROP_ssa | PROP_cfg ), /* properties_required */

View File

@ -933,7 +933,6 @@ const pass_data pass_data_call_cdce =
GIMPLE_PASS, /* type */
"cdce", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_CALL_CDCE, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */

View File

@ -351,7 +351,6 @@ const pass_data pass_data_build_cfg =
GIMPLE_PASS, /* type */
"cfg", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_TREE_CFG, /* tv_id */
PROP_gimple_leh, /* properties_required */
@ -8084,7 +8083,6 @@ const pass_data pass_data_split_crit_edges =
GIMPLE_PASS, /* type */
"crited", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_TREE_SPLIT_EDGES, /* tv_id */
PROP_cfg, /* properties_required */
@ -8256,7 +8254,6 @@ const pass_data pass_data_warn_function_return =
GIMPLE_PASS, /* type */
"*warn_function_return", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
PROP_cfg, /* properties_required */
@ -8371,7 +8368,6 @@ const pass_data pass_data_warn_unused_result =
GIMPLE_PASS, /* type */
"*warn_unused_result", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
PROP_gimple_any, /* properties_required */
@ -8514,7 +8510,6 @@ const pass_data pass_data_fixup_cfg =
GIMPLE_PASS, /* type */
"*free_cfg_annotations", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
PROP_cfg, /* properties_required */

View File

@ -1048,7 +1048,6 @@ const pass_data pass_data_merge_phi =
GIMPLE_PASS, /* type */
"mergephi", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_MERGE_PHI, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */
@ -1133,7 +1132,6 @@ const pass_data pass_data_cleanup_cfg_post_optimizing =
GIMPLE_PASS, /* type */
"optimized", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_TREE_CLEANUP_CFG, /* tv_id */
PROP_cfg, /* properties_required */

View File

@ -1662,7 +1662,6 @@ const pass_data pass_data_lower_complex =
GIMPLE_PASS, /* type */
"cplxlower", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
PROP_ssa, /* properties_required */
@ -1709,7 +1708,6 @@ const pass_data pass_data_lower_complex_O0 =
GIMPLE_PASS, /* type */
"cplxlower0", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
PROP_cfg, /* properties_required */

View File

@ -2170,7 +2170,6 @@ const pass_data pass_data_lower_eh =
GIMPLE_PASS, /* type */
"eh", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_TREE_EH, /* tv_id */
PROP_gimple_lcf, /* properties_required */
@ -3129,7 +3128,6 @@ const pass_data pass_data_refactor_eh =
GIMPLE_PASS, /* type */
"ehopt", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_EH, /* tv_id */
PROP_gimple_lcf, /* properties_required */
@ -3356,7 +3354,6 @@ const pass_data pass_data_lower_resx =
GIMPLE_PASS, /* type */
"resx", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_EH, /* tv_id */
PROP_gimple_lcf, /* properties_required */
@ -3765,7 +3762,6 @@ const pass_data pass_data_lower_eh_dispatch =
GIMPLE_PASS, /* type */
"ehdisp", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_EH, /* tv_id */
PROP_gimple_lcf, /* properties_required */
@ -4613,7 +4609,6 @@ const pass_data pass_data_cleanup_eh =
GIMPLE_PASS, /* type */
"ehcleanup", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_EH, /* tv_id */
PROP_gimple_lcf, /* properties_required */

View File

@ -831,7 +831,6 @@ const pass_data pass_data_ipa_lower_emutls =
SIMPLE_IPA_PASS, /* type */
"emutls", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_IPA_OPT, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */

View File

@ -2031,7 +2031,6 @@ const pass_data pass_data_if_conversion =
GIMPLE_PASS, /* type */
"ifcvt", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */

View File

@ -2381,7 +2381,6 @@ const pass_data pass_data_build_ssa =
GIMPLE_PASS, /* type */
"ssa", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_SSA_OTHER, /* tv_id */
PROP_cfg, /* properties_required */

View File

@ -1804,7 +1804,6 @@ const pass_data pass_data_loop_distribution =
GIMPLE_PASS, /* type */
"ldist", /* name */
OPTGROUP_LOOP, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_LOOP_DISTRIBUTION, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */

View File

@ -285,7 +285,6 @@ const pass_data pass_data_nrv =
GIMPLE_PASS, /* type */
"nrv", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_NRV, /* tv_id */
( PROP_ssa | PROP_cfg ), /* properties_required */
@ -389,7 +388,6 @@ const pass_data pass_data_return_slot =
GIMPLE_PASS, /* type */
"retslot", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
PROP_ssa, /* properties_required */

View File

@ -1288,7 +1288,6 @@ const pass_data pass_data_object_sizes =
GIMPLE_PASS, /* type */
"objsz", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */

View File

@ -2277,7 +2277,6 @@ const pass_data pass_data_parallelize_loops =
GIMPLE_PASS, /* type */
"parloops", /* name */
OPTGROUP_LOOP, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_PARALLELIZE_LOOPS, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */

View File

@ -47,10 +47,6 @@ struct pass_data
/* The -fopt-info optimization group flags as defined in dumpfile.h. */
unsigned int optinfo_flags;
/* If true, this pass has its own implementation of the opt_pass::gate
method. */
bool has_gate;
/* If true, this pass has its own implementation of the opt_pass::execute
method. */
bool has_execute;
@ -90,9 +86,8 @@ public:
The default implementation prints an error message and aborts. */
virtual opt_pass *clone ();
/* If has_gate is set, this pass and all sub-passes are executed only if
the function returns true.
The default implementation returns true. */
/* This pass and all sub-passes are executed only if the function returns
true. The default implementation returns true. */
virtual bool gate ();
/* This is the code to run. If has_execute is false, then there should

View File

@ -2586,7 +2586,6 @@ const pass_data pass_data_predcom =
GIMPLE_PASS, /* type */
"pcom", /* name */
OPTGROUP_LOOP, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_PREDCOM, /* tv_id */
PROP_cfg, /* properties_required */

View File

@ -680,7 +680,6 @@ const pass_data pass_data_ipa_tree_profile =
SIMPLE_IPA_PASS, /* type */
"profile", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_IPA_PROFILE, /* tv_id */
0, /* properties_required */

View File

@ -3507,7 +3507,6 @@ const pass_data pass_data_sra_early =
GIMPLE_PASS, /* type */
"esra", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_SRA, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */
@ -3545,7 +3544,6 @@ const pass_data pass_data_sra =
GIMPLE_PASS, /* type */
"sra", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_SRA, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */
@ -5067,7 +5065,6 @@ const pass_data pass_data_early_ipa_sra =
GIMPLE_PASS, /* type */
"eipa_sra", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_IPA_SRA, /* tv_id */
0, /* properties_required */

View File

@ -2301,7 +2301,6 @@ const pass_data pass_data_ccp =
GIMPLE_PASS, /* type */
"ccp", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_CCP, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */
@ -2719,7 +2718,6 @@ const pass_data pass_data_fold_builtins =
GIMPLE_PASS, /* type */
"fab", /* name */
OPTGROUP_NONE, /* optinfo_flags */
false, /* has_gate */
true, /* has_execute */
TV_NONE, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */

View File

@ -657,7 +657,6 @@ const pass_data pass_data_copy_prop =
GIMPLE_PASS, /* type */
"copyprop", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_COPY_PROP, /* tv_id */
( PROP_ssa | PROP_cfg ), /* properties_required */

View File

@ -450,7 +450,6 @@ const pass_data pass_data_rename_ssa_copies =
GIMPLE_PASS, /* type */
"copyrename", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_COPY_RENAME, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */

View File

@ -1517,7 +1517,6 @@ const pass_data pass_data_dce =
GIMPLE_PASS, /* type */
"dce", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_DCE, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */
@ -1556,7 +1555,6 @@ const pass_data pass_data_dce_loop =
GIMPLE_PASS, /* type */
"dceloop", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_DCE, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */
@ -1595,7 +1593,6 @@ const pass_data pass_data_cd_dce =
GIMPLE_PASS, /* type */
"cddce", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_CD_DCE, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */

View File

@ -965,7 +965,6 @@ const pass_data pass_data_dominator =
GIMPLE_PASS, /* type */
"dom", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_SSA_DOMINATOR_OPTS, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */
@ -3123,7 +3122,6 @@ const pass_data pass_data_phi_only_cprop =
GIMPLE_PASS, /* type */
"phicprop", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_PHI_CPROP, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */

View File

@ -376,7 +376,6 @@ const pass_data pass_data_dse =
GIMPLE_PASS, /* type */
"dse", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_DSE, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */

View File

@ -3845,7 +3845,6 @@ const pass_data pass_data_forwprop =
GIMPLE_PASS, /* type */
"forwprop", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_FORWPROP, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */

View File

@ -769,7 +769,6 @@ const pass_data pass_data_tree_ifcombine =
GIMPLE_PASS, /* type */
"ifcombine", /* name */
OPTGROUP_NONE, /* optinfo_flags */
true, /* has_gate */
true, /* has_execute */
TV_TREE_IFCOMBINE, /* tv_id */
( PROP_cfg | PROP_ssa ), /* properties_required */

Some files were not shown because too many files have changed in this diff Show More