source: src/ControlStruct/Mutate.h @ 7a15b7e

ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
Last change on this file since 7a15b7e 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
Line 
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//
7// Mutate.h --
8//
9// Author           : Rodolfo G. Esteves
10// Created On       : Mon May 18 07:44:20 2015
11// Last Modified By : Peter A. Buhr
12// Last Modified On : Sat Jul 22 09:17:59 2017
13// Update Count     : 3
14//
15
16#pragma once
17
18#include <list>  // for list
19
20class Declaration;
21
22/// Desugars Cforall control structures
23namespace ControlStruct {
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 );
29} // namespace ControlStruct
30
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.