Accéder directement au contenu Accéder directement à la navigation
Rapport

From Data to Effects Dependence Graphs: Source-to-Source Transformations for C

Abstract : Program optimizations, transformations and analyses are applied to intermediate representations, which usually do not include explicit variable declarations. This description level is fine for middle-ends and for source-to-source optimizers of simple languages. However, the C language is much more flexible: variable and type declarations can appear almost anywhere in source code, and they cannot become implicit in the output code of a C source-to-source compiler. We show that declaration statements can be handled like the other statements and with the same algorithms if new effect information is defined and handled by the compiler, such as writing the environment when a variable is declared and reading it when it is accessed. This extension has been used for several years in our PIPS framework and has remained compatible with its new developments such as offloading compilers for GPUs and coprocessors.
Liste complète des métadonnées

Littérature citée [15 références]  Voir  Masquer  Télécharger

https://hal-mines-paristech.archives-ouvertes.fr/hal-01254426
Contributeur : Claire Medrala <>
Soumis le : mardi 12 janvier 2016 - 11:29:49
Dernière modification le : jeudi 24 septembre 2020 - 16:36:02
Archivage à long terme le : : jeudi 10 novembre 2016 - 23:59:45

Fichier

A-632.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : hal-01254426, version 1

Citation

Nelson Lossing, Pierre Guillou, Mehdi Amini, François Irigoin. From Data to Effects Dependence Graphs: Source-to-Source Transformations for C. [Technical Report] MINES ParisTech. 2015. ⟨hal-01254426⟩

Partager

Métriques

Consultations de la notice

252

Téléchargements de fichiers

165