+/**
+ * Tests the modes of checknode and its predecessors.
+ * Checknode must be in current_ir_graph.
+ *
+ * \return
+ * NON-zero on success
+ */
+int irn_vrfy(struct ir_node *checknode);
+
+/**
+ * Tests the modes of checknode and its predecessors.
+ * Checknode must be in given ir_graph.
+ *
+ * \return
+ * NON-zero on success
+ */
+int irn_vrfy_irg(struct ir_node *checknode, ir_graph *irg);
+
+/**
+ * Same as irn_vrfy_irg, but temporary sets verification mode to
+ * NODE_VERIFICATION_ERROR_ONLY.
+ * \return
+ * NON-zero on success
+ */
+int irn_vrfy_irg_dump(struct ir_node *checknode, ir_graph *irg, const char **bad_string);
+
+/**
+ * Calls irn_vrfy for each node in irg.
+ * Graph must be in state "pinned".
+ *
+ * \return
+ * NON-zero on success.
+ */
+int irg_vrfy(ir_graph *irg);