2 * This file is part of libFirm.
3 * Copyright (C) 2012 University of Karlsruhe.
8 * @brief declarations for emit functions
9 * @author Hannes Rapp, Matthias Braun
11 #ifndef FIRM_BE_SPARC_EMITTER_H
12 #define FIRM_BE_SPARC_EMITTER_H
19 #include "beemitter.h"
21 #include "bearch_sparc_t.h"
24 * fmt parameter output
25 * ---- ---------------------- -------------------------------
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
43 * %#M prints load modeu
44 * + may be used with %d and %u
46 void sparc_emitf(ir_node const *node, char const *fmt, ...);
48 void sparc_emit_routine(ir_graph *irg);
50 void sparc_init_emitter(void);