ppc32_emitter.h 1.32 KB
Newer Older
Christian Würdig's avatar
Christian Würdig committed
1
/*
Michael Beck's avatar
Michael Beck committed
2
 * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
Christian Würdig's avatar
Christian Würdig committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 *
 * 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.
 */

20
21
22
23
24
25
26
27
/**
 * @file
 * @brief   declarations for ppc32 emitter
 * @author  Moritz Kroll, Jens Mueller
 * @version $Id$
 */
#ifndef FIRM_BE_PPC32_PPC32_EMITTER_H
#define FIRM_BE_PPC32_PPC32_EMITTER_H
28

Michael Beck's avatar
Michael Beck committed
29
#include "firm_types.h"
Matthias Braun's avatar
Matthias Braun committed
30
#include "irargs_t.h"
31
32
#include "debug.h"

33
#include "../bearch.h"
34
35
36

#include "bearch_ppc32_t.h"

Michael Beck's avatar
Michael Beck committed
37
void ppc32_gen_routine(const ppc32_code_gen_t *cg, ir_graph *irg);
38

39
40
41
42
43
44

void ppc32_emit_source_register(const ir_node *node, int pos);
void ppc32_emit_dest_register(const ir_node *node, int pos);
void ppc32_emit_offset(const ir_node *n);
void ppc32_emit_immediate(const ir_node *n);
void ppc32_emit_rlwimi_helper(const ir_node *n);
45

46
#endif