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 #ifndef anl_driver_INCLUDED 00037 #define anl_driver_INCLUDED 00038 #ifdef __cplusplus 00039 extern "C" { 00040 #endif 00041 /* ============================================================== 00042 * ============================================================== 00043 * 00044 * Module: anl_driver.h 00045 * $Revision: 1.1 $ 00046 * $Date: 2005/07/27 02:13:44 $ 00047 * $Author: kevinlo $ 00048 * $Source: /depot/CVSROOT/javi/src/sw/cmplr/be/prompf_anl/anl_driver.h,v $ 00049 * 00050 * Description: 00051 * 00052 * Defines utilities exported by prompf_anl.so. The map returned 00053 * by Anl_Static_Analysis() will be used later by whirl2[cf] and 00054 * by LNO to emit information about transformed constructs. 00055 * 00056 * ============================================================== 00057 * ============================================================== 00058 */ 00059 00060 #if defined(BUILD_OS_DARWIN) 00061 /* Linux expects to declare these as weak symbols but never define them. 00062 * Mach-O linker doesn't permit that. */ 00063 #define Anl_Process_Command_Line(a, b, c, d) assert(!"Anl_Process_Command_Line") 00064 #define Anl_Needs_Whirl2c() 0 00065 #define Anl_Needs_Whirl2f() 0 00066 #define Anl_Init() assert(!"Anl_Init") 00067 #define Anl_Init_Map(a) 0 00068 #define Anl_Static_Analysis(a, b) assert(!"Anl_Static_Analysis") 00069 #define Get_Next_Construct_Id() 0L 00070 #define New_Construct_Id() 0L 00071 #define Anl_Fini() assert(!"Anl_Fini") 00072 #define Anl_Cleanup() assert(!"Anl_Cleanup") 00073 #define Anl_File_Path() 0 00074 #else /* defined(BUILD_OS_DARWIN) */ 00075 void Anl_Process_Command_Line (INT phase_argc, char *phase_argv[], 00076 INT argc, char *argv[]); 00077 BOOL Anl_Needs_Whirl2c(void); 00078 BOOL Anl_Needs_Whirl2f(void); 00079 void Anl_Init(void); 00080 WN_MAP Anl_Init_Map(MEM_POOL *id_map_pool); 00081 void Anl_Static_Analysis(WN *pu, WN_MAP id_map); 00082 INT64 Get_Next_Construct_Id(void); 00083 INT64 New_Construct_Id(void); 00084 const char *Anl_File_Path(void); 00085 void Anl_Fini(void); 00086 void Anl_Cleanup(void); 00087 #endif 00088 00089 #ifdef __cplusplus 00090 } 00091 #endif 00092 #endif /* anl_driver_INCLUDED */
1.5.6