Optimization of Basic Blocks in Compiler Design with tutorial and examples on HTML, CSS, JavaScript, XHTML, Java, .Net, PHP, C, C++, Python, JSP, Spring, Bootstrap, jQuery, Interview Questions etc.
We can apply the optimization process on a basic block. While optimization, there is no need to change the set of expressions computed by the block.
The basic block optimization can be done in two ways:
Structure-Preserving Transformations
Algebraic Transformations














