source: src/ControlStruct/Mutate.h@ 1867c96

ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr pthread-emulation qualifiedEnum
Last change on this file since 1867c96 was 25fcb84, checked in by Rob Schluntz <rschlunt@…>, 7 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
[51b73452]17
[d180746]18#include <list> // for list
[51b73452]19
[d180746]20class Declaration;
[51b73452]21
[25fcb84]22/// Desugars Cforall control structures
[51b73452]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 );
[51b73452]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.