Re: Getting at basic block info from an insn

2006-08-17 Thread Andrew Pinski
> > > Two part question: > > 1) Does the control flow graph exist at the time we're emitting assembler > instructions? Not really because we delete the CFG because some passes right after the last scheduling does not understand CFG (reorg is one example). Thanks, Andrew Pinski

Re: Getting at basic block info from an insn

2006-08-17 Thread Pat Haugen
> > Two part question: > > 1) Does the control flow graph exist at the time we're emitting assembler > instructions? > > 2) If so, how do I go at getting at the basic block info, specifically > successor info, if the only thing I have is a rtx for a conditional jump > insn? > > > Okay, maybe a 3-p

Getting at basic block info from an insn

2006-08-17 Thread Pat Haugen
Two part question: 1) Does the control flow graph exist at the time we're emitting assembler instructions? 2) If so, how do I go at getting at the basic block info, specifically successor info, if the only thing I have is a rtx for a conditional jump insn? Okay, maybe a 3-part question. Give