becopyopt: Inline the thin wrapper nodes_interfere(), so we do not need to fetch...
[libfirm] / ir / be / amd64 / amd64_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  */
10 #ifndef FIRM_BE_amd64_amd64_EMITTER_H
11 #define FIRM_BE_amd64_amd64_EMITTER_H
12
13 #include "irargs_t.h"
14 #include "irnode.h"
15 #include "debug.h"
16
17 #include "bearch.h"
18 #include "beemitter.h"
19
20 #include "bearch_amd64_t.h"
21
22 /**
23  * fmt  parameter               output
24  * ---- ----------------------  ---------------------------------------------
25  * %%                           %
26  * %C   <node>                  immediate value
27  * %Dx  <node>                  destination register x
28  * %E   ir_entity const*        entity
29  * %L   <node>                  control flow target
30  * %O   <node>                  offset
31  * %R   arch_register_t const*  register
32  * %Sx  <node>                  source register x
33  * %S*  <node>, int             source register
34  * %d   signed int              signed int
35  * %s   char const*             string
36  * %u   unsigned int            unsigned int
37  *
38  * x starts at 0
39  */
40 void amd64_emitf(ir_node const *node, char const *fmt, ...);
41
42 void amd64_gen_routine(ir_graph *irg);
43
44 #endif