sandeep soni <saintiw...@gmail.com> writes: > I have been studying the gcc code lately as part of my project.I have > got info from this mailing list about CFG and DFG information.I want > to know how gcc uses this information to perform loop optimization? > Does it Follow any particular algorithm or in particular what are the > different techniques that it uses to parallelize the code by > performing the loop optimizations?(correct me please if this sentence > is not right).
I'm not really sure what you are asking. gcc supports OpenMP for parallelizing loops. That is mostly done in the frontends. I don't think it has much to do with the CFG or DFG, but I'm not very familiar with the code. The other loop optimizations are mostly in tree-ssa-loop-*.c, q.v. Ian