Skip to content
Snippets Groups Projects
  • Andrew MacLeod's avatar
    0645c1a2
    tree-flow.h (struct omp_region): Move to omp-low.c. · 0645c1a2
    Andrew MacLeod authored
    	* tree-flow.h (struct omp_region): Move to omp-low.c.
    	Remove omp_ prototypes and variables.
    	* gimple.h (omp_reduction_init): Move prototype to omp-low.h.
    	(copy_var_decl): Relocate prototype from tree-flow.h.
    	* gimple.c (copy_var_decl): Relocate from omp-low.c.
    	* tree.h: Move prototype to omp-low.h.
    	* omp-low.h: New File.  Relocate prototypes here.
    	* omp-low.c (struct omp_region): Make local here.
    	(root_omp_region): Make static.
    	(copy_var_decl) Move to gimple.c.
    	(new_omp_region): Make static.
    	(make_gimple_omp_edges): New.  Refactored from tree-cfg.c make_edges.
    	* tree-cfg.c: Include omp-low.h.
    	(make_edges): Factor out OMP specific bits to make_gimple_omp_edges.
    	* gimplify.c: Include omp-low.h.
    	* tree-parloops.c: Likewise.
    
    	c
    	* c-parser.c: Include omp-low.h.
    	* c-typeck.c: Likewise.
    
    	cp
    	* parser.c: Include omp-low.h.
    	* semantics.c: Likewise.
    
    	fortran
    	* trans-openmp.c: Include omp-low.h.
    
    From-SVN: r203786
    0645c1a2
    History
    tree-flow.h (struct omp_region): Move to omp-low.c.
    Andrew MacLeod authored
    	* tree-flow.h (struct omp_region): Move to omp-low.c.
    	Remove omp_ prototypes and variables.
    	* gimple.h (omp_reduction_init): Move prototype to omp-low.h.
    	(copy_var_decl): Relocate prototype from tree-flow.h.
    	* gimple.c (copy_var_decl): Relocate from omp-low.c.
    	* tree.h: Move prototype to omp-low.h.
    	* omp-low.h: New File.  Relocate prototypes here.
    	* omp-low.c (struct omp_region): Make local here.
    	(root_omp_region): Make static.
    	(copy_var_decl) Move to gimple.c.
    	(new_omp_region): Make static.
    	(make_gimple_omp_edges): New.  Refactored from tree-cfg.c make_edges.
    	* tree-cfg.c: Include omp-low.h.
    	(make_edges): Factor out OMP specific bits to make_gimple_omp_edges.
    	* gimplify.c: Include omp-low.h.
    	* tree-parloops.c: Likewise.
    
    	c
    	* c-parser.c: Include omp-low.h.
    	* c-typeck.c: Likewise.
    
    	cp
    	* parser.c: Include omp-low.h.
    	* semantics.c: Likewise.
    
    	fortran
    	* trans-openmp.c: Include omp-low.h.
    
    From-SVN: r203786
gimplify.c 280.42 KiB