Dealing with data dependent conditions to enable general global source code transformations

Martin Palkovic, Henk Corporaal, Francky Catthoor

Research output: Contribution to journalArticleAcademicpeer-review

2 Citations (Scopus)


Global source code transformations, such as Global Loop Transformations (GLT), are usually performed on a Geometrical Model (GM) which is very effective in dealing with complex transformations. However, this model imposes strict limitations on the input code, and it is not capable to deal with data dependent conditions. The technique presented in this paper can deal with data dependent conditions at any loop level. At the outermost loop level hot code paths are grouped together into limited number of clusters called scenarios to maximise the GLT benefit for a given code size growth. On the middle and innermost loop level we manipulate the abstract syntax tree to move the data dependent conditions out of the GLT optimisation scope. Results show up to 45.8% improvement compared to state-of-the-art.

Original languageEnglish
Pages (from-to)27-39
Number of pages13
JournalInternational Journal of Embedded Systems
Issue number1
Publication statusPublished - 21 Jul 2009


  • Condition moving
  • Data dependent conditions
  • Function encapsulation
  • Global loop transformations
  • GLT
  • High-level transformations
  • Hot code paths grouping
  • Selective code duplication
  • Ssource code preprocessing


Dive into the research topics of 'Dealing with data dependent conditions to enable general global source code transformations'. Together they form a unique fingerprint.

Cite this