beifg: Collect ifg statistics in one pass instead of two.
[libfirm] / ir / be / amd64 / amd64_new_nodes.h
1 /*
2  * This file is part of libFirm.
3  * Copyright (C) 2012 University of Karlsruhe.
4  */
5
6 /**
7  * @file
8  * @brief   Function prototypes for the assembler ir node constructors.
9  */
10 #ifndef FIRM_BE_TEMPALTE_amd64_NEW_NODES_H
11 #define FIRM_BE_amd64_amd64_NEW_NODES_H
12
13 #include "amd64_nodes_attr.h"
14
15 /***************************************************************************************************
16  *        _   _                   _       __        _                    _   _               _
17  *       | | | |                 | |     / /       | |                  | | | |             | |
18  *   __ _| |_| |_ _ __   ___  ___| |_   / /_ _  ___| |_   _ __ ___   ___| |_| |__   ___   __| |___
19  *  / _` | __| __| '__| / __|/ _ \ __| / / _` |/ _ \ __| | '_ ` _ \ / _ \ __| '_ \ / _ \ / _` / __|
20  * | (_| | |_| |_| |    \__ \  __/ |_ / / (_| |  __/ |_  | | | | | |  __/ |_| | | | (_) | (_| \__ \
21  *  \__,_|\__|\__|_|    |___/\___|\__/_/ \__, |\___|\__| |_| |_| |_|\___|\__|_| |_|\___/ \__,_|___/
22  *                                        __/ |
23  *                                       |___/
24  ***************************************************************************************************/
25
26 /**
27  * Sets the input mode of the node.
28  */
29 void set_amd64_ls_mode(ir_node *n, ir_mode *mode);
30
31 /**
32  * Returns the attributes of an amd64 node.
33  */
34 amd64_attr_t *get_amd64_attr(ir_node *node);
35 const amd64_attr_t *get_amd64_attr_const(const ir_node *node);
36
37 const amd64_SymConst_attr_t *get_amd64_SymConst_attr_const(const ir_node *node);
38 amd64_SymConst_attr_t *get_amd64_SymConst_attr(ir_node *node);
39
40 /* Include the generated headers */
41 #include "gen_amd64_new_nodes.h"
42
43 #endif