X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fmips%2Fmips_transform.h;h=342f60ccc71d65c215f3e5fb433bff4e08f0ebb1;hb=af109afbf71762ec216c011a6d8f5b7761be078d;hp=2fef39120381a7368a0acb07142750cf52c64a51;hpb=863d31d7a5c8210432fef88b30fc3e8353131538;p=libfirm diff --git a/ir/be/mips/mips_transform.h b/ir/be/mips/mips_transform.h index 2fef39120..342f60ccc 100644 --- a/ir/be/mips/mips_transform.h +++ b/ir/be/mips/mips_transform.h @@ -1,5 +1,30 @@ -#ifndef _MIPS_TRANSFORM_H_ -#define _MIPS_TRANSFORM_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 declarations for code transform (code selection) + * @author Matthias Braun, Mehdi + * @version $Id$ + */ +#ifndef FIRM_BE_MIPS_MIPS_TRANSFORM_H +#define FIRM_BE_MIPS_MIPS_TRANSFORM_H /** * Create Firm assembler for a copyB node. @@ -11,8 +36,10 @@ */ ir_node *gen_code_for_CopyB(ir_node *blk, ir_node *node); -void mips_pre_transform_node(ir_node *node, void *env); -void mips_transform_node(ir_node *node, void *env); +ir_node *mips_create_Immediate(long offset); +ir_node *mips_create_zero(void); + +void mips_transform_graph(mips_code_gen_t *cg); void mips_after_ra_walker(ir_node *node, void *env); -#endif /* _MIPS_TRANSFORM_H_ */ +#endif