00001 //-*-c++-*- 00002 // ==================================================================== 00003 // ==================================================================== 00004 // 00005 // Module: opt_dbg.h 00006 // $Revision: 1.1.1.1 $ 00007 // $Date: 2005/10/21 19:00:00 $ 00008 // $Author: marcel $ 00009 // $Source: /proj/osprey/CVS/open64/osprey1.0/be/opt/opt_dbg.h,v $ 00010 // 00011 // Revision history: 00012 // 28-NOV-94 fchow - Original Version 00013 // 00014 // ==================================================================== 00015 // 00016 // Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. 00017 // 00018 // This program is free software; you can redistribute it and/or modify 00019 // it under the terms of version 2 of the GNU General Public License as 00020 // published by the Free Software Foundation. 00021 // 00022 // This program is distributed in the hope that it would be useful, but 00023 // WITHOUT ANY WARRANTY; without even the implied warranty of 00024 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00025 // 00026 // Further, this software is distributed without any warranty that it 00027 // is free of the rightful claim of any third person regarding 00028 // infringement or the like. Any license provided herein, whether 00029 // implied or otherwise, applies only to this software file. Patent 00030 // licenses, if any, provided herein do not apply to combinations of 00031 // this program with other software, or any other product whatsoever. 00032 // 00033 // You should have received a copy of the GNU General Public License 00034 // along with this program; if not, write the Free Software Foundation, 00035 // Inc., 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. 00036 // 00037 // Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pky, 00038 // Mountain View, CA 94043, or: 00039 // 00040 // http://www.sgi.com 00041 // 00042 // For further information regarding this notice, see: 00043 // 00044 // http://oss.sgi.com/projects/GenInfo/NoticeExplan 00045 // 00046 // ==================================================================== 00047 // 00048 // Description: 00049 // This file provides things that are helpful inside dbx when 00050 // debugging WOPT. 00051 // 00052 // ==================================================================== 00053 // ==================================================================== 00054 00055 00056 #ifndef opt_dbg_INCLUDED 00057 #define opt_dbg_INCLUDED "opt_dbg.h" 00058 #ifdef _KEEP_RCS_ID 00059 static char *opt_dbgrcs_id = opt_dbg_INCLUDED"$Revision$"; 00060 #endif /* _KEEP_RCS_ID */ 00061 00062 #ifdef Is_True_On 00063 00064 class BB_NODE; 00065 class CODEREP; 00066 class STMTREP; 00067 00068 extern FILE *DFile; 00069 extern COMP_UNIT *g_comp_unit; 00070 extern OPT_STAB *g_opt_stab; 00071 00072 extern "C" void Dump_cfg(void); 00073 extern "C" void Dump_bbs_reached(void); 00074 extern "C" void Dump_bb(BB_NODE *bb); 00075 extern "C" void Dump_cr(CODEREP *cr); 00076 extern "C" void Dump_sr(STMTREP *sr); 00077 extern "C" void show_cfg(CFG *cfg); 00078 00079 #endif // Is_True_On 00080 #endif // opt_main_INCLUDED
1.5.6