X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firopt_t.h;h=5c7a7a70d6e3b191fea7a3c9f0baca66bc83da24;hb=c3c48d7bd83f042cc2951754377de928d66fe51e;hp=0974a0b31da86aaa068243d35b4bc25a193db9d3;hpb=df83e37827032795585d3b25776c465870672901;p=libfirm diff --git a/ir/ir/iropt_t.h b/ir/ir/iropt_t.h index 0974a0b31..5c7a7a70d 100644 --- a/ir/ir/iropt_t.h +++ b/ir/ir/iropt_t.h @@ -1,13 +1,23 @@ -/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe -* All rights reserved. -* -* Authors: Martin Trapp, Christian Schaefer +/* + * Project: libFIRM + * File name: ir/ir/iropt_t.h + * Purpose: iropt --- optimizations intertwined with IR construction -- private header. + * Author: Martin Trapp, Christian Schaefer + * Modified by: Goetz Lindenmaier + * Created: + * CVS-ID: $Id$ + * Copyright: (c) 1998-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ + +/** +* @file iropt_t.h * * Declarations for optimizations intertwined with IR construction. +* +* @author Martin Trapp, Christian Schaefer */ -/* $Id$ */ - # ifndef _IROPT_T_H_ # define _IROPT_T_H_ @@ -16,14 +26,20 @@ ir_node *equivalent_node (ir_node *n); -/* For cse */ +/*@{*/ + +/** For cse */ pset *new_identities (void); void del_identities (pset *value_table); void add_identities (pset *value_table, ir_node *node); +/*@}*/ -ir_node *optimize (ir_node *n); +ir_node *optimize_node (ir_node *n); ir_node *optimize_in_place_2 (ir_node *n); +/* Calculate a hash value of a node. */ +unsigned ir_node_hash (ir_node *node); + # endif /* _IROPT_T_H_ */