Definition of basic blocks

Christian Christmann <plfriko@yahoo.de>
8 Nov 2005 23:39:18 -0500

          From comp.compilers

Related articles
Definition of basic blocks plfriko@yahoo.de (Christian Christmann) (2005-11-08)
Re: Definition of basic blocks wyrmwif@tsoft.org (SM Ryan) (2005-11-12)
Re: Definition of basic blocks tjs_ng@yahoo.de (Thomas Schilling) (2005-11-12)
Re: Definition of basic blocks pohjalai@cc.helsinki.fi (A Pietu Pohjalainen) (2005-11-12)
Re: Definition of basic blocks bear@sonic.net (Ray Dillinger) (2005-11-27)
Re: Definition of basic blocks DrDiettrich@compuserve.de (Hans-Peter Diettrich) (2005-11-29)
| List of all articles for this month |

From: Christian Christmann <plfriko@yahoo.de>
Newsgroups: comp.compilers
Date: 8 Nov 2005 23:39:18 -0500
Organization: Arcor
Keywords: analysis, comment

Hi all,


for my master's thesis I'm looking for the definition of basic blocks that
are used in the compiler back end.


What I actually want to know, is, if call instructions are treated like
any other instruction or if they cause the end of a basic block.
I've encountered both versions. Some people use call instructions amid
a basic block, other use them at the end of a basic block and continue
with the subsequent instructions in a new block.


Are both version correct?


Thank you for your answer.


I would also appreciate if you could give my any references (paper, url ...)
concerning that issue.




Best regards,
Christian
[It entirely depends on your language and the goals of your optimizations.
If a call can change variables visible in the block, you'd best break
the block there. If not, no need. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.