Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
p_end.h
Go to the documentation of this file.
00001 /*
00002 
00003   Copyright (C) 2000, 2001 Silicon Graphics, Inc.  All Rights Reserved.
00004 
00005   This program is free software; you can redistribute it and/or modify it
00006   under the terms of version 2 of the GNU General Public License as
00007   published by the Free Software Foundation.
00008 
00009   This program is distributed in the hope that it would be useful, but
00010   WITHOUT ANY WARRANTY; without even the implied warranty of
00011   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
00012 
00013   Further, this software is distributed without any warranty that it is
00014   free of the rightful claim of any third person regarding infringement 
00015   or the like.  Any license provided herein, whether implied or 
00016   otherwise, applies only to this software file.  Patent licenses, if 
00017   any, provided herein do not apply to combinations of this program with 
00018   other software, or any other product whatsoever.  
00019 
00020   You should have received a copy of the GNU General Public License along
00021   with this program; if not, write the Free Software Foundation, Inc., 59
00022   Temple Place - Suite 330, Boston MA 02111-1307, USA.
00023 
00024   Contact information:  Silicon Graphics, Inc., 1600 Amphitheatre Pky,
00025   Mountain View, CA 94043, or:
00026 
00027   http://www.sgi.com
00028 
00029   For further information regarding this notice, see:
00030 
00031   http://oss.sgi.com/projects/GenInfo/NoticeExplan
00032 
00033 */
00034 
00035 
00036 
00037 /* USMID:  "\n@(#)5.0_pl/headers/p_end.h        5.1     04/29/99 21:22:31\n" */
00038 
00039 boolean end_of_contains;
00040 
00041 /*****************************************************************\
00042 |* function prototypes of static functions declared in this file *|
00043 \*****************************************************************/
00044 
00045 static void end_blockdata (boolean);
00046 static void end_contains (boolean);
00047 static void end_do_blk (boolean);
00048 static void end_forall_blk (boolean);
00049 static void end_function (boolean);
00050 static void end_if_blk (boolean);
00051 static void end_interface_blk (boolean);
00052 static void end_interface_body (boolean);
00053 static void end_internal_err (boolean);
00054 static void end_internal_proc (boolean);
00055 static void end_module (boolean);
00056 static void end_module_proc (boolean);
00057 static void end_program_unit (boolean);
00058 static void end_select_blk (boolean);
00059 static void end_subroutine (boolean);
00060 static void end_type_blk (boolean);
00061 static void end_where_blk (boolean);
00062 
00063 
00064 /******************************************************************************/
00065 /*                      end_blocks TABLE                                      */
00066 /*                                                                            */
00067 /* This table defines an array-of-pointers-to-functions-returning boolean     */
00068 /* and is indexed by an object of type blk_cntxt_type which is the reason for */
00069 /* the following dependency:                                                  */
00070 /*                                                                            */
00071 /* THIS TABLE IS ORDER/ADDITION/DELETION DEPENDENT ON THE blk_cntxt_values    */
00072 /* enumeration defined in p_globals.h                                         */
00073 /******************************************************************************/
00074 
00075 void            (*end_blocks[]) () = {
00076                 /* Unknown_Blk          */      end_internal_err,
00077                 /* Blockdata_Blk        */      end_blockdata,
00078                 /* Module_Blk           */      end_module,
00079                 /* Program_Blk          */      end_program_unit,
00080                 /* Function_Blk         */      end_function,
00081                 /* Subroutine_Blk       */      end_subroutine,
00082                 /* Internal_Blk         */      end_internal_proc,
00083                 /* Module_Proc_Blk      */      end_module_proc,
00084                 /* Interface_Body_Blk   */      end_interface_body,
00085                 /* Do_Blk               */      end_do_blk,
00086                 /* Forall_Blk           */      end_forall_blk,
00087                 /* If_Blk               */      end_if_blk,
00088                 /* If_Then_Blk          */      end_if_blk,
00089                 /* If_Else_If_Blk       */      end_if_blk,
00090                 /* If_Else_Blk          */      end_if_blk,
00091                 /* Select_Blk           */      end_select_blk,
00092                 /* Case_Blk             */      end_select_blk,
00093                 /* Where_Then_Blk       */      end_where_blk,
00094                 /* Where_Else_Blk       */      end_where_blk,
00095                 /* Where_Else_Mask_Blk  */      end_where_blk,
00096                 /* Parallel_Blk         */      end_parallel_blk,
00097                 /* Doall_Blk            */      end_doall_blk,
00098                 /* Do_Parallel_Blk      */      end_do_parallel_blk,
00099                 /* Guard_Blk            */      end_guard_blk,
00100                 /* Parallel_Case_Blk    */      end_parallel_case_blk,
00101                 /* Wait_Blk             */      end_wait_blk,
00102                 /* SGI_Doacross_Blk     */      end_doacross_blk,
00103                 /* SGI_Psection_Blk     */      end_psection_blk,
00104                 /* SGI_Section_Blk      */      end_psection_blk,
00105                 /* SGI_Pdo_Blk          */      end_pdo_blk,
00106                 /* SGI_Parallel_Do_Blk  */      end_doacross_blk,
00107                 /* SGI_Parallel_Blk     */      end_SGI_parallel_blk,
00108                 /* SGI_Critical_Section_Blk */  end_critical_section_blk,
00109                 /* SGI_Single_Process_Blk */    end_single_process_blk,
00110                 /* SGI_Region_Blk       */      end_region_blk,
00111                 /* Open_Mp_Parallel_Blk */      end_open_mp_parallel_blk,
00112                 /* Open_Mp_Do_Blk       */      end_open_mp_do_blk,
00113                 /* Open_Mp_Parallel_Sections_Blk*/
00114                                                 end_open_mp_parallel_sections_blk,
00115                 /* Open_Mp_Sections_Blk */      end_open_mp_sections_blk,
00116                 /* Open_Mp_Section_Blk  */      end_open_mp_section_blk,
00117                 /* Open_Mp_Single_Blk   */      end_open_mp_single_blk,
00118                 /* Open_Mp_Parallel_Do_Blk*/    end_open_mp_parallel_do_blk,
00119                 /* Open_Mp_Master_Blk   */      end_open_mp_master_blk,
00120                 /* Open_Mp_Critical_Blk */      end_open_mp_critical_blk,
00121                 /* Open_Mp_Ordered_Blk  */      end_open_mp_ordered_blk,
00122                 /* Open_Mp_Parallel_Workshare_Blk*/
00123                                                 end_open_mp_parallel_workshare_blk,
00124                 /* Open_Mp_Workshare_Blk*/      end_open_mp_workshare_blk,
00125                 /* Contains_Blk         */      end_contains,
00126                 /* Interface_Blk        */      end_interface_blk,
00127                 /* Derived_Type_Blk     */      end_type_blk };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines