X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fmips%2Fbearch_mips.h;h=cce772cccd45c2ed166a5fd23198b5b778ab149d;hb=29bb6875dc277a493d3764d1ef69d05100de03c0;hp=bc0fdc11896b1b451490dfc2befb60dbebd266f8;hpb=18dfdacb6faf2f93d4f6f9a6362584f8c7eb30a1;p=libfirm diff --git a/ir/be/mips/bearch_mips.h b/ir/be/mips/bearch_mips.h index bc0fdc118..cce772ccc 100644 --- a/ir/be/mips/bearch_mips.h +++ b/ir/be/mips/bearch_mips.h @@ -1,9 +1,34 @@ -#ifndef _BEARCH_MIPS_H_ -#define _BEARCH_MIPS_H_ - -#include "../bearch.h" - -typedef struct _mips_code_gen_t mips_code_gen_t; +/* + * Copyright (C) 1995-2008 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 declarations for the mips backend + * @author Matthias Braun, Mehdi + * @version $Id$ + */ +#ifndef FIRM_BE_MIPS_BEARCH_MIPS_H +#define FIRM_BE_MIPS_BEARCH_MIPS_H + +#include "../bearch_t.h" + +typedef struct mips_code_gen_t mips_code_gen_t; extern const arch_isa_if_t mips_isa_if; @@ -19,4 +44,7 @@ void mips_set_block_sched_nr(ir_node *block, int nr); /** get a block schedule number */ int mips_get_block_sched_nr(ir_node *block); -#endif /* _BEARCH_MIPS_H_ */ +int mips_is_Load(const ir_node *node); +int mips_is_Store(const ir_node *node); + +#endif