source: src/ControlStruct/Mutate.h @ b982fb2

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since b982fb2 was 25fcb84, checked in by Rob Schluntz <rschlunt@…>, 6 years ago

Reorder if/for initialization hoisting pass

  • Property mode set to 100644
File size: 939 bytes
RevLine 
[51587aa]1//
2// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
[25fcb84]7// Mutate.h --
[51587aa]8//
[843054c2]9// Author           : Rodolfo G. Esteves
[51587aa]10// Created On       : Mon May 18 07:44:20 2015
[a08ba92]11// Last Modified By : Peter A. Buhr
[6b0b624]12// Last Modified On : Sat Jul 22 09:17:59 2017
13// Update Count     : 3
[51587aa]14//
[a08ba92]15
[6b0b624]16#pragma once
[51b7345]17
[d180746]18#include <list>  // for list
[51b7345]19
[d180746]20class Declaration;
[51b7345]21
[25fcb84]22/// Desugars Cforall control structures
[51b7345]23namespace ControlStruct {
[25fcb84]24        /// normalizes label definitions and generates multi-level exit labels
25        void fixLabels( std::list< Declaration * > & translationUnit );
26
27        /// hoist initialization out of for statements
28        void hoistControlDecls( std::list< Declaration * > & translationUnit );
[51b7345]29} // namespace ControlStruct
30
[51587aa]31// Local Variables: //
32// tab-width: 4 //
33// mode: c++ //
34// compile-command: "make install" //
35// End: //
Note: See TracBrowser for help on using the repository browser.