besched: Change sched_foreach_from(sched_next(x), y) to sched_foreach_after(x, y).
[libfirm] / ir / be / sparc / sparc_emitter.h
1 /*
2  * This file is part of libFirm.
3  * Copyright (C) 2012 University of Karlsruhe.
4  */
5
6 /**
7  * @file
8  * @brief    declarations for emit functions
9  * @author   Hannes Rapp, Matthias Braun
10  */
11 #ifndef FIRM_BE_SPARC_EMITTER_H
12 #define FIRM_BE_SPARC_EMITTER_H
13
14 #include "irargs_t.h"
15 #include "irnode.h"
16 #include "debug.h"
17
18 #include "bearch.h"
19 #include "beemitter.h"
20
21 #include "bearch_sparc_t.h"
22
23 /**
24  * fmt   parameter               output
25  * ----  ----------------------  -------------------------------
26  * %%                            %
27  * %A    <node>                  emit ",a" in delay slot annul mode
28  * %Dx   <node>                  destination register x
29  * %E    <node>                  entity+offset
30  * %F    <node>                  floating point mode
31  * %H    <node>                  high immediate
32  * %L    ir_node*                control flow target of the node
33  * %ML   <node>                  load mode
34  * %MS   <node>                  store mode
35  * %R    arch_register_t const*  register
36  * %Sx   <node>                  source register x
37  * %SIx  <node>                  immediate or source register x
38  * %d    signed int              signed int
39  * %s    const char*             string
40  * %u    unsigned int            unsigned int
41  *
42  * x starts at 0
43  * %#M prints load modeu
44  * + may be used with %d and %u
45  */
46 void sparc_emitf(ir_node const *node, char const *fmt, ...);
47
48 void sparc_emit_routine(ir_graph *irg);
49
50 void sparc_init_emitter(void);
51
52 #endif