Displaying 2 results from an estimated 2 matches for "is_critical_edg".
Did you mean:
is_critical_edge
2006 Jul 05
0
[LLVMdev] Critical edges
...; u < mf.size(); u++) {
MachineBasicBlock * mbb = mf.getBlockNumbered(u);
for(MachineBasicBlock::succ_iterator succ = mbb->succ_begin();
succ != mbb->succ_end(); succ++) {
MachineBasicBlock * mbb_succ = *succ;
if(is_critical_edge(*mbb, *mbb_succ)) {
src_blocks.push_back(mbb);
dst_blocks.push_back(mbb_succ);
}
}
}
// second, break the critical edges:
for(unsigned u = 0; u < src_blocks.size() > 0; u++) {
MachineBasicBlock * src = src_blocks[u];...
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