projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
local_optimize() now kills unrteachable code if dominance info is available.
[libfirm]
/
ir
/
ir
/
irnode.h
diff --git
a/ir/ir/irnode.h
b/ir/ir/irnode.h
index
c8bc64e
..
48d41bd
100644
(file)
--- a/
ir/ir/irnode.h
+++ b/
ir/ir/irnode.h
@@
-652,7
+652,8
@@
void set_Div_mem (ir_node *node, ir_node *mem);
typedef enum {
pn_Div_M, /**< Memory result. */
pn_Div_X_except, /**< Execution result if exception occurred. */
typedef enum {
pn_Div_M, /**< Memory result. */
pn_Div_X_except, /**< Execution result if exception occurred. */
- pn_Div_res /**< Result of computation. */
+ pn_Div_res, /**< Result of computation. */
+ pn_Div_max /**< number of projections from a Div */
} pn_Div; /* Projection numbers for Div. */
ir_node *get_Mod_left (ir_node *node);
} pn_Div; /* Projection numbers for Div. */
ir_node *get_Mod_left (ir_node *node);
@@
-998,18
+999,21
@@
type *get_irn_type(ir_node *n);
int is_irn_constlike(const ir_node *node);
/**
int is_irn_constlike(const ir_node *node);
/**
- * A type
for expression conditional jump predica
tions.
+ * A type
to express conditional jump predic
tions.
*/
typedef enum {
*/
typedef enum {
- COND_JMP_PRED_NONE, /**< No jump predic
a
tion. Default. */
+ COND_JMP_PRED_NONE, /**< No jump prediction. Default. */
COND_JMP_PRED_TRUE, /**< The True case is predicted. */
COND_JMP_PRED_FALSE /**< The False case is predicted. */
} cond_jmp_predicate;
COND_JMP_PRED_TRUE, /**< The True case is predicted. */
COND_JMP_PRED_FALSE /**< The False case is predicted. */
} cond_jmp_predicate;
-/** Returns the conditional jump predication of a Cond node. */
+/** Gets the string representation of the jump prediction .*/
+const char *get_cond_jmp_predicate_name(cond_jmp_predicate pred);
+
+/** Returns the conditional jump prediction of a Cond node. */
cond_jmp_predicate get_Cond_jmp_pred(ir_node *cond);
cond_jmp_predicate get_Cond_jmp_pred(ir_node *cond);
-/** Sets a new conditional jump predic
a
tion. */
+/** Sets a new conditional jump prediction. */
void set_Cond_jmp_pred(ir_node *cond, cond_jmp_predicate pred);
/**
void set_Cond_jmp_pred(ir_node *cond, cond_jmp_predicate pred);
/**