slight bugfix
[libfirm] / ir / be / beverify.h
index ebfb980..ac779b2 100644 (file)
@@ -37,4 +37,22 @@ int be_verify_register_pressure(const arch_env_t *arch_env, const arch_register_
  */
 int be_verify_schedule(ir_graph *irg);
 
+/**
+ * Verify spillslots
+ *
+ * @param irg   The irg to check
+ * @return      1 if spillslots are valid, 0 otherwise
+ */
+int be_verify_spillslots(const arch_env_t *arch_env, ir_graph *irg);
+
+/**
+ * Verify register allocation: Checks that no 2 live nodes have the same
+ * register assigned, also checks that each scheduled node has a register
+ * assigned.
+ *
+ * @param irg  The irg to check
+ * @return     1 if verify succeeded, 0 otherwise
+ */
+int be_verify_register_allocation(const arch_env_t *arch_env, ir_graph *irg);
+
 #endif /* BEVERIFY_H_ */