projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed the arch_register_type_is() macro.
[libfirm]
/
include
/
libfirm
/
ircons.h
diff --git
a/include/libfirm/ircons.h
b/include/libfirm/ircons.h
index
de5f41c
..
64e9706
100644
(file)
--- a/
include/libfirm/ircons.h
+++ b/
include/libfirm/ircons.h
@@
-1127,6
+1127,7
@@
typedef enum ir_cons_flags {
cons_unaligned = 1U << 1, /**< Memory operation is unaligned. */
cons_floats = 1U << 2 /**< Memory operation can float. */
} ir_cons_flags;
cons_unaligned = 1U << 1, /**< Memory operation is unaligned. */
cons_floats = 1U << 2 /**< Memory operation can float. */
} ir_cons_flags;
+ENUM_BITSET(ir_cons_flags)
/*-------------------------------------------------------------------------*/
/* The raw interface */
/*-------------------------------------------------------------------------*/
/* The raw interface */
@@
-1805,6
+1806,13
@@
FIRM_API ir_node *new_rd_Tuple(dbg_info *db, ir_node *block,
FIRM_API ir_node *new_rd_Id(dbg_info *db, ir_node *block,
ir_node *val, ir_mode *mode);
FIRM_API ir_node *new_rd_Id(dbg_info *db, ir_node *block,
ir_node *val, ir_mode *mode);
+/** Constructor for a Bad node.
+ *
+ * @param *db A pointer for debug information.
+ * @param *irg The IR graph the node belongs to.
+ */
+FIRM_API ir_node *new_rd_Bad(dbg_info *db, ir_graph *irg);
+
/** Constructor for a Confirm node.
*
* Specifies constraints for a value. To support dataflow analyses.
/** Constructor for a Confirm node.
*
* Specifies constraints for a value. To support dataflow analyses.
@@
-1831,6
+1839,13
@@
FIRM_API ir_node *new_rd_Confirm(dbg_info *db, ir_node *block,
*/
FIRM_API ir_node *new_rd_Unknown(dbg_info *db, ir_graph *irg, ir_mode *m);
*/
FIRM_API ir_node *new_rd_Unknown(dbg_info *db, ir_graph *irg, ir_mode *m);
+/** Constructor for a NoMem node.
+ *
+ * @param *db A pointer for debug information.
+ * @param *irg The IR graph the node belongs to.
+ */
+FIRM_API ir_node *new_rd_NoMem(dbg_info *db, ir_graph *irg);
+
/** Constructor for a Mux node.
*
* @param *db A pointer for debug information.
/** Constructor for a Mux node.
*
* @param *db A pointer for debug information.
@@
-2496,9
+2511,6
@@
FIRM_API ir_node *new_r_Tuple(ir_node *block, int arity, ir_node *in[]);
FIRM_API ir_node *new_r_Id(ir_node *block, ir_node *val, ir_mode *mode);
/** Constructor for a Bad node.
FIRM_API ir_node *new_r_Id(ir_node *block, ir_node *val, ir_mode *mode);
/** Constructor for a Bad node.
- *
- * Returns the unique Bad node of the graph. The same as
- * get_irg_bad().
*
* @param *irg The IR graph the node belongs to.
*/
*
* @param *irg The IR graph the node belongs to.
*/
@@
-2530,9
+2542,6
@@
FIRM_API ir_node *new_r_Confirm(ir_node *block, ir_node *val, ir_node *bound,
FIRM_API ir_node *new_r_Unknown(ir_graph *irg, ir_mode *m);
/** Constructor for a NoMem node.
FIRM_API ir_node *new_r_Unknown(ir_graph *irg, ir_mode *m);
/** Constructor for a NoMem node.
- *
- * Returns the unique NoMem node of the graph. The same as
- * get_irg_no_mem().
*
* @param *irg The IR graph the node belongs to.
*/
*
* @param *irg The IR graph the node belongs to.
*/
@@
-3267,6
+3276,12
@@
FIRM_API ir_node *new_d_Tuple(dbg_info *db, int arity, ir_node *in[]);
*/
FIRM_API ir_node *new_d_Id(dbg_info *db, ir_node *val, ir_mode *mode);
*/
FIRM_API ir_node *new_d_Id(dbg_info *db, ir_node *val, ir_mode *mode);
+/** Constructor for a Bad node.
+ *
+ * @param *db A pointer for debug information.
+ */
+FIRM_API ir_node *new_d_Bad(dbg_info *db);
+
/** Constructor for a Confirm node.
*
* Constructor for a Confirm node. Adds the node to the block in current_ir_block.
/** Constructor for a Confirm node.
*
* Constructor for a Confirm node. Adds the node to the block in current_ir_block.
@@
-3293,6
+3308,12
@@
FIRM_API ir_node *new_d_Confirm(dbg_info *db, ir_node *val, ir_node *bound,
*/
FIRM_API ir_node *new_d_Unknown(dbg_info *db, ir_mode *m);
*/
FIRM_API ir_node *new_d_Unknown(dbg_info *db, ir_mode *m);
+/** Constructor for a NoMem node.
+ *
+ * @param *db A pointer for debug information.
+ */
+FIRM_API ir_node *new_d_NoMem(dbg_info *db);
+
/** Constructor for a Mux node.
*
* @param *db A pointer for debug information.
/** Constructor for a Mux node.
*
* @param *db A pointer for debug information.
@@
-3929,9
+3950,6
@@
FIRM_API ir_node *new_Tuple(int arity, ir_node *in[]);
FIRM_API ir_node *new_Id(ir_node *val, ir_mode *mode);
/** Constructor for a Bad node.
FIRM_API ir_node *new_Id(ir_node *val, ir_mode *mode);
/** Constructor for a Bad node.
- *
- * Returns the unique Bad node of the graph. The same as
- * get_irg_bad().
*/
FIRM_API ir_node *new_Bad(void);
*/
FIRM_API ir_node *new_Bad(void);
@@
-3958,11
+3976,7
@@
FIRM_API ir_node *new_Confirm(ir_node *val, ir_node *bound, pn_Cmp cmp);
*/
FIRM_API ir_node *new_Unknown(ir_mode *m);
*/
FIRM_API ir_node *new_Unknown(ir_mode *m);
-/** Constructor for a NoMem node.
- *
- * Returns the unique NoMem node of the graph. The same as
- * get_irg_no_mem().
- */
+/** Constructor for a NoMem node. */
FIRM_API ir_node *new_NoMem(void);
/** Constructor for a Mux node.
FIRM_API ir_node *new_NoMem(void);
/** Constructor for a Mux node.