Commit 1ec30d95 authored by Matthias Braun's avatar Matthias Braun
Browse files

moved external headers into include dir

[r14240]
parent a0294f53
......@@ -39,7 +39,7 @@ LIBS = @LIBS@ $(LIBCORE_LIBS)
plugin_subdirs := @plugin_subdirs@
build_subdirs := ir/adt ir/net ir/debug ir/tv ir/common ir/ident ir/ir \
ir/opt ir/tr ir/ana ir/stat ir/ana2 ir/arch ir/lower \
ir/opt ir/tr ir/ana ir/stat ir/arch ir/lower include/libfirm \
$(plugin_subdirs)
ifeq ($(enable_external_effects),yes)
......
......@@ -27,7 +27,7 @@
#define FIRM_ANA_ANALYZE_IRG_ARGS_H
#include "irgraph.h"
#include "entity.h"
#include "firm_types.h"
/**
* Returns for a method with pointer parameter
......
......@@ -31,7 +31,7 @@
#include "archop.h"
#include "lower_dw.h"
#include "dbginfo.h"
#include "ifconv.h"
#include "iroptimize.h"
#include <libcore/lc_timing.h>
......
......@@ -35,7 +35,7 @@
#ifndef FIRM_ANA_CGANA_H
#define FIRM_ANA_CGANA_H
#include "entity.h"
#include "firm_types.h"
/* Methoden sind "frei", wenn ihr Funktionszeiger (potentiell)
* "explizit" bekannt ist, d.h.:
......
......@@ -49,13 +49,14 @@ extern "C" {
*/
/**
* @typedef dbg_info
*
* An abstract data type containing information for
* debugging support.
*
* This opaque data type is not defined anywhere in the Firm library,
* but pointers to this type can be stored in Firm nodes.
*/
typedef struct dbg_info dbg_info;
/**
* Sets the debug information of a node.
......
......@@ -31,11 +31,6 @@
struct ir_exec_freq;
#ifndef _EXECFREQ_TYPEDEF
#define _EXECFREQ_TYPEDEF
typedef struct ir_exec_freq ir_exec_freq;
#endif
/**
* Create execfreq structure (to be used with set_execfreq)
*/
......
......@@ -67,8 +67,7 @@ extern "C" {
#include "firm_common.h" /* common type tags. */
#include "irprog.h" /* control flow and data of a program */
#include "irgraph.h" /* graphs */
#include "type.h" /* type representation */
#include "entity.h" /* entity representation */
#include "typerep.h" /* type representation */
#include "tv.h" /* target values */
#include "ident.h" /* source code identificators */
......@@ -79,24 +78,8 @@ extern "C" {
/* Optimizations */
#include "irflag.h" /* optimization flags */
#include "irgopt.h" /* optimize ir */
#include "reassoc.h" /* optimize ir by reassociation */
#include "ldstopt.h" /* optimize Load/Store */
#include "cfopt.h" /* optimize control flow */
#include "tailrec.h" /* optimize tail-recursion calls */
#include "iroptimize.h" /* optimize ir by reassociation */
#include "ircgopt.h" /* Optimizations based on interprocedural graph */
#include "opt_osr.h" /* Operator Strength Reduction */
#include "strength_red.h" /* Old (and buggy) Strength reduction */
#include "loop_unrolling.h" /* Do loop unrolling */
#include "ifconv.h" /* if conversion */
#include "funccall.h" /* real function call optimization */
#include "return.h" /* Return node normalizations */
#include "scalar_replace.h" /* Scalar replacement */
#include "proc_cloning.h" /* procedure cloning */
#include "opt_confirms.h" /* Confirm based optimizations */
#include "gvn_pre.h" /* global value numbering and partial redundancy elimination */
#include "opt_frame.h" /* frame type optimization */
#include "tropt.h" /* optimize the type representation */
#include "condeval.h" /* control flow optimization by conditional evaluation */
/* Lowering */
#include "lower_calls.h" /* lowering of different calls */
......@@ -123,20 +106,12 @@ extern "C" {
/* Support */
#include "irgmod.h" /* Support to modify ir */
#include "irgwalk.h" /* Support to walk ir */
#include "typewalk.h" /* Support to walk type information */
#include "typegmod.h" /* Support to modify type graph */
#include "type_identify.h" /* Support for type identification */
#include "mangle.h" /* Support for mangling ident names. */
#include "tr_inheritance.h" /* Support to handle inheritance. */
#include "irarch.h" /* architecture dependent optimizations */
#include "archop.h" /* architecture dependent opcodes */
//#include "modeconv.h" /* architecture dependent mode conversion */
#include "firmstat.h" /* statistics */
#include "irreflect.h" /* reflection */
#include "seqnumbers.h" /* debug support */
#include "firm_ycomp.h" /* ycomp debugging support */
......@@ -148,7 +123,6 @@ extern "C" {
#include "irdump.h"
#include "irprintf.h"
#include "irvrfy.h"
#include "trvrfy.h"
#include "irarch.h"
......
/*
* Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
* This file may be distributed and/or modified under the terms of the
* GNU General Public License version 2 as published by the Free Software
* Foundation and appearing in the file LICENSE.GPL included in the
* packaging of this file.
*
* Licensees holding valid libFirm Professional Edition licenses may use
* this file in accordance with the libFirm Commercial License.
* Agreement provided with the Software.
*
* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
* WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE.
*/
/**
* @file
* @brief Definition of opaque firm types
* @author Michael Beck
* @version $Id$
*/
#ifndef FIRM_COMMON_FIRM_TYPES_H
#define FIRM_COMMON_FIRM_TYPES_H
#ifdef _MSC_VER
typedef __int64 long64;
typedef unsigned __int64 ulong64;
#define LL_FMT "i64"
#define ULL_FMT "ui64"
#else
typedef long long long64;
typedef unsigned long long ulong64;
#define LL_FMT "ll"
#define ULL_FMT "llu"
#endif /* _MSC_VER */
typedef struct dbg_info dbg_info, *dbg_info_ptr;
typedef const struct _ident ident, *ir_ident_ptr;
typedef struct ir_node ir_node, *ir_node_ptr;
typedef struct ir_op ir_op, *ir_op_ptr;
typedef struct ir_mode ir_mode, *ir_mode_ptr;
typedef struct _ir_edge_t ir_edge_t, *ir_edge_ptr;
typedef struct tarval tarval, *ir_tarval_ptr;
typedef struct ir_enum_const ir_enum_const, *ir_enum_const_ptr;
typedef struct ir_type ir_type, *ir_type_ptr;
typedef struct ir_graph ir_graph, *ir_graph_ptr;
typedef struct ir_loop ir_loop, *ir_loop_ptr;
typedef struct ir_region ir_region, *ir_region_ptr;
typedef struct ir_reg_tree ir_reg_tree, *ir_reg_tree_ptr;
typedef struct ir_entity ir_entity, *ir_entity_ptr;
typedef struct compound_graph_path compound_graph_path, *ir_compound_graph_path_ptr;
typedef struct _ir_phase ir_phase, *ir_phase_ptr;
typedef struct _ir_extblk ir_extblk, *ir_extblk_ptr;
typedef struct ir_exec_freq ir_exec_freq, *ir_exec_freq_ptr;
typedef struct sn_entry *seqno_t;
typedef void irg_walk_func(ir_node *, void *);
typedef void irg_reg_walk_func(ir_region *, void *);
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment