ADT
        ast-experimental
        enum
        forall-pointer-decay
        pthread-emulation
        qualifiedEnum
      
      
      
| Rev | Line |  | 
|---|
| [b8ab91a] | 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 | // | 
|---|
| [817bb3c] | 7 | // MultiLevelExit.hpp -- Replaces CFA's local control flow with C's versions. | 
|---|
| [b8ab91a] | 8 | // | 
|---|
|  | 9 | // Author           : Andrew Beach | 
|---|
|  | 10 | // Created On       : Mon Nov  1 13:49:00 2021 | 
|---|
|  | 11 | // Last Modified By : Andrew Beach | 
|---|
| [cb921d4] | 12 | // Last Modified On : Mon Nov  8 10:53:00 2021 | 
|---|
|  | 13 | // Update Count     : 3 | 
|---|
| [b8ab91a] | 14 | // | 
|---|
|  | 15 |  | 
|---|
|  | 16 | #pragma once | 
|---|
|  | 17 |  | 
|---|
|  | 18 | #include <map> | 
|---|
|  | 19 |  | 
|---|
|  | 20 | namespace ast { | 
|---|
|  | 21 | class CompoundStmt; | 
|---|
| [817bb3c] | 22 | class Label; | 
|---|
| [b8ab91a] | 23 | class Stmt; | 
|---|
|  | 24 | } | 
|---|
|  | 25 |  | 
|---|
|  | 26 | namespace ControlStruct { | 
|---|
|  | 27 |  | 
|---|
|  | 28 | using LabelToStmt = std::map<ast::Label, const ast::Stmt *>; | 
|---|
|  | 29 |  | 
|---|
|  | 30 | /// Mutate a function body to handle multi-level exits. | 
|---|
|  | 31 | const ast::CompoundStmt * multiLevelExitUpdate( | 
|---|
| [cb921d4] | 32 | const ast::CompoundStmt *, const LabelToStmt & ); | 
|---|
| [b8ab91a] | 33 |  | 
|---|
|  | 34 | } | 
|---|
|  | 35 |  | 
|---|
|  | 36 | // Local Variables: // | 
|---|
|  | 37 | // tab-width: 4 // | 
|---|
|  | 38 | // mode: c++ // | 
|---|
|  | 39 | // compile-command: "make install" // | 
|---|
|  | 40 | // End: // | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.