X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fmips%2Fbearch_mips.h;h=24403f17f2db9512f280ee9c7425c4ce1dba0ced;hb=e98f25e8d5846ba4e1382c6fa47a3e50b763cf5f;hp=bf4ba4743c6ef8dfbe7fbc632e1c252f7ef7ed71;hpb=205396c4f4f5abe7abd6dc2350c8c398a7623afc;p=libfirm diff --git a/ir/be/mips/bearch_mips.h b/ir/be/mips/bearch_mips.h index bf4ba4743..24403f17f 100644 --- a/ir/be/mips/bearch_mips.h +++ b/ir/be/mips/bearch_mips.h @@ -1,22 +1,38 @@ -#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; -/** return the scheduled block at position pos */ -ir_node *mips_get_sched_block(const mips_code_gen_t *cg, int pos); +int mips_is_Load(const ir_node *node); +int mips_is_Store(const ir_node *node); -/** return the number of scheduled blocks */ -int mips_get_sched_n_blocks(const mips_code_gen_t *cg); - -/** set a block schedule number */ -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_ */ +#endif