Advertisement

Performing Code Analysis with GCC

  • Kurt Wall
  • William Von Hagen

Abstract

The previous chapter discussed the various types of optimizations that the GCC compilers can perform for you. Some of these optimizations are automatic, whereas others only make sense based on the characteristics of the application that you are trying to optimize. For example, you can only decide where and if to use optimizations such as unrolling or inlining loops after studying your application and identifying loops that might benefit from these optimizations. (Unrolling or inlining loops means to insert the code for each iteration of a loop in sequence so that a loop is no longer present; it is replaced by a series of sequential statements that explicitly perform the contents of the loop for each value of the variable that controls the loop.)

Keywords

Source Code Basic Block Test Coverage Execution Path Object File 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Kurt Wall and William von Hagen 2004

Authors and Affiliations

  • Kurt Wall
  • William Von Hagen

There are no affiliations available

Personalised recommendations