X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fmips%2Fbearch_mips.h;h=cce772cccd45c2ed166a5fd23198b5b778ab149d;hb=f37b4dbb329604edd67ff5877161cb5322e93020;hp=bf4ba4743c6ef8dfbe7fbc632e1c252f7ef7ed71;hpb=205396c4f4f5abe7abd6dc2350c8c398a7623afc;p=libfirm diff --git a/ir/be/mips/bearch_mips.h b/ir/be/mips/bearch_mips.h index bf4ba4743..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_ +/* + * 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; +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