search for: num_succ

Displaying 2 results from an estimated 2 matches for "num_succ".

Did you mean: num_src
2006 Jul 05
0
[LLVMdev] Critical edges
...k * src = src_blocks[u]; MachineBasicBlock * dst = dst_blocks[u]; split_critical_edge(*src, *dst, mf); } return src_blocks.size() > 0; } bool CriticalEdgeRemoval_Fer::is_critical_edge (const MachineBasicBlock & src, const MachineBasicBlock & dst) { unsigned num_succ = 0; unsigned num_pred = 0; bool src_has_many_succ = false; bool dst_has_many_pred = false; for(MachineBasicBlock::const_succ_iterator succ = src.succ_begin(); succ != src.succ_end(); succ++) { num_succ++; if(num_succ > 1) {...
2006 Jul 04
2
[LLVMdev] Critical edges
On Tue, 4 Jul 2006, Fernando Magno Quintao Pereira wrote: > However, it does not remove all the critical edges. I am getting a very > weird dataflow graph (even without the Break Critical edges pass). The > dataflow generated by MachineFunction::dump() for the program below is > given here: > http://compilers.cs.ucla.edu/fernando/projects/soc/images/loop_no_crit2.pdf ... > The