#include <stddef.h>
-#include "irgraph.h"
-#include "entity.h"
#include "firm_common.h"
+#include "entity.h"
#include "irop.h"
#include "irmode.h"
-#include "type.h"
-#include "irextbb.h"
#include "dbginfo.h"
/**
/** Sets the opcode struct of the node. */
void set_irn_op(ir_node *node, ir_op *op);
/** Gets the opcode-enum of the node. */
-opcode get_irn_opcode(const ir_node *node);
+ir_opcode get_irn_opcode(const ir_node *node);
/** Get the string representation of the opcode. */
const char *get_irn_opname(const ir_node *node);
/** Get the ident for a string representation of the opcode. */
*
* Returns true if the Cast node casts a class type to a super type.
* Works also for pointers to classes (recursively).
+ *
+ * Needs typeinfo calculated.
*/
int is_Cast_upcast(ir_node *node);
*
* Returns true if the Cast node casts a class type to a sub type.
* Works also for pointers to classes (recursively).
+ *
+ * Needs typeinfo calculated.
*/
int is_Cast_downcast(ir_node *node);
/** returns operand of node if node is a Proj. */
ir_node *skip_Proj(ir_node *node);
+/** returns operand of node if node is a Proj. */
+const ir_node *skip_Proj_const(const ir_node *node);
/** returns operand of node if node is a Id */
ir_node *skip_Id(ir_node *node); /* Old name is skip_nop(). */
/** returns corresponding operand of Tuple if node is a Proj from
int is_Div(const ir_node *node);
/** return true if node is a DivMod node. */
int is_DivMod(const ir_node *node);
+/** return true if node is a Quot node. */
+int is_Quot(const ir_node *node);
/** returns true if the node is not a Block */
int is_no_Block(const ir_node *node);
/** returns true if the node is a Block */
int is_Mux(const ir_node *node);
/** returns true if node is a Load node. */
int is_Load(const ir_node *node);
+/** returns true if node is a Store node. */
+int is_Store(const ir_node *node);
/** returns true if node is a Sync node. */
int is_Sync(const ir_node *node);
/** returns true if node is a Confirm node. */
int is_SymConst(const ir_node *node);
/** returns true if node is a Cond node. */
int is_Cond(const ir_node *node);
+/** returns true of node is a CopyB node */
+int is_CopyB(const ir_node *node);
/** returns true if node is a Cmp node. */
int is_Cmp(const ir_node *node);
/** returns true if node is an Alloc node */